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

Unified Diff: chrome/browser/resources/md_user_manager/shared_styles.html

Issue 1940923003: MD User Manager: Refactoring CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-design-change
Patch Set: rebase Created 4 years, 8 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/md_user_manager/shared_styles.html
diff --git a/chrome/browser/resources/md_user_manager/shared_styles.html b/chrome/browser/resources/md_user_manager/shared_styles.html
index 28ab1f42621bfc93ff81e5d3a492127297feb9a5..5878d96f01af7c82ac9eb59044e8affa22eeb5ff 100644
--- a/chrome/browser/resources/md_user_manager/shared_styles.html
+++ b/chrome/browser/resources/md_user_manager/shared_styles.html
@@ -1,10 +1,59 @@
<dom-module id="shared-styles">
<template>
<style>
- a {
+ :root {
+ --main-text-color: var(--paper-grey-800);
+ --page-width: 624px;
+ --title-icon-color: var(--paper-grey-500);
+ }
+
+ a,
+ a:active,
+ a:hover,
+ a:visited {
color: var(--google-blue-700);
+ cursor: pointer;
text-decoration: none;
}
+
+ paper-button.action {
+ border-radius: 2px;
+ line-height: 32px;
+ margin: 0;
+ min-width: 52px;
+ padding: 0 16px;
+ }
+
+ paper-button.action.primary {
+ --paper-button: {
+ background: var(--google-blue-500);
+ color: white;
+ font-weight: 500;
+ };
+ --paper-button-flat-keyboard-focus: {
+ background: rgb(58, 117, 215);
+ font-weight: 500;
+ };
+ --paper-button-disabled: {
+ background: rgba(66, 133, 244, .5);
+ color: white;
+ };
+ }
+
+ paper-button.action.secondary {
+ --paper-button: {
+ color: var(--paper-grey-600);
+ font-weight: 500;
+ };
+ --paper-button-flat-keyboard-focus: {
+ background: rgba(0, 0, 0, .12);
+ font-weight: 500;
+ };
+ }
+
+ paper-button.action + paper-button.action {
+ -webkit-margin-start: 8px;
+ }
</style>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698