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

Side by Side Diff: chrome/browser/resources/uber/uber_shared.css

Issue 10910315: Increase section indent when using touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Consolidate touch specific rules and add TODO for their removal. Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 body.uber-frame section:last-of-type { 108 body.uber-frame section:last-of-type {
109 margin-bottom: 0; 109 margin-bottom: 0;
110 } 110 }
111 111
112 body.uber-frame section > h3 { 112 body.uber-frame section > h3 {
113 -webkit-margin-start: -18px; 113 -webkit-margin-start: -18px;
114 } 114 }
115 115
116 @media(pointer:coarse) {
117 /* TODO(kevers): Remove the extra padding once the following bug is fixed:
118 * https://bugs.webkit.org/show_bug.cgi?id=95204
119 * In the interim, the added padding makes it less likely that a touch will
120 * span the boundary of the navigation bar, which results in poor touch
121 * adjustments. */
122 body.uber-frame section {
123 -webkit-padding-start: 28px;
124 }
125 body.uber-frame section > h3 {
126 -webkit-margin-start: -28px;
127 }
128 }
129
116 body.uber-frame section > div:only-of-type { 130 body.uber-frame section > div:only-of-type {
117 -webkit-box-flex: 1; 131 -webkit-box-flex: 1;
118 } 132 }
119 133
120 /* Styles for a hideable notification banner at the top of a page. 134 /* Styles for a hideable notification banner at the top of a page.
121 * See the Options page .managed-prefs-banner for a usage example. */ 135 * See the Options page .managed-prefs-banner for a usage example. */
122 .page.showing-banner { 136 .page.showing-banner {
123 margin-top: 45px; 137 margin-top: 45px;
124 } 138 }
125 139
(...skipping 29 matching lines...) Expand all
155 background-size: 16px; 169 background-size: 16px;
156 display: block; 170 display: block;
157 line-height: 24px; 171 line-height: 24px;
158 padding-left: 26px; 172 padding-left: 26px;
159 } 173 }
160 174
161 .page-banner.clickable:active .page-banner-text { 175 .page-banner.clickable:active .page-banner-text {
162 background: -webkit-linear-gradient(rgb(250, 230, 145), 176 background: -webkit-linear-gradient(rgb(250, 230, 145),
163 rgb(255, 242, 183)); 177 rgb(255, 242, 183));
164 } 178 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698