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

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

Issue 10444043: rename chrome_shared2.css to chrome_shared.css (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
(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 /* NB: do not include this file directly. Include chrome_shared2.css. If touch
6 * optimization is enabled, these rules will be automatically loaded by the
7 * SharedResourceDataSource. */
8
9 <include src="chrome_shared2.css">
10
11 input[type='input'],
12 input[type='password'],
13 input[type='search'],
14 input[type='text'],
15 input[type='url'] {
16 padding-bottom: 7px;
17 padding-top: 6px;
18 }
19
20 /* Margins are not touchable. Use padding on the inner label instead to
21 increase the size of the touch target. */
22 .checkbox,
23 .radio {
24 margin: 0;
25 }
26
27 .checkbox label,
28 .radio label {
29 padding-bottom: 7px;
30 padding-top: 7px;
31 }
32
33 li > button.link-button {
34 padding-bottom: 8px;
35 padding-top: 8px;
36 }
37
38 button:not(.custom-appearance):not(.link-button),
39 input[type=button]:not(.custom-appearance),
40 input[type=submit]:not(.custom-appearance),
41 select {
42 margin-bottom: 6px;
43 margin-top: 6px;
44 padding-bottom: 7px;
45 padding-top: 6px;
46 }
47
48 html[touch-optimized] .tree-item > .tree-row {
49 padding: 4px 3px;
50 }
51
52 list input[type='input'],
53 list input[type='password'],
54 list input[type='search'],
55 list input[type='text'],
56 list input[type='url'] {
57 margin: 0;
58 padding: 3px 3px 2px 3px;
59 }
60
61 list button:not(.custom-appearance):not(.link-button),
62 list input[type=button]:not(.custom-appearance),
63 list input[type=submit]:not(.custom-appearance),
64 list select {
65 margin: 0;
66 padding-bottom: 0;
67 padding-top: 3px;
68 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/shared/css/chrome_shared2.css ('k') | chrome/browser/resources/shared/css/chrome_shared_touch.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698