views_ui.admin.pcss.css

Same filename and directory in other branches
  1. 11.x core/themes/claro/css/components/views_ui.admin.pcss.css
  2. 10 core/themes/claro/css/components/views_ui.admin.pcss.css

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

File

core/themes/claro/css/components/views_ui.admin.pcss.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 pre {
  7. margin-top: 0;
  8. margin-bottom: 0;
  9. white-space: pre-wrap;
  10. }
  11. .views-display-deleted > details > summary,
  12. .views-display-deleted .details-wrapper > .views-ui-display-tab-bucket > *,
  13. .views-display-deleted .views-display-columns {
  14. opacity: 0.25;
  15. }
  16. .views-display-disabled > details > summary,
  17. .views-display-disabled .details-wrapper > .views-ui-display-tab-bucket > *,
  18. .views-display-disabled .views-display-columns {
  19. opacity: 0.5;
  20. }
  21. .views-display-tab .details-wrapper > .views-ui-display-tab-bucket .actions {
  22. opacity: 1;
  23. }
  24. .views-display-column {
  25. box-sizing: border-box;
  26. }
  27. .views-display-columns > * {
  28. float: none;
  29. width: auto;
  30. margin: 0 0 var(--space-l) 0;
  31. }
  32. @media screen and (min-width: 60rem) { /* 960px */
  33. .views-display-columns > * {
  34. float: left; /* LTR */
  35. width: 32%;
  36. margin-bottom: 0;
  37. margin-left: 2%; /* LTR */
  38. }
  39. [dir="rtl"] .views-display-columns > * {
  40. float: right;
  41. margin-right: 2%;
  42. margin-left: 0;
  43. }
  44. .views-display-columns > *:first-child {
  45. margin-left: 0; /* LTR */
  46. }
  47. [dir="rtl"] .views-display-columns > *:first-child {
  48. margin-right: 0;
  49. }
  50. }
  51. .views-ui-dialog .scroll {
  52. overflow: auto;
  53. padding: 1em;
  54. }
  55. /* Don't let the messages overwhelm the modal */
  56. .views-ui-dialog .views-messages {
  57. overflow: auto;
  58. max-height: 200px;
  59. }
  60. .form-item--options-value-all {
  61. display: none;
  62. }
  63. .js-only {
  64. display: none;
  65. }
  66. html.js .js-only {
  67. display: inherit;
  68. }
  69. html.js span.js-only {
  70. display: inline;
  71. }

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