OLD | NEW |
---|---|
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 body { | 4 body { |
5 background-attachment: fixed !important; | 5 background-attachment: fixed !important; |
6 background-color: white; | 6 background-color: white; |
7 cursor: default; | 7 cursor: default; |
8 font-family: arial, sans-serif; | 8 font-family: arial, sans-serif; |
9 font-size: small; | 9 font-size: small; |
10 margin: 0; | 10 margin: 0; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
297 /* Styling border. */ | 297 /* Styling border. */ |
298 .classical .mv-page-ready .mv-mask { | 298 .classical .mv-page-ready .mv-mask { |
299 border-style: solid; | 299 border-style: solid; |
300 } | 300 } |
301 | 301 |
302 .default-theme.classical .mv-page-ready .mv-mask { | 302 .default-theme.classical .mv-page-ready .mv-mask { |
303 border-color: #c0c0c0; | 303 border-color: #c0c0c0; |
304 } | 304 } |
305 | 305 |
306 .default-theme.classical .mv-page-ready:hover .mv-mask, | 306 .default-theme.classical .mv-page-ready:hover .mv-mask, |
307 .default-theme.classical .mv-page-ready:focus .mv-mask { | 307 .default-theme.classical .mv-focused ~ .mv-mask { |
huangs
2014/09/11 20:31:41
Would
.mv-page-ready .mv-focused
work?
Mathieu
2014/09/11 20:54:10
Done.
| |
308 border-color: #7f7f7f; | 308 border-color: #7f7f7f; |
309 } | 309 } |
310 | 310 |
311 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask, | 311 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask, |
312 .default-theme.md.old-hover .mv-page-ready:focus .mv-mask { | 312 .default-theme.md.old-hover .mv-focused ~ .mv-mask { |
313 border-color: #999; | 313 border-color: #999; |
314 } | 314 } |
315 | 315 |
316 .default-theme.md.dark .mv-page-ready:hover .mv-mask, | 316 .default-theme.md.dark .mv-page-ready:hover .mv-mask, |
317 .default-theme.md.dark .mv-page-ready:focus .mv-mask, | 317 .default-theme.md.dark .mv-focused ~ .mv-mask, |
318 .default-theme.md.old-hover.dark .mv-page-ready:hover .mv-mask { | 318 .default-theme.md.old-hover.dark .mv-page-ready:hover .mv-mask, |
319 .default-theme.md.old-hover.dark .mv-focused ~ .mv-mask { | |
319 border-color: #888; | 320 border-color: #888; |
320 } | 321 } |
321 | 322 |
322 /* Styling shadow. */ | 323 /* Styling shadow. */ |
323 .default-theme.md .mv-page-ready .mv-mask { | 324 .default-theme.md .mv-page-ready .mv-mask { |
324 -webkit-transition: box-shadow 200ms, border 200ms; | 325 -webkit-transition: box-shadow 200ms, border 200ms; |
325 } | 326 } |
326 .default-theme.md .mv-page-ready:hover .mv-mask { | 327 |
328 .default-theme.md .mv-page-ready:hover .mv-mask, | |
329 .default-theme.md .mv-focused ~ .mv-mask { | |
327 box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1), 0 4px 8px 0 rgba(0,0,0,0.2); | 330 box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1), 0 4px 8px 0 rgba(0,0,0,0.2); |
328 } | 331 } |
329 | 332 |
330 .default-theme..md.dark .mv-page-ready:hover .mv-mask, | 333 .default-theme.md.dark .mv-page-ready:hover .mv-mask, |
331 .default-theme..md.old-hover .mv-page-ready:hover .mv-mask { | 334 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask { |
332 box-shadow: none; | 335 box-shadow: none; |
333 } | 336 } |
334 | 337 |
335 /* Styling background. */ | 338 /* Styling background. */ |
336 .classical .mv-page:focus .mv-mask { | 339 .classical .mv-focused ~ .mv-mask { |
huangs
2014/09/11 20:31:41
I'd prefer .mv-page .mv-focused ~
for consistency
Mathieu
2014/09/11 20:54:10
Done.
| |
337 -webkit-transition: background-color 100ms ease-in-out; | 340 -webkit-transition: background-color 100ms ease-in-out; |
338 background: linear-gradient(rgba(255, 255, 255, 0), | 341 background: linear-gradient(rgba(255, 255, 255, 0), |
339 rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9)); | 342 rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9)); |
340 background-color: rgba(0, 0, 0, 0.35); | 343 background-color: rgba(0, 0, 0, 0.35); |
341 } | 344 } |
342 | 345 |
343 .md .mv-page:focus .mv-mask { | 346 .md .mv-focused ~ .mv-mask { |
344 -webkit-transition: box-shadow 200ms, border 200ms, | 347 -webkit-transition: box-shadow 200ms, border 200ms, |
345 background-color 100ms ease-in-out; | 348 background-color 100ms ease-in-out; |
346 background: rgba(0, 0, 0, 0.3); | 349 background: rgba(0, 0, 0, 0.3); |
347 border-color: rgba(0, 0, 0, 0.3); | 350 border-color: rgba(0, 0, 0, 0.3); |
348 } | 351 } |
349 | 352 |
350 .mv-title { | 353 .mv-title { |
351 border: none; | 354 border: none; |
352 position: absolute; | 355 position: absolute; |
353 } | 356 } |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
689 opacity: 0.9; | 692 opacity: 0.9; |
690 padding: 3px; | 693 padding: 3px; |
691 position: fixed; | 694 position: fixed; |
692 right: 8px; | 695 right: 8px; |
693 } | 696 } |
694 | 697 |
695 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs { | 698 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs { |
696 left: 8px; | 699 left: 8px; |
697 right: auto; | 700 right: auto; |
698 } | 701 } |
OLD | NEW |