| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 | 4 |
| 5 body.uber-frame { | 5 body.uber-frame { |
| 6 -webkit-margin-start: 155px; | 6 -webkit-margin-start: 155px; |
| 7 color: rgb(48, 57, 66); | 7 color: rgb(48, 57, 66); |
| 8 } | 8 } |
| 9 | 9 |
| 10 html[dir='rtl'] body.uber-frame { | 10 html[dir='rtl'] body.uber-frame { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 } | 108 } |
| 109 | 109 |
| 110 body.uber-frame section:last-of-type { | 110 body.uber-frame section:last-of-type { |
| 111 margin-bottom: 0; | 111 margin-bottom: 0; |
| 112 } | 112 } |
| 113 | 113 |
| 114 body.uber-frame section > h3 { | 114 body.uber-frame section > h3 { |
| 115 -webkit-margin-start: -18px; | 115 -webkit-margin-start: -18px; |
| 116 } | 116 } |
| 117 | 117 |
| 118 @media(pointer:coarse) { | |
| 119 /* TODO(kevers): Remove the extra padding once the following bug is fixed: | |
| 120 * https://bugs.webkit.org/show_bug.cgi?id=95204 | |
| 121 * In the interim, the added padding makes it less likely that a touch will | |
| 122 * span the boundary of the navigation bar, which results in poor touch | |
| 123 * adjustments. */ | |
| 124 body.uber-frame section { | |
| 125 -webkit-padding-start: 28px; | |
| 126 } | |
| 127 body.uber-frame section > h3 { | |
| 128 -webkit-margin-start: -28px; | |
| 129 } | |
| 130 } | |
| 131 | |
| 132 body.uber-frame section > div:only-of-type { | 118 body.uber-frame section > div:only-of-type { |
| 133 -webkit-box-flex: 1; | 119 -webkit-box-flex: 1; |
| 134 } | 120 } |
| 135 | 121 |
| 122 body.uber-frame .section-header { |
| 123 -webkit-margin-start: -18px; |
| 124 margin-bottom: 0.8em; |
| 125 margin-top: 1.2em; |
| 126 } |
| 127 |
| 128 body.uber-frame .section-header > h3 { |
| 129 display: inline; |
| 130 } |
| 131 |
| 136 /* Styles for a hideable notification banner at the top of a page. */ | 132 /* Styles for a hideable notification banner at the top of a page. */ |
| 137 .page.showing-banner { | 133 .page.showing-banner { |
| 138 margin-top: 45px; | 134 margin-top: 45px; |
| 139 } | 135 } |
| 140 | 136 |
| 141 .page-banner { | 137 .page-banner { |
| 142 background-color: white; | 138 background-color: white; |
| 143 width: 100%; | 139 width: 100%; |
| 144 z-index: 2; | 140 z-index: 2; |
| 145 } | 141 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 172 background-size: 16px; | 168 background-size: 16px; |
| 173 display: block; | 169 display: block; |
| 174 padding-bottom: 8px; | 170 padding-bottom: 8px; |
| 175 padding-top: 8px; | 171 padding-top: 8px; |
| 176 } | 172 } |
| 177 | 173 |
| 178 .page-banner.clickable:active .page-banner-text { | 174 .page-banner.clickable:active .page-banner-text { |
| 179 background: -webkit-linear-gradient(rgb(250, 230, 145), | 175 background: -webkit-linear-gradient(rgb(250, 230, 145), |
| 180 rgb(255, 242, 183)); | 176 rgb(255, 242, 183)); |
| 181 } | 177 } |
| OLD | NEW |