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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_section.css

Issue 1241363002: Settings Rewrite: Make a common settings-section component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0300-webui-settings-structure
Patch Set: Created 5 years, 5 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
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * Common styles for Settings pages. 7 * Common styles for Settings pages.
8 */ 8 */
9 :host > paper-material { 9 :host > paper-material {
10 -webkit-padding-start: 80px; 10 @apply(--shadow-elevation-4dp);
11 background-color: white; 11 background-color: white;
12 display: flex; 12 margin: 16px;
13 flex-direction: column; 13 width: 605px;
14 padding: 40px; 14 }
15
16 .header {
17 @apply(--layout-horizontal);
18 @apply(--layout-center);
19 background-color: #f8f8f8;
20 border-bottom: 1px solid rgba(0, 0, 0, .1);
21 padding: 16px;
22 }
23
24 .header iron-icon {
25 color: rgba(0, 0, 0, .87);
26 padding-right: 16px;
Dan Beam 2015/07/23 18:33:08 -webkit-padding-end
tommycli 2015/07/23 19:00:43 Done.
27 }
28
29 .header .title {
30 @apply(--paper-font-body2);
31 }
32
33 div.content-container {
34 padding: 16px;
15 } 35 }
16 36
17 .soft-border { 37 .soft-border {
michaelpg 2015/07/23 18:21:17 unused (used in settings_page.css)
tommycli 2015/07/23 19:00:43 Done.
18 border: 1px solid #c4c4c4; 38 border: 1px solid #c4c4c4;
19 border-radius: 2px; 39 border-radius: 2px;
20 } 40 }
21 41
22 .page-content { 42 .page-content {
michaelpg 2015/07/23 18:21:17 unused (used in settings_page.css)
tommycli 2015/07/23 19:00:43 Done.
23 width: 760px; 43 width: 760px;
24 } 44 }
25
26 cr-settings-page-header {
27 margin-bottom: 30px;
28 min-height: 24px;
29 }
30
31 cr-settings-checkbox {
32 -webkit-margin-end: 10px;
33 -webkit-margin-start: 0;
34 margin-bottom: 10px;
35 margin-top: 10px;
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698