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

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

Issue 2351963003: MD Settings: Replace language detail page with dropdown menu items (Closed)
Patch Set: rebase 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
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 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */ 8 /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
9 h2 { 9 h2 {
10 align-items: center; 10 align-items: center;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 iron-dropdown .dropdown-content, 52 iron-dropdown .dropdown-content,
53 paper-dropdown-menu-light paper-listbox { 53 paper-dropdown-menu-light paper-listbox {
54 min-width: 128px; 54 min-width: 128px;
55 padding: 8px 0; 55 padding: 8px 0;
56 } 56 }
57 57
58 .dropdown-item { 58 .dropdown-item {
59 align-items: center; 59 align-items: center;
60 background: none; 60 background: none;
61 border: none; 61 border: none;
62 box-sizing: border-box;
62 color: var(--paper-grey-800); 63 color: var(--paper-grey-800);
63 display: flex; 64 display: flex;
64 font: inherit; 65 font: inherit;
65 min-height: 32px; 66 min-height: 32px;
66 padding: 0 24px; 67 padding: 0 24px;
67 text-align: start; 68 text-align: start;
68 width: 100%; 69 width: 100%;
69 } 70 }
70 71
71 paper-dropdown-menu-light .dropdown-item.iron-selected { 72 paper-dropdown-menu-light .dropdown-item.iron-selected {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 /* Turns the arrow direction downwards, when the bubble is placed above 384 /* Turns the arrow direction downwards, when the bubble is placed above
384 * the anchor element */ 385 * the anchor element */
385 .search-bubble-innards.above::after { 386 .search-bubble-innards.above::after {
386 -webkit-transform: rotate(-135deg); 387 -webkit-transform: rotate(-135deg);
387 bottom: -5px; 388 bottom: -5px;
388 top: auto; 389 top: auto;
389 } 390 }
390 </style> 391 </style>
391 </template> 392 </template>
392 </dom-module> 393 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698