-
Notifications
You must be signed in to change notification settings - Fork 0
/
urlbar.css
88 lines (73 loc) · 1.95 KB
/
urlbar.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
:root {
--url-border-color: rgba(0, 0, 0, 0.15);
--url-placeholder-color: rgba(0, 0, 0, 0.5);
--url-bar-background-color: rgba(255, 255, 255, 0.4);
--url-bar-outline-color: AccentColor;
}
@media (prefers-color-scheme: dark) {
:root {
--url-border-color: rgba(255, 255, 255, 0.15);
--url-placeholder-color: rgba(255, 255, 255, 0.5);
--url-bar-background-color: rgba(0, 0, 0, 0.4);
--url-bar-outline-color: AccentColor;
}
}
#urlbar-container {
max-width: 50% !important;
}
#urlbar {
min-height: 30px !important;
font-size: 13px !important;
margin-bottom: 2px!important;
}
#urlbar[open] {
border-radius: 12px !important;
box-shadow: 0px 2px 20px rgba(4, 2, 5, 0.2) !important;
}
/* Centers text in urlbar */
#urlbar:not([focused]) #urlbar-input {
text-align: center !important;
}
/* Urlbar icons look */
.urlbar-page-action {
height: 24px !important;
border-radius: 5px !important;
}
.urlbar-page-action image {
margin-top: -2px !important;
transform: scale(0.9, 0.9) !important;
}
.identity-box-button {
border-radius: 4px !important;
}
.identity-box-button image {
transform: scale(0.9, 0.9) !important;
}
#urlbar-background {
border-color: var(--url-border-color) !important;
border-radius: 8px !important;
box-shadow: none !important;
outline-width: 2px !important;
outline-color: var(--url-bar-outline-color) !important;
}
#urlbar *|input::placeholder {
color: var(--url-placeholder-color) !important;
}
#urlbar:not([open]) #urlbar-background {
background-color: var(--url-bar-background-color) !important;
}
#urlbar[open] #urlbar-background {
border-radius: 10px !important;
border-color: var(--hover-color-tertiary) !important;
}
/* Urlbar mode indicator look */
#urlbar-search-mode-indicator,
#identity-box.chromeUI #identity-icon-box,
#identity-box.extensionPage #identity-icon-box {
background-color: var(--hover-color-primary) !important;
}
#tracking-protection-icon-container,
#star-button-box,
#notification-popup-box {
display: none;
}