messages.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
  2. 9 core/themes/seven/css/components/messages.css
  3. 9 core/themes/seven/css/classy/components/messages.css
  4. 9 core/themes/claro/css/components/messages.css
  5. 9 core/themes/bartik/css/components/messages.css
  6. 9 core/themes/bartik/css/classy/components/messages.css
  7. 9 core/themes/starterkit_theme/css/components/messages.css
  8. 9 core/themes/classy/css/components/messages.css
Same filename in other branches
  1. 8.9.x core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
  2. 8.9.x core/themes/seven/css/components/messages.css
  3. 8.9.x core/themes/seven/css/classy/components/messages.css
  4. 8.9.x core/themes/claro/css/components/messages.css
  5. 8.9.x core/themes/bartik/css/components/messages.css
  6. 8.9.x core/themes/bartik/css/classy/components/messages.css
  7. 8.9.x core/themes/classy/css/components/messages.css
  8. 10 core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
  9. 10 core/misc/dialog/off-canvas/css/messages.css
  10. 10 core/themes/olivero/css/components/messages.css
  11. 10 core/themes/claro/css/components/messages.css
  12. 10 core/themes/starterkit_theme/css/components/messages.css
  13. 11.x core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
  14. 11.x core/misc/dialog/off-canvas/css/messages.css
  15. 11.x core/themes/olivero/css/components/messages.css
  16. 11.x core/themes/claro/css/components/messages.css
  17. 11.x core/themes/starterkit_theme/css/components/messages.css

Messages.

File

core/themes/olivero/css/components/messages.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. * Messages.
  10. */
  11. [dir="ltr"] .messages-list {
  12. padding-left: 0;
  13. }
  14. [dir="rtl"] .messages-list {
  15. padding-right: 0;
  16. }
  17. [dir="ltr"] .messages-list {
  18. padding-right: 0;
  19. }
  20. [dir="rtl"] .messages-list {
  21. padding-left: 0;
  22. }
  23. .messages-list {
  24. margin-top: 1.125rem;
  25. margin-bottom: 1.125rem;
  26. padding-top: 0;
  27. padding-bottom: 0;
  28. list-style: none;
  29. }
  30. [dir="ltr"] .messages {
  31. padding-left: 1.6875rem;
  32. }
  33. [dir="rtl"] .messages {
  34. padding-right: 1.6875rem;
  35. }
  36. [dir="ltr"] .messages {
  37. padding-right: 1.6875rem;
  38. }
  39. [dir="rtl"] .messages {
  40. padding-left: 1.6875rem;
  41. }
  42. .messages {
  43. min-height: 4.25rem;
  44. padding-top: 1.125rem;
  45. padding-bottom: 1.125rem;
  46. color: #fff;
  47. outline: solid 1px transparent;
  48. background-color: #0d1214;
  49. }
  50. .messages * {
  51. color: inherit;
  52. }
  53. /* Additional specificity to override contrib modules. */
  54. .messages.messages-list__item {
  55. background-image: none;
  56. }
  57. [dir="ltr"] .messages__list {
  58. margin-left: 0;
  59. }
  60. [dir="rtl"] .messages__list {
  61. margin-right: 0;
  62. }
  63. [dir="ltr"] .messages__list {
  64. margin-right: 0;
  65. }
  66. [dir="rtl"] .messages__list {
  67. margin-left: 0;
  68. }
  69. [dir="ltr"] .messages__list {
  70. padding-left: 0;
  71. }
  72. [dir="rtl"] .messages__list {
  73. padding-right: 0;
  74. }
  75. [dir="ltr"] .messages__list {
  76. padding-right: 0;
  77. }
  78. [dir="rtl"] .messages__list {
  79. padding-left: 0;
  80. }
  81. .messages__list {
  82. margin-top: 0;
  83. margin-bottom: 0;
  84. padding-top: 0;
  85. padding-bottom: 0;
  86. list-style: none;
  87. }
  88. .messages:not(.hidden) ~ .messages {
  89. margin-top: 1.125rem;
  90. }
  91. .messages__item + .messages__item {
  92. margin-top: 0.5625rem;
  93. }
  94. .messages__container {
  95. display: flex;
  96. }
  97. [dir="ltr"] .messages__header {
  98. margin-right: 1.125rem;
  99. }
  100. [dir="rtl"] .messages__header {
  101. margin-left: 1.125rem;
  102. }
  103. .messages__header {
  104. flex-shrink: 0;
  105. }
  106. [dir="ltr"] .messages__header.no-icon {
  107. margin-right: 0;
  108. }
  109. [dir="rtl"] .messages__header.no-icon {
  110. margin-left: 0;
  111. }
  112. .messages__content {
  113. overflow: auto; /* Ensure large code blocks can be scrolled to. */
  114. flex: 1;
  115. padding-top: 0.1875rem;
  116. }
  117. [dir="ltr"] .messages__button {
  118. margin-left: 1.125rem;
  119. }
  120. [dir="rtl"] .messages__button {
  121. margin-right: 1.125rem;
  122. }
  123. .messages__button {
  124. flex-shrink: 0;
  125. padding-top: 0.1875rem;
  126. }
  127. [dir="ltr"] .messages__close {
  128. padding-left: 0;
  129. }
  130. [dir="rtl"] .messages__close {
  131. padding-right: 0;
  132. }
  133. [dir="ltr"] .messages__close {
  134. padding-right: 0;
  135. }
  136. [dir="rtl"] .messages__close {
  137. padding-left: 0;
  138. }
  139. .messages__close {
  140. position: relative;
  141. width: 1.5625rem;
  142. height: 1.5625rem;
  143. padding-top: 0;
  144. padding-bottom: 0;
  145. cursor: pointer;
  146. vertical-align: top;
  147. border: 0;
  148. background: none;
  149. -webkit-appearance: none;
  150. appearance: none;
  151. }
  152. .messages__close:before,
  153. .messages__close:after {
  154. position: absolute;
  155. top: 50%;
  156. left: 50%;
  157. display: block;
  158. width: 2.0625rem;
  159. height: 0;
  160. content: "";
  161. border-top: solid 2px #7e96a7;
  162. }
  163. .messages__close:before {
  164. transform: translate(-50%, -50%) rotate(45deg);
  165. }
  166. .messages__close:after {
  167. transform: translate(-50%, -50%) rotate(-45deg);
  168. }
  169. .messages__close:hover::before,
  170. .messages__close:hover::after {
  171. border-color: #fff;
  172. }
  173. .messages__close:focus {
  174. outline: 2px solid #53b0eb;
  175. outline-offset: 2px;
  176. }
  177. .messages__icon svg {
  178. vertical-align: top;
  179. }
  180. .messages--error .messages__icon svg {
  181. fill: #e33f1e;
  182. }
  183. .messages--warning .messages__icon svg {
  184. fill: #fdca40;
  185. }
  186. .messages--status .messages__icon svg {
  187. fill: #3fa21c;
  188. }
  189. .messages--info .messages__icon svg {
  190. fill: #53b0eb;
  191. }
  192. .messages a {
  193. color: #fff;
  194. }
  195. .messages pre {
  196. margin: 0;
  197. }
  198. [dir="ltr"] .js-form-managed-file .messages {
  199. border-left: solid 0.375rem #e33f1e;
  200. }
  201. [dir="rtl"] .js-form-managed-file .messages {
  202. border-right: solid 0.375rem #e33f1e;
  203. }
  204. .js-form-managed-file .messages {
  205. margin-bottom: 1.125rem;
  206. }

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