Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: skin/new-options.css

Issue 29502647: Issue 5482 - Sidebar and about ABP dialog (Closed)
Left Patch Set: Created Aug. 9, 2017, 11:02 a.m.
Right Patch Set: Fixed nit Created Aug. 28, 2017, 11:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « skin/fonts/SourceSansPro-bold.woff ('k') | skin/options-sprite.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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-2017 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 *
(...skipping 17 matching lines...) Expand all
31 src: url(fonts/SourceSansPro-Regular.woff); 31 src: url(fonts/SourceSansPro-Regular.woff);
32 /* local("Ø") forces using no local font called Source Sans Pro */ 32 /* local("Ø") forces using no local font called Source Sans Pro */
33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); 33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff");
34 font-weight: 400; 34 font-weight: 400;
35 font-style: normal; 35 font-style: normal;
36 } 36 }
37 37
38 @font-face 38 @font-face
39 { 39 {
40 font-family: "Source Sans Pro"; 40 font-family: "Source Sans Pro";
41 src: url(fonts/SourceSansPro-Semibold.woff); 41 src: url(fonts/SourceSansPro-bold.woff);
42 /* local("Ø") forces using no local font called Source Sans Pro */ 42 /* local("Ø") forces using no local font called Source Sans Pro */
43 src: local("Ø"), url(fonts/SourceSansPro-Semibold.woff) format("woff"); 43 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff");
44 font-weight: 600; 44 font-weight: 700;
45 font-style: normal; 45 font-style: normal;
46 }
47
48 html
49 {
50 font-size: 20px;
46 } 51 }
47 52
48 body 53 body
49 { 54 {
50 background-color: #F5F5F5; 55 background-color: #F5F5F5;
51 display: flex; 56 display: flex;
52 margin: 1.2em 0.3em; 57 margin: 1.2rem 0.3rem;
53 font-family: "Source Sans Pro", sans-serif; 58 font-family: "Source Sans Pro", sans-serif;
54 font-size: 20px; 59 font-weight: 300;
60 font-size: 1rem;
55 color: #494949; 61 color: #494949;
56 } 62 }
57 63
58 h1 64 h1
59 { 65 {
60 font-size: 48px; 66 font-size: 3rem;
saroyanm 2017/08/10 12:04:48 I'll change font-sizes as soon they are updated in
juliandoucette 2017/08/16 23:42:31 Acknowledged. Thank you for pointing this out.
saroyanm 2017/08/18 12:44:28 Done, but still I'm not really convinced with the
juliandoucette 2017/08/21 13:06:39 Acknowledged. I agree. These sizes are huge. Perh
61 font-weight: 300; 67 font-weight: 300;
62 } 68 }
63 69
64 h2 70 h2
65 { 71 {
66 font-size: 22px; 72 font-size: 1.375rem;
67 font-weight: 600; 73 font-weight: 700;
68 } 74 }
69 75
70 p 76 p
71 { 77 {
72 font-weight: 300; 78 font-weight: 300;
73 } 79 }
74 80
75 [aria-hidden="true"] 81 [aria-hidden="true"]
76 { 82 {
77 display: none !important; 83 display: none !important;
78 } 84 }
79 85
80 input[type="text"], 86 input[type="text"],
81 textarea 87 textarea,
88 main
82 { 89 {
83 -webkit-box-sizing: border-box; 90 -webkit-box-sizing: border-box;
84 -moz-box-sizing: border-box; 91 -moz-box-sizing: border-box;
85 box-sizing: border-box; 92 box-sizing: border-box;
86 } 93 }
87 94
88 /* 95 /*
89 Buttons 96 Buttons and links
90 */ 97 */
91 98
92 button.primary, 99 button,
juliandoucette 2017/08/16 23:42:32 NIT: I prefer adding .button to <button>s and styl
saroyanm 2017/08/18 10:23:13 No, I don't think that we should have class button
juliandoucette 2017/08/18 11:17:04 Acknowledged. A <link> can look like a <button> j
saroyanm 2017/08/18 12:44:28 I agree, I thought you proposing to have button.bu
juliandoucette 2017/08/21 13:06:39 Acknowledged. FWIW: I was originally proposing to
93 button.secondary, 100 .button
94 .button.primary, 101 {
95 .button.secondary 102 padding: 0.8rem 1.2rem;
96 { 103 font-size: 1.125rem;
97 padding: 0.8em 1.2em; 104 font-weight: 700;
98 font-size: 18px;
99 font-weight: 600;
100 text-decoration: none; 105 text-decoration: none;
101 text-transform: uppercase; 106 text-transform: uppercase;
107 cursor: pointer;
102 } 108 }
103 109
104 button.primary, 110 button.primary,
105 .button.primary 111 .button.primary
106 { 112 {
107 border: none; 113 border: 0px;
108 color: #FFF; 114 color: #FFF;
109 background-color: #0A9DD1; 115 background-color: #0A9DD1;
110 cursor: pointer;
111 } 116 }
112 117
113 button.primary:hover, 118 button.primary:hover,
114 .button.primary:hover 119 .button.primary:hover
115 { 120 {
116 box-shadow: inset 0 0 0 2px #005D80; 121 box-shadow: inset 0 0 0 2px #005D80;
117 } 122 }
118 123
119 button.primary[disabled] 124 button.primary[disabled]
120 { 125 {
121 background-color: #5CBCE1; 126 background-color: #5CBCE1;
122 } 127 }
123 128
124 button.secondary, 129 button.secondary,
125 .button.secondary 130 .button.secondary
126 { 131 {
127 border: 1px solid #0A9DD1; 132 border: 1px solid #0A9DD1;
128 color: #099CD0; 133 color: #099CD0;
129 } 134 }
130 135
131 button.secondary:hover, 136 button.secondary:hover,
132 .button.secondary:hover 137 .button.secondary:hover
133 { 138 {
134 box-shadow: inset 0 0 0 1px #099CD0; 139 box-shadow: inset 0 0 0 4px #099CD0;
135 }
136
137 #about,
138 a
juliandoucette 2017/08/16 23:42:32 Did you mean to style all <a> here? (It doesn't l
saroyanm 2017/08/18 10:23:13 Yes, I did, though I think some of the styles are
saroyanm 2017/08/18 12:44:28 Done.
139 {
140 text-decoration: none;
141 color: #099CD0;
142 cursor: pointer;
143 font-size: 20px;
144 text-align: center;
145 } 140 }
146 141
147 button[role="checkbox"], 142 button[role="checkbox"],
148 #dialog-body .table button[role="checkbox"] 143 #dialog-body .table button[role="checkbox"]
149 { 144 {
150 width: 18px; 145 width: 18px;
151 height: 18px; 146 height: 18px;
152 margin-top: 0px; 147 margin-top: 0px;
153 -moz-margin-end: 20px; 148 -moz-margin-end: 20px;
154 -webkit-margin-end: 20px; 149 -webkit-margin-end: 20px;
155 padding: 0px; 150 padding: 0px;
156 border: none; 151 border: 0px;
157 background-color: transparent; 152 background-color: transparent;
158 background-position: -51px 0px; 153 background-position: -51px 0px;
159 } 154 }
160 155
161 button[role="checkbox"][aria-checked="true"], 156 button[role="checkbox"][aria-checked="true"],
162 #dialog-body .table button[role="checkbox"][aria-checked="true"] 157 #dialog-body .table button[role="checkbox"][aria-checked="true"]
163 { 158 {
164 background-position: -68px 0px; 159 background-position: -68px 0px;
160 }
161
162 button.link
163 {
164 border: 0px;
165 background-color: transparent;
166 font-weight: 300;
167 font-family: inherit;
168 color: #099CD0;
169 text-transform: none;
170 padding: 0.2rem;
165 } 171 }
166 172
167 /* 173 /*
168 Sidebar 174 Sidebar
169 */ 175 */
170 176
171 #sidebar, 177 #sidebar,
172 #sidebar .fixed, 178 #sidebar .fixed,
173 [role="tablist"] 179 [role="tablist"]
174 { 180 {
175 width: 13.2em; 181 width: 13.2rem;
176 } 182 }
177 183
178 #sidebar 184 #sidebar
179 { 185 {
180 flex-shrink: 0; 186 flex-shrink: 0;
181 } 187 }
182 188
183 #sidebar .fixed 189 #sidebar .fixed
184 { 190 {
185 top: 1.2em; 191 top: 1.2rem;
186 bottom: 0; 192 bottom: 0rem;
187 height: auto; 193 height: auto;
188 position: fixed; 194 position: fixed;
189 } 195 }
190 196
191 #sidebar header 197 #sidebar header
192 { 198 {
193 text-align: right; 199 text-align: right;
194 margin-right: 2em; 200 margin-right: 2rem;
195 } 201 }
196 202
197 html[dir="rtl"] #sidebar header 203 html[dir="rtl"] #sidebar header
juliandoucette 2017/08/16 23:42:32 NIT: You could have just margin: 0 2em; above
saroyanm 2017/08/18 10:23:13 I did it to save space, mostly for the translation
juliandoucette 2017/08/18 11:17:04 Acknowledged.
198 { 204 {
199 margin-left: 2em; 205 margin-left: 2rem;
200 } 206 }
201 207
202 #sidebar header h1 208 #sidebar header h1
203 { 209 {
204 font-size: 24px; 210 margin: 0rem;
205 margin: 0; 211 font-size: 1.5rem;
212 }
213
214 #sidebar header h1 strong
215 {
216 font-weight: 700;
206 } 217 }
207 218
208 #sidebar header p 219 #sidebar header p
209 { 220 {
210 font-size: 44px; 221 margin: 0rem;
211 margin: 0; 222 font-size: 2.4rem;
juliandoucette 2017/08/16 23:42:32 NIT: I thought we'd agreed against unitless values
saroyanm 2017/08/18 10:23:13 Noted, will fix.
saroyanm 2017/08/18 12:44:28 Done.
212 } 223 }
213 224
214 html[dir="rtl"] #sidebar header 225 html[dir="rtl"] #sidebar header
215 { 226 {
216 text-align: left; 227 text-align: left;
217 } 228 }
218 229
219 #sidebar-logo 230 #sidebar-logo
juliandoucette 2017/08/16 23:42:32 NIT: It's kindof inconsistent that you are styling
saroyanm 2017/08/18 10:23:13 I agree, I'll change.
saroyanm 2017/08/18 12:44:28 On other hand, nav and footer are not unique eleme
juliandoucette 2017/08/21 13:06:39 Acknowledged. I agree. Good thinking.
220 { 231 {
221 width: 3em; 232 width: 3rem;
222 margin-bottom: 0.9em; 233 margin-bottom: 0.7rem;
223 } 234 }
224 235
225 #sidebar nav, 236 #sidebar nav,
226 #sidebar footer 237 #sidebar footer
227 { 238 {
228 margin: 1.4em 0; 239 margin: 1.4rem 0rem;
229 } 240 }
230 241
231 [role="tablist"] 242 [role="tablist"]
232 { 243 {
233 list-style: none; 244 list-style: none;
234 margin: 0px; 245 margin: 0px;
235 position: relative; 246 position: relative;
236 padding: 0px; 247 padding: 0px;
237 } 248 font-size: 1.25rem;
238 249 }
239 [role="tablist"] li 250
251 [role="tablist"] li a
240 { 252 {
241 display: flex; 253 display: flex;
242 margin-top: -1px; 254 margin-top: -1px;
243 padding: 1em 0px; 255 padding: 1rem 0.8rem;
244 -moz-margin-end: -1px; 256 -moz-margin-end: -1px;
245 -webkit-margin-end: -1px; 257 -webkit-margin-end: -1px;
246 -moz-margin-start: -1px; 258 -moz-margin-start: -1px;
247 -webkit-margin-start: -1px; 259 -webkit-margin-start: -1px;
248 border-color: #CDCDCD transparent; 260 border-color: #CDCDCD transparent;
249 border-style: solid; 261 border-style: solid;
250 border-width: 1px; 262 border-width: 1px;
251 font-weight: 300; 263 text-decoration: none;
252 cursor: pointer;
juliandoucette 2017/08/16 23:42:31 Is there a reason that you are using <spans> insid
saroyanm 2017/08/18 10:23:13 No this is styles updated on top of old implementa
saroyanm 2017/08/18 12:44:28 Done.
253 }
254
255 [role="tablist"] li a
256 {
257 flex: 1;
258 color: inherit; 264 color: inherit;
259 text-decoration: none; 265 cursor: pointer;
juliandoucette 2017/08/16 23:42:32 NIT/Note: You could default to none and add decora
saroyanm 2017/08/18 10:23:13 I don't think we need text-decoration specified fo
saroyanm 2017/08/18 12:44:29 Done.
260 } 266 }
261 267
262 [role="tablist"] li a, 268 [role="tablist"] a[role="tab"]:focus
263 [role="tablist"] li span,
264 [role="tablist"] li::after
265 {
266 margin: auto 0.8em;
juliandoucette 2017/08/16 23:42:32 NIT: I don't think auto does anything here. If I a
saroyanm 2017/08/18 10:23:13 It's not, well spotted.
saroyanm 2017/08/18 12:44:28 Done.
267 }
268
269 [role="tablist"] li[role="tab"]:focus
270 { 269 {
271 outline: none; 270 outline: none;
272 text-shadow: 0px 0px 1px #888; 271 text-shadow: 0px 0px 1px #888;
juliandoucette 2017/08/16 23:42:32 NIT/Note: This doesn't look so hot on [lowdpi, chr
saroyanm 2017/08/18 10:23:13 I agree, I think we should enhance this with Jeen,
juliandoucette 2017/08/18 11:17:04 Acknowledged.
273 } 272 }
274 273
275 li[role="tab"][aria-selected] 274 li a[role="tab"][aria-selected]
276 { 275 {
277 -moz-border-start-color: #CDCDCD; 276 -moz-border-start-color: #CDCDCD;
278 -webkit-border-start-color: #CDCDCD; 277 -webkit-border-start-color: #CDCDCD;
279 font-weight: 600; 278 font-weight: 700;
280 background-color: #FFF; 279 background-color: #FFF;
281 } 280 }
282 281
283 footer 282 #sidebar footer
juliandoucette 2017/08/16 23:42:32 Did you mean to style all <footer>s here? (It doe
saroyanm 2017/08/18 10:23:13 Currently we only have 1 footer, so I did it gener
saroyanm 2017/08/18 12:44:29 Done.
284 { 283 {
285 bottom: 0px; 284 bottom: 0px;
286 position: absolute; 285 position: absolute;
287 width: 100%; 286 width: 100%;
288 } 287 }
289 288
290 footer p 289 #sidebar footer p
291 { 290 {
292 display: flex; 291 display: flex;
293 justify-content: center; 292 justify-content: center;
294 margin: 1.2em 0; 293 margin: 1.2rem 0rem;
295 } 294 }
296 295
297 #about 296 main
298 {
299 border:none;
300 background-color: transparent;
301 font-weight: 300;
302 font-family: inherit;
303 }
304
305 #content
306 { 297 {
307 background-color: #FFFFFF; 298 background-color: #FFFFFF;
308 border: 1px solid #CDCDCD; 299 border: 1px solid #CDCDCD;
309 border-radius: 8px; 300 max-width: 46.3rem;
310 max-width: 46.3em; 301 padding: 0px 2rem 1.4rem 2rem;
juliandoucette 2017/08/16 23:42:32 I think that you (or the specifier) may have made
saroyanm 2017/08/18 10:23:12 Yes, you are right this should be "border-box"
saroyanm 2017/08/18 12:44:28 Done.
311 padding: 0px 2em 1.4em 2em; 302 }
312 } 303
313 304 main > div
314 #content h1 305 {
306 display: none;
307 }
308
309 main h1
315 { 310 {
316 border-bottom: 1px solid #CDCDCD; 311 border-bottom: 1px solid #CDCDCD;
317 margin: 0px 0px 24px 0px; 312 margin: 0px 0px 24px 0px;
318 padding: 40px 0px 16px 0px; 313 padding: 40px 0px 16px 0px;
319 }
320
321 #content-wrapper
322 {
323 position: relative;
324 }
325
326 #content-wrapper > div
327 {
328 display: none;
329 } 314 }
330 315
331 body[data-tab|="general"] #content-general, 316 body[data-tab|="general"] #content-general,
332 body[data-tab|="advanced"] #content-advanced, 317 body[data-tab|="advanced"] #content-advanced,
333 body[data-tab|="whitelist"] #content-whitelist, 318 body[data-tab|="whitelist"] #content-whitelist,
334 body[data-tab|="help"] #content-help 319 body[data-tab|="help"] #content-help
335 { 320 {
336 display: block; 321 display: block;
337 } 322 }
338 323
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 { 361 {
377 padding-top: 0px; 362 padding-top: 0px;
378 padding-bottom: 6px; 363 padding-bottom: 6px;
379 } 364 }
380 365
381 .table li.empty-placeholder 366 .table li.empty-placeholder
382 { 367 {
383 background-color: #F5F5F5; 368 background-color: #F5F5F5;
384 } 369 }
385 370
386 .table li [data-single='visible'], 371 .table li [data-single="visible"],
387 .table li:first-child:nth-last-child(2) [data-single='hidden'] 372 .table li:first-of-type:last-of-type [data-single="hidden"]
388 { 373 {
389 display: none; 374 display: none;
390 } 375 }
391 376
392 .table li:first-child:nth-last-child(2) [data-single='visible'] 377 .table li:first-of-type:last-of-type [data-single="visible"]
393 { 378 {
394 display: block; 379 display: block;
395 } 380 }
396 381
397 .table label 382 .table label
398 { 383 {
399 vertical-align: top; 384 vertical-align: top;
400 } 385 }
401 386
402 .table.cols 387 .table.cols
(...skipping 21 matching lines...) Expand all
424 409
425 .table button.delete:hover 410 .table button.delete:hover
426 { 411 {
427 background-position: -61px -51px; 412 background-position: -61px -51px;
428 } 413 }
429 414
430 .icon, 415 .icon,
431 button[role="checkbox"], 416 button[role="checkbox"],
432 #dialog-body .table button[role="checkbox"], 417 #dialog-body .table button[role="checkbox"],
433 .table button.delete, 418 .table button.delete,
434 #content-help a::before,
435 #dialog-close::before, 419 #dialog-close::before,
436 #all-filter-lists-table .arrow, 420 #all-filter-lists-table .arrow,
437 .context-menu .content a::before 421 .context-menu .content a::before
438 { 422 {
439 background-image: url(options-sprite.png); 423 background-image: url(options-sprite.png);
440 display: inline-block; 424 display: inline-block;
441 } 425 }
442 426
443 .icon-add, 427 .icon-add,
444 .icon-update 428 .icon-update
(...skipping 20 matching lines...) Expand all
465 cursor: pointer; 449 cursor: pointer;
466 } 450 }
467 451
468 #dialog-close::before 452 #dialog-close::before
469 { 453 {
470 content: ""; 454 content: "";
471 height: 12px; 455 height: 12px;
472 width: 12px; 456 width: 12px;
473 } 457 }
474 458
475 #content-help a::before 459 #dialog-body button::before
476 { 460 {
477 background-position: 0px -42px; 461 background-position: 0px -42px;
478 content: ""; 462 content: "";
479 cursor: pointer; 463 cursor: pointer;
480 height: 11px; 464 height: 11px;
481 vertical-align: middle; 465 vertical-align: middle;
482 width: 7px; 466 width: 7px;
483 -moz-margin-end: 12px; 467 -moz-margin-end: 12px;
484 -webkit-margin-end: 12px; 468 -webkit-margin-end: 12px;
485 } 469 }
(...skipping 14 matching lines...) Expand all
500 .controls > div 484 .controls > div
501 { 485 {
502 display: flex; 486 display: flex;
503 position: relative; 487 position: relative;
504 } 488 }
505 489
506 .controls button, 490 .controls button,
507 #dialog-close 491 #dialog-close
508 { 492 {
509 display: flex; 493 display: flex;
510 border: none; 494 border: 0px;
511 padding: 0px; 495 padding: 0px;
512 align-items: center; 496 align-items: center;
513 background: none; 497 background: none;
514 cursor: pointer; 498 cursor: pointer;
515 } 499 }
516 500
517 .controls button span:not(.icon) 501 .controls button span:not(.icon)
518 { 502 {
519 -moz-margin-start: 16px; 503 -moz-margin-start: 16px;
520 -webkit-margin-start: 16px; 504 -webkit-margin-start: 16px;
521 color: #3A7BA6; 505 color: #3A7BA6;
522 vertical-align: top; 506 vertical-align: top;
507 }
508
509 /*
510 Used for translatable screen reader only conten.
511 e.g.: Use instead of aria-label to avoid complex attribute value translation
512 */
513 .sr-only
514 {
515 position: absolute;
516 overflow: hidden;
517 clip: rect(0, 0, 0, 0);
518 width: 1px;
519 height: 1px;
520 margin: -1px;
521 padding: 0px;
522 border: 0px;
523 } 523 }
524 524
525 /* 525 /*
526 General tab content 526 General tab content
527 */ 527 */
528 528
529 #blocking-languages-dialog-table 529 #blocking-languages-dialog-table
530 { 530 {
531 border-bottom: none; 531 border-bottom: none;
532 } 532 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 Advanced tab content 596 Advanced tab content
597 */ 597 */
598 598
599 #all-filter-lists-table li.show-message .last-update, 599 #all-filter-lists-table li.show-message .last-update,
600 #all-filter-lists-table li:not(.show-message) .message, 600 #all-filter-lists-table li:not(.show-message) .message,
601 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, 601 #custom-filters:not([data-mode="empty"]) #empty-custom-filters,
602 #custom-filters[data-mode="empty"] #custom-filters-raw, 602 #custom-filters[data-mode="empty"] #custom-filters-raw,
603 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, 603 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls,
604 #custom-filters:not([data-mode="read"]) #custom-filters-edit, 604 #custom-filters:not([data-mode="read"]) #custom-filters-edit,
605 .state span, 605 .state span,
606 #acceptable-ads:not(.show-dnt-notification) #no-dnt 606 #acceptable-ads:not(.show-dnt-notification) #dnt
607 { 607 {
608 display: none; 608 display: none;
609 } 609 }
610 610
611 #all-filter-lists-table 611 #all-filter-lists-table
612 { 612 {
613 display: inline-block; 613 display: inline-block;
614 } 614 }
615 615
616 #all-filter-lists-table 616 #all-filter-lists-table
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 830
831 div.context-menu > div a::before 831 div.context-menu > div a::before
832 { 832 {
833 vertical-align: middle; 833 vertical-align: middle;
834 height: 16px; 834 height: 16px;
835 width: 16px; 835 width: 16px;
836 } 836 }
837 837
838 div.context-menu > div a:last-child 838 div.context-menu > div a:last-child
839 { 839 {
840 border: none; 840 border: 0px;
841 } 841 }
842 842
843 .context-menu .update-subscription::before 843 .context-menu .update-subscription::before
844 { 844 {
845 background-position: -38px -31px; 845 background-position: -38px -31px;
846 } 846 }
847 847
848 .context-menu .website::before 848 .context-menu .website::before
849 { 849 {
850 background-position: -33px -47px; 850 background-position: -33px -47px;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 897
898 div[role="tooltip"] .notes p 898 div[role="tooltip"] .notes p
899 { 899 {
900 font-weight: 300; 900 font-weight: 300;
901 } 901 }
902 902
903 /* 903 /*
904 Help tab content 904 Help tab content
905 */ 905 */
906 906
907 #content-help 907 html:not([lang="zh"]) #social-chinese,
908 { 908 html[lang="zh"] #social-general
909 counter-reset: section; 909 {
910 } 910 display: none;
911 911 }
912 #content-help h1::before 912
913 { 913 #social ul
914 counter-increment: section; 914 {
915 content: counter(section) ". "; 915 list-style: none;
916 } 916 }
917 917
918 #content-help a 918 #social ul li
919 { 919 {
920 color: #3A7BA6;
921 display: inline-block; 920 display: inline-block;
922 text-decoration: none; 921 }
923 -moz-margin-end: 16px; 922
924 -webkit-margin-end: 16px; 923 #social ul li a
925 vertical-align: top; 924 {
926 } 925 display: block;
927 926 text-align: center;
928 #content-help a::before 927 }
929 { 928
930 -moz-margin-end: 6px; 929 #social ul li a::before
931 -webkit-margin-end: 6px; 930 {
932 } 931 display: block;
933 932 margin: 0em auto;
934 #share-general:lang(zh), 933 width: 2.5rem;
935 #share-chinese:not(zh) 934 height: 2.5rem;
936 { 935 content: "";
937 display: none; 936 background-color: #099DD1;
937 }
938
939 #twitter::before
940 {
941 -webkit-mask: url("social/twitter.svg");
942 mask: url("social/twitter.svg");
943 }
944
945 #facebook::before
946 {
947 -webkit-mask: url("social/facebook.svg");
948 mask: url("social/facebook.svg");
949 }
950
951 #google-plus::before
952 {
953 -webkit-mask: url("social/googleplus.svg");
954 mask: url("social/googleplus.svg");
938 } 955 }
939 956
940 /* 957 /*
941 Dialog 958 Dialog
942 */ 959 */
943 960
944 #dialog-background 961 #dialog-background
945 { 962 {
946 display: none; 963 display: none;
947 position: fixed; 964 position: fixed;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 margin-top: 10px; 1071 margin-top: 10px;
1055 margin-bottom: 20px; 1072 margin-bottom: 20px;
1056 word-wrap: break-word; 1073 word-wrap: break-word;
1057 } 1074 }
1058 1075
1059 body:not([data-dialog="about"]) #dialog-title-about, 1076 body:not([data-dialog="about"]) #dialog-title-about,
1060 body:not([data-dialog="about"]) #dialog-content-about, 1077 body:not([data-dialog="about"]) #dialog-content-about,
1061 body:not([data-dialog="custom"]) #dialog-title-custom, 1078 body:not([data-dialog="custom"]) #dialog-title-custom,
1062 body:not([data-dialog="custom"]) #dialog-content-custom, 1079 body:not([data-dialog="custom"]) #dialog-content-custom,
1063 body:not([data-dialog="language-add"]) #dialog-title-language-add, 1080 body:not([data-dialog="language-add"]) #dialog-title-language-add,
1064 body:not([data-dialog="language-add"]) #dialog-content-language-add,
1065 body:not([data-dialog="language-change"]) #dialog-title-language-change, 1081 body:not([data-dialog="language-change"]) #dialog-title-language-change,
1066 body:not([data-dialog="language-change"]) #dialog-content-language-change, 1082 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add,
1083 body:not([data-dialog="language-add"]) #dialog-body button.add,
1084 body:not([data-dialog="language-change"]) #dialog-body button.change,
1067 body:not([data-dialog="predefined"]) #dialog-title-predefined, 1085 body:not([data-dialog="predefined"]) #dialog-title-predefined,
1068 body:not([data-dialog="predefined"]) #dialog-content-predefined, 1086 body:not([data-dialog="predefined"]) #dialog-content-predefined,
1069 body:not([data-dialog]) #dialog 1087 body:not([data-dialog]) #dialog
1070 { 1088 {
1071 display: none; 1089 display: none;
1072 } 1090 }
1091
1092 /*
1093 Notification
1094 */
1095
1096 #notification
1097 {
1098 position: fixed;
1099 top: 0rem;
1100 left: 0rem;
1101 display: flex;
1102 padding: 1rem 1.9rem;
1103 width: 100%;
1104 box-sizing: border-box;
1105 opacity: 0.8;
1106 font-size: 1rem;
1107 color: #099CD0;
1108 background-color: #E1F2FA;
1109 }
1110
1111 #notification strong
1112 {
1113 flex: 1;
1114 text-align: center;
1115 }
1116
1117 #hide-notification
1118 {
1119 border: 0rem;
1120 padding: 0rem;
1121 margin: 0rem 1rem;
1122 background-color: transparent;
1123 cursor: pointer;
1124 }
1125
1126 #hide-notification::after
1127 {
1128 content: "";
1129 display: block;
1130 height: 1rem;
1131 width: 1rem;
1132 border: 0rem;
1133 background-color: #099DD1;
1134 -webkit-mask: url(delete.svg);
1135 mask: url(delete.svg);
1136 }
1137
1138 #hide-notification:hover::after
1139 {
1140 background-color: #5CBCE1;
1141 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld