Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal