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