fix chrome incompatibility
[web/firmware-selector-openwrt-org.git] / index.css
1
2 body {
3 font-family: "Roboto", "Helvetica", "Arial", sans-serif;
4 margin: 0px;
5 }
6
7 /*the container must be positioned relative:*/
8 .autocomplete {
9 position: relative;
10 display: inline-block;
11 }
12
13 .autocomplete > input {
14 border: 1px solid transparent;
15 background-color: #f1f1f1;
16 padding: 10px;
17 width: 100%;
18 border-radius: 4px;
19 }
20
21 .autocomplete {
22 width: 20em;
23 }
24
25 .autocomplete-items {
26 position: absolute;
27 border: 1px solid #d4d4d4;
28 border-bottom: none;
29 border-top: none;
30 z-index: 99;
31 /*position the autocomplete items to be the same width as the container:*/
32 top: 100%;
33 left: 0;
34 right: 0;
35 }
36
37 .autocomplete-items div {
38 padding: 10px;
39 cursor: pointer;
40 background-color: #fff;
41 border-bottom: 1px solid #d4d4d4;
42 }
43
44 /*when hovering an item:*/
45 .autocomplete-items div:hover {
46 background-color: #e9e9e9;
47 }
48
49 /*when navigating through the items using the arrow keys:*/
50 .autocomplete-active {
51 background-color: DodgerBlue !important;
52 color: #ffffff;
53 }
54
55 header {
56 font-weight: 500;
57 width: 100%;
58 z-index: 1100;
59 box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
60 background-color: #00A3E1;
61 }
62
63 h6 {
64 margin: 0;
65 font-size: 1.25rem;
66 font-weight: 500;
67 line-height: 1.6;
68 letter-spacing: 0.0075em;
69 }
70
71 header > div {
72 padding-left: 24px;
73 padding-right: 24px;
74 min-height: 64px;
75
76 display: flex;
77 position: relative;
78 align-items: center;
79 color: #fff;
80 }
81
82 .container {
83 max-width: 1280px;
84 padding-left: 32px;
85 padding-right: 32px;
86 width: 100%;
87 box-sizing: border-box;
88 margin-top: 30px;
89 margin-right: auto;
90 margin-left: auto;
91 margin-bottom: 100px;
92 }
93
94 .container > div {
95 padding: 30px;
96 text-align: left;
97 box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 2px 1px -1px rgba(0,0,0,0.12);
98 border-radius: 4px;
99 color: rgba(0, 0, 0, 0.87);
100 transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
101 background-color: #fff;
102 }
103
104 #versions {
105 border: 1px solid transparent;
106 background-color: #f1f1f1;
107 padding: 10px;
108 width: 10em;
109 border-radius: 4px;
110 }
111
112 #language-selection {
113 color: #fff;
114 background-color: #1084b2;
115 box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px
116 rgba(0,0,0,0.12);
117 padding: 6px 16px;
118 border-radius: 4px;
119 border: 0;
120
121 /* hide arrow */
122 -webkit-appearance: none;
123 -moz-appearance: none;
124 text-indent: 1px;
125 text-overflow: '';
126 }
127
128 .download-link {
129 text-decoration: none;
130 border-radius: 4px;
131 padding: 12px 16px;
132 margin: 5px;
133 font-size: 16px;
134 cursor: pointer;
135 letter-spacing: 0.05em;
136 display: inline-flex;
137 align-items: center;
138 box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12);
139 color: #fff;
140 background-color: #00A3E1;
141 }
142
143 .download-link:hover {
144 background-color: #038fc6
145 }
146
147 .download-link :first-child {
148 width: 30px;
149 margin-right: 15px;
150 margin-top: -2px;
151 content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z' fill='%23fff'%3E%3C/path%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
152 }
153
154 #images .column {
155 width: 5em;
156 display: inline-block;
157 line-height: 1.5;
158 }
159
160 #images {
161 display: none;
162 }
163
164 #images > div {
165 padding-top: 20px;
166 }
167
168 #image-model {
169 font-weight: bold;
170 }
171
172 #custom {
173 display: none;
174 }
175
176 #custom textarea {
177 width: 500px;
178 height: 120px;
179 font-size: 16px;
180 display: block;
181 }
182
183 #custom a :first-child {
184 width: 30px;
185 margin-right: 10px;
186 margin-top: 0px;
187 font-size: 36px;
188 }
189
190 #custom a {
191 text-decoration: none;
192 border-radius: 4px;
193 padding: 2px 10px;
194 margin: 5px;
195 font-size: 16px;
196 cursor: pointer;
197 letter-spacing: 0.05em;
198 display: inline-flex;
199 align-items: center;
200 box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 3px 1px -2px rgba(0,0,0,0.12);
201 color: #fff;
202 background-color: #00A3E1;
203 }
204
205 .download-help {
206 display: none;
207 }
208
209 #buildspinner {
210 float: left;
211 height: 40px;
212 padding-right: 12px;
213 display: none;
214 }
215
216 #buildstatus {
217 padding: 10px 0;
218 display: none;
219 }