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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css

Issue 2502773003: ChromeOS OOBE: switch from iron-dropdown to <select>. (Closed)
Patch Set: Created 4 years, 1 month 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 /* Copyright 2016 The Chromium Authors. All rights reserved. 1 /* Copyright 2016 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 :host { 5 :host {
6 --paper-font-subhead: { 6 font-family: Roboto, Sans-Serif;
michaelpg 2016/11/16 01:59:01 nit: lowercase for generic fonts (sans-serif)
Alexander Alekseev 2016/11/16 07:10:59 Done.
7 @apply(--paper-font-common-base); 7 font-size: 13px;
8 font-family: Roboto; 8 width: 240px;
9 font-size: 13px;
10 };
11 } 9 }
12 10
13 .selected-icon { 11 #container {
14 --iron-icon-height: 16px; 12 height: 100%;
15 --iron-icon-width: 16px;
16 -webkit-padding-start: 8px;
17 color: var(--google-blue-500);
18 } 13 }
19 14
20 paper-item { 15 option {
21 -webkit-padding-end: 8px;
22 -webkit-padding-start: 16px;
23 min-height: 32px;
24 }
25
26 paper-item[hr] {
27 min-height: 10px;
28 }
29
30 .option-name {
31 color: rgba(0, 0, 0, 0.87); 16 color: rgba(0, 0, 0, 0.87);
32 font: 13px Roboto, sans-serif; 17 font: 13px Roboto, sans-serif;
33 } 18 }
34 19
35 .hr { 20
36 border-top: 1px solid rgba(0, 0, 0, 0.14); 21 select {
michaelpg 2016/11/16 01:59:01 if this is basically the same as md_select_css.htm
Alexander Alekseev 2016/11/16 07:10:59 It turns out that this would require a lot of chan
michaelpg 2016/11/16 07:23:39 hrm, no it shouldn't be that complicated. So it sh
Alexander Alekseev 2016/11/16 07:40:30 md_select_css.html includes "/shared_vars_css.html
22 background-color: transparent;
23 border-bottom: 1px solid var(--paper-grey-300);
24 border-left: none;
25 border-right: none;
26 border-top: none;
27 color: rgba(0, 0, 0, 0.87);
28 cursor: pointer;
29 font-family: inherit;
30 font-size: inherit;
31 outline: none;
32 padding: 3px 0;
37 width: 100%; 33 width: 100%;
38 } 34 }
35
36 .select-underline {
37 border-top: 2px solid var(--paper-indigo-500);
38 display: block;
39 position: relative;
40 top: -1px;
41 transform: scale3d(0, 1, 1);
42 transition: transform 200ms ease-in;
43 width: 100%;
44 }
45
46 select:focus + .select-underline {
47 transform: scale3d(1, 1, 1);
48 transition: transform 200ms ease-out;
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698