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

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

Issue 2389123003: [MD settings] mirror subpage back arrow in rtl (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 button[is='paper-icon-button-light'] { 8 button[is='paper-icon-button-light'] {
9 --paper-icon-button-light-ripple: { 9 --paper-icon-button-light-ripple: {
10 /* Center the ripple on the icon button. */ 10 /* Center the ripple on the icon button. */
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 [actionable] button[is="paper-icon-button-light"].icon-arrow-right { 23 [actionable] button[is="paper-icon-button-light"].icon-arrow-right {
24 background-image: url(images/arrow_right.svg); 24 background-image: url(images/arrow_right.svg);
25 } 25 }
26 26
27 [actionable] button[is="paper-icon-button-light"].icon-external { 27 [actionable] button[is="paper-icon-button-light"].icon-external {
28 background-image: url(images/open_in_new.svg); 28 background-image: url(images/open_in_new.svg);
29 } 29 }
30 30
31 :host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] {
32 transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
33 }
34
31 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ 35 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
32 h2 { 36 h2 {
33 align-items: center; 37 align-items: center;
34 align-self: flex-start; 38 align-self: flex-start;
35 color: var(--paper-grey-600); 39 color: var(--paper-grey-600);
36 display: flex; 40 display: flex;
37 font-size: inherit; 41 font-size: inherit;
38 font-weight: 500; 42 font-weight: 500;
39 margin: 0; 43 margin: 0;
40 padding-top: 24px; 44 padding-top: 24px;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 /* Turns the arrow direction downwards, when the bubble is placed above 428 /* Turns the arrow direction downwards, when the bubble is placed above
425 * the anchor element */ 429 * the anchor element */
426 .search-bubble-innards.above::after { 430 .search-bubble-innards.above::after {
427 -webkit-transform: rotate(-135deg); 431 -webkit-transform: rotate(-135deg);
428 bottom: -5px; 432 bottom: -5px;
429 top: auto; 433 top: auto;
430 } 434 }
431 </style> 435 </style>
432 </template> 436 </template>
433 </dom-module> 437 </dom-module>
OLDNEW
« 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