You are here

tablesort-indicator.pcss.css in Drupal 9

Tablesort indicator styles.

File

core/themes/claro/css/components/tablesort-indicator.pcss.css
View source
  1. /**
  2. * @file
  3. * Tablesort indicator styles.
  4. */
  5. .tablesort {
  6. position: absolute;
  7. top: 50%;
  8. right: 1rem;
  9. width: 0.875rem; /* 14px */
  10. height: 1rem; /* 16px */
  11. margin-top: -0.5rem; /* -8px */
  12. opacity: 0.5;
  13. background: url(../../images/icons/222330/sort--inactive--ltr.svg) no-repeat 0 50%;
  14. background-size: auto;
  15. }
  16. /* stylelint-disable-next-line selector-type-no-unknown */
  17. _:-ms-fullscreen, /* Only IE 11 */
  18. .tablesort {
  19. position: static;
  20. float: right;
  21. margin-top: 0.125rem; /* 2px */
  22. margin-right: -1.5rem; /* -24px */
  23. }
  24. [dir="rtl"] .tablesort {
  25. right: auto;
  26. left: 1rem; /* 16px */
  27. background-image: url(../../images/icons/222330/sort--inactive--rtl.svg);
  28. }
  29. /* stylelint-disable-next-line selector-type-no-unknown */
  30. _:-ms-fullscreen, /* Only IE 11 */
  31. [dir="rtl"] .tablesort {
  32. float: left;
  33. margin-right: 0;
  34. margin-left: -1.5rem; /* -24px */
  35. }
  36. .tablesort--asc,
  37. [dir="rtl"] .tablesort--asc {
  38. opacity: 1;
  39. background-image: url(../../images/icons/004adc/sort--asc.svg);
  40. }
  41. .tablesort--desc,
  42. [dir="rtl"] .tablesort--desc {
  43. opacity: 1;
  44. background-image: url(../../images/icons/004adc/sort--desc.svg);
  45. }