tableselect.pcss.css

Same filename in this branch
  1. 11.x core/themes/claro/css/components/tableselect.pcss.css
Same filename and directory in other branches
  1. 10 core/themes/claro/css/components/tableselect.pcss.css
  2. 9 core/themes/claro/css/components/tableselect.pcss.css
  3. 8.9.x core/themes/claro/css/components/tableselect.pcss.css
  4. main core/themes/claro/css/components/tableselect.pcss.css
  5. main core/themes/admin/css/components/tableselect.pcss.css

Table select styles for Claro.

See also

tableselect.js

File

core/themes/admin/css/components/tableselect.pcss.css

View source
  1. /**
  2. * @file
  3. * Table select styles for Claro.
  4. *
  5. * @see tableselect.js
  6. */
  7. td.checkbox,
  8. th.checkbox {
  9. text-align: center;
  10. }
  11. tr.selected td {
  12. background-color: var(--color-bgblue-active);
  13. }
  14. .views-bulk-actions {
  15. position: relative;
  16. display: flex;
  17. flex: 1;
  18. flex-wrap: wrap;
  19. padding: var(--space-m) 2rem;
  20. color: var(--color-white);
  21. border: var(--details-border-size) solid var(--details-border-color);
  22. border-radius: 4px;
  23. background-color: var(--color-text);
  24. &[data-drupal-sticky-vbo="true"] {
  25. position: sticky;
  26. z-index: calc(var(--dropbutton-widget-z-index) + 1);
  27. bottom: var(--drupal-displace-offset-bottom, 0);
  28. animation: fade-in-bottom 320ms 1 forwards;
  29. border-bottom-right-radius: 0;
  30. border-bottom-left-radius: 0;
  31. }
  32. &.views-form__header--bypass-animation {
  33. animation: none;
  34. }
  35. }
  36. @supports (position: sticky) {
  37. .views-bulk-actions[data-drupal-sticky-vbo="true"] {
  38. position: sticky;
  39. }
  40. }
  41. @keyframes fade-in-bottom {
  42. 0% {
  43. transform: translateY(100%);
  44. }
  45. 100% {
  46. transform: translateY(0);
  47. }
  48. }
  49. .views-bulk-actions__item {
  50. align-self: center;
  51. margin-block: 0 var(--space-s);
  52. margin-inline: 0 var(--space-l);
  53. &:last-of-type {
  54. margin-inline-end: 0;
  55. }
  56. & .form-element {
  57. &:hover {
  58. border: var(--input-border-size) solid var(--input-border-color);
  59. box-shadow: none;
  60. }
  61. }
  62. & .button--primary:not(:disabled, .is-disabled) {
  63. background: var(--button-bg-color--primary);
  64. &:hover {
  65. background: var(--button--hover-bg-color--primary);
  66. }
  67. &:focus {
  68. background: var(--button--focus-bg-color--primary);
  69. }
  70. }
  71. & .form-item__label {
  72. display: inline;
  73. padding-inline-end: var(--space-xs);
  74. &::after {
  75. content: ":";
  76. }
  77. }
  78. & .form-element--type-select {
  79. min-height: 2rem;
  80. padding-block: calc(0.5rem - 1px);
  81. padding-inline: calc(1rem - 1px) calc(2.25rem - 1px);
  82. font-size: var(--font-size-xs);
  83. line-height: 1rem;
  84. }
  85. & input,
  86. & .button {
  87. margin-block: 0;
  88. }
  89. }
  90. .views-bulk-actions__item--status {
  91. width: 100%;
  92. white-space: nowrap;
  93. font-size: var(--font-size-xs);
  94. font-weight: bold;
  95. }
  96. .views-field__skip-to-bulk-actions {
  97. display: block;
  98. white-space: nowrap;
  99. font-size: var(--font-size-xs);
  100. }
  101. @media screen and (min-width: 61rem) {
  102. .views-bulk-actions {
  103. flex-wrap: nowrap;
  104. }
  105. .views-bulk-actions__item {
  106. margin-bottom: 0;
  107. }
  108. .views-bulk-actions__item--status {
  109. width: auto;
  110. }
  111. }
  112. .ui-autocomplete {
  113. z-index: 501;
  114. }

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