blob: 46d121e659608170a595aa7a9d54921526fc6117 [file] [log] [blame]
Javier López-Contreras6d1d72d2018-12-27 23:17:18 +01001/* ********** HERE STARTS search-bar.css ****** */
Javier López-Contreras6dc18a32018-12-26 12:40:04 +01002.md-google-search__metacontainer {
3 position: absolute;
4 top: 10px;
5 height: 48px;
6 width: 100%;
7 z-index: 100;
8}
9
10.md-google-search__container {
11 display: block;
12 margin-left: auto;
13 margin-right: auto;
14 height: 48px;
15 width: Calc(100% - 66px);
16 max-width: 720px;
17 white-space: nowrap;
18}
19
20.md-google-search {
21 height: 48px;
22 background-color: rgba(245, 245, 245, 1);
23 border: 1px solid rgba(0, 0, 0, 0);
24 -webkit-border-radius: 4px;
25 border-radius: 4px;
26 max-width: 720px;
27 position: relative;
28 -webkit-transition: background-color 100ms ease-in, width 100ms ease-out;
29 transition: background-color 100ms ease-in, width 100ms ease-out;
30}
31
32.md-google-search:focus-within {
33 border: 1px solid rgba(0, 0, 0, 0.45);
34 background-color: rgba(255, 255, 255, 1);
35 -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
36 box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
37}
38
39.md-google-search__search-btn {
40 float: left;
41 background: none;
42 border: none;
43 opacity: .54;
44 outline: none;
45 padding: 0 4px;
46 line-height: 0;
47 color: #212121;
48}
49
50.md-google-search__search-btn svg, .md-google-search__empty-btn svg {
51 padding: 7px;
52 margin: 4px;
53}
54
55.md-google-search__field-container {
56 height: 46px;
57 padding: 0 11px;
58 margin-right: 48px;
59}
60
61.md-google-search__field {
62 border: none;
63 font: normal 16px Roboto, sans-serif;
64 height: 24px;
65 outline: none;
66 padding: 11px 0 11px 16px;
67 width: 100%;
68 background: transparent;
69}
70
71.md-google-search__empty-btn {
72 position: absolute;
73 right: 0;
74 top: 0;
75 background: none;
76 border: none;
77 opacity: .54;
78 outline: none;
79 padding: 0 4px;
80 line-height: 0;
81 color: #212121;
82 cursor: pointer;
83}
84
85/**
86 * Search Box Autocomplete
87 */
88.autocomplete-container {
89 z-index: 110;
90 position: absolute;
91 top: 60px;
92 width: 100%;
93}
94
95.autocomplete-items {
96 display: block;
97 margin-left: auto;
98 margin-right: auto;
99 width: Calc(100% - 66px);
100 max-width: 720px;
101 background-color: white;
102 color: black;
103 box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.258824), 0 2px 10px 0
104 rgba(255, 255, 255, 0.156863) !important;
105}
106
107.autocomplete-item {
108 font-size: 16px;
109 padding: 12px 14px;
110 cursor: pointer;
111}
112
113.autocomplete-item:hover, .autocomplete-active {
114 background: #eee;
115}
116
117.autocomplete-year {
118 position: relative;
119 z-index: 120;
120
121 color: #222;
122}
123
124@media ( max-width : 700px) {
125 #dialog {
126 width: Calc(100% - 32px) !important;
127 height: Calc(100% - 32px) !important;
128 margin: 16px;
129 }
130 #backdrop {
131 display: block;
132 }
133 #min-dialog {
134 display: block !important;
135 }
136}