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

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

Issue 2071543003: MD WebUI: Extract settings-dialog into shared cr-dialog element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ) from comment Created 4 years, 6 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_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index bf1b2d71a5a9687b4844493f7eb3de35ea4c78fb..f865697033da757e1ffa153f698480201b571c0d 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -1,9 +1,10 @@
+<link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
<link rel="import" href="/settings_root_css.html">
<!-- Common styles for Material Design settings. -->
<dom-module id="settings-shared">
<template>
- <style>
+ <style include="cr-shared-style">
h2 {
align-items: center;
display: flex;
@@ -127,29 +128,6 @@
text-align: end;
}
- .action-button {
- background: var(--google-blue-500);
- color: white;
- --paper-button-flat-keyboard-focus: {
- background-color: rgb(58, 117, 215); /* 88% of --google-blue-500) */
- };
- }
-
- .action-button[disabled] {
- opacity: .25; /* TODO(dbeam): check this value with bettes. */
- }
-
- .cancel-button {
- --paper-button-flat-keyboard-focus: {
- background-color: rgba(0, 0, 0, .12);
- };
- }
-
- .action-button,
- .cancel-button {
- font-weight: 500;
- }
-
/*
* A list-frame is an outer container for list-items. It is intended to be
* outside of a settings-box. A list-frame is likely to follow a

Powered by Google App Engine
This is Rietveld 408576698