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

Unified Diff: chrome/browser/resources/settings/settings_root_css.html

Issue 2009783003: [MD settings] move root css vars; increase checkbox and h2 row-height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master Created 4 years, 7 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_root_css.html
diff --git a/chrome/browser/resources/settings/settings_root_css.html b/chrome/browser/resources/settings/settings_root_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..b377807ec394648d22079d84eca4d2d4b4758556
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_root_css.html
@@ -0,0 +1,45 @@
+<!-- Common css variables for Material Design settings. -->
+<style is="custom-style">
+ :root {
+ --checkbox-margin-start: 2px;
+ --checkbox-size: 16px;
+ --checkbox-spacing: 18px;
+ --iron-icon-fill-color: var(--paper-grey-600);
+ --iron-icon-height: 20px;
+ --iron-icon-spacing: 16px;
+ --iron-icon-width: 20px;
+ --paper-checkbox-label-color: inherit;
+ --paper-dialog-color: inherit;
+ --paper-icon-button: {
+ width: 36px;
+ height: 36px;
+ };
+ --paper-input-max-width: 264px;
+ --paper-item: {
+ font-size: inherit;
+ };
+ --paper-radio-button-label-color: inherit;
+ --paper-radio-group-item-padding: 0;
+
+ /* Custom grey for Alan (bettes@). */
+ --settings-background-color: rgb(241, 241, 241);
+ --settings-secondary: {
+ color: var(--paper-grey-600);
+ font-weight: 400;
+ margin-top: 4px;
+ };
+ --settings-error-color: var(--paper-red-700);
+ --settings-hover-color: var(--google-grey-300);
+
+ /* Some colors use non-MD colors. These custom colors are specified by
+ * UX design (bettes@). */
+ --settings-nav-grey: rgb(90, 90, 90);
+
+ --settings-row-min-height: 44px;
+ --settings-separator-line: 1px solid rgba(0, 0, 0, 0.06);
+
+ --settings-title-bar-background-color: var(--google-blue-700);
+ --settings-title-bar-color: rgb(255, 255, 255);
+ --settings-title-search-color: rgb(192, 199, 205);
+ }
+</style>
« no previous file with comments | « chrome/browser/resources/settings/settings_resources.grd ('k') | chrome/browser/resources/settings/settings_shared_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698