diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 15:50:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 15:50:03 +0200 |
commit | e3b7744bee37c3d4a026d2193bed5e9439c40ff3 (patch) | |
tree | f3f7b07ca9bd78bf7ac2d76dd55b61b2a8bb549e /application/basilisk/themes/osx/customizableui/panelUI.css | |
parent | cbce4f0b6a337f8250b62cae028f1c6d4cce51df (diff) | |
parent | 031afcafe288bf0f46c0c5caae20dd3db8bd0297 (diff) | |
download | UXP-e3b7744bee37c3d4a026d2193bed5e9439c40ff3.tar UXP-e3b7744bee37c3d4a026d2193bed5e9439c40ff3.tar.gz UXP-e3b7744bee37c3d4a026d2193bed5e9439c40ff3.tar.lz UXP-e3b7744bee37c3d4a026d2193bed5e9439c40ff3.tar.xz UXP-e3b7744bee37c3d4a026d2193bed5e9439c40ff3.zip |
Merge branch 'move-basilisk'
Diffstat (limited to 'application/basilisk/themes/osx/customizableui/panelUI.css')
-rw-r--r-- | application/basilisk/themes/osx/customizableui/panelUI.css | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/application/basilisk/themes/osx/customizableui/panelUI.css b/application/basilisk/themes/osx/customizableui/panelUI.css new file mode 100644 index 000000000..09f23b398 --- /dev/null +++ b/application/basilisk/themes/osx/customizableui/panelUI.css @@ -0,0 +1,89 @@ +/* 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/. */ + +%include ../../shared/customizableui/panelUI.inc.css + +.panel-subviews { + background-color: hsla(0,0%,100%,.97); +} + +.panelUI-grid .toolbarbutton-1 { + margin-right: 0; + margin-left: 0; + margin-bottom: 0; +} + +.subviewbutton > .toolbarbutton-text { + margin: 2px 0 !important; /* !important for overriding toolbarbutton.css */ +} + +.subviewbutton:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item) > .toolbarbutton-text { + margin: 2px 6px !important; /* !important for overriding toolbarbutton.css */ +} + +.restoreallitem > .toolbarbutton-icon { + display: none; +} + +.subviewbutton { + padding-inline-start: 18px; +} + +.subviewbutton[checked="true"] { + background-position: top 5px left 4px; +} + +.subviewbutton[checked="true"]:-moz-locale-dir(rtl) { + background-position: top 5px right 4px; +} + +.subviewbutton:not(:-moz-any([image],[targetURI],.cui-withicon, .bookmark-item)) > .menu-iconic-left { + display: none; +} + +menu.subviewbutton, +menuitem.subviewbutton:not(.panel-subview-footer) { + padding-top: 2px; + padding-bottom: 2px; +} + +/* Override OSX-specific toolkit styles for the bookmarks panel */ +menu.subviewbutton > .menu-right { + margin-inline-end: 0; + -moz-appearance: none; +} + +menu.subviewbutton > .menu-right > image { + /* We don't want the arrow to highlight when the .subviewbutton is hovered, + * so we set the -moz-appearance rule on the image + * (which doesn't inherit the _moz-menuactive attribute) instead. + */ + -moz-appearance: menuarrow; +} + +.widget-overflow-list .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { + margin-inline-start: 4px; +} + +.PanelUI-subView menuseparator, +.cui-widget-panelview menuseparator { + padding: 0 !important; +} + +toolbarpaletteitem[place="palette"] > .toolbarbutton-1 > .toolbarbutton-menubutton-button { + padding: 3px 1px; +} + +#PanelUI-remotetabs-tabslist > label[itemtype="client"] { + padding-inline-start: 6px; +} + +.PanelUI-remotetabs-notabsforclient-label { + margin-left: 19px; + font-size: 13px; +} + +#PanelUI-remotetabs-tabslist { + padding-bottom: 4px; +} |