Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1127)

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.css

Issue 544293002: [New Tab Page] Change which elements get focused during tab ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/local_ntp.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 /* Styling border. */ 289 /* Styling border. */
290 .classical .mv-page-ready .mv-mask { 290 .classical .mv-page-ready .mv-mask {
291 border-style: solid; 291 border-style: solid;
292 } 292 }
293 293
294 .default-theme.classical .mv-page-ready .mv-mask { 294 .default-theme.classical .mv-page-ready .mv-mask {
295 border-color: #c0c0c0; 295 border-color: #c0c0c0;
296 } 296 }
297 297
298 .default-theme.classical .mv-page-ready:hover .mv-mask, 298 .default-theme.classical .mv-page-ready:hover .mv-mask,
299 .default-theme.classical .mv-page-ready:focus .mv-mask { 299 .default-theme.classical .mv-page-ready .mv-focused ~ .mv-mask {
300 border-color: #7f7f7f; 300 border-color: #7f7f7f;
301 } 301 }
302 302
303 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask, 303 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask,
304 .default-theme.md.old-hover .mv-page-ready:focus .mv-mask { 304 .default-theme.md.old-hover .mv-page-ready .mv-focused ~ .mv-mask {
305 border-color: #999; 305 border-color: #999;
306 } 306 }
307 307
308 .default-theme.md.dark .mv-page-ready:hover .mv-mask, 308 .default-theme.md.dark .mv-page-ready:hover .mv-mask,
309 .default-theme.md.dark .mv-page-ready:focus .mv-mask, 309 .default-theme.md.dark .mv-page-ready .mv-focused ~ .mv-mask,
310 .default-theme.md.old-hover.dark .mv-page-ready:hover .mv-mask { 310 .default-theme.md.old-hover.dark .mv-page-ready:hover .mv-mask,
311 .default-theme.md.old-hover.dark .mv-page-ready .mv-focused ~ .mv-mask {
311 border-color: #888; 312 border-color: #888;
312 } 313 }
313 314
314 /* Styling shadow. */ 315 /* Styling shadow. */
315 .default-theme.md .mv-page-ready .mv-mask { 316 .default-theme.md .mv-page-ready .mv-mask {
316 -webkit-transition: box-shadow 200ms, border 200ms; 317 -webkit-transition: box-shadow 200ms, border 200ms;
317 } 318 }
318 .default-theme.md .mv-page-ready:hover .mv-mask { 319
320 .default-theme.md .mv-page-ready:hover .mv-mask,
321 .default-theme.md .mv-page-ready .mv-focused ~ .mv-mask {
319 box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1), 0 4px 8px 0 rgba(0,0,0,0.2); 322 box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1), 0 4px 8px 0 rgba(0,0,0,0.2);
320 } 323 }
321 324
322 .default-theme..md.dark .mv-page-ready:hover .mv-mask, 325 .default-theme.md.dark .mv-page-ready:hover .mv-mask,
323 .default-theme..md.old-hover .mv-page-ready:hover .mv-mask { 326 .default-theme.md.old-hover .mv-page-ready:hover .mv-mask {
324 box-shadow: none; 327 box-shadow: none;
325 } 328 }
326 329
327 /* Styling background. */ 330 /* Styling background. */
328 .classical .mv-page:focus .mv-mask { 331 .classical .mv-page .mv-focused ~ .mv-mask {
329 -webkit-transition: background-color 100ms ease-in-out; 332 -webkit-transition: background-color 100ms ease-in-out;
330 background: linear-gradient(rgba(255, 255, 255, 0), 333 background: linear-gradient(rgba(255, 255, 255, 0),
331 rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9)); 334 rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9));
332 background-color: rgba(0, 0, 0, 0.35); 335 background-color: rgba(0, 0, 0, 0.35);
333 } 336 }
334 337
335 .md .mv-page:focus .mv-mask { 338 .md .mv-page .mv-focused ~ .mv-mask {
336 -webkit-transition: box-shadow 200ms, border 200ms, 339 -webkit-transition: box-shadow 200ms, border 200ms,
337 background-color 100ms ease-in-out; 340 background-color 100ms ease-in-out;
338 background: rgba(0, 0, 0, 0.3); 341 background: rgba(0, 0, 0, 0.3);
339 border-color: rgba(0, 0, 0, 0.3); 342 border-color: rgba(0, 0, 0, 0.3);
340 } 343 }
341 344
342 .mv-title { 345 .mv-title {
343 border: none; 346 border: none;
344 position: absolute; 347 position: absolute;
345 } 348 }
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 opacity: 0.9; 684 opacity: 0.9;
682 padding: 3px; 685 padding: 3px;
683 position: fixed; 686 position: fixed;
684 right: 8px; 687 right: 8px;
685 } 688 }
686 689
687 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs { 690 body[dir=rtl] #attribution,body[dir=rtl] #recent-tabs {
688 left: 8px; 691 left: 8px;
689 right: auto; 692 right: auto;
690 } 693 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/local_ntp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698