-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathuserChrome.css
100 lines (88 loc) · 2.92 KB
/
userChrome.css
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
/*
https://www.reddit.com/r/FirefoxCSS/
https://www.reddit.com/r/FirefoxCSS/comments/7dkhuh/color_your_url_bar_based_on_website_security/
https://fosspost.org/tutorials/how-to-customize-firefox-57-user-interface
https://github.com/Aris-t2/CustomCSSforFx
https://github.com/FirefoxBar/userChrome.js-Collections-
https://github.com/overdodactyl/ShadowFox
https://developer.mozilla.org/en-US/docs/tag/XUL_Tutorial
https://github.com/Timvde/UserChrome-Tweaks
https://github.com/bogachenko/freefox/blob/master/firefox/chrome/userChrome.css
https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/blob/master/Theme%20features/userChrome.css
https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/
https://www.reddit.com/r/firefox/comments/7dvtw0/guide_how_to_edit_your_context_menu/
https://imgur.com/e9AaMx3
https://imgur.com/b5gEfUy
https://support.mozilla.org/en-US/questions/1214459
https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme
https://www.reddit.com/r/FirefoxCSS/comments/ayjagi/firefox_white_flash_on_opening_new_window_and/
https://www.userchrome.org/megabar-styling-firefox-address-bar.html
*/
/* letterbox color */
#tabbrowser-tabpanels {
background-color: rgb(46,54,69) !important;
}
/* Removed space before the first tab */
.titlebar-spacer[type="pre-tabs"] {
display: none !important;
}
/* Menu customization */
#appMenu-private-window-button,
#appMenuRestoreLastSession,
#context_bookmarkTab,
#context_closeTab,
#context_moveTabOptions,
#context_selectAllTabs,
#context-openlink,
#context-openlinkincontainertab,
#context-openlinkincurrent,
#context-openlinkprivate,
#placesContext_open\:newprivatewindow {
display: none !important;
}
/* only show close buttons on tabs when hovering */
.tabbrowser-tab .tab-close-button {
display: none !important;
}
.tabbrowser-tab:hover .tab-close-button {
display: block !important;
}
/* urlbar colorization */
#urlbar {
position: relative;
z-index: 1;
}
#identity-box:after {
content: '';
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
pointer-events: none;
opacity: .3;
}
@keyframes blinker {
50% { opacity: .1; }
}
/* about:about */
#urlbar[pageproxystate='valid'] #identity-box.localResource:after {
background: #0a84ff;
}
/* about:config and moz-extension:* */
#urlbar[pageproxystate='valid'] #identity-box.chromeUI:after,
#urlbar[pageproxystate='valid'] #identity-box.extensionPage:after {
background: #0a84ff;
}
/* https://self-signed.badssl.com/ but add certificate exception */
#urlbar[pageproxystate='valid'] #identity-box.certUserOverridden:after {
background: #f0dc00;
}
/* notSecure */
#urlbar[pageproxystate='valid'] #identity-box.insecureLoginForms:after,
#urlbar[pageproxystate='valid'] #identity-box.weakCipher:after,
#urlbar[pageproxystate='valid'] #identity-box.notSecure:after {
background: #ff0011;
opacity: .4;
animation: blinker 2s linear infinite;
}