Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 @font-face | 18 @font-face |
19 { | 19 { |
20 font-family: "Source Sans Pro"; | 20 font-family: "Source Sans Pro"; |
21 src: url(fonts/SourceSansPro-Light.woff) format("woff"); | 21 src: url(fonts/SourceSansPro-Light.woff); |
saroyanm
2015/07/09 12:56:33
I think we can use local to force local system fon
Thomas Greiner
2015/07/09 16:42:46
Not sure whether I understand what you mean. Using
saroyanm
2015/07/09 17:48:14
This solution is for being sure that no local font
Thomas Greiner
2015/07/10 09:48:14
Done.
| |
22 /* local("Ø") forces using no local font called Source Sans Pro */ | |
23 src: local("Ø"), url(fonts/SourceSansPro-Light.woff) format("woff"); | |
22 font-weight: 300; | 24 font-weight: 300; |
23 font-style: normal; | 25 font-style: normal; |
24 } | 26 } |
25 | 27 |
26 @font-face | 28 @font-face |
27 { | 29 { |
28 font-family: "Source Sans Pro"; | 30 font-family: "Source Sans Pro"; |
29 src: url(fonts/SourceSansPro-Regular.woff) format("woff"); | 31 src: url(fonts/SourceSansPro-Regular.woff); |
32 /* local("Ø") forces using no local font called Source Sans Pro */ | |
33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); | |
30 font-weight: 400; | 34 font-weight: 400; |
31 font-style: normal; | 35 font-style: normal; |
32 } | 36 } |
33 | 37 |
34 @font-face | 38 @font-face |
35 { | 39 { |
36 font-family: "Source Sans Pro"; | 40 font-family: "Source Sans Pro"; |
37 src: url(fonts/SourceSansPro-Semibold.woff) format("woff"); | 41 src: url(fonts/SourceSansPro-Semibold.woff); |
42 /* local("Ø") forces using no local font called Source Sans Pro */ | |
43 src: local("Ø"), url(fonts/SourceSansPro-Semibold.woff) format("woff"); | |
38 font-weight: 600; | 44 font-weight: 600; |
39 font-style: normal; | 45 font-style: normal; |
40 } | 46 } |
41 | 47 |
42 body | 48 body |
43 { | 49 { |
44 background-color: #F5F5F5; | 50 background-color: #F5F5F5; |
45 display: flex; | 51 display: flex; |
46 margin: 20px 10px; | 52 margin: 20px 10px; |
47 font-family: "Source Sans Pro", sans-serif; | 53 font-family: "Source Sans Pro", sans-serif; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
154 border-color: #CDCDCD transparent; | 160 border-color: #CDCDCD transparent; |
155 border-style: solid; | 161 border-style: solid; |
156 border-width: 1px; | 162 border-width: 1px; |
157 font-size: 16px; | 163 font-size: 16px; |
158 font-weight: 300; | 164 font-weight: 300; |
159 line-height: 1em; | 165 line-height: 1em; |
160 margin-top: -1px; | 166 margin-top: -1px; |
161 padding: 14px 20px; | 167 padding: 14px 20px; |
162 } | 168 } |
163 | 169 |
164 body[data-tab="general"] #tab-general, | 170 body[data-tab="general"] #tab-general, |
saroyanm
2015/07/09 12:56:33
during "RTL" direction the active tab's "start" bo
Thomas Greiner
2015/07/09 16:42:46
Done.
| |
165 body[data-tab="advanced"] #tab-advanced, | 171 body[data-tab="advanced"] #tab-advanced, |
166 body[data-tab="help"] #tab-help | 172 body[data-tab="help"] #tab-help |
167 { | 173 { |
168 background-color: #FFFFFF; | 174 background-color: #FFFFFF; |
169 border-radius: 3px 0px 0px 3px; | 175 border-radius: 3px 0px 0px 3px; |
170 border-width: 1px; | 176 border-width: 1px; |
177 font-weight: 600; | |
171 -moz-border-start-color: #CDCDCD; | 178 -moz-border-start-color: #CDCDCD; |
172 -webkit-border-start-color: #CDCDCD; | 179 -webkit-border-start-color: #CDCDCD; |
173 -moz-margin-end: -1px; | 180 -moz-margin-end: -1px; |
174 -webkit-margin-end: -1px; | 181 -webkit-margin-end: -1px; |
175 font-weight: 600; | 182 -moz-margin-start: -1px; |
183 -webkit-margin-start: -1px; | |
176 -moz-padding-end: 21px; | 184 -moz-padding-end: 21px; |
177 -webkit-padding-end: 21px; | 185 -webkit-padding-end: 21px; |
186 -moz-padding-start: 21px; | |
187 -webkit-padding-start: 21px; | |
178 } | 188 } |
179 | 189 |
180 html[dir="rtl"] body[data-tab="general"] #tab-general, | 190 html[dir="rtl"] body[data-tab="general"] #tab-general, |
181 html[dir="rtl"] body[data-tab="advanced"] #tab-advanced, | 191 html[dir="rtl"] body[data-tab="advanced"] #tab-advanced, |
182 html[dir="rtl"] body[data-tab="help"] #tab-help | 192 html[dir="rtl"] body[data-tab="help"] #tab-help |
183 { | 193 { |
184 border-radius: 0px 3px 3px 0px; | 194 border-radius: 0px 3px 3px 0px; |
185 } | 195 } |
186 | 196 |
187 .tabs.vertical.bottom | 197 .tabs.vertical.bottom |
188 { | 198 { |
189 bottom: 0px; | 199 bottom: 0px; |
190 position: absolute; | 200 position: absolute; |
191 } | 201 } |
192 | 202 |
193 .tabs.vertical.bottom li:first-child | 203 .tabs.vertical.bottom li:first-child |
194 { | 204 { |
195 border-top: 0px; | 205 border-top: 0px; |
196 } | 206 } |
197 | 207 |
198 #tab-contribute | 208 #tab-contribute |
199 { | 209 { |
200 border-bottom: none; | 210 border-bottom: none; |
201 } | 211 } |
202 | 212 |
203 #nav-sidebar ul li .icon | 213 #nav-sidebar ul li .icon |
204 { | 214 { |
205 height: 14px; | 215 height: 14px; |
saroyanm
2015/07/09 12:56:33
Maybe
height: 15px;
width: 15px;
But it still nee
Thomas Greiner
2015/07/09 16:42:46
Yes, some icons are cut off because the values of
saroyanm
2015/07/09 17:48:14
What about changing the the height and width of si
Thomas Greiner
2015/07/10 09:48:14
According to the style guide the icons are suppose
| |
206 width: 14px; | 216 width: 14px; |
207 } | 217 } |
208 | 218 |
209 #tab-general .icon | 219 #tab-general .icon |
210 { | 220 { |
211 background-position: -16px -18px; | 221 background-position: -16px -18px; |
212 } | 222 } |
213 | 223 |
214 #tab-advanced .icon | 224 #tab-advanced .icon |
215 { | 225 { |
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
885 -moz-padding-end: 10px; | 895 -moz-padding-end: 10px; |
886 -webkit-padding-start: 0px; | 896 -webkit-padding-start: 0px; |
887 -moz-padding-start: 0px; | 897 -moz-padding-start: 0px; |
888 } | 898 } |
889 | 899 |
890 #other-language .display | 900 #other-language .display |
891 { | 901 { |
892 -webkit-margin-start: 10px; | 902 -webkit-margin-start: 10px; |
893 -moz-margin-start: 10px; | 903 -moz-margin-start: 10px; |
894 } | 904 } |
LEFT | RIGHT |