|
|
@@ -1,926 +0,0 @@
|
|
1
|
|
-@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
|
|
2
|
|
-@namespace htmlNs url('http://www.w3.org/1999/xhtml');
|
|
3
|
|
-
|
|
4
|
|
-// #region Features
|
|
5
|
|
-
|
|
6
|
|
-$feature-floating: true !default;
|
|
7
|
|
-$feature-floating-alignment: bottom !default;
|
|
8
|
|
-$feature-floating-distance: 18px !default;
|
|
9
|
|
-
|
|
10
|
|
-$feature-buttons: true !default;
|
|
11
|
|
-$feature-buttons-grouped: true !default;
|
|
12
|
|
-
|
|
13
|
|
-// #endregion
|
|
14
|
|
-
|
|
15
|
|
-$space-unit: 8px;
|
|
16
|
|
-
|
|
17
|
|
-%bordered-control {
|
|
18
|
|
-border: 1px solid ThreeDShadow;
|
|
19
|
|
-}
|
|
20
|
|
-
|
|
21
|
|
-findbar {
|
|
22
|
|
-position: absolute;
|
|
23
|
|
-contain: content;
|
|
24
|
|
-border: 1px solid var(--chrome-content-separator-color);
|
|
25
|
|
-
|
|
26
|
|
-@if $feature-floating {
|
|
27
|
|
-right: $feature-floating-distance;
|
|
28
|
|
-#{$feature-floating-alignment}: $feature-floating-distance;
|
|
29
|
|
-transform-origin: #{$feature-floating-alignment} center;
|
|
30
|
|
-border-radius: var(--toolbarbutton-border-radius);
|
|
31
|
|
-} @else {
|
|
32
|
|
-border-bottom-left-radius: var(--toolbarbutton-border-radius);
|
|
33
|
|
-border-bottom-right-radius: var(--toolbarbutton-border-radius);
|
|
34
|
|
-border-top-width: 0 !important;
|
|
35
|
|
-top: -1px;
|
|
36
|
|
-right: 44px;
|
|
37
|
|
-transform-origin: top center;
|
|
38
|
|
-}
|
|
39
|
|
-
|
|
40
|
|
-animation: 0.1s keyframes-scale-in;
|
|
41
|
|
-
|
|
42
|
|
-&[hidden='true'] {
|
|
43
|
|
-animation: 0.1s keyframes-scale-out;
|
|
44
|
|
-}
|
|
45
|
|
-
|
|
46
|
|
-checkbox {
|
|
47
|
|
-margin: 0 !important;
|
|
48
|
|
-
|
|
49
|
|
-@if $feature-buttons {
|
|
50
|
|
-@extend %bordered-control;
|
|
51
|
|
-
|
|
52
|
|
-@if $feature-buttons-grouped {
|
|
53
|
|
-&:not(:last-of-type) {
|
|
54
|
|
-border-top-right-radius: 0;
|
|
55
|
|
-border-bottom-right-radius: 0;
|
|
56
|
|
-}
|
|
57
|
|
-
|
|
58
|
|
-&:not(:first-of-type) {
|
|
59
|
|
-border-top-left-radius: 0;
|
|
60
|
|
-border-bottom-left-radius: 0;
|
|
61
|
|
-
|
|
62
|
|
-border-left-width: 0;
|
|
63
|
|
-}
|
|
64
|
|
-} @else {
|
|
65
|
|
-&:not(:first-of-type) {
|
|
66
|
|
-margin-inline-start: $space-unit !important;
|
|
67
|
|
-}
|
|
68
|
|
-}
|
|
69
|
|
-
|
|
70
|
|
-padding: 3px 6px;
|
|
71
|
|
-border-radius: var(--toolbarbutton-border-radius);
|
|
72
|
|
-
|
|
73
|
|
-color: var(--button-color);
|
|
74
|
|
-background-color: var(--button-bgcolor);
|
|
75
|
|
-
|
|
76
|
|
-&:hover {
|
|
77
|
|
-background-color: var(--button-hover-bgcolor);
|
|
78
|
|
-}
|
|
79
|
|
-
|
|
80
|
|
-&:active {
|
|
81
|
|
-background-color: var(--button-active-bgcolor);
|
|
82
|
|
-}
|
|
83
|
|
-
|
|
84
|
|
-&[checked='true'] {
|
|
85
|
|
-color: var(--button-primary-color);
|
|
86
|
|
-background-color: var(--button-primary-bgcolor);
|
|
87
|
|
-
|
|
88
|
|
-&:hover {
|
|
89
|
|
-background-color: var(--button-primary-hover-bgcolor);
|
|
90
|
|
-}
|
|
91
|
|
-
|
|
92
|
|
-&:active {
|
|
93
|
|
-background-color: var(--button-primary-active-bgcolor);
|
|
94
|
|
-}
|
|
95
|
|
-}
|
|
96
|
|
-
|
|
97
|
|
-&:focus-visible {
|
|
98
|
|
-outline: var(--focus-outline);
|
|
99
|
|
-outline-offset: var(--focus-outline-inset);
|
|
100
|
|
-}
|
|
101
|
|
-
|
|
102
|
|
-.checkbox-check {
|
|
103
|
|
-display: none;
|
|
104
|
|
-}
|
|
105
|
|
-} @else {
|
|
106
|
|
-&:not(:first-of-type) {
|
|
107
|
|
-margin-inline-start: $space-unit !important;
|
|
108
|
|
-}
|
|
109
|
|
-}
|
|
110
|
|
-}
|
|
111
|
|
-
|
|
112
|
|
-[anonid='findbar-textbox-wrapper'] {
|
|
113
|
|
-margin-inline-end: $space-unit * if($feature-buttons, 1, 2) !important;
|
|
114
|
|
-
|
|
115
|
|
-htmlNs|input {
|
|
116
|
|
-@extend %bordered-control;
|
|
117
|
|
-
|
|
118
|
|
-@if $feature-buttons and $feature-buttons-grouped {
|
|
119
|
|
-border-top-right-radius: 0 !important;
|
|
120
|
|
-border-bottom-right-radius: 0 !important;
|
|
121
|
|
-}
|
|
122
|
|
-}
|
|
123
|
|
-
|
|
124
|
|
-toolbarbutton {
|
|
125
|
|
-@extend %bordered-control;
|
|
126
|
|
-
|
|
127
|
|
-color: var(--button-color);
|
|
128
|
|
-background-color: var(--button-bgcolor);
|
|
129
|
|
-border-width: 1px !important;
|
|
130
|
|
-
|
|
131
|
|
-margin-inline: 0 !important;
|
|
132
|
|
-
|
|
133
|
|
-@if $feature-buttons and $feature-buttons-grouped {
|
|
134
|
|
-&:last-of-type {
|
|
135
|
|
-border-top-left-radius: 0 !important;
|
|
136
|
|
-border-bottom-left-radius: 0 !important;
|
|
137
|
|
-}
|
|
138
|
|
-&:not(:last-of-type) {
|
|
139
|
|
-border-radius: 0 !important;
|
|
140
|
|
-border-right-width: 0 !important;
|
|
141
|
|
-}
|
|
142
|
|
-}
|
|
143
|
|
-}
|
|
144
|
|
-}
|
|
145
|
|
-
|
|
146
|
|
-.findbar-label {
|
|
147
|
|
-margin: 0 !important;
|
|
148
|
|
-margin-inline-start: $space-unit !important;
|
|
149
|
|
-}
|
|
150
|
|
-
|
|
151
|
|
-description.findbar-label:empty {
|
|
152
|
|
-display: none;
|
|
153
|
|
-}
|
|
154
|
|
-}
|
|
155
|
|
-
|
|
156
|
|
-@keyframes keyframes-scale-in {
|
|
157
|
|
-0% {
|
|
158
|
|
-transform: scaleY(0);
|
|
159
|
|
-}
|
|
160
|
|
-100% {
|
|
161
|
|
-transform: scaleY(1);
|
|
162
|
|
-}
|
|
163
|
|
-}
|
|
164
|
|
-
|
|
165
|
|
-@keyframes keyframes-scale-out {
|
|
166
|
|
-0% {
|
|
167
|
|
-transform: scaleY(1);
|
|
168
|
|
-}
|
|
169
|
|
-100% {
|
|
170
|
|
-transform: scaleY(0);
|
|
171
|
|
-}
|
|
172
|
|
-}
|
|
173
|
|
-
|
|
174
|
|
-:root{
|
|
175
|
|
- --toolbarbutton-inner-padding:0px !important;
|
|
176
|
|
- --tab-min-height: 16px !important;
|
|
177
|
|
-}
|
|
178
|
|
-.titlebar-button{ padding-block: 0px !important; }
|
|
179
|
|
-#urlbar-container, #search-container{ padding-block: 1px !important; }
|
|
180
|
|
-
|
|
181
|
|
-#titlebar{ -moz-appearance:none !important; }
|
|
182
|
|
-:root[sizemode="maximized"] #navigator-toolbox{ margin-top: 0px }
|
|
183
|
|
-
|
|
184
|
|
-/* ROOT - VARS */
|
|
185
|
|
-*|*:root {
|
|
186
|
|
- --tab-min-height: 16px !important; /* adjust */
|
|
187
|
|
- --tab-min-width: 1px !important; /* adjust */
|
|
188
|
|
-}
|
|
189
|
|
-
|
|
190
|
|
-/* TABS: height */
|
|
191
|
|
-#tabbrowser-tabs,
|
|
192
|
|
-#tabbrowser-tabs > #tabbrowser-arrowscrollbox,
|
|
193
|
|
-.tabbrowser-tabs .tabbrowser-tab {
|
|
194
|
|
- min-height: var(--tab-min-height) !important;
|
|
195
|
|
- max-height: var(--tab-min-height) !important;
|
|
196
|
|
-}
|
|
197
|
|
-
|
|
198
|
|
-:root {
|
|
199
|
|
- --tab-max-height: 16px !important;
|
|
200
|
|
- --tab-min-height: 0 !important;
|
|
201
|
|
- --urlbar-toolbar-height: var(--tab-max-height) !important;
|
|
202
|
|
-}
|
|
203
|
|
-
|
|
204
|
|
-/* Bar resizing */
|
|
205
|
|
-#nav-bar,
|
|
206
|
|
-.toolbar-items,
|
|
207
|
|
-.titlebar-buttonbox-container,
|
|
208
|
|
-.tab-content,
|
|
209
|
|
-.tab-background,
|
|
210
|
|
-.tab-label-container {
|
|
211
|
|
- height: var(--tab-max-height);
|
|
212
|
|
-}
|
|
213
|
|
-.tab-background {
|
|
214
|
|
- margin: 0 !important;
|
|
215
|
|
-}
|
|
216
|
|
-.tab-secondary-label {
|
|
217
|
|
- font-size: .5em !important;
|
|
218
|
|
- margin: -.6em 0 .5em !important;
|
|
219
|
|
-}
|
|
220
|
|
-
|
|
221
|
|
-/* Selection highlight */
|
|
222
|
|
-#nav-bar toolbaritem,
|
|
223
|
|
-#nav-bar toolbarbutton {
|
|
224
|
|
- --focus-outline: none;
|
|
225
|
|
- --slimbar-highlight-color: color-mix(in srgb, var(--lwt-toolbar-field-highlight) 40%, var(--toolbar-bgcolor));
|
|
226
|
|
- /* --toolbar-field-focus-background-color: var(--slimbar-highlight-color); */
|
|
227
|
|
-}
|
|
228
|
|
-#nav-bar toolbaritem:focus-visible,
|
|
229
|
|
-#nav-bar toolbarbutton:focus-visible,
|
|
230
|
|
-#nav-bar toolbaritem #identity-icon-box:focus-visible,
|
|
231
|
|
-#nav-bar toolbaritem #star-button-box:focus-visible,
|
|
232
|
|
-#nav-bar toolbaritem .unified-extensions-item-action-button:focus-visible {
|
|
233
|
|
- background-color: var(--slimbar-highlight-color) !important;
|
|
234
|
|
-}
|
|
235
|
|
-
|
|
236
|
|
-/*----------------------------------------------------------
|
|
237
|
|
-Tabs to Bottom
|
|
238
|
|
-source: https://github.com/Arty2/userstyles/blob/master/tabs_to_bottom.userchrome.css
|
|
239
|
|
-
|
|
240
|
|
-UI model:
|
|
241
|
|
- #navigator-toolbox-background
|
|
242
|
|
- #navigator-toolbox
|
|
243
|
|
- #titlebar
|
|
244
|
|
- #toolbar-menubar
|
|
245
|
|
- #TabsToolbar
|
|
246
|
|
- #nav-bar
|
|
247
|
|
- #PersonalToolbar
|
|
248
|
|
- #browser
|
|
249
|
|
-*/
|
|
250
|
|
-
|
|
251
|
|
-/* bring the browser window to the top */
|
|
252
|
|
-#browser {
|
|
253
|
|
- -moz-box-ordinal-group: 0 !important;
|
|
254
|
|
- order: 0 !important;
|
|
255
|
|
-}
|
|
256
|
|
-
|
|
257
|
|
-#navigator-toolbox-background {
|
|
258
|
|
- -moz-box-ordinal-group: 1 !important;
|
|
259
|
|
- order: 1 !important;
|
|
260
|
|
-}
|
|
261
|
|
-
|
|
262
|
|
-/* adjust paddings */
|
|
263
|
|
-*|*:root[sizemode="normal"] #browser {
|
|
264
|
|
- padding-top: 0 !important;
|
|
265
|
|
-}
|
|
266
|
|
-
|
|
267
|
|
-/* hide tab toolbar when fullscreen */
|
|
268
|
|
-#nav-bar[inFullscreen],
|
|
269
|
|
-#TabsToolbar[inFullscreen] {
|
|
270
|
|
- display: none;
|
|
271
|
|
-}
|
|
272
|
|
-
|
|
273
|
|
-/* restore top border */
|
|
274
|
|
-*|*:root[sizemode="normal"] #browser {
|
|
275
|
|
- border-top: .0px solid AccentColor !important;
|
|
276
|
|
-}
|
|
277
|
|
-*|*:root[sizemode="normal"]:-moz-window-inactive #browser {
|
|
278
|
|
- border-top-color: rgb(238,238,238) !important;
|
|
279
|
|
-}
|
|
280
|
|
-
|
|
281
|
|
-/* make toolbar border persist on fullscreen */
|
|
282
|
|
-*|*:root[sizemode="maximized"] #navigator-toolbox {
|
|
283
|
|
- border-top: .0px solid AccentColor !important;
|
|
284
|
|
- border-bottom: .0px solid AccentColor !important;
|
|
285
|
|
-}
|
|
286
|
|
-
|
|
287
|
|
-/* hide titlebar buttons */
|
|
288
|
|
-#TabsToolbar > .titlebar-buttonbox-container {
|
|
289
|
|
- display: none !important;
|
|
290
|
|
-}
|
|
291
|
|
-
|
|
292
|
|
-/*fix pop-ups opening below window*/
|
|
293
|
|
-#urlbar[open]{
|
|
294
|
|
- display: flex !important;
|
|
295
|
|
- flex-direction: column-reverse; /* use 'column' if you want to type the URL in center*/
|
|
296
|
|
- bottom: -2px !important;
|
|
297
|
|
- top: auto !important;
|
|
298
|
|
-}
|
|
299
|
|
-/*.urlbarView-body-inner { border-top: none !important; }*/
|
|
300
|
|
-/*.urlbarView { display: none !important; }*/ /* uncomment this to hidden address bar suggestions */
|
|
301
|
|
-
|
|
302
|
|
-
|
|
303
|
|
-
|
|
304
|
|
-/* Removes text from tabs */
|
|
305
|
|
-.tabbrowser-tab .tab-label {
|
|
306
|
|
- display:none !important;
|
|
307
|
|
-}
|
|
308
|
|
-
|
|
309
|
|
-/* Resizes tabs to minimum width */
|
|
310
|
|
-.tabbrowser-tab:not([pinned]) {
|
|
311
|
|
- max-width: 16px !important;
|
|
312
|
|
- min-width: 16px !important;
|
|
313
|
|
-}
|
|
314
|
|
-
|
|
315
|
|
-.tabbrowser-tab[pinned],
|
|
316
|
|
-.tabs-newtab-button {
|
|
317
|
|
- max-width: 16px !important;
|
|
318
|
|
- min-width: 16px !important;
|
|
319
|
|
-}
|
|
320
|
|
-
|
|
321
|
|
-.tabbrowser-tab[pinned=true] .tab-throbber,
|
|
322
|
|
-.tabbrowser-tab[pinned=true] .tab-icon-image {
|
|
323
|
|
- margin-left: 0px !important;
|
|
324
|
|
- margin-right: 0px !important;
|
|
325
|
|
- margin-top: 0px !important;
|
|
326
|
|
- margin-bottom: 0px !important;
|
|
327
|
|
-}
|
|
328
|
|
-
|
|
329
|
|
-
|
|
330
|
|
-/* Tabs */
|
|
331
|
|
-.tabbrowser-tab[pinned] {
|
|
332
|
|
-padding-left: 0px;
|
|
333
|
|
-padding-right: 0px;
|
|
334
|
|
-padding-top: 0px;
|
|
335
|
|
-padding-bottom: 0px;
|
|
336
|
|
-}
|
|
337
|
|
-
|
|
338
|
|
-
|
|
339
|
|
-
|
|
340
|
|
-
|
|
341
|
|
-
|
|
342
|
|
-
|
|
343
|
|
-
|
|
344
|
|
-
|
|
345
|
|
-
|
|
346
|
|
-
|
|
347
|
|
-/*
|
|
348
|
|
- * SETUP:
|
|
349
|
|
- * Must go to about:config and change browser.tabs.tabMinWidth to 0. -> this is no longer needed (last checked January 2023)
|
|
350
|
|
- */
|
|
351
|
|
-
|
|
352
|
|
-
|
|
353
|
|
-/* General Rules */
|
|
354
|
|
-#main-window:not(#f) .tabbrowser-tab {
|
|
355
|
|
- -moz-box-sizing: border-box !important;
|
|
356
|
|
- height: 16px !important;
|
|
357
|
|
- vertical-align: top !important;
|
|
358
|
|
-}
|
|
359
|
|
-
|
|
360
|
|
-#tabbrowser-tabs .arrowscrollbox-scrollbox {
|
|
361
|
|
- /* overflow: visible !important; */
|
|
362
|
|
- display: block;
|
|
363
|
|
-}
|
|
364
|
|
-
|
|
365
|
|
-.tabbrowser-tab,
|
|
366
|
|
-.tab-background {
|
|
367
|
|
- height: var(--tab-min-height);
|
|
368
|
|
-}
|
|
369
|
|
-
|
|
370
|
|
-.tab-stack .tab-content {
|
|
371
|
|
- padding: 0 0px !important;
|
|
372
|
|
-}
|
|
373
|
|
-
|
|
374
|
|
-.tabbrowser-tab:not([pinned]) {
|
|
375
|
|
- min-width: 16px !important;
|
|
376
|
|
- max-width: 16px !important;
|
|
377
|
|
-}
|
|
378
|
|
-.tabbrowser-tab:not([pinned]):not([fadein]) {
|
|
379
|
|
- max-width: 16px !important;
|
|
380
|
|
- min-width: 16px !important;
|
|
381
|
|
-}
|
|
382
|
|
-
|
|
383
|
|
-/* Pinned Tabs Rules */
|
|
384
|
|
-.tabbrowser-tab[pinned][selected] .tab-content:after{
|
|
385
|
|
- /*display: none;*/
|
|
386
|
|
- border-color: var(--tab-line-color) transparent transparent transparent;
|
|
387
|
|
-}
|
|
388
|
|
-
|
|
389
|
|
-.tabbrowser-tab[pinned][selected] .tab-line {
|
|
390
|
|
- display: none !important;
|
|
391
|
|
-}
|
|
392
|
|
-
|
|
393
|
|
-.tabbrowser-tab[pinned] .tab-content {
|
|
394
|
|
- position: relative;
|
|
395
|
|
-}
|
|
396
|
|
-
|
|
397
|
|
-.tabbrowser-tab[pinned] .tab-content:after {
|
|
398
|
|
- display: block;
|
|
399
|
|
- content: '';
|
|
400
|
|
- position: absolute;
|
|
401
|
|
- top: 0;
|
|
402
|
|
- left: 0;
|
|
403
|
|
- width: 0;
|
|
404
|
|
- height: 0;
|
|
405
|
|
- border-style: solid;
|
|
406
|
|
- border-width: 0px 0px 0 0;
|
|
407
|
|
- border-color: #ffffff transparent transparent transparent;
|
|
408
|
|
- opacity: 0.9;
|
|
409
|
|
-}
|
|
410
|
|
-
|
|
411
|
|
-/* NonPinned Tabs Rules */
|
|
412
|
|
-.tab-icon-image:not([pinned]) {
|
|
413
|
|
- margin-left: 0 !important;
|
|
414
|
|
- margin-right: 0 !important;
|
|
415
|
|
-}
|
|
416
|
|
-
|
|
417
|
|
-.tab-label-container {
|
|
418
|
|
- display: none;
|
|
419
|
|
-}
|
|
420
|
|
-
|
|
421
|
|
-.tab-close-button {
|
|
422
|
|
- display: none;
|
|
423
|
|
-}
|
|
424
|
|
-
|
|
425
|
|
-/* THIS IS OTHER STUFF - NOT BEING USED BUT HELPED WITH OVERFLOW ISSUES */
|
|
426
|
|
-
|
|
427
|
|
-/* #main-window:not(#f) .tabbrowser-tab:not([pinned]) {
|
|
428
|
|
- width: auto !important;
|
|
429
|
|
-}
|
|
430
|
|
-#main-window:not(#f) .titlebar-button {
|
|
431
|
|
- height: 16px !important;
|
|
432
|
|
-}
|
|
433
|
|
-#main-window:not(#f) #titlebar-buttonbox,
|
|
434
|
|
- .tabbrowser-arrowscrollbox scrollbox > box {
|
|
435
|
|
- display: block !important;
|
|
436
|
|
-}
|
|
437
|
|
-#main-window:not(#f) #titlebar-buttonbox {
|
|
438
|
|
- vertical-align: top !important;
|
|
439
|
|
-}
|
|
440
|
|
-.tabbrowser-arrowscrollbox scrollbox {
|
|
441
|
|
- overflow: visible !important;
|
|
442
|
|
-}
|
|
443
|
|
-.tab-label-container[textoverflow]:not([pinned]) {
|
|
444
|
|
- mask-image: unset !important;
|
|
445
|
|
-} */
|
|
446
|
|
-
|
|
447
|
|
-
|
|
448
|
|
-
|
|
449
|
|
-
|
|
450
|
|
-
|
|
451
|
|
-
|
|
452
|
|
-
|
|
453
|
|
-
|
|
454
|
|
-
|
|
455
|
|
-
|
|
456
|
|
-
|
|
457
|
|
-
|
|
458
|
|
-
|
|
459
|
|
-
|
|
460
|
|
-
|
|
461
|
|
-
|
|
462
|
|
-
|
|
463
|
|
-
|
|
464
|
|
-
|
|
465
|
|
-
|
|
466
|
|
-
|
|
467
|
|
-
|
|
468
|
|
-
|
|
469
|
|
-
|
|
470
|
|
-
|
|
471
|
|
-
|
|
472
|
|
-
|
|
473
|
|
-
|
|
474
|
|
-
|
|
475
|
|
-
|
|
476
|
|
-
|
|
477
|
|
-
|
|
478
|
|
-/*** Megabar Styler General - version 2023-03-23 ***/
|
|
479
|
|
-
|
|
480
|
|
-
|
|
481
|
|
-
|
|
482
|
|
- /*** General Preferences ***/
|
|
483
|
|
-
|
|
484
|
|
- :root {
|
|
485
|
|
-
|
|
486
|
|
- /* Number of pixels of enlargement when URL bar is focused */
|
|
487
|
|
-
|
|
488
|
|
- --mbarstyler-popout-pixels: 0px; /* [0px - 7px] */
|
|
489
|
|
-
|
|
490
|
|
-
|
|
491
|
|
-
|
|
492
|
|
- /* Top Bar Display or Not */
|
|
493
|
|
-
|
|
494
|
|
- --mbarstyler-top-bar-display: none; /* [block,none] */
|
|
495
|
|
-
|
|
496
|
|
-
|
|
497
|
|
-
|
|
498
|
|
- /* Font sizes (default: 13.8px for title, 10.2px for URL) */
|
|
499
|
|
-
|
|
500
|
|
- --mbarstyler-title-font-size: 13px; /* [13px - 18px] */
|
|
501
|
|
-
|
|
502
|
|
- --mbarstyler-url-font-size: 12px; /* [12px - 16px] */
|
|
503
|
|
-
|
|
504
|
|
-
|
|
505
|
|
-
|
|
506
|
|
- /* Rows to show without scrolling */
|
|
507
|
|
-
|
|
508
|
|
- --mbarstyler-max-rows-without-scrolling: 8;
|
|
509
|
|
-
|
|
510
|
|
-
|
|
511
|
|
-
|
|
512
|
|
- /* Bottom border for each result row */
|
|
513
|
|
-
|
|
514
|
|
- --mbarstyler-bottom-border-width: 0px; /* [0px or 1px] */
|
|
515
|
|
-
|
|
516
|
|
-
|
|
517
|
|
-
|
|
518
|
|
- /* Height adjustment for labels (Proton) */
|
|
519
|
|
-
|
|
520
|
|
- --mbarstyler-label-height-adjustment: /*[[labelheight]]*/; /* [0px or 35px] */
|
|
521
|
|
-
|
|
522
|
|
-
|
|
523
|
|
-
|
|
524
|
|
- /* Match display style */
|
|
525
|
|
-
|
|
526
|
|
- --mbarstyler-match-weight: 400; /* [400,700] */
|
|
527
|
|
-
|
|
528
|
|
- --mbarstyler-match-background-opacity: 0.05; /* [0.0,0.05,0.1] */
|
|
529
|
|
-
|
|
530
|
|
- }
|
|
531
|
|
-
|
|
532
|
|
-
|
|
533
|
|
-
|
|
534
|
|
- /*** URL bar enlargement or lack thereof ***/
|
|
535
|
|
-
|
|
536
|
|
-
|
|
537
|
|
-
|
|
538
|
|
- /* Compute new position, width, and padding */
|
|
539
|
|
-
|
|
540
|
|
- #urlbar[breakout][breakout-extend] {
|
|
541
|
|
-
|
|
542
|
|
- top: calc(5px - var(--mbarstyler-popout-pixels) - 1px) !important; /* updated for Proton */
|
|
543
|
|
-
|
|
544
|
|
- left: calc(0px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
|
|
545
|
|
-
|
|
546
|
|
- width: calc(100% + (2 * var(--mbarstyler-popout-pixels)) - 2px) !important; /* updated for Proton */
|
|
547
|
|
-
|
|
548
|
|
- padding: var(--mbarstyler-popout-pixels) !important;
|
|
549
|
|
-
|
|
550
|
|
- }
|
|
551
|
|
-
|
|
552
|
|
- [uidensity="compact"] #urlbar[breakout][breakout-extend] {
|
|
553
|
|
-
|
|
554
|
|
- top: calc(3px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
|
|
555
|
|
-
|
|
556
|
|
- }
|
|
557
|
|
-
|
|
558
|
|
- [uidensity="touch"] #urlbar[breakout][breakout-extend] {
|
|
559
|
|
-
|
|
560
|
|
- top: calc(4px - var(--mbarstyler-popout-pixels) + 1px) !important; /* updated for Proton */
|
|
561
|
|
-
|
|
562
|
|
- }
|
|
563
|
|
-
|
|
564
|
|
-
|
|
565
|
|
-
|
|
566
|
|
- /* Prevent shift of URL bar contents */
|
|
567
|
|
-
|
|
568
|
|
- #urlbar[breakout][breakout-extend] > #urlbar-input-container {
|
|
569
|
|
-
|
|
570
|
|
- height: var(--urlbar-height) !important;
|
|
571
|
|
-
|
|
572
|
|
- padding: 0 !important;
|
|
573
|
|
-
|
|
574
|
|
- }
|
|
575
|
|
-
|
|
576
|
|
-
|
|
577
|
|
-
|
|
578
|
|
- /* Do not animate */
|
|
579
|
|
-
|
|
580
|
|
- #urlbar[breakout][breakout-extend] > #urlbar-background {
|
|
581
|
|
-
|
|
582
|
|
- animation: none !important;;
|
|
583
|
|
-
|
|
584
|
|
- }
|
|
585
|
|
-
|
|
586
|
|
-
|
|
587
|
|
-
|
|
588
|
|
- /* Remove shadows */
|
|
589
|
|
-
|
|
590
|
|
- #urlbar[breakout][breakout-extend] > #urlbar-background {
|
|
591
|
|
-
|
|
592
|
|
- box-shadow: none !important;
|
|
593
|
|
-
|
|
594
|
|
- }
|
|
595
|
|
-
|
|
596
|
|
-
|
|
597
|
|
-
|
|
598
|
|
- /*** Top "Blue Bar" Display ***/
|
|
599
|
|
-
|
|
600
|
|
-
|
|
601
|
|
-
|
|
602
|
|
- .urlbarView-row:first-of-type {
|
|
603
|
|
-
|
|
604
|
|
- display: var(--mbarstyler-top-bar-display) !important;
|
|
605
|
|
-
|
|
606
|
|
- }
|
|
607
|
|
-
|
|
608
|
|
-
|
|
609
|
|
-
|
|
610
|
|
- /*** Font Sizes and Scrolling ***/
|
|
611
|
|
-
|
|
612
|
|
-
|
|
613
|
|
-
|
|
614
|
|
- /* Title font-size */
|
|
615
|
|
-
|
|
616
|
|
- .urlbarView-row .urlbarView-title {
|
|
617
|
|
-
|
|
618
|
|
- font-size: var(--mbarstyler-title-font-size) !important;
|
|
619
|
|
-
|
|
620
|
|
- }
|
|
621
|
|
-
|
|
622
|
|
-
|
|
623
|
|
-
|
|
624
|
|
- /* URL / action font-size */
|
|
625
|
|
-
|
|
626
|
|
- .urlbarView-row .urlbarView-secondary,
|
|
627
|
|
-
|
|
628
|
|
- .urlbarView-row .urlbarView-url,
|
|
629
|
|
-
|
|
630
|
|
- .urlbarView-row .urlbarView-action {
|
|
631
|
|
-
|
|
632
|
|
- font-size: var(--mbarstyler-url-font-size) !important;
|
|
633
|
|
-
|
|
634
|
|
- }
|
|
635
|
|
-
|
|
636
|
|
-
|
|
637
|
|
-
|
|
638
|
|
- /* Set max-height for items visible without scrolling */
|
|
639
|
|
-
|
|
640
|
|
- #urlbarView-results, #urlbar-results {
|
|
641
|
|
-
|
|
642
|
|
- height: unset !important;
|
|
643
|
|
-
|
|
644
|
|
- max-height: calc(2.5 * (var(--mbarstyler-title-font-size) + var(--mbarstyler-bottom-border-width)) * var(--mbarstyler-max-rows-without-scrolling) + var(--mbarstyler-label-height-adjustment)) !important;
|
|
645
|
|
-
|
|
646
|
|
- }
|
|
647
|
|
-
|
|
648
|
|
- #urlbar-results {
|
|
649
|
|
-
|
|
650
|
|
- overflow-y: auto !important;
|
|
651
|
|
-
|
|
652
|
|
- }
|
|
653
|
|
-
|
|
654
|
|
-
|
|
655
|
|
-
|
|
656
|
|
- /* Clean up extra spacing at the top and bottom */
|
|
657
|
|
-
|
|
658
|
|
- #urlbar-results {
|
|
659
|
|
-
|
|
660
|
|
- padding-top: 0 !important;
|
|
661
|
|
-
|
|
662
|
|
- padding-bottom: 0 !important;
|
|
663
|
|
-
|
|
664
|
|
- }
|
|
665
|
|
-
|
|
666
|
|
- /* Clean up extra vertical spacing on "tip" suggestions, shrink icon */
|
|
667
|
|
-
|
|
668
|
|
- .urlbarView-row[type="tip"]{
|
|
669
|
|
-
|
|
670
|
|
- padding-block: 0px !important;
|
|
671
|
|
-
|
|
672
|
|
- }
|
|
673
|
|
-
|
|
674
|
|
- .urlbarView-row[type="tip"] > .urlbarView-row-inner {
|
|
675
|
|
-
|
|
676
|
|
- min-height: 0px !important;
|
|
677
|
|
-
|
|
678
|
|
- }
|
|
679
|
|
-
|
|
680
|
|
- .urlbarView-row[type="tip"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
|
|
681
|
|
-
|
|
682
|
|
- height: 16px !important;
|
|
683
|
|
-
|
|
684
|
|
- width: 16px !important;
|
|
685
|
|
-
|
|
686
|
|
- flex-basis: 16px !important;
|
|
687
|
|
-
|
|
688
|
|
- }
|
|
689
|
|
-
|
|
690
|
|
-
|
|
691
|
|
-
|
|
692
|
|
- /* Subtle border between results */
|
|
693
|
|
-
|
|
694
|
|
- .urlbarView-row:not(:last-of-type) {
|
|
695
|
|
-
|
|
696
|
|
- border-bottom: var(--mbarstyler-bottom-border-width) solid rgba(0, 0, 0, 0.1) !important;
|
|
697
|
|
-
|
|
698
|
|
- }
|
|
699
|
|
-
|
|
700
|
|
-
|
|
701
|
|
-
|
|
702
|
|
- /* Match Styling Like Fx43-47 */
|
|
703
|
|
-
|
|
704
|
|
- [lwt-popup-darktext] .urlbarView-row:not([selected]) .urlbarView-title strong,
|
|
705
|
|
-
|
|
706
|
|
- [lwt-popup-darktext] .urlbarView-row:not([selected]) .urlbarView-url strong {
|
|
707
|
|
-
|
|
708
|
|
- font-weight: var(--mbarstyler-match-weight) !important;
|
|
709
|
|
-
|
|
710
|
|
- box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, calc(var(--mbarstyler-match-background-opacity) * 2));
|
|
711
|
|
-
|
|
712
|
|
- background-color: rgba(0, 0, 0, var(--mbarstyler-match-background-opacity));
|
|
713
|
|
-
|
|
714
|
|
- border-radius: 2px;
|
|
715
|
|
-
|
|
716
|
|
- }
|
|
717
|
|
-
|
|
718
|
|
- [lwt-popup-brighttext] .urlbarView-row:not([selected]) .urlbarView-title strong,
|
|
719
|
|
-
|
|
720
|
|
- [lwt-popup-brighttext] .urlbarView-row:not([selected]) .urlbarView-url strong {
|
|
721
|
|
-
|
|
722
|
|
- font-weight: var(--mbarstyler-match-weight) !important;
|
|
723
|
|
-
|
|
724
|
|
- box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, calc(var(--mbarstyler-match-background-opacity) * 2));
|
|
725
|
|
-
|
|
726
|
|
- background-color: rgba(255, 255, 255, var(--mbarstyler-match-background-opacity));
|
|
727
|
|
-
|
|
728
|
|
- border-radius: 2px;
|
|
729
|
|
-
|
|
730
|
|
- }
|
|
731
|
|
-
|
|
732
|
|
- /*[[labelhider]]*/
|
|
733
|
|
-
|
|
734
|
|
-/*** End of: Megabar Styler General ***/
|
|
735
|
|
-
|
|
736
|
|
-
|
|
737
|
|
-
|
|
738
|
|
-/*** Megabar Styler Two-Row Flex Layout - version 2021-09-09 ***/
|
|
739
|
|
-
|
|
740
|
|
-
|
|
741
|
|
-
|
|
742
|
|
- /* !!! Requires variables from Megabar Styler General !!! */
|
|
743
|
|
-
|
|
744
|
|
-
|
|
745
|
|
-
|
|
746
|
|
- /* Adjust heights for scrolling */
|
|
747
|
|
-
|
|
748
|
|
- #urlbarView-results, #urlbar-results {
|
|
749
|
|
-
|
|
750
|
|
- max-height: calc(1.625 * (var(--mbarstyler-title-font-size) + var(--mbarstyler-url-font-size) + var(--mbarstyler-bottom-border-width)) * var(--mbarstyler-max-rows-without-scrolling)) !important;
|
|
751
|
|
-
|
|
752
|
|
- }
|
|
753
|
|
-
|
|
754
|
|
- /* Wrap the url (adapted from Fx75 narrow bar design) */
|
|
755
|
|
-
|
|
756
|
|
- .urlbarView-row-inner {
|
|
757
|
|
-
|
|
758
|
|
- flex-wrap: wrap !important;
|
|
759
|
|
-
|
|
760
|
|
- padding-block: 2px !important;
|
|
761
|
|
-
|
|
762
|
|
- }
|
|
763
|
|
-
|
|
764
|
|
- .urlbarView-no-wrap {
|
|
765
|
|
-
|
|
766
|
|
- max-width: 100% !important;
|
|
767
|
|
-
|
|
768
|
|
- flex-basis: 100% !important;
|
|
769
|
|
-
|
|
770
|
|
- position: relative;
|
|
771
|
|
-
|
|
772
|
|
- }
|
|
773
|
|
-
|
|
774
|
|
- /* Remove Proton excess height from search suggestions */
|
|
775
|
|
-
|
|
776
|
|
- :root:not([uidensity="compact"]) .urlbarView-row[type="search"]{
|
|
777
|
|
-
|
|
778
|
|
- min-height: unset !important;
|
|
779
|
|
-
|
|
780
|
|
- }
|
|
781
|
|
-
|
|
782
|
|
-
|
|
783
|
|
-
|
|
784
|
|
- /* Adjust horizontal and vertical URL position */
|
|
785
|
|
-
|
|
786
|
|
- .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url {
|
|
787
|
|
-
|
|
788
|
|
- padding-inline-start: calc(6px + 4px + /* favicon */ 16px) !important;
|
|
789
|
|
-
|
|
790
|
|
- margin-top: calc(2px + (var(--mbarstyler-url-font-size) - var(--mbarstyler-title-font-size)));
|
|
791
|
|
-
|
|
792
|
|
- }
|
|
793
|
|
-
|
|
794
|
|
-
|
|
795
|
|
-
|
|
796
|
|
- /* Hide the separator if there's a URL */
|
|
797
|
|
-
|
|
798
|
|
- .urlbarView[actionoverride] .urlbarView-row[has-url] .urlbarView-title-separator,
|
|
799
|
|
-
|
|
800
|
|
- .urlbarView .urlbarView-row[has-url]:not([type$=tab]) .urlbarView-title-separator,
|
|
801
|
|
-
|
|
802
|
|
- .urlbarView .urlbarView-row[type=remotetab]:-moz-any(:hover, [selected]) .urlbarView-title-separator {
|
|
803
|
|
-
|
|
804
|
|
- display: none !important;
|
|
805
|
|
-
|
|
806
|
|
- }
|
|
807
|
|
-
|
|
808
|
|
-
|
|
809
|
|
-
|
|
810
|
|
- /* Move Switch Tab info to URL line :: added 2020-04-12 */
|
|
811
|
|
-
|
|
812
|
|
-
|
|
813
|
|
-
|
|
814
|
|
- /* Make sure URL is always visible */
|
|
815
|
|
-
|
|
816
|
|
- .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url {
|
|
817
|
|
-
|
|
818
|
|
- visibility: visible !important;
|
|
819
|
|
-
|
|
820
|
|
- }
|
|
821
|
|
-
|
|
822
|
|
- /* Show Switch to Tab or Open depending on [actionoverride] */
|
|
823
|
|
-
|
|
824
|
|
- .urlbarView:not([actionoverride]) .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url::before {
|
|
825
|
|
-
|
|
826
|
|
- content: "Switch to Tab: ";
|
|
827
|
|
-
|
|
828
|
|
- font-style: italic;
|
|
829
|
|
-
|
|
830
|
|
- color: var(--urlbar-popup-action-color);
|
|
831
|
|
-
|
|
832
|
|
- }
|
|
833
|
|
-
|
|
834
|
|
- .urlbarView:not([actionoverride]) .urlbarView-row[type="switchtab"][has-url="true"][selected] .urlbarView-url::before {
|
|
835
|
|
-
|
|
836
|
|
- color: HighlightText; /* 2020-05-31 improve visibility when selected */
|
|
837
|
|
-
|
|
838
|
|
- }
|
|
839
|
|
-
|
|
840
|
|
- .urlbarView[actionoverride] .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-url::before {
|
|
841
|
|
-
|
|
842
|
|
- content: "Open: ";
|
|
843
|
|
-
|
|
844
|
|
- font-style: italic;
|
|
845
|
|
-
|
|
846
|
|
- color: var(--urlbar-popup-action-color);
|
|
847
|
|
-
|
|
848
|
|
- }
|
|
849
|
|
-
|
|
850
|
|
- .urlbarView[actionoverride] .urlbarView-row[type="switchtab"][has-url="true"][selected] .urlbarView-url::before {
|
|
851
|
|
-
|
|
852
|
|
- color: HighlightText; /* 2020-05-31 improve visibility when selected */
|
|
853
|
|
-
|
|
854
|
|
- }
|
|
855
|
|
-
|
|
856
|
|
- /* Hide the existing Action phrase and separator */
|
|
857
|
|
-
|
|
858
|
|
- .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-action,
|
|
859
|
|
-
|
|
860
|
|
- .urlbarView-row[type="switchtab"][has-url="true"] .urlbarView-title-separator {
|
|
861
|
|
-
|
|
862
|
|
- display: none !important;
|
|
863
|
|
-
|
|
864
|
|
- }
|
|
865
|
|
-
|
|
866
|
|
-
|
|
867
|
|
-
|
|
868
|
|
- /* A little more room for the address bar when drop-down is open :: added 2020-06-02 */
|
|
869
|
|
-
|
|
870
|
|
-
|
|
871
|
|
-
|
|
872
|
|
- .urlbarView {
|
|
873
|
|
-
|
|
874
|
|
- margin-block-start: 0 !important;
|
|
875
|
|
-
|
|
876
|
|
- }
|
|
877
|
|
-
|
|
878
|
|
-
|
|
879
|
|
-
|
|
880
|
|
-/*** End of: Megabar Styler Two-Row Flex Layout ***/
|
|
881
|
|
-
|
|
882
|
|
-
|
|
883
|
|
-
|
|
884
|
|
-/*** Megabar Styler One-Offs - version 2020-05-31 ***/
|
|
885
|
|
-
|
|
886
|
|
-
|
|
887
|
|
-
|
|
888
|
|
- /*** One-Off Search Button Preferences ***/
|
|
889
|
|
-
|
|
890
|
|
- :root {
|
|
891
|
|
-
|
|
892
|
|
- /* One-Offs Display or Not */
|
|
893
|
|
-
|
|
894
|
|
- --mbarstyler-oneoffs-display: flex; /* [flex,none] */
|
|
895
|
|
-
|
|
896
|
|
- }
|
|
897
|
|
-
|
|
898
|
|
-
|
|
899
|
|
-
|
|
900
|
|
- /* Show or Hide the One-Offs Search Icon Bar */
|
|
901
|
|
-
|
|
902
|
|
- #urlbar .search-one-offs:not([hidden]) {
|
|
903
|
|
-
|
|
904
|
|
- display: var(--mbarstyler-oneoffs-display) !important;
|
|
905
|
|
-
|
|
906
|
|
- }
|
|
907
|
|
-
|
|
908
|
|
- /* Shorten the One-Offs Search Icon Bar Vertically */
|
|
909
|
|
-
|
|
910
|
|
- #urlbar .search-one-offs:not([hidden]) {
|
|
911
|
|
-
|
|
912
|
|
- padding-block: unset !important;
|
|
913
|
|
-
|
|
914
|
|
- }
|
|
915
|
|
-
|
|
916
|
|
- /* We don't need the text */
|
|
917
|
|
-
|
|
918
|
|
- #urlbar .search-one-offs .search-panel-header {
|
|
919
|
|
-
|
|
920
|
|
- display: none !important;
|
|
921
|
|
-
|
|
922
|
|
- }
|
|
923
|
|
-
|
|
924
|
|
-
|
|
925
|
|
-
|
|
926
|
|
-/*** End of: Megabar Styler One-Offs ***/
|