-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadblock-options-tabs.css
207 lines (172 loc) · 4.41 KB
/
adblock-options-tabs.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
/*
* This file is part of AdBlock <https://getadblock.com/>,
* Copyright (C) 2013-present Adblock, Inc.
*
* AdBlock is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* AdBlock is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with AdBlock. If not, see <http://www.gnu.org/licenses/>.
*/
/* Navigation tabs */
#sidebar-tabs {
width: 100%;
}
#sidebar-tabs ul {
padding: 0;
margin: 0;
list-style-type: none;
}
#sidebar-tabs ul[data-parent-tab] {
margin-left: 34px;
border-radius: 3px 0px 0px 3px;
transition: opacity 0.2s linear;
padding-top: 5px;
}
#sidebar-tabs ul[data-parent-tab] li.locked a {
color: #999999;
cursor: default;
pointer-events: none;
}
#sidebar-tabs ul[data-parent-tab] li i.unlocked,
#sidebar-tabs ul[data-parent-tab] li:not(.locked) i.locked {
display: none;
}
#sidebar-tabs ul[data-parent-tab] li.locked i.locked {
display: inline-block;
}
#sidebar-tabs li {
padding: 5px 0;
}
#sidebar-tabs li a:not(.active):hover,
#sidebar-tabs li a:not(.active):hover > i.material-icons {
color: var(--sidebar-link-hovered-color);
}
#sidebar-tabs li a {
width: calc(100% - 8px);
margin-left: 8px;
display: flex;
align-items: center;
text-align: left;
}
#sidebar-tabs li a i {
color: var(--main-text-color);
}
#sidebar-tabs li.locked a i {
color: #999999;
cursor: default;
}
#sidebar-tabs li a i:not(.unlocked):not(.locked) + span {
margin-left: 15px;
}
#sidebar-tabs li.locked a span {
margin-left: 15px;
}
#sidebar-tabs .tablink {
padding: 2px 11px;
text-decoration: none;
border-radius: 8px 0px 0px 8px;
}
#sidebar-tabs .tablink.active,
#sidebar-tabs .tablink.active > i.material-icons {
font-weight: bold;
cursor: default;
color: var(--active-tab-color, #666);
background-color: var(--background-color, white);
}
#sidebar-tabs .tablink > span {
line-height: normal;
word-break: break-word;
}
.separator {
border-top-width: 1px;
border-top-style: solid;
border-top-color: #c6c6c6;
width: 160px;
margin-top: 12px;
margin-bottom: 12px;
margin-left: 20px;
}
#sidebar-tabs li a i#new-pf-icon {
margin-right: -20px;
position: relative;
left: -35px;
width: 20px;
color: var(--red2);
font-size: 12px;
display: none;
}
/* Tab content */
#tab-content .tab {
display: none;
margin-left: var(--defaul-sidebar-width, 204px);
}
@media screen and (max-width: 890px) {
#tab-content .tab {
margin-left: var(--small-sidebar-width, 60px);
}
#sidebar-tabs span {
display: none;
}
#sidebar-tabs a:not(.active):hover {
z-index: 100;
border-radius: 6px;
width: fit-content;
white-space: nowrap;
min-width: 188px;
color: var(--active-tab-color, #666);
background-color: var(--background-color, white);
-webkit-box-shadow: 0px 5px 15px rgba(10, 14, 71, 0.2);
box-shadow: 0px 5px 15px rgba(10, 14, 71, 0.2);
}
#sidebar-tabs ul[data-parent-tab] {
margin-left: 0px;
border-bottom-left-radius: 0px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: var(--bottom-line-color);
}
#sidebar-tabs a:not(.active):hover span {
display: inline-block;
margin-left: 15px;
}
#sidebar-tabs ul[data-parent-tab] li.locked a {
color: #999999;
pointer-events: auto;
}
#sidebar-tabs ul[data-parent-tab] li.locked i.locked,
#sidebar-tabs ul[data-parent-tab] li.locked a:not(.active):hover > i.unlocked {
display: none;
}
#sidebar-tabs ul[data-parent-tab] li a i.unlocked,
#sidebar-tabs ul[data-parent-tab] li.locked a:not(.active):hover > i.locked {
display: inline-block;
}
#sidebar-tabs ul[data-parent-tab] li.locked a:not(.active):hover > i.locked {
color: #999999;
}
.separator {
width: 25px;
}
#sidebar-tabs .tablink.newItem {
margin-left: 8px;
padding: 2px 11px;
}
#sidebar-tabs li a i#new-pf-icon {
margin-left: 2px;
position: unset;
}
#sidebar-tabs a:not(.active):hover span#pf-menu-item.newItem {
margin-left: 30px;
}
}
/* RTL Language Specific rules */
html[dir="rtl"] #sidebar-tabs .tablink {
padding: 2px 9px;
}