more-actions.css

Same filename and directory in other branches
  1. 11.x core/themes/default_admin/css/components/more-actions.css

Sticky form actions (more actions) styles.

File

core/themes/default_admin/css/components/more-actions.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Sticky form actions (more actions) styles.
  10. */
  11. :where(*),
  12. :is(#extra-specificity-hack, [data-drupal-admin-styles]) {
  13. .gin-sticky-form-actions {
  14. display: flex;
  15. gap: var(--admin-space-xs);
  16. > * {
  17. margin: 0 !important;
  18. }
  19. [data-drupal-selector="edit-status"]:empty {
  20. display: none;
  21. }
  22. }
  23. .gin-sticky-form-actions--preprocessed ~ .layout-container form.gin--has-sticky-form-actions .gin-sticky-form-actions {
  24. position: absolute !important;
  25. position: fixed !important;
  26. overflow: hidden;
  27. clip: rect(1px, 1px, 1px, 1px);
  28. width: 1px;
  29. height: 1px;
  30. word-wrap: normal;
  31. inset-block-start: 0;
  32. }
  33. .edit-post-header .gin-sticky-form-actions {
  34. margin-block-start: 0;
  35. }
  36. }
  37. @keyframes gin-pseudo-throbber {
  38. 0% {
  39. background-position: 16px 18px;
  40. background-size: 0.5rem 0.5rem;
  41. }
  42. 50% {
  43. background-position: 4px 14px;
  44. background-size: 2rem 2rem;
  45. }
  46. 100% {
  47. background-position: 16px 18px;
  48. background-size: 0.5rem 0.5rem;
  49. }
  50. }
  51. [data-drupal-selector="gin-sticky-edit-save"],
  52. [data-drupal-selector="gin-sticky-edit-preview"],
  53. [data-drupal-selector="gin-sticky-edit-delete"] {
  54. background-repeat: no-repeat;
  55. background-position: var(--admin-space-xs) center;
  56. }
  57. body:has([data-drupal-selector="edit-save"] + .ajax-progress) :where([data-drupal-selector="gin-sticky-edit-save"]),
  58. body:has([data-drupal-selector="edit-preview"] + .ajax-progress) :where([data-drupal-selector="gin-sticky-edit-preview"]),
  59. body:has([data-drupal-selector="edit-delete"] + .ajax-progress) :where([data-drupal-selector="gin-sticky-edit-delete"]) {
  60. padding-inline-start: var(--admin-space-xl);
  61. animation: gin-pseudo-throbber 1s linear infinite;
  62. background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' stroke='currentColor' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3e %3cpath d='M12 4C12.5523 4 13 3.55228 13 3C13 2.44772 12.5523 2 12 2C11.4477 2 11 2.44772 11 3C11 3.55228 11.4477 4 12 4Z' /%3e %3c/g%3e%3c/svg%3e");
  63. &:dir(rtl) {
  64. padding-inline-start: unset;
  65. padding-inline-end: var(--admin-space-xl);
  66. }
  67. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.