summaryrefslogtreecommitdiffstats
path: root/browser/themes/osx/customizableui/panelUI.css
blob: 09f23b3988d61459983c19db9a975679a15cb891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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;
}