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

Side by Side Diff: chrome/browser/resources/shared/css/list.css

Issue 10837190: Standardize size of WebUI controls for touch and non-touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix position of favicon. Tighten up margins and padding. Created 8 years, 4 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
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 list, 5 list,
6 grid { 6 grid {
7 display: block; 7 display: block;
8 outline: none; 8 outline: none;
9 overflow: auto; 9 overflow: auto;
10 position: relative; /* Make sure that item offsets are relative to the 10 position: relative; /* Make sure that item offsets are relative to the
11 list. */ 11 list. */
12 } 12 }
13 13
14 list > *, 14 list > *,
15 grid > * { 15 grid > * {
16 -webkit-user-select: none; 16 -webkit-user-select: none;
17 background-color: rgba(255, 255, 255, 0); 17 background-color: rgba(255, 255, 255, 0);
18 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */ 18 border: 1px solid rgba(255, 255, 255, 0); /* transparent white */
19 border-radius: 2px; 19 border-radius: 2px;
20 cursor: default; 20 cursor: default;
21 line-height: 20px; 21 line-height: 28px;
22 margin: -1px 0; 22 margin: -1px 0;
23 overflow: hidden; 23 overflow: hidden;
24 padding: 0 3px; 24 padding: 0 3px;
25 position: relative; /* to allow overlap */ 25 position: relative; /* to allow overlap */
26 text-overflow: ellipsis; 26 text-overflow: ellipsis;
27 white-space: pre; 27 white-space: pre;
28 } 28 }
29 29
30 list > * { 30 list > * {
31 display: block; 31 display: block;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 list > .spacer, 84 list > .spacer,
85 grid > .spacer { 85 grid > .spacer {
86 border: 0; 86 border: 0;
87 box-sizing: border-box; 87 box-sizing: border-box;
88 display: block; 88 display: block;
89 margin: 0; 89 margin: 0;
90 overflow: hidden; 90 overflow: hidden;
91 visibility: hidden; 91 visibility: hidden;
92 } 92 }
93 93
94 list :-webkit-any(
95 input[type='input'],
96 input[type='password'],
97 input[type='search'],
98 input[type='text'],
99 input[type='url']),
100 list :-webkit-any(
101 button,
102 input[type='button'],
103 input[type='submit'],
104 select):not(.custom-appearance):not(.link-button) {
105 line-height: normal;
106 margin: 0;
107 vertical-align: middle;
108 }
109
94 list > [hidden], 110 list > [hidden],
95 grid > [hidden] { 111 grid > [hidden] {
96 display: none; 112 display: none;
97 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698