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

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

Issue 2870773002: [MD settings] set margins on change download location button (Closed)
Patch Set: Created 3 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 | « no previous file | chrome/browser/resources/settings/settings_vars_css.html » ('j') | 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 dfcba57e1a90770fefe14754f2bdaf2cb75c3d4f..9e22320ab4bdd6bb4921ef9bcd7cc7cd9fa8695d 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -73,7 +73,7 @@
text-decoration: none;
}
- /* For elements that are simple outlinks but dont look like anchors. */
+ /* For elements that are simple out-links but don't look like anchors. */
.inherit-color {
color: inherit !important;
}
@@ -85,6 +85,8 @@
* most users will not need. */
.primary-button {
--paper-button: {
+ -webkit-padding-end: var(--settings-button-edge-spacing);
+ -webkit-padding-start: var(--settings-button-edge-spacing);
font-weight: 500;
text-align: start;
};
@@ -102,6 +104,8 @@
/* See notes in .primary-button. */
.secondary-button {
--paper-button: {
+ -webkit-padding-end: var(--settings-button-edge-spacing);
+ -webkit-padding-start: var(--settings-button-edge-spacing);
color: var(--paper-grey-600);
font-weight: 500;
min-width: 1em; /* A tighter fit than 5.14em for short buttons. */
@@ -113,12 +117,9 @@
}
.settings-box .primary-button,
- .settings-box .secondary-button,
.settings-box .secondary-button {
- -webkit-margin-end: -12px;
- -webkit-margin-start: -12px;
- -webkit-padding-end: 12px;
- -webkit-padding-start: 12px;
dschuyler 2017/05/08 23:35:04 Moving the padding to the .primary-button and .sec
+ -webkit-margin-end: calc(var(--settings-button-edge-spacing) * -1);
+ -webkit-margin-start: calc(var(--settings-button-edge-spacing) * -1);
}
paper-checkbox {
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_vars_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698