c0f6671542
- remove padding between the <dialog> and the window edges - explicit width for all zoterosearch fields because otherwise a menulist with a long content (e.g. longer collection name) name can push the + and - buttons outside of the window Fixes: #4374
98 lines
1.3 KiB
SCSS
98 lines
1.3 KiB
SCSS
zoterosearch {
|
|
#search-box > hbox, #search-box > groupbox {
|
|
margin: 0 6px;
|
|
}
|
|
|
|
groupbox {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
|
|
& > #conditions {
|
|
-moz-appearance: groupbox;
|
|
padding: 6px;
|
|
}
|
|
}
|
|
|
|
caption {
|
|
font: inherit;
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
label:first-child:not(tooltip label), checkbox:first-child {
|
|
margin-left: 0 !important;
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
checkbox {
|
|
margin-right: .5em;
|
|
}
|
|
|
|
input {
|
|
margin-block: 0;
|
|
}
|
|
|
|
.search-condition {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.valuefield, .valuemenu, .value-date-age {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
#joinModeMenu {
|
|
min-width: 60px;
|
|
}
|
|
|
|
#conditionsmenu {
|
|
width: 15em;
|
|
}
|
|
|
|
#operatorsmenu, #valuemenu, #valuefield, .search-in-the-last {
|
|
width: 12em;
|
|
}
|
|
|
|
#condition-tooltips tooltip
|
|
{
|
|
background: red !important;
|
|
}
|
|
|
|
#condition-tooltips hbox > label
|
|
{
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toolbarbutton-text
|
|
{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#textbox-button {
|
|
cursor: default;
|
|
appearance: none;
|
|
justify-self: start;
|
|
margin-inline-start: 12px;
|
|
align-self: center;
|
|
|
|
&:hover, &:active, &[open] {
|
|
background: none;
|
|
}
|
|
}
|
|
|
|
zoterosearchtextbox[hasOptions="true"] #search-textbox {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
.search-in-the-last {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.input {
|
|
min-width: 3em;
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|