f454e110ec
* After 02b864d icon next to the filter icon in the tab selector has gone missing. This is because the chevron-6 has been moved to a new location * Tweaked CSS for this and other universal icons to use new location * Removed duplicate icons in the old location
51 lines
No EOL
769 B
SCSS
51 lines
No EOL
769 B
SCSS
.icon > svg, .icon > img {
|
|
width: 16px;
|
|
}
|
|
|
|
.icon-bg {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline-block;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.icon-css {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.icon.icon-downchevron {
|
|
width: 7px !important;
|
|
}
|
|
|
|
.icon {
|
|
-moz-appearance: none !important;
|
|
}
|
|
|
|
.icon-16 {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.icon-8 {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
$-icons: (
|
|
attachment: 16,
|
|
chevron-6: 8,
|
|
filter: 16,
|
|
note: 16,
|
|
);
|
|
|
|
@each $icon, $size in $-icons {
|
|
.icon-#{$icon} {
|
|
fill: var(--fill-secondary);
|
|
background: url('chrome://zotero/skin/#{$size}/universal/#{$icon}.svg') content-box no-repeat;
|
|
-moz-context-properties: fill, fill-opacity;
|
|
}
|
|
} |