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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
/* 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/. */
#CustomizeToolbarWindow:-moz-lwtheme[lwtheme-image] {
background-image: none !important;
text-shadow: none;
}
#main-box {
padding: 8px;
height: 100%;
}
#instructions {
font-weight: 600;
font-size: 1.2em;
margin-block: 5px 10px;
}
#palette-box {
overflow: auto;
display: block;
min-height: 3em;
background-color: hsla(0, 0%, 100%, .3);
border: 1px solid hsla(0, 0%, 50%, .4);
}
:root[lwt-tree] #palette-box {
scrollbar-color: rgba(204, 204, 204, .5) rgba(230, 230, 235, .5);
}
:root[lwt-tree-brighttext] #palette-box {
scrollbar-color: rgba(249, 249, 250, .4) rgba(20, 20, 25, .3);
}
#palette-box > toolbarpaletteitem {
padding: 8px 2px;
margin: 0 8px;
}
toolbarpaletteitem {
-moz-window-dragging: no-drag;
justify-content: flex-start;
}
toolbarpaletteitem[place="palette"] {
flex-direction: column;
width: 10em;
max-width: 10em;
/* icon (16) + margin (9 + 12) + 4 lines of text: */
height: calc(39px + 4em);
margin-bottom: 5px;
margin-inline-end: 24px;
overflow: visible;
display: inline-flex;
vertical-align: top;
}
toolbarpaletteitem[place=palette]::after {
content: attr(title);
display: block;
text-align: center;
}
toolbarpaletteitem > toolbarbutton,
toolbarpaletteitem > toolbarseparator,
toolbarpaletteitem > toolbaritem {
/* Prevent children from getting events */
pointer-events: none;
justify-content: center;
flex: 1;
}
toolbarpaletteitem[type="separator"][place="palette"] {
align-items: center;
}
toolbarpaletteitem[type="separator"][place="palette"] toolbarseparator {
background-color: currentColor;
}
toolbarpaletteitem[type="spacer"][place="palette"] toolbarspacer {
flex: 1000 1000;
}
#main-box > box {
overflow: hidden;
}
/* Hide the toolbarbutton label because we replicate it on the wrapper */
.toolbarbutton-text {
display: none;
}
toolbarbutton > .toolbarbutton-menubutton-dropmarker {
display: none;
}
#buttonBox {
margin-block: 5px;
}
#titlebarSettings > checkbox {
margin-inline: 0 15px;
}
#modelistLabel {
margin-top: 2px;
}
|