-
Notifications
You must be signed in to change notification settings - Fork 13
/
_navigation-bar.css
151 lines (131 loc) · 4.49 KB
/
_navigation-bar.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#nav-bar {
background-color: var(--moonlight-gray-2) !important;
box-shadow: none !important;
}
/* Toolbar buttons */
.toolbarbutton-1 {
fill: var(--moonlight-gray-7) !important;
transition: fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}
.toolbarbutton-1:hover {
fill: var(--moonlight-gray-9) !important;
}
.toolbarbutton-1[open="true"] {
fill: var(--moonlight-gray-9) !important;
}
.toolbarbutton-1[disabled] {
fill: var(--moonlight-gray-5) !important;
}
.toolbarbutton-1 .toolbarbutton-icon,
.toolbarbutton-1 .toolbarbutton-badge-stack {
background: none !important;
}
/* Remove back button background and border */
#back-button > .toolbarbutton-icon {
background: none !important;
border: none !important;
}
/* Web extensions custom styling */
#nav-bar-customization-target > .toolbarbutton-1.webextension-browser-action .toolbarbutton-badge-stack,
#nav-bar-customization-target > #fxa-toolbar-menu-button .toolbarbutton-badge-stack {
background: var(--moonlight-gray-4) !important;
border: 1px solid var(--moonlight-gray-1);
transition: background-color, border-color 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}
#nav-bar-customization-target > .toolbarbutton-1.webextension-browser-action:hover .toolbarbutton-badge-stack,
#nav-bar-customization-target > #fxa-toolbar-menu-button:hover .toolbarbutton-badge-stack {
background: var(--moonlight-gray-5) !important;
border-color: var(--moonlight-blue);
}
#nav-bar-customization-target > .toolbarbutton-1.webextension-browser-action[open="true"]
.toolbarbutton-badge-stack,
#fxa-toolbar-menu-button[open="true"] .toolbarbutton-badge-stack {
background: var(--moonlight-blue) !important;
}
/* Remove burger menu spacing */
#PanelUI-button {
margin-inline-start: 0 !important;
padding-inline-start: 0 !important;
border: none !important;
border-inline-start: none !important;
}
/* --- */
/* - Url bar - */
#urlbar-input {
color: var(--moonlight-gray-10) !important;
}
#urlbar #urlbar-background {
background-color: var(--moonlight-gray-3) !important;
border: none !important;
border-radius: 3px;
box-shadow: none !important;
}
#urlbar[open="true"] #urlbar-background {
background-color: var(--moonlight-gray-4) !important;
}
.urlbarView:not(.megabar) .urlbarView-row:not([type="tip"]):hover,
.urlbarView.megabar .urlbarView-row:not([type="tip"]):hover > .urlbarView-row-inner {
background: none !important;
}
.urlbarView #urlbar-results .urlbarView-row .urlbarView-row-inner {
transition: color 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}
.urlbarView #urlbar-results .urlbarView-row .urlbarView-row-inner:hover {
background-color: var(--moonlight-gray-5) !important;
color: var(--moonlight-blue) !important;
}
.urlbarView
#urlbar-results
.urlbarView-row[aria-selected="true"]
.urlbarView-row-inner {
border: 1px solid var(--moonlight-blue) !important;
background-color: var(--moonlight-gray-5) !important;
color: var(--moonlight-blue) !important;
}
.urlbarView.megabar .urlbarView-body-inner {
border: 0 !important;
}
.urlbarView #urlbar-results {
color: var(--moonlight-gray-10) !important;
}
.urlbarView #urlbar-results .urlbarView-row .urlbarView-url {
color: var(--moonlight-blue) !important;
}
/* Url bar Icons */
#urlbar-container box,
#urlbar-container image,
.urlbar-icon-wrapper {
background-color: transparent !important;
}
#urlbar-container [class*="icon"],
#urlbar-container [id*="icon"]
{
border: 0 !important;
fill: var(--moonlight-gray-7) !important;
fill-opacity: 1 !important;
transition: fill 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}
#urlbar-container [class*="icon"]:hover,
#urlbar-container [id*="icon"]:hover,
#urlbar-container [open="true"] [class*="icon"],
#urlbar-container [open="true"] [id*="icon"],
#urlbar-container [class*="icon"][open="true"],
#urlbar-container [id*="icon"][open="true"]
{
fill: var(--moonlight-gray-9) !important;
fill-opacity: 1 !important;
}
#urlbar-zoom-button {
border-color: var(--moonlight-gray-1) !important;
background-color: var(--moonlight-gray-4) !important;
color: var(--moonlight-gray-10) !important;
transition: background-color, border-color 300ms cubic-bezier(0.645, 0.045, 0.355, 1) !important;
}
#urlbar-zoom-button:hover {
background-color: var(--moonlight-gray-5) !important;
border-color: var(--moonlight-blue) !important;
}
#pageActionSeparator {
display: none !important;
}
/* --- */