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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_page/settings_section.css
diff --git a/chrome/browser/resources/settings/settings_page/settings_section.css b/chrome/browser/resources/settings/settings_page/settings_section.css
new file mode 100644
index 0000000000000000000000000000000000000000..ffe55fd48f26d39b47fa912e487c0028591e2d0e
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_page/settings_section.css
@@ -0,0 +1,35 @@
+/* Copyright 2015 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/**
+ * @fileoverview
+ * Common styles for Settings pages.
+ */
+:host > paper-material {
+ @apply(--shadow-elevation-4dp);
+ background-color: white;
+ margin: 16px;
+ width: 605px;
+}
+
+.header {
+ @apply(--layout-horizontal);
+ @apply(--layout-center);
+ background-color: #f8f8f8;
+ border-bottom: 1px solid rgba(0, 0, 0, .1);
+ padding: 16px;
+}
+
+.header iron-icon {
+ -webkit-padding-end: 16px;
+ color: rgba(0, 0, 0, .87);
+}
+
+.header .title {
+ @apply(--paper-font-body2);
+}
+
+div.content-container {
+ padding: 16px;
+}

Powered by Google App Engine
This is Rietveld 408576698