-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserchrome.css
More file actions
105 lines (81 loc) · 4.17 KB
/
userchrome.css
File metadata and controls
105 lines (81 loc) · 4.17 KB
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
/*** BEGIN Firefox 77 (June 2, 2020) Override URL bar enlargement ***/
/* Compute new position, width, and padding */
#urlbar[breakout][breakout-extend] {
top: 5px !important;
left: 0px !important;
width: 100% !important;
padding: 0px !important;
}
/* for alternate Density settings */
[uidensity="compact"] #urlbar[breakout][breakout-extend] {
top: 3px !important;
}
[uidensity="touch"] #urlbar[breakout][breakout-extend] {
top: 4px !important;
}
/* Prevent shift of URL bar contents */
#urlbar[breakout][breakout-extend] > #urlbar-input-container {
height: var(--urlbar-height) !important;
padding: 0 !important;
}
/* Do not animate */
#urlbar[breakout][breakout-extend] > #urlbar-background {
animation: none !important;;
}
/* Remove shadows */
#urlbar[breakout][breakout-extend] > #urlbar-background {
box-shadow: none !important;
}
/*** END Firefox 77 (June 2, 2020) Override URL bar enlargement ***/
/* ROUNDED TABS*/
.tab-background {
border-radius: 20px 20px 0px 0px !important;
border-image: none !important;
}
.tab-line {
display: none;
}
/* remove colored line above each tab */
#TabsToolbar .tabbrowser-tab .tab-line {
visibility: hidden;
}
/* NAVBAR: Highlight URL based on security */
#urlbar {
position: relative;
z-index: 10000001 !important;
}
#identity-box:after {
content: '';
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
pointer-events: none;
z-index: 10000000 !important;
background: white;
opacity: 0.2;
transition: background 500ms linear; /* Fade in/out effekt */
}
/* BLUE..: about:config */
#urlbar[pageproxystate='valid'] #identity-box.chromeUI::after { background: #0a84ff; }
/* GREEN.: https://www.github.com/ */
#urlbar[pageproxystate='valid'] #identity-box.verifiedIdentity:after{ background: #058b00; }
/* GREEN.: https://www.google.com/ */
#urlbar[pageproxystate='valid'] #identity-box.verifiedDomain:after{ background: #12bc00; }
/* YELLOW: https://mixed-script.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedActiveBlocked:after { background: #d7b600; }
/* YELLOW: https://mixed.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContent:after { background: #d7b600; }
/* YELLOW: https://very.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedDisplayContentLoadedActiveBlocked:after { background: #d7b600; }
/* YELLOW: https://self-signed.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.certUserOverridden:after { background: #ffe900; }
/* YELLOW: Don't know an example for this */
#urlbar[pageproxystate='valid'] #identity-box.weakCipher:after { background: #a47f00; }
/* YELLOW: https://mixed-script.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.mixedActiveContent:after { background: #d70022; }
/* RED..: http://http-login.badssl.com/ */
#urlbar[pageproxystate='valid'] #identity-box.insecureLoginForms:after { background: #a4000f; }
/* RED..: http://www.httpvshttps.com/ */
#urlbar[pageproxystate='valid'] #identity-box.notSecure::after { background: #a4000f; }