_bulk_actions.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .bulk-actions-filter-checkbox {
  2. .table-headers & {
  3. > div {
  4. display: flex;
  5. align-items: center;
  6. }
  7. .bulk-actions-choices,
  8. .bulk-actions-choices > ul {
  9. display: flex;
  10. align-items: center;
  11. }
  12. .bulk-actions-choices li {
  13. margin: 0 0.5em;
  14. }
  15. }
  16. }
  17. .bulk-actions-choices {
  18. &.footer {
  19. @include transition(transform 0.1s ease 0.1s);
  20. &.hidden {
  21. transform: translateY(200px);
  22. visibility: hidden;
  23. }
  24. .button {
  25. font-weight: 600;
  26. }
  27. }
  28. .footer__container {
  29. display: flex;
  30. justify-content: space-around;
  31. width: 100%;
  32. align-items: center;
  33. padding: 1.25em;
  34. border-radius: 4px 4px 0 0;
  35. margin-inline-start: 30px;
  36. input[type='checkbox'] {
  37. margin-inline-end: 1.25em;
  38. }
  39. .bulk-actions-buttons {
  40. @include unlistimmediate();
  41. display: flex;
  42. gap: theme('spacing.4');
  43. border-inline-start: 1px solid theme('colors.icon-secondary');
  44. padding-inline-start: 1.5em;
  45. .bulk-action-btn {
  46. max-width: 160px;
  47. overflow-x: hidden;
  48. text-overflow: ellipsis;
  49. }
  50. }
  51. .num-objects {
  52. margin: 0 5px;
  53. }
  54. .num-objects-in-listing {
  55. // This is inside the footer, which has a dark indigo background in light
  56. // mode, so we want to use the absolute value of dark mode's
  57. // text-link-default instead of its dynamic value.
  58. color: theme('colors.secondary.100');
  59. background-color: transparent;
  60. border: 0;
  61. font-family: theme('fontFamily.sans');
  62. padding: 0;
  63. }
  64. .button:not(:hover) {
  65. background-color: theme('colors.surface-page');
  66. }
  67. }
  68. }