Fix prefs window style on MacOS (#4682)
Use MacOS menupopup style to prefs window Move style mac/menupopup into mac/components
This commit is contained in:
parent
64bed48de4
commit
01017e7d63
5 changed files with 25 additions and 27 deletions
|
@ -1,26 +0,0 @@
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
||||||
|
|
||||||
window[windowtype="zotero:pref"] {
|
|
||||||
padding: 0;
|
|
||||||
font: -moz-dialog !important;
|
|
||||||
|
|
||||||
-moz-appearance: dialog;
|
|
||||||
color: -moz-DialogText;
|
|
||||||
}
|
|
||||||
|
|
||||||
groupbox > label > h2, groupbox > * > label > h2 {
|
|
||||||
border-bottom: #b5b5b5 1px solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
groupbox > label > h2, groupbox > * > label > h2, caption {
|
|
||||||
padding-bottom: 0.2em;
|
|
||||||
font: caption;
|
|
||||||
}
|
|
||||||
|
|
||||||
.help-button {
|
|
||||||
appearance: auto;
|
|
||||||
-moz-default-appearance: -moz-mac-help-button;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
5
scss/mac/_helpButton.scss
Normal file
5
scss/mac/_helpButton.scss
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
.help-button {
|
||||||
|
appearance: auto;
|
||||||
|
-moz-default-appearance: -moz-mac-help-button;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
19
scss/preferences-mac.scss
Normal file
19
scss/preferences-mac.scss
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// Abstracts
|
||||||
|
|
||||||
|
@import "abstracts/variables";
|
||||||
|
@import "abstracts/functions";
|
||||||
|
@import "abstracts/mixins";
|
||||||
|
@import "abstracts/placeholders";
|
||||||
|
@import "abstracts/utilities";
|
||||||
|
@import "abstracts/split-button";
|
||||||
|
@import "abstracts/svgicon";
|
||||||
|
|
||||||
|
@import "themes/light";
|
||||||
|
@import "themes/dark";
|
||||||
|
|
||||||
|
@import "mac/helpButton";
|
||||||
|
|
||||||
|
// Components
|
||||||
|
|
||||||
|
@import "mac/components/menupopup";
|
||||||
|
@import "mac/components/menulist";
|
|
@ -9,7 +9,7 @@
|
||||||
@import "mac/tabBar";
|
@import "mac/tabBar";
|
||||||
@import "mac/tabbox";
|
@import "mac/tabbox";
|
||||||
@import "mac/titleBar";
|
@import "mac/titleBar";
|
||||||
@import "mac/menupopup";
|
@import "mac/components/menupopup";
|
||||||
@import "mac/components/menulist";
|
@import "mac/components/menulist";
|
||||||
|
|
||||||
// Elements
|
// Elements
|
||||||
|
|
Loading…
Add table
Reference in a new issue