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

Side by Side Diff: ui/webui/resources/css/cr/ui/search_field.css

Issue 1308893009: [MD Extensions] Move search field out of downloads, use it in extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 #search-term {
2 color: rgb(192, 199, 205);
3 }
4
5 :host {
6 -webkit-padding-end: 10px;
7 box-sizing: border-box;
8 display: flex;
9 justify-content: flex-end;
10 }
11
12 :host paper-input-container {
13 margin-top: 2px;
14 max-width: 200px;
15 padding: 2px 0;
16 width: 100%;
17 }
18
19 #search-term {
20 --paper-input-container-color: rgb(192, 199, 205);
21 --paper-input-container-focus-color: rgb(192, 199, 205);
22 --paper-input-container-input: {
23 color: inherit;
24 font-family: inherit;
25 font-size: inherit;
26 };
27 --paper-input-container-input-color: rgb(192, 199, 205);
28 z-index: 0;
29 }
30
31 #search-term input[type='search']::-webkit-search-decoration,
Dan Beam 2015/09/14 19:22:05 you should rebase, I changed this recently
Devlin 2015/09/14 21:47:18 Done.
32 #search-term input[type='search']::-webkit-search-cancel-button,
33 #search-term input[type='search']::-webkit-search-results-button {
34 -webkit-appearance: none;
35 }
36
37 paper-icon-button {
38 --iron-icon-height: 20px;
39 --iron-icon-width: 20px;
40 --paper-icon-button: {
41 height: 20px;
42 padding: 6px;
43 width: 20px;
44 };
45 }
46
47 #search-term paper-icon-button {
48 --iron-icon-height: 16px;
49 --iron-icon-width: 16px;
50 --paper-icon-button: {
51 -webkit-margin-end: -8px;
52 height: 16px;
53 padding: 8px;
54 width: 16px;
55 };
56 position: absolute;
57 right: 0;
58 top: -4px;
59 z-index: 1;
60 }
61
62 :host-context([dir='rtl']) #search-term paper-icon-button {
63 left: 0;
64 right: auto;
65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698