Index: chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css |
diff --git a/chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css b/chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css |
index c61bb2a96d84e4797ff21d224c0c6d5f4907d60c..028bc448b81e27c2dc542fbbd50b0ad08702ae1e 100644 |
--- a/chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css |
+++ b/chrome/browser/resources/chromeos/login/oobe_i18n_dropdown.css |
@@ -3,36 +3,47 @@ |
* found in the LICENSE file. */ |
:host { |
- --paper-font-subhead: { |
- @apply(--paper-font-common-base); |
- font-family: Roboto; |
- font-size: 13px; |
- }; |
+ 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.
|
+ font-size: 13px; |
+ width: 240px; |
} |
-.selected-icon { |
- --iron-icon-height: 16px; |
- --iron-icon-width: 16px; |
- -webkit-padding-start: 8px; |
- color: var(--google-blue-500); |
+#container { |
+ height: 100%; |
} |
-paper-item { |
- -webkit-padding-end: 8px; |
- -webkit-padding-start: 16px; |
- min-height: 32px; |
+option { |
+ color: rgba(0, 0, 0, 0.87); |
+ font: 13px Roboto, sans-serif; |
} |
-paper-item[hr] { |
- min-height: 10px; |
-} |
-.option-name { |
+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
|
+ background-color: transparent; |
+ border-bottom: 1px solid var(--paper-grey-300); |
+ border-left: none; |
+ border-right: none; |
+ border-top: none; |
color: rgba(0, 0, 0, 0.87); |
- font: 13px Roboto, sans-serif; |
+ cursor: pointer; |
+ font-family: inherit; |
+ font-size: inherit; |
+ outline: none; |
+ padding: 3px 0; |
+ width: 100%; |
} |
-.hr { |
- border-top: 1px solid rgba(0, 0, 0, 0.14); |
+.select-underline { |
+ border-top: 2px solid var(--paper-indigo-500); |
+ display: block; |
+ position: relative; |
+ top: -1px; |
+ transform: scale3d(0, 1, 1); |
+ transition: transform 200ms ease-in; |
width: 100%; |
} |
+ |
+select:focus + .select-underline { |
+ transform: scale3d(1, 1, 1); |
+ transition: transform 200ms ease-out; |
+} |