OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ |
| 4 |
| 5 /* ========================================================================= |
| 6 TODO(pedrosimonetti): Work around. The following rules are being used |
| 7 to temporarily hide elements we are not using, and reset the styling |
| 8 according to the new specification. |
| 9 ========================================================================= */ |
| 10 |
| 11 #ntp5 #card-slider-frame { |
| 12 bottom: 0; |
| 13 position: absolute; |
| 14 top: inherit; |
| 15 } |
| 16 |
| 17 #ntp5 .dot .selection-bar, |
| 18 #ntp5 .tile-page-scrollbar, |
| 19 #ntp5 .top-margin, |
| 20 #ntp5 #footer, |
| 21 #ntp5 #page-switcher-start, |
| 22 #ntp5 #page-switcher-end { |
| 23 display: none; |
| 24 } |
| 25 |
| 26 #ntp5 .tile-page { |
| 27 display: block; |
| 28 } |
| 29 |
| 30 #ntp5 #dot-list { |
| 31 display: inline-block; |
| 32 margin: 0 auto; |
| 33 } |
| 34 |
| 35 #ntp5 .dot { |
| 36 display: inline-block; |
| 37 max-width: 119px; |
| 38 } |
| 39 |
| 40 #ntp5 .dot input { |
| 41 color: #666; |
| 42 font-size: 1.1667em; |
| 43 font-weight: normal; |
| 44 text-align: center; |
| 45 } |
| 46 |
| 47 #ntp5 #dot-list .dot.selected input { |
| 48 color: rgb(221, 75, 57); |
| 49 } |
| 50 |
| 51 #ntp5 #page-list { |
| 52 margin-top: 0; |
| 53 padding-bottom: 0; |
| 54 } |
| 55 |
| 56 #ntp5 .thumbnail-image { |
| 57 border-radius: 2px; |
| 58 opacity: 1; |
| 59 } |
| 60 |
| 61 #ntp5 .tile-page-content { |
| 62 padding: 0; |
| 63 } |
| 64 |
| 65 #ntp5 #notification-container { |
| 66 bottom: inherit; |
| 67 } |
| 68 |
| 69 body.bare-minimum#ntp5 #dot-list { |
| 70 visibility: visible; |
| 71 } |
| 72 |
| 73 /* ========================================================================= |
| 74 End of work around |
| 75 ========================================================================= */ |
| 76 |
| 77 /* ----------------------------------------------------------------------------- |
| 78 Debug |
| 79 ----------------------------------------------------------------------------- */ |
| 80 |
| 81 .debug #card-slider-frame { |
| 82 bottom: 0; |
| 83 height: 95%; |
| 84 position: absolute; |
| 85 text-align: center; |
| 86 width: 100%; |
| 87 } |
| 88 |
| 89 .debug #page-list { |
| 90 height: 100% !important; |
| 91 } |
| 92 |
| 93 .debug .animate-tile .tile-cell { |
| 94 -webkit-transition: all 201ms ease-in-out; |
| 95 } |
| 96 |
| 97 .debug #page-list-menu { |
| 98 background: rgb(255, 170, 255); |
| 99 } |
| 100 |
| 101 .debug .tile-page-content { |
| 102 background: rgb(119, 255, 255); |
| 103 } |
| 104 |
| 105 .debug .tile-row { |
| 106 background: rgb(255, 255, 119); |
| 107 } |
| 108 |
| 109 .debug .hide-row { |
| 110 opacity: 0.35; |
| 111 } |
| 112 |
| 113 .debug .hide-col-0 .tile-col-0, |
| 114 .debug .hide-col-1 .tile-col-1, |
| 115 .debug .hide-col-2 .tile-col-2, |
| 116 .debug .hide-col-3 .tile-col-3, |
| 117 .debug .hide-col-4 .tile-col-4, |
| 118 .debug .hide-col-5 .tile-col-5, |
| 119 .debug .hide-col-6 .tile-col-6, |
| 120 .debug .hide-col-7 .tile-col-7, |
| 121 .debug .hide-col-8 .tile-col-8, |
| 122 .debug .hide-col-9 .tile-col-9 { |
| 123 background-color: lightgray; |
| 124 } |
OLD | NEW |