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

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2889073002: Settings: Internet page cleanup (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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="settings_vars_css.html"> 2 <link rel="import" href="settings_vars_css.html">
3 3
4 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
5 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
6 <template> 6 <template>
7 <style include="cr-shared-style"> 7 <style include="cr-shared-style">
8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { 8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] {
9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
10 } 10 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 .primary-button { 69 .primary-button {
70 --paper-button: { 70 --paper-button: {
71 -webkit-padding-end: var(--settings-button-edge-spacing); 71 -webkit-padding-end: var(--settings-button-edge-spacing);
72 -webkit-padding-start: var(--settings-button-edge-spacing); 72 -webkit-padding-start: var(--settings-button-edge-spacing);
73 font-weight: 500; 73 font-weight: 500;
74 text-align: start; 74 text-align: start;
75 }; 75 };
76 --paper-button-flat-keyboard-focus: { 76 --paper-button-flat-keyboard-focus: {
77 background: rgba(51, 103, 214, .12); /* --google-blue-700 */ 77 background: rgba(51, 103, 214, .12); /* --google-blue-700 */
78 }; 78 };
79 }
80
81 .primary-button[disabled] {
82 background: none;
83 }
84
85 .primary-button:not([disabled]) {
dschuyler 2017/05/18 18:20:10 Would it work out the same to leave this color in
stevenjb 2017/05/18 19:06:05 Done.
79 color: var(--google-blue-500); 86 color: var(--google-blue-500);
80 } 87 }
81 88
82 paper-toggle-button { 89 paper-toggle-button {
83 @apply(--settings-actionable); 90 @apply(--settings-actionable);
84 height: var(--settings-row-min-height); 91 height: var(--settings-row-min-height);
85 width: 36px; 92 width: 36px;
86 } 93 }
87 94
88 span ~ a { 95 span ~ a {
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 transform: rotate(-135deg); 398 transform: rotate(-135deg);
392 } 399 }
393 400
394 .column-header { 401 .column-header {
395 color: var(--paper-grey-600); 402 color: var(--paper-grey-600);
396 font-weight: 500; 403 font-weight: 500;
397 } 404 }
398 </style> 405 </style>
399 </template> 406 </template>
400 </dom-module> 407 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698