Restyle Tag Selector

* Render a colored dot for colored tags
* Improve spacing and positioning, especially on 2x screens
* Add scss map for tag colors in light/dark scheme
* Add support for compact/comfortable in tag selector
* Restyle filter box, add a placeholder and a new icon
This commit is contained in:
Tom Najdek 2023-10-18 14:16:08 +02:00 committed by Dan Stillman
parent ff115b0873
commit 9ff76d2dd9
21 changed files with 334 additions and 131 deletions

View file

@ -3,37 +3,31 @@
// --------------------------------------------------
.btn {
font: {
family: inherit;
size: inherit;
}
line-height: inherit;
color: inherit;
text-align: center;
-moz-appearance: toolbarbutton;
font: {
family: inherit;
size: inherit;
}
line-height: inherit;
color: inherit;
text-align: center;
-moz-appearance: toolbarbutton;
&[disabled],
&.disabled {
opacity: $btn-disabled-opacity;
}
&[disabled],
&.disabled {
opacity: $btn-disabled-opacity;
}
}
.btn-icon {
.icon {
&:first-child {
margin-left: -5px;
}
&:last-child {
margin-right: -5px;
}
svg, img {
vertical-align: middle;
}
}
span.menu-marker {
-moz-appearance: toolbarbutton-dropdown;
display: inline-block;
margin-right: -5px;
}
.icon {
svg, img {
vertical-align: middle;
}
}
span.menu-marker {
-moz-appearance: toolbarbutton-dropdown;
display: inline-block;
margin-left: 4px;
}
}