tablesort-indicator.pcss.css
Same filename in other branches
Tablesort indicator styles.
File
-
core/
themes/ claro/ css/ components/ tablesort-indicator.pcss.css
View source
- /**
- * @file
- * Tablesort indicator styles.
- */
-
- .tablesort {
- position: absolute;
- top: 50%;
- inset-inline-end: 1rem;
- width: 14px;
- height: var(--space-m);
- margin-block-start: -8px;
- opacity: 0.5;
- background-image: url(../../images/icons/000f33/sort--inactive.svg);
- background-repeat: no-repeat;
- background-position: 0 50%;
- background-size: auto;
-
- [dir="rtl"]
-
- @media (forced-colors: active) {
- background: linktext;
- mask-image: url(../../images/icons/000f33/sort--inactive.svg);
- mask-repeat: no-repeat;
- mask-position: 0 50%;
- }
- }
-
- .tablesort--asc {
- opacity: 1;
- background-image: url(../../images/icons/003ecc/sort--asc.svg);
-
- @media (forced-colors: active) {
- background: linktext;
- mask-image: url(../../images/icons/003ecc/sort--asc.svg);
- }
- }
-
- .tablesort--desc {
- opacity: 1;
- background-image: url(../../images/icons/003ecc/sort--desc.svg);
-
- @media (forced-colors: active) {
- background: linktext;
- mask-image: url(../../images/icons/003ecc/sort--desc.svg);
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.