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

Unified Diff: chrome/browser/resources/settings/md_select_css.html

Issue 2512393002: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/md_select_css.html
diff --git a/chrome/browser/resources/settings/md_select_css.html b/chrome/browser/resources/settings/md_select_css.html
deleted file mode 100644
index 2e1768f803097039da5194858cd9735eace85f80..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/settings/md_select_css.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<link rel="import" href="/settings_vars_css.html">
-
-<dom-module id="md-select">
- <template>
- <style>
- .md-select {
- --md-arrow-width: 0.9em;
- -webkit-appearance: none;
- /* Ensure that the text does not overlap with the down arrow. */
- -webkit-padding-end: calc(var(--md-arrow-width) * 1.8);
- background: url(images/arrow_down.svg) 97% center no-repeat;
- background-size: var(--md-arrow-width);
- border-bottom: 1px solid var(--paper-grey-300);
- border-left: none;
- /* Override Mac's default border-radius */
- border-radius: 0;
- border-right: none;
- border-top: none;
- color: var(--primary-text-color);
- cursor: pointer;
- font-family: inherit;
- font-size: inherit;
- outline: none;
- padding-bottom: 3px;
- padding-top: 3px;
- width: var(--md-select-width, 200px);
- }
-
- /* Mirroring paper-dropdown-menu disabled style. */
- .md-select[disabled] {
- border-bottom: 1px dashed var(--secondary-text-color);
- color: var(--secondary-text-color);
- opacity: 0.33;
- pointer-events: none;
- }
-
- :host-context([dir=rtl]) .md-select {
- background-position-x: 3%;
- }
-
- .md-select-underline {
- border-top: 2px solid var(--google-blue-500);
- display: block;
- position: relative;
- top: -1px;
- transform: scale3d(0, 1, 1);
- transition: transform 200ms ease-in;
- width: 100%;
- }
-
- .md-select:focus + .md-select-underline {
- transform: scale3d(1, 1, 1);
- transition: transform 200ms ease-out;
- }
-
- .md-select-wrapper {
- display: inline-block;
- max-width: 100%;
- }
- </style>
- </template>
-</dom-module>

Powered by Google App Engine
This is Rietveld 408576698