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

Unified Diff: chrome/browser/resources/settings/settings_shared_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
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 3accd4552d330915b05df11b51d5523a6782ea8a..2ffb8abfd7fdca4f0c1df79b92988d0d6967dba3 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -1,50 +1,9 @@
+<link rel="import" href="/settings_root_css.html">
+
<!-- Common styles for Material Design settings. -->
<dom-module id="settings-shared">
<template>
<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);
- }
-
h2 {
@apply(--layout-center);
display: flex;
@@ -132,7 +91,7 @@
--paper-radio-button-unchecked-color: var(--paper-grey-600);
-webkit-margin-start: 2px;
display: flex;
- min-height: 40px;
+ min-height: var(--settings-row-min-height);
}
paper-radio-group {
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698