content-moderation.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
  2. 10 core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
  3. 10 core/themes/olivero/css/components/content-moderation.css
  4. 11.x core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
  5. 11.x core/themes/olivero/css/components/content-moderation.css

Styles for content moderation toolbar.

File

core/themes/olivero/css/components/content-moderation.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. * Styles for content moderation toolbar.
  10. */
  11. [dir="ltr"] .entity-moderation-form {
  12. padding-left: 1.125rem;
  13. }
  14. [dir="rtl"] .entity-moderation-form {
  15. padding-right: 1.125rem;
  16. }
  17. [dir="ltr"] .entity-moderation-form {
  18. padding-right: 1.125rem;
  19. }
  20. [dir="rtl"] .entity-moderation-form {
  21. padding-left: 1.125rem;
  22. }
  23. .entity-moderation-form {
  24. flex-direction: column;
  25. border: 1px solid #e7edf1;
  26. background-color: #f7f9fa;
  27. }
  28. .entity-moderation-form select,
  29. .entity-moderation-form input:not([type="submit"]) {
  30. background-color: #fff;
  31. }
  32. @media (min-width: 43.75rem) {
  33. .entity-moderation-form {
  34. flex-direction: row;
  35. }
  36. }
  37. [dir="ltr"] .entity-moderation-form__item {
  38. margin-right: 1.125rem;
  39. }
  40. [dir="rtl"] .entity-moderation-form__item {
  41. margin-left: 1.125rem;
  42. }
  43. .entity-moderation-form__item {
  44. flex-basis: 0;
  45. }
  46. [dir="ltr"] .entity-moderation-form__item:last-child {
  47. margin-right: 0;
  48. }
  49. [dir="rtl"] .entity-moderation-form__item:last-child {
  50. margin-left: 0;
  51. }
  52. .entity-moderation-form__item:last-child {
  53. align-self: flex-start;
  54. }
  55. @media (min-width: 43.75rem) {
  56. .entity-moderation-form__item:last-child {
  57. align-self: flex-end;
  58. }
  59. }
  60. [dir="ltr"] .layout--content-narrow .entity-moderation-form,
  61. [dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,
  62. [dir="ltr"] .layout--content-medium .entity-moderation-form,
  63. [dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
  64. margin-left: 0;
  65. }
  66. [dir="rtl"] .layout--content-narrow .entity-moderation-form,
  67. [dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,
  68. [dir="rtl"] .layout--content-medium .entity-moderation-form,
  69. [dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
  70. margin-right: 0;
  71. }
  72. .layout--content-narrow .entity-moderation-form,
  73. .layout--pass--content-narrow > * .entity-moderation-form,
  74. .layout--content-medium .entity-moderation-form,
  75. .layout--pass--content-medium > * .entity-moderation-form {
  76. width: 100%;
  77. }
  78. @supports (width: max-content) {
  79. .layout--content-narrow .entity-moderation-form,
  80. .layout--pass--content-narrow > * .entity-moderation-form,
  81. .layout--content-medium .entity-moderation-form,
  82. .layout--pass--content-medium > * .entity-moderation-form {
  83. width: max-content;
  84. }
  85. }
  86. @media (min-width: 43.75rem) {
  87. [dir="ltr"] .layout--content-narrow .entity-moderation-form,
  88. [dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,
  89. [dir="ltr"] .layout--content-medium .entity-moderation-form,
  90. [dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
  91. margin-left: -14.28571vw;
  92. }
  93. [dir="rtl"] .layout--content-narrow .entity-moderation-form,
  94. [dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,
  95. [dir="rtl"] .layout--content-medium .entity-moderation-form,
  96. [dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
  97. margin-right: -14.28571vw;
  98. }
  99. .layout--content-narrow .entity-moderation-form,
  100. .layout--pass--content-narrow > * .entity-moderation-form,
  101. .layout--content-medium .entity-moderation-form,
  102. .layout--pass--content-medium > * .entity-moderation-form {
  103. width: calc(100vw - 2.25rem);
  104. margin-top: 2.25rem;
  105. margin-bottom: 4.5rem;
  106. }
  107. }
  108. @media (min-width: 62.5rem) {
  109. [dir="ltr"] .layout--content-narrow .entity-moderation-form,
  110. [dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,
  111. [dir="ltr"] .layout--content-medium .entity-moderation-form,
  112. [dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
  113. margin-left: calc(-7.14286vw - -0.06696rem);
  114. }
  115. [dir="rtl"] .layout--content-narrow .entity-moderation-form,
  116. [dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,
  117. [dir="rtl"] .layout--content-medium .entity-moderation-form,
  118. [dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
  119. margin-right: calc(-7.14286vw - -0.06696rem);
  120. }
  121. .layout--content-narrow .entity-moderation-form,
  122. .layout--pass--content-narrow > * .entity-moderation-form,
  123. .layout--content-medium .entity-moderation-form,
  124. .layout--pass--content-medium > * .entity-moderation-form {
  125. width: calc(85.71429vw - 3.05357rem);
  126. }
  127. }
  128. @media (min-width: 75rem) {
  129. [dir="ltr"] .layout--content-narrow .entity-moderation-form,
  130. [dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,
  131. [dir="ltr"] .layout--content-medium .entity-moderation-form,
  132. [dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
  133. margin-left: calc(-7.14286vw - -0.62946rem);
  134. }
  135. [dir="rtl"] .layout--content-narrow .entity-moderation-form,
  136. [dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,
  137. [dir="rtl"] .layout--content-medium .entity-moderation-form,
  138. [dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
  139. margin-right: calc(-7.14286vw - -0.62946rem);
  140. }
  141. .layout--content-narrow .entity-moderation-form,
  142. .layout--pass--content-narrow > * .entity-moderation-form,
  143. .layout--content-medium .entity-moderation-form,
  144. .layout--pass--content-medium > * .entity-moderation-form {
  145. width: calc(85.71429vw - 9.80357rem);
  146. }
  147. }
  148. @media (min-width: 90rem) {
  149. [dir="ltr"] .layout--content-narrow .entity-moderation-form,
  150. [dir="ltr"] .layout--pass--content-narrow > * .entity-moderation-form,
  151. [dir="ltr"] .layout--content-medium .entity-moderation-form,
  152. [dir="ltr"] .layout--pass--content-medium > * .entity-moderation-form {
  153. margin-left: 0;
  154. }
  155. [dir="rtl"] .layout--content-narrow .entity-moderation-form,
  156. [dir="rtl"] .layout--pass--content-narrow > * .entity-moderation-form,
  157. [dir="rtl"] .layout--content-medium .entity-moderation-form,
  158. [dir="rtl"] .layout--pass--content-medium > * .entity-moderation-form {
  159. margin-right: 0;
  160. }
  161. .layout--content-narrow .entity-moderation-form,
  162. .layout--pass--content-narrow > * .entity-moderation-form,
  163. .layout--content-medium .entity-moderation-form,
  164. .layout--pass--content-medium > * .entity-moderation-form {
  165. width: 60.91071rem;
  166. }
  167. }

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