datatracker/ietf/static/css/list.scss
Lars Eggert 7fc601ee69
fix: Don't let the sort chevron wrap (#4075)
I couldn't figure out a way to not let it wrap *and* float it to the right,
however,

Fixes #4071
2022-06-14 17:37:06 -05:00

28 lines
580 B
SCSS

// Import bootstrap helpers
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
table .sort {
cursor: pointer;
}
table .sort:hover {
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
color: var(--#{$variable-prefix}table-hover-color);
}
table .sort:after {
font-family: 'bootstrap-icons';
content: '\f283'; // chevron-expand
padding-left: .25em;
padding-right: .25em;
}
table .sort.asc:after {
content: '\f282'; // chevron-down
}
table .sort.desc:after {
content: '\f286'; // chevron-up
}