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

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

Issue 2177283007: MD Settings: make .{primary,secondary,tertiary}-button selectors less specific (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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 a6c064559c763c5369f40bed7b612f41425ecc0d..ee2342c60921549ccec0a0c56c269acd7e24d246 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -87,13 +87,13 @@
[is='action-link']:active,
[is='action-link']:hover,
[is='action-link']:visited,
- paper-button.primary-button,
- paper-button.tertiary-button {
+ .primary-button,
+ .tertiary-button {
color: var(--google-blue-700);
}
- paper-button.primary-button,
- paper-button.tertiary-button {
+ .primary-button,
+ .tertiary-button {
--paper-button-flat-keyboard-focus: {
background-color: rgba(51, 103, 214, .12); /* --google-blue-700 */
};
@@ -108,7 +108,7 @@
* "delete") while the secondary is often a "Cancel" button. A tertiary
* button may be used to get more information or similar, that we expect
* most users will not need. */
- paper-button.primary-button {
+ .primary-button {
--paper-button: {
font-weight: 500;
text-align: start;
@@ -116,7 +116,7 @@
}
/* See notes in .primary-button. */
- paper-button.secondary-button {
+ .secondary-button {
--paper-button: {
color: var(--paper-grey-600);
text-decoration: none;
@@ -128,16 +128,16 @@
}
/* See notes in .primary-button. */
- paper-button.tertiary-button {
+ .tertiary-button {
--paper-button: {
font-weight: 400;
text-decoration: none;
};
}
- .settings-box paper-button.primary-button,
- .settings-box paper-button.secondary-button,
- .settings-box paper-button.secondary-button {
+ .settings-box .primary-button,
+ .settings-box .secondary-button,
+ .settings-box .secondary-button {
margin-left: -12px;
margin-right: -12px;
padding-left: 12px;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698