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

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

Issue 2378253003: MD Settings: Search page, switching paper-dropdown-menu to native select. (Closed)
Patch Set: Merge conflicts. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/select_css.html
diff --git a/chrome/browser/resources/settings/select_css.html b/chrome/browser/resources/settings/select_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..168a547da842c25e386f1b1d4db6db0ac5289a88
--- /dev/null
+++ b/chrome/browser/resources/settings/select_css.html
@@ -0,0 +1,37 @@
+<link rel="import" href="/settings_vars_css.html">
+
+<dom-module id="select">
+ <template>
+ <style>
+ select {
+ background-color: transparent;
+ border-bottom: 1px solid var(--paper-grey-300);
+ border-left: none;
+ border-right: none;
+ border-top: none;
+ color: var(--primary-text-color);
+ cursor: pointer;
+ font-family: inherit;
+ font-size: inherit;
+ outline: none;
+ padding: 3px 0;
+ width: 200px;
+ }
+
+ .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;
+ }
+ </style>
+ </template>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/settings/search_page/search_page.js ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698