tablesort-indicator.css

Same filename in this branch
  1. 8.9.x core/themes/seven/css/components/tablesort-indicator.css
  2. 8.9.x core/themes/bartik/css/components/tablesort-indicator.css
Same filename in other branches
  1. 9 core/themes/seven/css/components/tablesort-indicator.css
  2. 9 core/themes/claro/css/components/tablesort-indicator.css
  3. 9 core/themes/bartik/css/components/tablesort-indicator.css
  4. 10 core/themes/claro/css/components/tablesort-indicator.css
  5. 11.x core/themes/claro/css/components/tablesort-indicator.css

Tablesort indicator styles.

File

core/themes/claro/css/components/tablesort-indicator.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Tablesort indicator styles.
  10. */
  11. .tablesort {
  12. position: absolute;
  13. top: 50%;
  14. right: 1rem;
  15. width: 0.875rem; /* 14px */
  16. height: 1rem; /* 16px */
  17. margin-top: -0.5rem; /* -8px */
  18. opacity: 0.5;
  19. background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1.75,0.25v1.5h10.5v-1.5z m0,3v1.5h7.5v-1.5z m0,3v1.5h4.5v-1.5z' fill='%23222330'/%3E%3C/svg%3E") no-repeat 0 50%;
  20. background-size: auto;
  21. }
  22. /* stylelint-disable-next-line selector-type-no-unknown */
  23. _:-ms-fullscreen, /* Only IE 11 */
  24. .tablesort {
  25. position: static;
  26. float: right;
  27. margin-top: 0.125rem; /* 2px */
  28. margin-right: -1.5rem; /* -24px */
  29. }
  30. [dir="rtl"] .tablesort {
  31. right: auto;
  32. left: 1rem; /* 16px */
  33. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m12.25,0.25v1.5H1.75v-1.5z m0,3v1.5h-7.5v-1.5z m0,3v1.5h-4.5v-1.5z' fill='%23222330'/%3E%3C/svg%3E");
  34. }
  35. /* stylelint-disable-next-line selector-type-no-unknown */
  36. _:-ms-fullscreen, /* Only IE 11 */
  37. [dir="rtl"] .tablesort {
  38. float: left;
  39. margin-right: 0;
  40. margin-left: -1.5rem; /* -24px */
  41. }
  42. .tablesort--asc,
  43. [dir="rtl"] .tablesort--asc {
  44. opacity: 1;
  45. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 10 12'%3E%3Cpath d='M 5 0.43945312 L 0.71875 4.71875 L 1.78125 5.78125 L 4.25 3.3125 L 4.25 11.25 L 5.75 11.25 L 5.75 3.3125 L 8.21875 5.78125 L 9.28125 4.71875 L 5 0.43945312 z' fill='%23004adc'/%3E%3C/svg%3E");
  46. }
  47. .tablesort--desc,
  48. [dir="rtl"] .tablesort--desc {
  49. opacity: 1;
  50. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 10 12'%3E%3Cpath d='M 4.25 0.75 L 4.25 8.6875 L 1.78125 6.21875 L 0.71875 7.28125 L 5 11.560547 L 9.28125 7.28125 L 8.21875 6.21875 L 5.75 8.6875 L 5.75 0.75 L 4.25 0.75 z' fill='%23004adc'/%3E%3C/svg%3E");
  51. }

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