tablesort-indicator.css

Same filename in this branch
  1. 9 core/themes/seven/css/components/tablesort-indicator.css
  2. 9 core/themes/bartik/css/components/tablesort-indicator.css
Same filename in other branches
  1. 8.9.x core/themes/seven/css/components/tablesort-indicator.css
  2. 8.9.x core/themes/claro/css/components/tablesort-indicator.css
  3. 8.9.x 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/3084859
  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'%3e%3cpath d='M1.75.25v1.5h10.5V.25zm0 3v1.5h7.5v-1.5zm0 3v1.5h4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e") no-repeat 0 50%;
  20. background-size: auto;
  21. }
  22. @media (forced-colors: active) {
  23. .tablesort {
  24. background: linktext;
  25. -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M1.75.25v1.5h10.5V.25zm0 3v1.5h7.5v-1.5zm0 3v1.5h4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e");
  26. mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M1.75.25v1.5h10.5V.25zm0 3v1.5h7.5v-1.5zm0 3v1.5h4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e");
  27. -webkit-mask-repeat: no-repeat;
  28. mask-repeat: no-repeat;
  29. -webkit-mask-position: 0 50%;
  30. mask-position: 0 50%;
  31. }
  32. }
  33. /* stylelint-disable-next-line selector-type-no-unknown */
  34. _:-ms-fullscreen, /* Only IE 11 */
  35. .tablesort {
  36. position: static;
  37. float: right;
  38. margin-top: 0.125rem; /* 2px */
  39. margin-right: -1.5rem; /* -24px */
  40. }
  41. [dir="rtl"] .tablesort {
  42. right: auto;
  43. left: 1rem; /* 16px */
  44. background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M12.25.25v1.5H1.75V.25zm0 3v1.5h-7.5v-1.5zm0 3v1.5h-4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e");
  45. }
  46. @media (forced-colors: active) {
  47. [dir="rtl"] .tablesort {
  48. background: linktext;
  49. -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M12.25.25v1.5H1.75V.25zm0 3v1.5h-7.5v-1.5zm0 3v1.5h-4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e");
  50. mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath d='M12.25.25v1.5H1.75V.25zm0 3v1.5h-7.5v-1.5zm0 3v1.5h-4.5v-1.5z' fill='%23000f33'/%3e%3c/svg%3e");
  51. -webkit-mask-repeat: no-repeat;
  52. mask-repeat: no-repeat;
  53. -webkit-mask-position: 0 50%;
  54. mask-position: 0 50%;
  55. }
  56. }
  57. /* stylelint-disable-next-line selector-type-no-unknown */
  58. _:-ms-fullscreen, /* Only IE 11 */
  59. [dir="rtl"] .tablesort {
  60. float: left;
  61. margin-right: 0;
  62. margin-left: -1.5rem; /* -24px */
  63. }
  64. .tablesort--asc,
  65. [dir="rtl"] .tablesort--asc {
  66. opacity: 1;
  67. 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='M5 .44L.719 4.718 1.78 5.78 4.25 3.313v7.937h1.5V3.312l2.469 2.47L9.28 4.718 5 .439z' fill='%23003ecc'/%3e%3c/svg%3e");
  68. }
  69. @media (forced-colors: active) {
  70. .tablesort--asc,
  71. [dir="rtl"] .tablesort--asc {
  72. background: linktext;
  73. -webkit-mask-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='M5 .44L.719 4.718 1.78 5.78 4.25 3.313v7.937h1.5V3.312l2.469 2.47L9.28 4.718 5 .439z' fill='%23003ecc'/%3e%3c/svg%3e");
  74. mask-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='M5 .44L.719 4.718 1.78 5.78 4.25 3.313v7.937h1.5V3.312l2.469 2.47L9.28 4.718 5 .439z' fill='%23003ecc'/%3e%3c/svg%3e");
  75. }
  76. }
  77. .tablesort--desc,
  78. [dir="rtl"] .tablesort--desc {
  79. opacity: 1;
  80. 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='M4.25.75v7.938l-2.469-2.47L.72 7.282 5 11.561l4.281-4.28L8.22 6.22 5.75 8.687V.75h-1.5z' fill='%23003ecc'/%3e%3c/svg%3e");
  81. }
  82. @media (forced-colors: active) {
  83. .tablesort--desc,
  84. [dir="rtl"] .tablesort--desc {
  85. background: linktext;
  86. -webkit-mask-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='M4.25.75v7.938l-2.469-2.47L.72 7.282 5 11.561l4.281-4.28L8.22 6.22 5.75 8.687V.75h-1.5z' fill='%23003ecc'/%3e%3c/svg%3e");
  87. mask-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='M4.25.75v7.938l-2.469-2.47L.72 7.282 5 11.561l4.281-4.28L8.22 6.22 5.75 8.687V.75h-1.5z' fill='%23003ecc'/%3e%3c/svg%3e");
  88. }
  89. }

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