Left: | ||
Right: |
OLD | NEW |
---|---|
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-present eyeo GmbH | 3 * Copyright (C) 2006-present 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 /* cyrillic-ext */ |
saroyanm
2018/01/29 16:16:17
I added fonts from the URLS bellow accordingly:
*
Thomas Greiner
2018/02/14 17:13:45
Can you verify that we actually need each of those
Thomas Greiner
2018/02/14 17:13:46
Anything we need to consider when using the fonts
saroyanm
2018/02/14 18:30:04
Not sure how I can verify ?
We do support "cyrill
saroyanm
2018/02/14 18:30:04
Only thing I could find is from -> https://develop
Thomas Greiner
2018/02/15 12:17:06
Ok. From what I read in the license text, the requ
Thomas Greiner
2018/02/15 12:17:06
I assumed there'd be resources out there that clar
saroyanm
2018/02/15 18:47:19
If we include Font as an npm package, we don't nee
saroyanm
2018/02/15 18:47:19
I don't think that C&T ever noticed that we had th
saroyanm
2018/02/16 21:02:56
As discussed, I've included "fonts" file separatel
| |
19 { | 19 @font-face |
20 font-family: "Source Sans Pro"; | 20 { |
21 src: url(fonts/SourceSansPro-Light.woff); | 21 font-family: "Source Sans Pro"; |
22 /* local("Ø") forces using no local font called Source Sans Pro */ | 22 font-style: normal; |
23 src: local("Ø"), url(fonts/SourceSansPro-Light.woff) format("woff"); | 23 font-weight: 300; |
24 font-weight: 300; | 24 /* local("Ø") forces using no local font called Source Sans Pro */ |
25 font-style: normal; | 25 src: local("Ø"), url("fonts/Source-Sans-Pro/300/cyrillic-ext.woff2") format("w off2"); |
26 } | 26 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; |
Thomas Greiner
2018/02/14 17:13:45
Coding style: "Line length: 80 characters or less"
saroyanm
2018/02/14 18:30:04
Will fix this.
saroyanm
2018/02/16 21:02:56
Done.
| |
27 | 27 } |
28 @font-face | 28 |
29 { | 29 @font-face |
30 font-family: "Source Sans Pro"; | 30 { |
31 src: url(fonts/SourceSansPro-Regular.woff); | 31 font-family: "Source Sans Pro"; |
32 /* local("Ø") forces using no local font called Source Sans Pro */ | 32 font-style: normal; |
33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); | 33 font-weight: 400; |
34 font-style: normal; | 34 /* local("Ø") forces using no local font called Source Sans Pro */ |
35 } | 35 src: local("Ø"), url("fonts/Source-Sans-Pro/400/cyrillic-ext.woff2") format("w off2"); |
36 | 36 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; |
37 @font-face | 37 } |
38 { | 38 |
39 font-family: "Source Sans Pro"; | 39 @font-face |
40 src: url(fonts/SourceSansPro-bold.woff); | 40 { |
41 /* local("Ø") forces using no local font called Source Sans Pro */ | 41 font-family: "Source Sans Pro"; |
42 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff"); | 42 font-style: normal; |
43 font-weight: 700; | 43 font-weight: 700; |
44 font-style: normal; | 44 /* local("Ø") forces using no local font called Source Sans Pro */ |
45 src: local("Ø"), url("fonts/Source-Sans-Pro/700/cyrillic-ext.woff2") format("w off2"); | |
46 unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+F E2E-FE2F; | |
47 } | |
48 | |
49 /* cyrillic */ | |
50 @font-face | |
51 { | |
52 font-family: "Source Sans Pro"; | |
53 font-style: normal; | |
54 font-weight: 300; | |
55 /* local("Ø") forces using no local font called Source Sans Pro */ | |
56 src: local("Ø"), url("fonts/Source-Sans-Pro/300/cyrillic.woff2") format("woff2 "); | |
57 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |
58 } | |
59 | |
60 @font-face | |
61 { | |
62 font-family: "Source Sans Pro"; | |
63 font-style: normal; | |
64 font-weight: 400; | |
65 /* local("Ø") forces using no local font called Source Sans Pro */ | |
66 src: local("Ø"), url("fonts/Source-Sans-Pro/400/cyrillic.woff2") format("woff2 "); | |
67 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |
68 } | |
69 | |
70 @font-face | |
71 { | |
72 font-family: "Source Sans Pro"; | |
73 font-style: normal; | |
74 font-weight: 700; | |
75 /* local("Ø") forces using no local font called Source Sans Pro */ | |
76 src: local("Ø"), url("fonts/Source-Sans-Pro/700/cyrillic.woff2") format("woff2 "); | |
77 unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; | |
78 } | |
79 | |
80 /* greek-ext */ | |
81 @font-face | |
82 { | |
83 font-family: "Source Sans Pro"; | |
84 font-style: normal; | |
85 font-weight: 300; | |
86 /* local("Ø") forces using no local font called Source Sans Pro */ | |
87 src: local("Ø"), url("fonts/Source-Sans-Pro/300/greek-ext.woff2") format("woff 2"); | |
88 unicode-range: U+1F00-1FFF; | |
89 } | |
90 | |
91 @font-face | |
92 { | |
93 font-family: "Source Sans Pro"; | |
94 font-style: normal; | |
95 font-weight: 400; | |
96 /* local("Ø") forces using no local font called Source Sans Pro */ | |
97 src: local("Ø"), url("fonts/Source-Sans-Pro/400/greek-ext.woff2") format("woff 2"); | |
98 unicode-range: U+1F00-1FFF; | |
99 } | |
100 | |
101 @font-face | |
102 { | |
103 font-family: "Source Sans Pro"; | |
104 font-style: normal; | |
105 font-weight: 700; | |
106 /* local("Ø") forces using no local font called Source Sans Pro */ | |
107 src: local("Ø"), url("fonts/Source-Sans-Pro/700/greek-ext.woff2") format("woff 2"); | |
108 unicode-range: U+1F00-1FFF; | |
109 } | |
110 | |
111 /* greek */ | |
112 @font-face | |
113 { | |
114 font-family: "Source Sans Pro"; | |
115 font-style: normal; | |
116 font-weight: 300; | |
117 /* local("Ø") forces using no local font called Source Sans Pro */ | |
118 src: local("Ø"), url("fonts/Source-Sans-Pro/300/greek.woff2") format("woff2"); | |
119 unicode-range: U+0370-03FF; | |
120 } | |
121 | |
122 @font-face | |
123 { | |
124 font-family: "Source Sans Pro"; | |
125 font-style: normal; | |
126 font-weight: 400; | |
127 /* local("Ø") forces using no local font called Source Sans Pro */ | |
128 src: local("Ø"), url("fonts/Source-Sans-Pro/400/greek.woff2") format("woff2"); | |
129 unicode-range: U+0370-03FF; | |
130 } | |
131 | |
132 @font-face | |
133 { | |
134 font-family: "Source Sans Pro"; | |
135 font-style: normal; | |
136 font-weight: 700; | |
137 /* local("Ø") forces using no local font called Source Sans Pro */ | |
138 src: local("Ø"), url("fonts/Source-Sans-Pro/700/greek.woff2") format("woff2"); | |
139 unicode-range: U+0370-03FF; | |
140 } | |
141 | |
142 /* vietnamese */ | |
143 @font-face | |
144 { | |
145 font-family: "Source Sans Pro"; | |
146 font-style: normal; | |
147 font-weight: 300; | |
148 /* local("Ø") forces using no local font called Source Sans Pro */ | |
149 src: local("Ø"), url("fonts/Source-Sans-Pro/300/vietnamese.woff2") format("wof f2"); | |
150 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; | |
151 } | |
152 | |
153 @font-face | |
154 { | |
155 font-family: "Source Sans Pro"; | |
156 font-style: normal; | |
157 font-weight: 400; | |
158 /* local("Ø") forces using no local font called Source Sans Pro */ | |
159 src: local("Ø"), url("fonts/Source-Sans-Pro/400/vietnamese.woff2") format("wof f2"); | |
160 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; | |
161 } | |
162 | |
163 @font-face | |
164 { | |
165 font-family: "Source Sans Pro"; | |
166 font-style: normal; | |
167 font-weight: 700; | |
168 /* local("Ø") forces using no local font called Source Sans Pro */ | |
169 src: local("Ø"), url("fonts/Source-Sans-Pro/700/vietnamese.woff2") format("wof f2"); | |
170 unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; | |
171 } | |
172 | |
173 /* latin-ext */ | |
174 @font-face | |
175 { | |
176 font-family: "Source Sans Pro"; | |
177 font-style: normal; | |
178 font-weight: 300; | |
179 /* local("Ø") forces using no local font called Source Sans Pro */ | |
180 src: local("Ø"), url(fonts/Source-Sans-Pro/300/latin-ext.woff2) format("woff2" ); | |
181 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; | |
182 } | |
183 | |
184 @font-face | |
185 { | |
186 font-family: "Source Sans Pro"; | |
187 font-style: normal; | |
188 font-weight: 400; | |
189 /* local("Ø") forces using no local font called Source Sans Pro */ | |
190 src: local("Ø"), url(fonts/Source-Sans-Pro/400/latin-ext.woff2) format("woff2" ); | |
191 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; | |
192 } | |
193 | |
194 @font-face | |
195 { | |
196 font-family: "Source Sans Pro"; | |
197 font-style: normal; | |
198 font-weight: 700; | |
199 /* local("Ø") forces using no local font called Source Sans Pro */ | |
200 src: local("Ø"), url(fonts/Source-Sans-Pro/700/latin-ext.woff2) format("woff2" ); | |
201 unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2 C60-2C7F, U+A720-A7FF; | |
202 } | |
203 | |
204 /* latin */ | |
205 @font-face | |
206 { | |
207 font-family: "Source Sans Pro"; | |
208 font-style: normal; | |
209 font-weight: 300; | |
210 /* local("Ø") forces using no local font called Source Sans Pro */ | |
211 src: local("Ø"), url(fonts/Source-Sans-Pro/300/latin.woff2) format("woff2"); | |
212 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; | |
213 } | |
214 | |
215 @font-face | |
216 { | |
217 font-family: "Source Sans Pro"; | |
218 font-style: normal; | |
219 font-weight: 400; | |
220 /* local("Ø") forces using no local font called Source Sans Pro */ | |
221 src: local("Ø"), url(fonts/Source-Sans-Pro/400/latin.woff2) format("woff2"); | |
222 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; | |
223 } | |
224 | |
225 @font-face | |
226 { | |
227 font-family: "Source Sans Pro"; | |
228 font-style: normal; | |
229 font-weight: 700; | |
230 /* local("Ø") forces using no local font called Source Sans Pro */ | |
231 src: local("Ø"), url(fonts/Source-Sans-Pro/700/latin.woff2) format("woff2"); | |
232 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; | |
45 } | 233 } |
46 | 234 |
47 html | 235 html |
48 { | 236 { |
49 font-size: 16px; | 237 font-size: 16px; |
50 } | 238 } |
51 | 239 |
52 body | 240 body |
53 { | 241 { |
54 background-color: #F3F3F3; | 242 background-color: #F3F3F3; |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
936 { | 1124 { |
937 display: flex; | 1125 display: flex; |
938 } | 1126 } |
939 | 1127 |
940 .col5 > * | 1128 .col5 > * |
941 { | 1129 { |
942 display: inline-block; | 1130 display: inline-block; |
943 vertical-align: middle; | 1131 vertical-align: middle; |
944 } | 1132 } |
945 | 1133 |
946 .cols .col5 | 1134 .cols .col5, |
1135 .th .col5 | |
947 { | 1136 { |
948 margin: 0rem 1rem; | 1137 margin: 0rem 1rem; |
1138 align-self: center; | |
949 } | 1139 } |
950 | 1140 |
951 .th .col5:nth-of-type(1), | 1141 .th .col5:nth-of-type(1), |
952 .table .col5:nth-of-type(1) | 1142 .table .col5:nth-of-type(1) |
953 { | 1143 { |
954 flex: 4; | 1144 flex: 5; |
Thomas Greiner
2018/02/14 17:13:45
If the design doesn't consider long texts, there's
saroyanm
2018/02/14 18:30:04
I agree that this need to be fixed in design, but
Thomas Greiner
2018/02/15 12:17:07
Ok, I'm fine with that.
| |
955 } | 1145 } |
956 | 1146 |
957 .th .col5:nth-of-type(2), | 1147 .th .col5:nth-of-type(2), |
958 .table .col5:nth-of-type(2) | 1148 .table .col5:nth-of-type(2) |
959 { | 1149 { |
960 flex: 8; | 1150 flex: 8; |
961 } | 1151 } |
962 | 1152 |
963 .th .col5:nth-of-type(3), | 1153 .th .col5:nth-of-type(3), |
964 .table .col5:nth-of-type(3) | 1154 .table .col5:nth-of-type(3) |
(...skipping 20 matching lines...) Expand all Loading... | |
985 .table.cols > span | 1175 .table.cols > span |
986 { | 1176 { |
987 margin: 0rem; | 1177 margin: 0rem; |
988 } | 1178 } |
989 | 1179 |
990 .table.cols li | 1180 .table.cols li |
991 { | 1181 { |
992 padding: 0.5rem 0rem; | 1182 padding: 0.5rem 0rem; |
993 } | 1183 } |
994 | 1184 |
995 .table.cols .state | 1185 .table.cols .toggle |
996 { | 1186 { |
997 -moz-margin-start: 1rem; | 1187 -moz-margin-end: 0.5rem; |
998 -webkit-margin-start: 1rem; | 1188 -webkit-margin-end: 0.5rem; |
999 } | 1189 } |
1000 | 1190 |
1001 .table.cols .gear | 1191 .table.cols .gear |
1002 { | 1192 { |
1003 margin: 0rem | 1193 margin: 0rem |
1004 } | 1194 } |
1005 | 1195 |
1006 #dialog .table.list li | 1196 #dialog .table.list li |
1007 { | 1197 { |
1008 display: block; | 1198 display: block; |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1511 font-size: 1rem; | 1701 font-size: 1rem; |
1512 color: #077CA6; | 1702 color: #077CA6; |
1513 background-color: #E1F2FA; | 1703 background-color: #E1F2FA; |
1514 } | 1704 } |
1515 | 1705 |
1516 #notification strong | 1706 #notification strong |
1517 { | 1707 { |
1518 flex: 1; | 1708 flex: 1; |
1519 text-align: center; | 1709 text-align: center; |
1520 } | 1710 } |
OLD | NEW |