_bulk_actions.scss 1.7 KB

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