mirror of https://github.com/zulip/zulip.git
css: Tweak sortable list styling to make sortable columns more obvious.
This commit is contained in:
parent
936366ffaa
commit
808641a603
|
@ -285,23 +285,34 @@ td .button {
|
|||
border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
||||
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
||||
|
||||
&.active::after,
|
||||
&[data-sort]:hover::after {
|
||||
content: " \f0d8";
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
font: normal normal normal 12px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
&.active {
|
||||
opacity: 1;
|
||||
transition: opacity 100ms ease-out;
|
||||
|
||||
&::after {
|
||||
content: " \f0d8";
|
||||
white-space: pre;
|
||||
display: inline-block;
|
||||
font: normal normal normal 12px/1 FontAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
&.descend::after {
|
||||
content: " \f0d7";
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sort]:hover {
|
||||
cursor: pointer;
|
||||
background-color: hsla(0, 0%, 0%, 0.05);
|
||||
transition: background-color 100ms ease-in-out;
|
||||
|
||||
&:not(.active)::after {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue