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

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

Issue 2838963003: WebUI: Unify [hidden] attribute styling rules. (Closed)
Patch Set: Update MD Bookmarks too Created 3 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 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 /* Included here so we don't have to include "iron-positioning" in every
9 * stylesheet. See crbug.com/498405. */
10 [hidden] {
11 display: none !important;
12 }
13
14 :host-context([dir=rtl]) button[is='paper-icon-button-light'] { 8 :host-context([dir=rtl]) button[is='paper-icon-button-light'] {
15 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ 9 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
16 } 10 }
17 11
18 :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] { 12 :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] {
19 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */ 13 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
20 } 14 }
21 15
22 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ 16 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
23 h2 { 17 h2 {
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 transform: rotate(-135deg); 389 transform: rotate(-135deg);
396 } 390 }
397 391
398 .column-header { 392 .column-header {
399 color: var(--paper-grey-600); 393 color: var(--paper-grey-600);
400 font-weight: 500; 394 font-weight: 500;
401 } 395 }
402 </style> 396 </style>
403 </template> 397 </template>
404 </dom-module> 398 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/shared_style.html ('k') | ui/webui/resources/cr_elements/hidden_style_css.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698