real-world-css-libraries 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +36 -1
  2. package/index.js +36 -6
  3. package/libs/30days30submits-18-v0.0.0.css +213 -0
  4. package/libs/amoled-cord-v5.0.11.css +894 -0
  5. package/libs/animating-hamburger-icons-v0.1.0.css +618 -0
  6. package/libs/bootplus-v1.0.5.css +6876 -0
  7. package/libs/enferno-v13.1.1.css +75 -0
  8. package/libs/facebook-buttons-v1.0.0.css +223 -0
  9. package/libs/fluentbird-v1.1.2.css +1060 -0
  10. package/libs/freebies-v0.0.0.css +1110 -0
  11. package/libs/gitweb-theme-v0.0.0.css +764 -0
  12. package/libs/justified-v0.0.0.css +14 -0
  13. package/libs/kickoff-v8.0.0.css +2267 -0
  14. package/libs/knacss-v8.2.0.css +1141 -0
  15. package/libs/linktree-v0.0.0.css +803 -0
  16. package/libs/littlebox-v0.0.4.css +5833 -0
  17. package/libs/lynx-v1.4.0.css +1587 -0
  18. package/libs/obnoxious-v3.5.2.css +1144 -0
  19. package/libs/obsidian-notebook-themes-v2.2.3.css +272 -0
  20. package/libs/patternbolt-v0.0.0.css +861 -0
  21. package/libs/progress-tracker-v3.0.0.css +352 -0
  22. package/libs/proxmorph-v2.7.3.css +3952 -0
  23. package/libs/sapc-apca-v0.0.0.css +5546 -0
  24. package/libs/shina-fox-v0.1.0.css +1194 -0
  25. package/libs/social-signin-buttons-v0.0.0.css +387 -0
  26. package/libs/tailwind-cards-v0.0.0.css +215592 -0
  27. package/libs/the-50-front-end-project-44-v0.0.0.css +459 -0
  28. package/libs/tocas-v5.7.0.css +19928 -0
  29. package/libs/utility-opentype-v0.1.4.css +515 -0
  30. package/libs/vim-css3-syntax-v2.10.0.css +1642 -0
  31. package/libs/waffle-grid-v1.3.6.css +544 -0
  32. package/libs/wikipedia-dark-v3.7.9.css +9990 -0
  33. package/libs/windows-95-v0.0.0.css +393 -0
  34. package/libs/woah-v1.3.1.css +1025 -0
  35. package/libs/yacy-v4.1.2.css +677 -0
  36. package/libs/yue-v1.1.1.css +180 -0
  37. package/package.json +1 -1
  38. package/test.js +3 -4
@@ -0,0 +1,1194 @@
1
+ /* https://github.com/Shina-SG/Shina-Fox/blob/main/userChrome.css */
2
+ /* GLOBAL SETTING */
3
+
4
+ /* Fonts */
5
+
6
+ * {
7
+ font-family: monospace !important;
8
+ }
9
+
10
+ /*------------------------------------------------*/
11
+ /* Background Color */
12
+
13
+ @media (prefers-color-scheme: dark) {
14
+ #navigator-toolbox,
15
+ #sidebar-box,
16
+ #tabbrowser-tabbox,
17
+ #tabbrowser-tabpanels,
18
+ #browser,
19
+ #appcontent,
20
+ #sidebar-select-box,
21
+ .browser-sidebar2,
22
+ tab.tabbrowser-tab *{
23
+ background-color: #1a1a1a !important;
24
+ }
25
+
26
+ }
27
+ @media (prefers-color-scheme: light) {
28
+ #navigator-toolbox,
29
+ #sidebar-box,
30
+ #tabbrowser-tabbox,
31
+ #tabbrowser-tabpanels,
32
+ #browser,
33
+ #appcontent,
34
+ #sidebar-select-box,
35
+ .browser-sidebar2,
36
+ tab.tabbrowser-tab *{
37
+ background-color: #e6e6e6 !important;
38
+ }
39
+ }
40
+
41
+ @media (prefers-color-scheme: dark) {
42
+ #navigator-toolbox {
43
+ background: #1a1a1a !important;
44
+ }
45
+ }
46
+
47
+ @media (prefers-color-scheme: light) {
48
+ #navigator-toolbox {
49
+ background: #e6e6e6 !important;
50
+ }
51
+ }
52
+
53
+ #PersonalToolbar,
54
+ #nav-bar {
55
+ background: transparent !important;
56
+ }
57
+
58
+ /*============================================================================================*/
59
+ /* NAV BAR */
60
+
61
+ /* Auto hide icons on the Nav Bar */
62
+ #nav-bar > #nav-bar-customization-target *:not(#urlbar-container):not(#urlbar-container *),
63
+ #PanelUI-button {
64
+ opacity: 0 !important;
65
+ transition: opacity 0.7s ease !important;
66
+ }
67
+
68
+ #nav-bar:hover > #nav-bar-customization-target *:not(#urlbar-container):not(#urlbar-container *),
69
+ #nav-bar:hover > #PanelUI-button {
70
+ opacity: 1 !important;
71
+ transition: opacity 0.3s ease !important;
72
+ }
73
+
74
+ /*------------------------------------------------*/
75
+ /* Remove line between website content and top bar */
76
+
77
+ #navigator-toolbox {
78
+ border-bottom: var(--firefoxcss-top-bar-border-bottom-size) solid
79
+ var(--firefoxcss-top-bar-border-bottom-color) !important;
80
+ }
81
+
82
+ /*------------------------------------------------*/
83
+ /* Remove the all tab and new tab button */
84
+ #alltabs-button,
85
+ #tabs-newtab-button {
86
+ display: none !important;
87
+ }
88
+
89
+ /*------------------------------------------------*/
90
+ /* Remove the 3 dots from Alt Key */
91
+
92
+ #titlebar #toolbar-menubar .titlebar-buttonbox-container{
93
+ display: none !important;
94
+ }
95
+
96
+ /*------------------------------------------------*/
97
+ /* Move menu buttons to the left side */
98
+
99
+ #nav-bar #PanelUI-button #PanelUI-menu-button {
100
+ padding-right: 2px !important;
101
+ padding-left: 4px !important;
102
+ }
103
+
104
+ #nav-bar #PanelUI-button {
105
+ -moz-box-ordinal-group: 0 !important;
106
+ order: 0 !important;
107
+ }
108
+
109
+ toolbar:not([customizing]) > #nav-bar-overflow-button {
110
+ -moz-box-ordinal-group: 1 !important;
111
+ order: 1 !important;
112
+ }
113
+
114
+ toolbar:not([customizing]) > #nav-bar-customization-target {
115
+ -moz-box-ordinal-group: 2 !important;
116
+ order: 2 !important;
117
+ }
118
+
119
+ #appMenu-popup {
120
+ margin-inline: -244px !important;
121
+ }
122
+
123
+ #widget-overflow {
124
+ margin-inline: -320px !important;
125
+ }
126
+
127
+ /*------------------------------------------------*/
128
+ /* Macos Style window buttons */
129
+
130
+ :root {
131
+ --firefoxcss-control-buttons-margin: 95px;
132
+ }
133
+
134
+ #navigator-toolbox #nav-bar {
135
+ padding-right: calc(var(--firefoxcss-control-buttons-margin) - 10px) !important;
136
+ }
137
+
138
+ #navigator-toolbox:not([inFullscreen])
139
+ #TabsToolbar
140
+ .titlebar-buttonbox-container {
141
+ visibility: visible !important;
142
+ display: flex !important;
143
+ position: absolute !important;
144
+ top: 2px !important;
145
+ left: unset !important;
146
+ right: 0 !important;
147
+ padding-top: 10px !important;
148
+ padding-bottom: 2px !important;
149
+ padding-right: 8px !important;
150
+ padding-left: 2px !important;
151
+ }
152
+
153
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-button {
154
+ width: 14px !important;
155
+ min-width: 14px !important;
156
+ min-height: 14px !important;
157
+ height: 14px !important;
158
+ }
159
+
160
+ #navigator-toolbox[inFullscreen] #TabsToolbar .titlebar-buttonbox-container{
161
+ padding-top:4px !important;
162
+ padding-bottom: 4px !important;
163
+ padding-right: 8px !important;
164
+ padding-left: 4px !important;
165
+ margin: 0 !important;
166
+ align-items: center !important;
167
+ }
168
+
169
+ :root:-moz-window-inactive:not([customizing])
170
+ :is(.titlebar-buttonbox)
171
+ > toolbarbutton:not(:hover) {
172
+ opacity: 0.65 !important;
173
+ }
174
+
175
+ :is(.titlebar-buttonbox) .toolbarbutton-icon {
176
+ opacity: 1 !important;
177
+ appearance: none !important;
178
+ }
179
+
180
+ #TabsToolbar .titlebar-button > .toolbarbutton-icon {
181
+ width: 14px !important;
182
+ min-width: 14px !important;
183
+ min-height: 14px !important;
184
+ height: 14px !important;
185
+ stroke: none !important;
186
+ }
187
+
188
+ #TabsToolbar .titlebar-buttonbox {
189
+ margin-right: 2px !important;
190
+ margin-left: 0px !important;
191
+ }
192
+
193
+ #TabsToolbar .titlebar-button {
194
+ background-color: transparent !important;
195
+ appearance: none !important;
196
+ padding: 0px !important;
197
+ margin: 0 !important;
198
+ padding-left: 0px !important;
199
+ padding-right: 0px !important;
200
+ }
201
+
202
+ #TabsToolbar .titlebar-close {
203
+ appearance: none !important;
204
+ -moz-box-ordinal-group: 2 !important;
205
+ order:2 !important;
206
+ }
207
+
208
+ #TabsToolbar .titlebar-min {
209
+ appearance: none !important;
210
+ -moz-box-ordinal-group: 0 !important;
211
+ order:0 !important;
212
+ }
213
+
214
+ #TabsToolbar .titlebar-max,
215
+ #TabsToolbar .titlebar-restore {
216
+ appearance: none !important;
217
+ -moz-box-ordinal-group: 1 !important;
218
+ order:1!important;
219
+ }
220
+
221
+ #TabsToolbar .titlebar-buttonbox-container:not(:hover) .titlebar-buttonbox .titlebar-button {
222
+ background-color: hsla(0, 0%, 65%, 1) !important;
223
+ transition: background-color 400ms ease 400ms !important;
224
+ }
225
+
226
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-button > .toolbarbutton-icon {
227
+ list-style-image: none !important;
228
+ margin: 0px !important;
229
+ padding: 0px !important;
230
+ }
231
+
232
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-buttonbox .titlebar-button {
233
+ border-radius: 50% !important;
234
+ margin-left: 8px !important;
235
+ position: relative !important;
236
+ }
237
+
238
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-min{
239
+ background-color: #fac536 !important;
240
+ overflow: hidden !important;
241
+ transition: background-color 200ms ease !important;
242
+ }
243
+
244
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-min::before{
245
+ content: '';
246
+ position: absolute;
247
+ top: 100%;
248
+ left: 50%;
249
+ transform: translate(-50%, -50%);
250
+ width: 70%;
251
+ height: 2px;
252
+ opacity: 0;
253
+ background: rgba(0, 0, 0, 0.6);
254
+ border-radius: 2px;
255
+ transition: 200ms;
256
+ }
257
+
258
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-min:hover::before{
259
+ opacity: 1;
260
+ top: 50%;
261
+ }
262
+
263
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-max,
264
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-restore{
265
+ background: #39ea49 !important;
266
+ overflow: hidden !important;
267
+ transition: background-color 200ms ease !important;
268
+ }
269
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-max::before{
270
+ content: '';
271
+ position: absolute;
272
+ top: 100%;
273
+ left: 50%;
274
+ transform: translate(-50%, -50%);
275
+ width: 55%;
276
+ height: 55%;
277
+ opacity: 0;
278
+ background: rgba(0, 0, 0, 0.6);
279
+ border-radius: 2px;
280
+ transition: 200ms;
281
+ }
282
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-max::after{
283
+ content: '';
284
+ position: absolute;
285
+ top: 100%;
286
+ left: 50%;
287
+ transform: translate(-50%, -50%) rotate(-45deg);
288
+ width: 3px;
289
+ height: 80%;
290
+ opacity: 0;
291
+ background: #39ea49;
292
+ transition: 200ms;
293
+ }
294
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-max:hover::before,
295
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-max:hover::after{
296
+ opacity: 1;
297
+ top: 50%;
298
+ }
299
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-close{
300
+ background: #f25056 !important;
301
+ overflow: hidden !important;
302
+ transition: background-color 200ms ease !important;
303
+ }
304
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-close::before{
305
+ content: '';
306
+ position: absolute;
307
+ top: 100%;
308
+ left: 50%;
309
+ transform: translate(-50%, -50%) rotate(-45deg);
310
+ width: 2px;
311
+ height: 9px;
312
+ opacity: 0;
313
+ background: rgba(0, 0, 0, 0.65);
314
+ border-radius: 1px;
315
+ transition: 200ms;
316
+ }
317
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-close::after{
318
+ content: '';
319
+ position: absolute;
320
+ top: 100%;
321
+ left: 50%;
322
+ transform: translate(-50%, -50%) rotate(45deg);
323
+ width: 2px;
324
+ height: 9px;
325
+ opacity: 0;
326
+ background: rgba(0, 0, 0, 0.65);
327
+ border-radius: 1px;
328
+ transition: 200ms;
329
+
330
+ }
331
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-close:hover::before,
332
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-close:hover::after{
333
+ opacity: 1;
334
+ top: 50%;
335
+ }
336
+
337
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-restore:before {
338
+ content: '';
339
+ position: absolute;
340
+ top: 100%;
341
+ left: 50%;
342
+ transform: translate(-50%, -50%);
343
+ width: 8px;
344
+ height: 8px;
345
+ opacity: 0;
346
+ background: rgba(0, 0, 0, 0.65);
347
+ border-radius: 2px;
348
+ transition:200ms;
349
+ }
350
+
351
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-restore:after{
352
+ content: '';
353
+ position: absolute;
354
+ top: 100%;
355
+ left: 50%;
356
+ transform: translate(-50%, -50%);
357
+ width: 4px;
358
+ height: 4px;
359
+ opacity: 0;
360
+ background: #39ea49;
361
+ border-radius: 0px;
362
+ transition: 200ms;
363
+ }
364
+
365
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-restore:hover::before,
366
+ #TabsToolbar .titlebar-buttonbox-container .titlebar-restore:hover::after{
367
+ opacity: 1;
368
+ top: 50%;
369
+ }
370
+
371
+ #navigator-toolbox #TabsToolbar .titlebar-buttonbox-container {
372
+ -moz-box-ordinal-group: 1 !important;
373
+ }
374
+ #navigator-toolbox[inFullscreen] #navigator-toolbox #TabsToolbar .titlebar-buttonbox-container {
375
+ -moz-box-ordinal-group: 1 !important;
376
+ }
377
+
378
+ @media only screen and (max-width: 370px) {
379
+ #main-window #navigator-toolbox:not([inFullscreen])
380
+ #TabsToolbar
381
+ .titlebar-buttonbox-container {
382
+ visibility: visible !important;
383
+ position: relative !important;
384
+ padding-top: 4px !important;
385
+ padding-bottom: 2px !important;
386
+ padding-right: 8px !important;
387
+ padding-left: 2px !important;
388
+ }
389
+
390
+ #main-window #navigator-toolbox:not([inFullscreen]) #nav-bar {
391
+ padding-right: initial !important;
392
+ }
393
+ }
394
+
395
+ /*------------------------------------------------*/
396
+ /* Make Tab Bar join with URL Bar on the left */
397
+
398
+ :root {
399
+ --tab-border-radius: 3px !important;
400
+ --NavbarWidth: 2;
401
+ --TabsHeight: 36;
402
+ --TabsBorder: 8;
403
+ --NavbarHeightSmall: calc(var(--TabsHeight) + var(--TabsBorder))
404
+ }
405
+
406
+ #nav-bar {
407
+ margin-top:calc(var(--TabsHeight) * -1px - var(--TabsBorder) * 1px)!important;
408
+ height: calc((var(--TabsHeight) * 1px + var(--TabsBorder) * 1px) + 0px)
409
+ }
410
+
411
+
412
+
413
+ #nav-bar {
414
+ margin-left: 35px !important;
415
+ }
416
+
417
+ #urlbar-container {
418
+ min-width: 0px !important;
419
+ flex: auto !important;
420
+ }
421
+
422
+
423
+ @media screen and (max-width:100px) {
424
+ #TabsToolbar {
425
+ margin-right: 0 !important;
426
+ }
427
+ #nav-bar {
428
+ margin-left: 0 !important;
429
+ }
430
+ }
431
+
432
+ /* Fix for Firefox 123 */
433
+ #nav-bar:not([tabs-hidden="true"])
434
+ {
435
+ position: static !important;;
436
+ }
437
+
438
+ #nav-bar-customization-target,
439
+ #PanelUI-button {
440
+ position: relative !important;
441
+ z-index: 3 !important;
442
+ }
443
+
444
+ /*------------------------------------------------*/
445
+ /* Make active tab to hidden tab */
446
+
447
+ tab:not([selected="true"]),
448
+ [part="overflow-start-indicator"],
449
+ [part="overflow-end-indicator"],
450
+ #scrollbutton-up,
451
+ #scrollbutton-down,
452
+ #TabsToolbar .titlebar-spacer,
453
+ .tabbrowser-tab[selected="true"] .tab-text,
454
+ .tabbrowser-tab[selected="true"] .tab-close-button,
455
+ .tab-line,
456
+ .tab-throbber {
457
+ display: none !important;
458
+ }
459
+
460
+ .tabbrowser-tab[selected="true"] {
461
+ min-width: 37px !important;
462
+ max-width: 37px !important;
463
+ }
464
+
465
+ tab,
466
+ .tabbrowser-tab {
467
+ padding-left: 0 !important;
468
+ margin-left: 0 !important;
469
+ }
470
+
471
+ .tab-background {
472
+ outline: none !important;
473
+ box-shadow: none !important;
474
+ }
475
+
476
+ .tab-icon-image {
477
+ height: 32px !important;
478
+ width: 32px !important;
479
+ border-radius: 10px !important;
480
+ }
481
+
482
+ @media (prefers-color-scheme: dark) {
483
+ .tab-icon-image {
484
+ content: url('dark.png') !important;
485
+ }
486
+ }
487
+
488
+ @media (prefers-color-scheme: light) {
489
+ .tab-icon-image {
490
+ content: url('light.png') !important;
491
+ }
492
+ }
493
+
494
+
495
+ /*------------------------------------------------*/
496
+ /* Hide all buttons in active tab context menu except for split tab and extensions */
497
+
498
+ #main-window #context_openANewTab,
499
+ #main-window #context_reloadTab,
500
+ #main-window #context_toggleMuteTab,
501
+ #main-window #context_playTab,
502
+ #main-window #context_pinTab,
503
+ #main-window #context_duplicateTab,
504
+ #main-window #context_bookmarkTab,
505
+ #main-window #context_moveTabOptions,
506
+ #main-window #context_reopenInContainer,
507
+ #main-window #context_toggleToPrivateContainer,
508
+ #main-window #context_selectAllTabs,
509
+ #main-window #context_closeTab,
510
+ #main-window #context_closeTabOptions,
511
+ #main-window #context_undoCloseTab,
512
+ #context_MoveTabToOtherWorkspace,
513
+ #main-window #tabContextMenu menuseparator {
514
+ display: none !important;
515
+ }
516
+
517
+
518
+
519
+ /*============================================================================================*/
520
+ /* EXTENSION */
521
+
522
+ /* Make extensions looks minimal */
523
+
524
+ #unified-extensions-view #unified-extensions-manage-extensions .toolbarbutton-text::before {
525
+ content: "• • •";
526
+ font-size: 15px;
527
+ visibility: visible !important;
528
+ display: block;
529
+ text-align: center;
530
+ }
531
+
532
+ #unified-extensions-panel #unified-extensions-view {
533
+ width: 100% !important;
534
+ }
535
+
536
+ #unified-extensions-view{
537
+ --uei-icon-size: 22px;
538
+ --firefoxcss-number-of-extensions-in-a-row: 4;
539
+ }
540
+
541
+
542
+ #unified-extensions-view .unified-extensions-item-menu-button.subviewbutton,
543
+ #unified-extensions-view .unified-extensions-item-action-button .unified-extensions-item-contents{
544
+ display:none !important;
545
+ }
546
+
547
+ #unified-extensions-view .panel-subview-body {
548
+ padding: 10px !important;
549
+ }
550
+
551
+ #unified-extensions-view .unified-extensions-item .unified-extensions-item-icon,
552
+ #unified-extensions-view .unified-extensions-item .toolbarbutton-badge-stack {
553
+ margin-inline-end: 0px !important;
554
+ }
555
+
556
+ #unified-extensions-view #overflowed-extensions-list,
557
+ #unified-extensions-view #unified-extensions-area,
558
+ #unified-extensions-view .unified-extensions-list {
559
+ display: grid !important;
560
+ grid-template-columns: repeat(var(--firefoxcss-number-of-extensions-in-a-row),auto);
561
+ justify-items:left !important;
562
+ align-items:left !important;
563
+ }
564
+
565
+
566
+
567
+ /*============================================================================================*/
568
+ /* URL BAR */
569
+
570
+ /* Make text in URL bar in the center */
571
+
572
+ #nav-bar {
573
+ display: flex;
574
+ justify-content: center;
575
+ }
576
+
577
+ #urlbar-container {
578
+ flex: 1;
579
+ max-width: 1000px;
580
+ min-width: 200px;
581
+ margin: auto !important;
582
+ }
583
+
584
+ #main-window #urlbar {
585
+ z-index: 9999 !important;
586
+ width: 100% !important;
587
+ margin-top: 0 !important;
588
+ margin-left: 0 !important;
589
+ margin-right: 0 !important;
590
+ transition: width 0.3s ease, left 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, margin-right 0.3s ease;
591
+ }
592
+
593
+ #main-window #urlbar[breakout][breakout-extend] {
594
+ opacity: 0.97 !important;
595
+ width: 100% !important;
596
+ left: 0;
597
+ right: 0;
598
+ margin-left: auto !important;
599
+ margin-right: auto !important;
600
+ margin-top: 30vh !important;
601
+ transition: width 0.3s ease, left 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, margin-right 0.3s ease;
602
+ }
603
+
604
+ #urlbar-background,
605
+ #urlbar-input-container {
606
+ --toolbarbutton-border-radius: calc(var(--urlbar-min-height) / 2);
607
+ }
608
+
609
+ #urlbar-input-container {
610
+ --urlbar-icon-border-radius: calc(var(--toolbarbutton-border-radius) - 1px);
611
+ }
612
+
613
+ #urlbar:not([focused]) #urlbar-input {
614
+ text-align: center !important;
615
+ }
616
+
617
+ #urlbar:not([breakout][breakout-extend]) #urlbar-input {
618
+ text-align: center !important;
619
+ }
620
+
621
+ /*------------------------------------------------*/
622
+ /* Change URL Bar background color */
623
+ @media (prefers-color-scheme: dark) {
624
+ #urlbar-background {
625
+ background-color: #2a2a2a !important;
626
+ }
627
+ }
628
+
629
+ @media (prefers-color-scheme: light) {
630
+ #urlbar-background {
631
+ background-color: #d6d6d6 !important;
632
+ }
633
+ }
634
+
635
+ @media (prefers-color-scheme: dark) {
636
+ #urlbar-results > *[selected=""] {
637
+ background-color: #424242 !important;
638
+ }
639
+ }
640
+
641
+ @media (prefers-color-scheme: light) {
642
+ #urlbar-results > *[selected=""] {
643
+ background-color: #e8e8e8 !important;
644
+ }
645
+ }
646
+
647
+
648
+ /*------------------------------------------------*/
649
+ /* Hide and Hover icons in URL Bar */
650
+
651
+ #nav-bar:not([customizing="true"]):not(.searchButton)
652
+ > #nav-bar-customization-target
653
+ > #urlbar-container:not(:hover)
654
+ > #urlbar:not([focused])
655
+ > #urlbar-input-container
656
+ > #page-action-buttons
657
+ .urlbar-page-action {
658
+ opacity: 0;
659
+ transition-delay: 500ms;
660
+ }
661
+
662
+ #nav-bar:not([customizing="true"]):not(.searchButton)
663
+ > #nav-bar-customization-target
664
+ > #urlbar-container:not(:hover)
665
+ > #urlbar:not([focused])
666
+ > #urlbar-input-container
667
+ > #identity-box
668
+ > #identity-permission-box:not([open]) {
669
+ opacity: 0;
670
+ transition-delay: 500ms;
671
+ }
672
+
673
+ #page-action-buttons .urlbar-page-action,
674
+ #identity-permission-box,
675
+ #notification-popup-box .notification-anchor-icon {
676
+ transition: opacity 0.2s ease;
677
+ }
678
+
679
+ #urlbar #identity-icon-box,
680
+ #urlbar #identity-permission-box {
681
+ opacity: 0 !important;
682
+ margin-inline-start: calc(-16px - 2 * var(--urlbar-icon-padding));
683
+ transition: margin-inline-start 100ms linear, opacity 200ms linear;
684
+ }
685
+
686
+ #urlbar #identity-box.notSecureText #identity-icon-box {
687
+ margin-inline-start: initial !important;
688
+ opacity: 1 !important;
689
+ color: #e36f6f !important;
690
+ }
691
+
692
+ #urlbar #identity-box.extensionPage #identity-icon-box {
693
+ margin-inline-start: initial !important;
694
+ opacity: 1 !important;
695
+ }
696
+
697
+ #identity-box:hover #identity-icon-box,
698
+ #identity-box:hover #identity-permission-box,
699
+ #identity-box #identity-permission-box[open="true"] {
700
+ opacity: 1 !important;
701
+ margin-inline-start: initial !important;
702
+ }
703
+
704
+ #urlbar-input-container .urlbar-input-box {
705
+ padding-inline-start: 2px !important;
706
+ }
707
+
708
+ #identity-box:hover ~ .urlbar-input-box > #urlbar-input {
709
+ mask-image: linear-gradient(to right, transparent, black 3ch) !important;
710
+ }
711
+
712
+ #page-action-buttons {
713
+ padding-inline-start: 8px;
714
+ }
715
+
716
+ #page-action-buttons .urlbar-page-action {
717
+ margin-inline-end: calc(-16px - 2 * var(--urlbar-icon-padding));
718
+ opacity: 0;
719
+ transition: margin-inline-end 100ms linear, opacity 200ms linear;
720
+ }
721
+
722
+ #page-action-buttons:hover > .urlbar-page-action,
723
+ .urlbar-page-action[open],
724
+ .urlbar-page-action[open] ~ .urlbar-page-action {
725
+ opacity: 1;
726
+ margin-inline-end: 0px !important;
727
+ }
728
+
729
+ #identity-box.chromeUI #identity-icon-box {
730
+ opacity: 1 !important;
731
+ margin-inline-start: initial;
732
+ }
733
+
734
+ #identity-box.chromeUI::after,
735
+ #identity-box.chromeUI:hover::after {
736
+ opacity: 0 !important;
737
+ }
738
+
739
+ #page-action-buttons:not(:hover) #translations-button[translationsactive="true"]:not([open]) {
740
+ visibility:collapse !important;
741
+ }
742
+
743
+
744
+ /*------------------------------------------------*/
745
+ /* Create visual dots on both sides */
746
+ #identity-box::after,
747
+ #page-action-buttons::before {
748
+ position: relative;
749
+ content: "•••";
750
+ pointer-events: none;
751
+ transition: opacity 100ms ease;
752
+ align-self: center;
753
+ font-size: 0.7em;
754
+ }
755
+
756
+ #identity-box::after,
757
+ #page-action-buttons::before {
758
+ opacity: 0.2;
759
+ }
760
+
761
+ #identity-box::after {
762
+ transform: rotate(90deg);
763
+ left: 4px;
764
+ }
765
+
766
+ #page-action-buttons::before {
767
+ transform: rotate(-90deg);
768
+ right: 4px;
769
+ }
770
+
771
+ #identity-box:hover::after,
772
+ #page-action-buttons:hover::before {
773
+ opacity: 0.2 !important;
774
+ transition: opacity 50ms ease;
775
+ pointer-events: none;
776
+ }
777
+
778
+ #identity-box[pageproxystate="invalid"]::after,
779
+ #urlbar-input-container[pageproxystate="invalid"]
780
+ > #page-action-buttons::before {
781
+ opacity: 0 !important;
782
+ transition: opacity 50ms ease;
783
+ }
784
+
785
+ /* Linux changes for visual dots */
786
+ @media (-moz-platform: linux) {
787
+ #identity-box::after,
788
+ #page-action-buttons::before {
789
+ content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg fill="%23FFFFFF" width="11px" height="11px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M20.25 16c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25zM20.25 27c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25zM20.25 5c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25z"></path></svg>');
790
+ transform: none;
791
+ font-size: unset;
792
+ }
793
+
794
+ #page-action-buttons::before {
795
+ right: 2px;
796
+ }
797
+
798
+ #identity-box::after {
799
+ left: 2px;
800
+ }
801
+ }
802
+
803
+ #identity-box[pageproxystate="valid"].notSecureText > .identity-box-button,
804
+ #identity-box[pageproxystate="valid"].extensionPage > .identity-box-button,
805
+ #identity-box[pageproxystate="valid"].chromeUI > .identity-box-button,
806
+ #urlbar-label-box,
807
+ #urlbar-zoom-button {
808
+ background-color: var(--firefoxcss-item-bg-color) !important;
809
+ }
810
+
811
+ #urlbar-zoom-button:hover {
812
+ background-color: var(--firefoxcss-urlbar-zoom-button) !important;
813
+ }
814
+
815
+ #urlbar-input-container #identity-box > .identity-box-button,
816
+ #tracking-protection-icon-container,
817
+ #urlbar-go-button,
818
+ #page-action-buttons .urlbar-page-action,
819
+ #notification-popup-box {
820
+ border-radius: 8px !important;
821
+ }
822
+
823
+ #urlbar-go-button,
824
+ #tracking-protection-icon-container
825
+ {
826
+ display: none !important;
827
+ }
828
+
829
+
830
+
831
+ /*============================================================================================*/
832
+ /* BOOKMARK BAR */
833
+
834
+ /* Variables for toolbar & bookmark attributes */
835
+ :root {
836
+ --uc-bm-height: 24px;
837
+ --uc-bm-padding: 6px;
838
+ }
839
+
840
+ /* Style for Personal Toolbar */
841
+ #PersonalToolbar {
842
+ position: relative !important;
843
+ padding: 1px 6px !important;
844
+ }
845
+
846
+ /* Additional padding for touch density */
847
+ :root[uidensity="touch"] #PersonalToolbar {
848
+ --uc-bm-padding: 6px;
849
+ }
850
+
851
+ /* Transform and delay transition of Personal Toolbar */
852
+ #PersonalToolbar:not([customizing]) {
853
+ margin-bottom: calc(2px - var(--uc-bm-height) - 2 * var(--uc-bm-padding)) !important;
854
+ transform: rotateX(90deg) !important;
855
+ transform-origin: top !important;
856
+ transition: transform 0.1s ease-in-out 0.6s !important;
857
+ z-index: 2 !important;
858
+ }
859
+
860
+ /* Bookmark item padding and icon transition */
861
+ #PlacesToolbarItems > .bookmark-item {
862
+ padding-block: var(--uc-bm-padding) !important;
863
+ padding-left: 6px !important;
864
+ padding-right: 6px !important;
865
+ }
866
+ #PlacesToolbarItems > .bookmark-item .toolbarbutton-icon {
867
+ transition: opacity 0.1s ease-in-out 0.4s !important;
868
+ opacity: 0 !important;
869
+ }
870
+
871
+ /* Hover effect for toolbar and bookmark icon/text */
872
+ #navigator-toolbox:hover > #PersonalToolbar,
873
+ #navigator-toolbox:hover #PlacesToolbarItems > .bookmark-item .toolbarbutton-icon,
874
+ #navigator-toolbox:hover #PlacesToolbarItems > .bookmark-item .toolbarbutton-text {
875
+ transition-delay: 100ms !important;
876
+ transform: rotateX(0) !important;
877
+ opacity: 1 !important;
878
+ }
879
+
880
+ /* Bookmark item text transition */
881
+ #PlacesToolbarItems > .bookmark-item .toolbarbutton-text {
882
+ transition: opacity 0.1s ease-in-out 0.4s !important;
883
+ opacity: 0 !important;
884
+ }
885
+
886
+ /* Fix the white line above the bookmarks bar when it's empty */
887
+ #personal-toolbar-empty {
888
+ padding: 2px !important;
889
+ }
890
+
891
+ /*------------------------------------------------*/
892
+ /* Make it good in transparent bg */
893
+
894
+ @media (prefers-color-scheme: dark) {
895
+ #PlacesToolbarItems > * {
896
+ background: #333333 !important;
897
+ }
898
+
899
+ #PlacesToolbarItems > *:hover {
900
+ background: #555555 !important;
901
+ }
902
+ }
903
+
904
+ @media (prefers-color-scheme: light) {
905
+ #PlacesToolbarItems > * {
906
+ background: #cccccc !important;
907
+ }
908
+
909
+ #PlacesToolbarItems > *:hover {
910
+ background: #eeeeee !important;
911
+ }
912
+ }
913
+
914
+
915
+
916
+ /*============================================================================================*/
917
+ /* SIDE BAR */
918
+
919
+ /* Expand Side bar on hover */
920
+
921
+ #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
922
+ --sidebar-width: 40px;
923
+ --sidebar-hover-width: 512px;
924
+ position: relative;
925
+ min-width: var(--sidebar-width) !important;
926
+ width: var(--sidebar-width) !important;
927
+ max-width: var(--sidebar-width) !important;
928
+ z-index: 1;
929
+ }
930
+
931
+ #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]>#sidebar {
932
+ transition: min-width 200ms ease-in-out !important;
933
+ min-width: var(--sidebar-width) !important;
934
+ will-change: min-width;
935
+ transition-delay: 0.3s !important; /* Delay on hover off */
936
+ }
937
+
938
+ #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover>#sidebar {
939
+ min-width: var(--sidebar-hover-width) !important;
940
+ transition-delay: 0.1s !important; /* No delay on hover on */
941
+ }
942
+
943
+ #sidebar-box {
944
+ opacity: 0.9;
945
+
946
+ }
947
+
948
+ /*------------------------------------------------*/
949
+ /* Hide Side bar header and line */
950
+
951
+ #sidebar-header,
952
+ #sidebar-splitter {
953
+ display: none !important;
954
+ }
955
+
956
+ /*------------------------------------------------*/
957
+ /* Sidebar Border */
958
+
959
+ @media (prefers-color-scheme: dark) {
960
+ #sidebar-box #sidebar,
961
+ #sidebar-box #webextpanels-window {
962
+ border-radius: 15px !important;
963
+ margin: 15px 15px 15px 5px !important;
964
+ border: 3px solid rgba(204, 204, 204, 0.3);
965
+ transition: border 0.3s ease;
966
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
967
+ }
968
+
969
+ #sidebar-box #sidebar:hover,
970
+ #sidebar-box #webextpanels-:hover {
971
+ border: 3px solid rgba(204, 204, 204, 0.6);
972
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
973
+ }
974
+ }
975
+
976
+ @media (prefers-color-scheme: light) {
977
+ #sidebar-box #sidebar,
978
+ #sidebar-box #webextpanels-window {
979
+ border-radius: 15px !important;
980
+ margin: 15px 15px 15px 5px !important;
981
+ border: 3px solid rgba(51, 51, 51, 0.1);
982
+ transition: border 0.3s ease;
983
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
984
+ }
985
+
986
+ #sidebar-box #sidebar:hover,
987
+ #sidebar-box #webextpanels-window:hover {
988
+ border: 3px solid rgba(51, 51, 51, 0.6);
989
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
990
+ }
991
+ }
992
+
993
+ /*============================================================================================*/
994
+ /* SIDE BAR 2 (FLOORP) */
995
+
996
+ /* Make splitter invisible */
997
+
998
+ #sidebar-splitter2 {
999
+ appearance: none !important;
1000
+ width: 10px !important;; /* Set initial width */
1001
+ transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Add transitions */
1002
+ }
1003
+
1004
+ #sidebar-splitter2:hover {
1005
+ width: 20px !important; /* Width on hover */
1006
+ opacity: 1; /* Opacity on hover */
1007
+ }
1008
+
1009
+
1010
+ /*------------------------------------------------*/
1011
+ /* Hide Floorp sidebar header */
1012
+
1013
+ #sidebar2-header {
1014
+ max-height: 0.5em !important;
1015
+ min-height: 0.5em !important;
1016
+ opacity: 0 !important;
1017
+ transition: max-height 0.3s ease-in-out, min-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
1018
+ }
1019
+
1020
+ #sidebar2-header:hover {
1021
+ max-height: 2.5em !important;
1022
+ min-height: 2.5em !important;
1023
+ opacity: 1 !important;
1024
+ }
1025
+
1026
+
1027
+ /*------------------------------------------------*/
1028
+ /* Floorp Sidebar Border */
1029
+
1030
+ @media (prefers-color-scheme: dark) {
1031
+ #sidebar2-box browser {
1032
+ border-radius: 15px !important;
1033
+ margin: 15px 15px 15px 0px !important;
1034
+ border: 3px solid rgba(0, 0, 0, 0);
1035
+ transition: border 0.3s ease;
1036
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1037
+ }
1038
+
1039
+ #sidebar2-box browser:hover {
1040
+ border: 3px solid rgba(204, 204, 204, 0.6);
1041
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
1042
+ }
1043
+ }
1044
+
1045
+ @media (prefers-color-scheme: light) {
1046
+ #sidebar2-box browser {
1047
+ border-radius: 15px !important;
1048
+ margin: 15px 15px 15px 0px !important;
1049
+ border: 3px solid rgba(51, 51, 51, 0.1);
1050
+ transition: border 0.3s ease;
1051
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1052
+ }
1053
+
1054
+ #sidebar2-box browser:hover {
1055
+ border: 3px solid rgba(51, 51, 51, 0.6);
1056
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.2);
1057
+ }
1058
+ }
1059
+
1060
+ /*------------------------------------------------*/
1061
+ /* Floorp Sidebar Select Box Styling */
1062
+
1063
+ #sidebar-select-box {
1064
+ align-items: center !important;
1065
+ background-color: transparent !important;
1066
+ }
1067
+
1068
+ .sidepanel-icon {
1069
+ border-radius: 10px !important;
1070
+ }
1071
+
1072
+ /*------------------------------------------------*/
1073
+ /* Floorp Sidebar Border */
1074
+
1075
+ @media (prefers-color-scheme: dark) {
1076
+ #sidebar-select-box {
1077
+ border-radius: 15px !important;
1078
+ margin: 15px 10px 15px 15px !important;
1079
+ border: 3px solid rgba(204, 204, 204, 0) !important;
1080
+ transition: border 0.3s ease;
1081
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1082
+ }
1083
+
1084
+ #sidebar-select-box:hover {
1085
+ border: 3px solid rgba(204, 204, 204, 0.6) !important;
1086
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1087
+ }
1088
+ }
1089
+
1090
+ @media (prefers-color-scheme: light) {
1091
+ #sidebar-select-box {
1092
+ border-radius: 15px !important;
1093
+ margin: 15px 10px 15px 15px !important;
1094
+ border: 3px solid rgba(51, 51, 51, 0.1) !important;
1095
+ transition: border 0.3s ease;
1096
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1097
+ }
1098
+
1099
+ #sidebar-select-box:hover {
1100
+ border: 3px solid rgba(51, 51, 51, 0.6) !important;
1101
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1102
+ }
1103
+ }
1104
+
1105
+ /*------------------------------------------------*/
1106
+ /* Hide random stuff coming out of Floorp Sidebar */
1107
+
1108
+ .browser-sidebar2 {
1109
+ border: none !important;
1110
+ border-bottom: none !important;
1111
+ }
1112
+
1113
+ #sidebar2-box[style="min-width: 0px; order: 6; width: 415px; max-width: 0px;"] > * {
1114
+ display: none !important;
1115
+ }
1116
+
1117
+ /*============================================================================================*/
1118
+ /* MAIN BROWSER */
1119
+
1120
+ /* Browser Border */
1121
+
1122
+ @media (prefers-color-scheme: dark) {
1123
+ #main-window:not([sizemode="fullscreen"]) #appcontent browser {
1124
+ border-radius: 15px !important;
1125
+ margin: 15px 15px 15px 15px !important;
1126
+ border: 3px solid rgba(0, 0, 0, 0);
1127
+ transition: border 0.3s ease;
1128
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1129
+ clip-path: circle(80%) !important;
1130
+ }
1131
+
1132
+ #main-window:not([sizemode="fullscreen"]) #appcontent browser:hover {
1133
+ border: 3px solid rgba(204, 204, 204, 0.6);
1134
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1135
+ }
1136
+ }
1137
+
1138
+ @media (prefers-color-scheme: light) {
1139
+ #main-window:not([sizemode="fullscreen"]) #appcontent browser {
1140
+ border-radius: 15px !important;
1141
+ margin: 15px 15px 15px 15px !important;
1142
+ border: 3px solid rgba(51, 51, 51, 0.1);
1143
+ transition: border 0.3s ease;
1144
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1145
+ clip-path: circle(80%) !important;
1146
+ }
1147
+
1148
+ #main-window:not([sizemode="fullscreen"]) #appcontent browser:hover {
1149
+ border: 3px solid rgba(51, 51, 51, 0.6);
1150
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1151
+ }
1152
+ }
1153
+
1154
+ /*============================================================================================*/
1155
+ /* FIND BAR */
1156
+
1157
+ /* CTRL+F Search Bar Border */
1158
+
1159
+ @media (prefers-color-scheme: dark) {
1160
+ .browserContainer > findbar {
1161
+ border-radius: 15px !important;
1162
+ margin: 0px 15px 0px 15px !important;
1163
+ border: 3px solid rgba(204, 204, 204, 0.3) !important;
1164
+ transition: border 0.3s ease !important;
1165
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1166
+ }
1167
+
1168
+ .browserContainer > findbar:hover {
1169
+ border: 3px solid #ccc !important;
1170
+ box-shadow: 0 0 10px 5px rgba(0,0,0,0.5);
1171
+ }
1172
+ }
1173
+
1174
+ @media (prefers-color-scheme: light) {
1175
+ .browserContainer > findbar {
1176
+ border-radius: 15px !important;
1177
+ margin: 0px 15px 0px 15px !important;
1178
+ border: 3px solid rgba(51, 51, 51, 0.1) !important;
1179
+ transition: border 0.3s ease !important;
1180
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1181
+ }
1182
+
1183
+ .browserContainer > findbar:hover {
1184
+ border: 3px solid rgba(51, 51, 51, 0.6) !important;
1185
+ box-shadow: 0 0 10px 5px rgba(255,255,255,0.5);
1186
+ }
1187
+ }
1188
+
1189
+ /*------------------------------------------------*/
1190
+ /* Text in the center */
1191
+ .browserContainer > findbar .findbar-textbox {
1192
+ border-radius: 10px !important;
1193
+ text-align: center !important;
1194
+ }