blob: 5ce5330764610bbdb3f5b33d04e405a7fe92adb4 [file] [log] [blame]
Javier López-Contreras6d1d72d2018-12-27 23:17:18 +01001/* ********** HERE STARTS general.css ****** */
2
3html, body {
4 margin: 0;
5 width: 100%;
6 height: 100%;
7 background-color: #060606;
8 color: white;
9 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
10 user-select: none !important;
11 font-family: 'Roboto';
12}
13
14
15/* ********** HERE STARTS graf.css ****** */
16
17#graf {
18 width: 100%;
19 height: 100%;
20}
21
22span {
23 position: relative;
24 z-index: -1;
25}
26
27
28/* ********** HERE STARTS dialog.css ****** */
29
30#dialog {
31 position: absolute;
32 top: 0px;
33 left: 0px;
34 width: 300px;
35 height: 100%;
36 background-color: white;
37 color: black;
38 z-index: 120;
39 overflow-y: auto;
40}
41
42#backdrop {
43 display: none;
44 position: absolute;
45 top: 0;
46 left: 0;
47 width: 100%;
48 height: 100%;
49 background-color: rgba(0, 0, 0, .5);
50 z-index: 110;
51}
52
53#dialog-vertex, #dialog-edge {
54 padding: 8px;
55 user-select: auto;
56}
57
58#dialog h2 {
59 font-weight: bold;
60 font-size: 20px;
61}
62
63#dialog h3 {
64 font-weight: bold;
65 font-size: 16px;
66 margin-bottom: 0;
67}
68
69#quit-dialog, #quit2-dialog {
70 position: absolute;
71 top: 8px;
72 right: 8px;
73}
74
75#min-dialog, #max-dialog {
76 position: absolute;
77 top: 8px;
78 right: 48px;
79}
80
81#min-dialog {
82 display: none;
83}
84
85#summary-dialog {
86 position: absolute;
87 top: 0px;
88 left: 0px;
89 width: 100%;
90 height: 100px;
91 background-color: white;
92 color: black;
93 z-index: 120;
94}
95
96#summary-vertex {
97 padding: 8px;
98 user-select: auto;
99}
100
101#summary-dialog h2 {
102 font-weight: bold;
103 font-size: 20px;
104 margin: 0;
105}
106
107/* ********** HERE STARTS search-bar.css ****** */
108#circle-mode {
109 position: absolute;
110 right: 10px;
111 bottom: 210px;
112 z-index: 100;
113}
114
115#settings {
116 position: absolute;
117 right: 10px;
118 bottom: 160px;
119 z-index: 100;
120}
121
122#search {
123 position: absolute;
124 right: 10px;
125 bottom: 110px;
126 z-index: 100;
127}
128
129#zoomin {
130 position: absolute;
131 right: 10px;
132 bottom: 60px;
133 z-index: 100;
134}
135
136#zoomout {
137 position: absolute;
138 right: 10px;
139 bottom: 10px;
140 z-index: 100;
141}
142
143#zoomin.touch {
144 display: none;
145}
146
147#zoomout.touch {
148 display: none;
149}
150
151/* ********** HERE STARTS year-list.css ****** */
152#year-list {
153 padding: 10px;
154 padding-top: 0px;
155 float: right;
156 position:relative;
157 z-index:10;
158 display:none
159}
160
161#year-list-span {
162 position:relative;
163 z-index:10;
164}
165
166
167/* ********** HERE STARTS search-bar.css ****** */
168.md-google-search__metacontainer {
169 position: absolute;
170 top: 10px;
171 height: 48px;
172 width: 100%;
173 z-index: 100;
174}
175
176.md-google-search__container {
177 display: block;
178 margin-left: auto;
179 margin-right: auto;
180 height: 48px;
181 width: Calc(100% - 66px);
182 max-width: 720px;
183 white-space: nowrap;
184}
185
186.md-google-search {
187 height: 48px;
188 background-color: rgba(245, 245, 245, 1);
189 border: 1px solid rgba(0, 0, 0, 0);
190 -webkit-border-radius: 4px;
191 border-radius: 4px;
192 max-width: 720px;
193 position: relative;
194 -webkit-transition: background-color 100ms ease-in, width 100ms ease-out;
195 transition: background-color 100ms ease-in, width 100ms ease-out;
196}
197
198.md-google-search:focus-within {
199 border: 1px solid rgba(0, 0, 0, 0.45);
200 background-color: rgba(255, 255, 255, 1);
201 -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
202 box-shadow: 0 1px 1px rgba(255, 255, 255, .5);
203}
204
205.md-google-search__search-btn {
206 float: left;
207 background: none;
208 border: none;
209 opacity: .54;
210 outline: none;
211 padding: 0 4px;
212 line-height: 0;
213 color: #212121;
214}
215
216.md-google-search__search-btn svg, .md-google-search__empty-btn svg {
217 padding: 7px;
218 margin: 4px;
219}
220
221.md-google-search__field-container {
222 height: 46px;
223 padding: 0 11px;
224 margin-right: 48px;
225}
226
227.md-google-search__field {
228 border: none;
229 font: normal 16px Roboto, sans-serif;
230 height: 24px;
231 outline: none;
232 padding: 11px 0 11px 16px;
233 width: 100%;
234 background: transparent;
235}
236
237.md-google-search__empty-btn {
238 position: absolute;
239 right: 0;
240 top: 0;
241 background: none;
242 border: none;
243 opacity: .54;
244 outline: none;
245 padding: 0 4px;
246 line-height: 0;
247 color: #212121;
248 cursor: pointer;
249}
250
251/**
252 * Search Box Autocomplete
253 */
254.autocomplete-container {
255 z-index: 110;
256 position: absolute;
257 top: 60px;
258 width: 100%;
259}
260
261.autocomplete-items {
262 display: block;
263 margin-left: auto;
264 margin-right: auto;
265 width: Calc(100% - 66px);
266 max-width: 720px;
267 background-color: white;
268 color: black;
269 box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.258824), 0 2px 10px 0
270 rgba(255, 255, 255, 0.156863) !important;
271}
272
273.autocomplete-item {
274 font-size: 16px;
275 padding: 12px 14px;
276 cursor: pointer;
277}
278
279.autocomplete-item:hover, .autocomplete-active {
280 background: #eee;
281}
282
283.autocomplete-year {
284 position: relative;
285 z-index: 120;
286
287 color: #222;
288}
289
290@media ( max-width : 700px) {
291 #dialog {
292 width: Calc(100% - 32px) !important;
293 height: Calc(100% - 32px) !important;
294 margin: 16px;
295 }
296 #backdrop {
297 display: block;
298 }
299 #min-dialog {
300 display: block !important;
301 }
302}