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:
parent
ff115b0873
commit
9ff76d2dd9
21 changed files with 334 additions and 131 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue