mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Bug 2008041 made disabled, checked, hidden, collapsed, and selected boolean attributes, so their value is empty and [disabled="true"] no longer matches. Nothing sets any of them to "false", so matching on presence alone is equivalent.
86 lines
1.7 KiB
SCSS
86 lines
1.7 KiB
SCSS
.zotero-clicky {
|
|
border-radius: 6px;
|
|
padding: 2px;
|
|
|
|
&:not([disabled]) {
|
|
&:hover {
|
|
background: var(--fill-quinary) !important;
|
|
}
|
|
|
|
&:active {
|
|
background: var(--fill-quarternary) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Minus and plus buttons with clicky glow effect */
|
|
.zotero-clicky-minus, .zotero-clicky-plus {
|
|
margin: 0;
|
|
width: 20px;
|
|
border-radius: 2px;
|
|
color: var(--fill-secondary);
|
|
|
|
.toolbarbutton-text {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.zotero-clicky-minus {
|
|
@include svgicon-menu("minus-circle", "universal", "16");
|
|
border: 0px !important;
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-plus {
|
|
@include svgicon-menu("plus-circle", "universal", "16");
|
|
border: 0px !important;
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-grippy {
|
|
@include svgicon-menu("grip", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-options {
|
|
@include svgicon-menu("options", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-open-link {
|
|
@include svgicon-menu("open-link", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-merge {
|
|
@include svgicon-menu("merge", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-cross {
|
|
@include svgicon-menu("x-8", "universal", "16");
|
|
border: 0px !important;
|
|
color: var(--fill-secondary);
|
|
}
|
|
|
|
.zotero-clicky-switch-type[type=single] {
|
|
@include svgicon-menu("input-dual", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-switch-type[type=dual] {
|
|
@include svgicon-menu("input-single", "universal", "16");
|
|
margin: 0;
|
|
}
|
|
|
|
.zotero-clicky-preview-control {
|
|
@include svgicon-menu("preview-show", "universal", "16");
|
|
&[data-show-preview] {
|
|
@include svgicon-menu("preview-hide", "universal", "16");
|
|
}
|
|
border: 0px !important;
|
|
}
|
|
|
|
.zotero-clicky-minus[disabled], .zotero-clicky-plus[disabled] {
|
|
opacity: .5;
|
|
}
|