Same filename in this branch
  1. 10 core/modules/views_ui/css/views_ui.admin.css
  2. 10 core/themes/claro/css/components/views_ui.admin.css
  3. 10 core/themes/stable9/css/views_ui/views_ui.admin.css
Same filename and directory in other branches
  1. 8.9.x core/modules/views_ui/css/views_ui.admin.css
  2. 9 core/modules/views_ui/css/views_ui.admin.css

The .admin.css file is intended to only contain positioning and size declarations. For example: display, position, float, clear, and overflow.

File

core/modules/views_ui/css/views_ui.admin.css
View source
  1. /**
  2. * @file
  3. * The .admin.css file is intended to only contain positioning and size
  4. * declarations. For example: display, position, float, clear, and overflow.
  5. */
  6. .views-admin ul,
  7. .views-admin menu,
  8. .views-admin dir {
  9. padding: 0;
  10. }
  11. .views-admin pre {
  12. margin-top: 0;
  13. margin-bottom: 0;
  14. white-space: pre-wrap;
  15. }
  16. .views-left-25 {
  17. float: left; /* LTR */
  18. width: 25%;
  19. }
  20. [dir="rtl"] .views-left-25 {
  21. float: right;
  22. }
  23. .views-left-30 {
  24. float: left; /* LTR */
  25. width: 30%;
  26. }
  27. [dir="rtl"] .views-left-30 {
  28. float: right;
  29. }
  30. .views-left-40 {
  31. float: left; /* LTR */
  32. width: 40%;
  33. }
  34. [dir="rtl"] .views-left-40 {
  35. float: right;
  36. }
  37. .views-left-50 {
  38. float: left; /* LTR */
  39. width: 50%;
  40. }
  41. [dir="rtl"] .views-left-50 {
  42. float: right;
  43. }
  44. .views-left-75 {
  45. float: left; /* LTR */
  46. width: 75%;
  47. }
  48. [dir="rtl"] .views-left-75 {
  49. float: right;
  50. }
  51. .views-right-50 {
  52. float: right; /* LTR */
  53. width: 50%;
  54. }
  55. [dir="rtl"] .views-right-50 {
  56. float: left;
  57. }
  58. .views-right-60 {
  59. float: right; /* LTR */
  60. width: 60%;
  61. }
  62. [dir="rtl"] .views-right-60 {
  63. float: left;
  64. }
  65. .views-right-70 {
  66. float: right; /* LTR */
  67. width: 70%;
  68. }
  69. [dir="rtl"] .views-right-70 {
  70. float: left;
  71. }
  72. .views-group-box .form-item {
  73. margin-right: 3px;
  74. margin-left: 3px;
  75. }
  76. /*
  77. * The attachment details section, its tabs for each section and the buttons
  78. * to add a new section
  79. */
  80. .views-displays {
  81. clear: both;
  82. }
  83. /* The tabs that switch between sections */
  84. .views-displays .tabs {
  85. overflow: visible;
  86. margin: 0;
  87. padding: 0;
  88. border-bottom: 0 none;
  89. }
  90. .views-displays .tabs > li {
  91. float: left; /* LTR */
  92. padding: 0;
  93. border-right: 0 none; /* LTR */
  94. }
  95. [dir="rtl"] .views-displays .tabs > li {
  96. float: right;
  97. border-right: 1px solid #bfbfbf;
  98. border-left: 0 none;
  99. }
  100. .views-displays .tabs .open > a {
  101. position: relative;
  102. z-index: 51;
  103. }
  104. .views-displays .tabs .views-display-deleted-link {
  105. text-decoration: line-through;
  106. }
  107. .views-display-deleted > details > summary,
  108. .views-display-deleted .details-wrapper > .views-ui-display-tab-bucket > *,
  109. .views-display-deleted .views-display-columns {
  110. opacity: 0.25;
  111. }
  112. .views-display-disabled > details > summary,
  113. .views-display-disabled .details-wrapper > .views-ui-display-tab-bucket > *,
  114. .views-display-disabled .views-display-columns {
  115. opacity: 0.5;
  116. }
  117. .views-display-tab .details-wrapper > .views-ui-display-tab-bucket .actions {
  118. opacity: 1;
  119. }
  120. .views-displays .tabs .add {
  121. position: relative;
  122. }
  123. .views-displays .tabs .action-list {
  124. position: absolute;
  125. z-index: 50;
  126. top: 23px;
  127. left: 0; /* LTR */
  128. margin: 0;
  129. }
  130. [dir="rtl"] .views-displays .tabs .action-list {
  131. right: 0;
  132. left: auto;
  133. }
  134. .views-displays .tabs .action-list li {
  135. display: block;
  136. }
  137. .views-display-columns .details-wrapper {
  138. padding: 0;
  139. }
  140. .views-display-column {
  141. box-sizing: border-box;
  142. }
  143. .views-display-columns > * {
  144. margin-bottom: 2em;
  145. }
  146. @media screen and (min-width: 45em) { /* 720px */
  147. .views-display-columns > * {
  148. float: left; /* LTR */
  149. width: 32%;
  150. margin-bottom: 0;
  151. margin-left: 2%; /* LTR */
  152. }
  153. [dir="rtl"] .views-display-columns > * {
  154. float: right;
  155. margin-right: 2%;
  156. margin-left: 0;
  157. }
  158. .views-display-columns > *:first-child {
  159. margin-left: 0; /* LTR */
  160. }
  161. [dir="rtl"] .views-display-columns > *:first-child {
  162. margin-right: 0;
  163. }
  164. }
  165. .views-ui-dialog .scroll {
  166. overflow: auto;
  167. padding: 1em;
  168. }
  169. .views-filterable-options-controls {
  170. display: none;
  171. }
  172. .views-ui-dialog .views-filterable-options-controls {
  173. display: inline;
  174. }
  175. /* Don't let the messages overwhelm the modal */
  176. .views-ui-dialog .views-messages {
  177. overflow: auto;
  178. max-height: 200px;
  179. }
  180. .views-display-setting .label,
  181. .views-display-setting .views-ajax-link {
  182. float: left; /* LTR */
  183. }
  184. [dir="rtl"] .views-display-setting .label,
  185. [dir="rtl"] .views-display-setting .views-ajax-link {
  186. float: right;
  187. }
  188. .form-item-options-value-all {
  189. display: none;
  190. }
  191. .js-only {
  192. display: none;
  193. }
  194. html.js .js-only {
  195. display: inherit;
  196. }
  197. html.js span.js-only {
  198. display: inline;
  199. }
  200. .js .views-edit-view .dropbutton-wrapper {
  201. width: auto;
  202. }
  203. /* JS moves Views action buttons under a secondary tabs container, which causes
  204. a large layout shift. We mitigate this by using animations to temporarily hide
  205. the buttons, but they will appear after a set amount of time just in case the JS
  206. is loaded but does not properly run. */
  207. @media (scripting: enabled) {
  208. .views-tabs__action-list-button:not(.views-tabs--secondary *) {
  209. animation-name: appear;
  210. animation-duration: 0.1s;
  211. /* Buttons will be hidden for the amount of time in the animation-delay if
  212. not moved. Note this is the approximate time to download the views
  213. aggregate CSS with slow 3G. */
  214. animation-delay: 5s;
  215. animation-iteration-count: 1;
  216. animation-fill-mode: backwards;
  217. }
  218. }
  219. @keyframes appear {
  220. from {
  221. display: none;
  222. }
  223. to {
  224. display: unset;
  225. }
  226. }