blob: d1ee715c8a6cfb6fd4154523014ae61e623c3091 [file] [log] [blame]
avm99963f0d15212017-10-08 17:03:22 +02001html, body {
2 margin: 0;
3 width: 100%;
4 height: 100%;
5 background-color: #060606;
6 color: white;
7 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
8 user-select: none!important;
9 font-family: 'Roboto';
10}
11
12#graf {
13 width: 100%;
14 height: 100%;
15}
16
17#dialog {
18 position: absolute;
19 top: 0px;
20 left: 0px;
21 width: 300px;
22 height: 100%;
23 background-color: white;
24 color: black;
25 z-index: 120;
26 overflow-y: auto;
27}
28
29#backdrop {
30 display: none;
31 position: absolute;
32 top: 0;
33 left: 0;
34 width: 100%;
35 height: 100%;
36 background-color: rgba(0, 0, 0, .5);
37 z-index: 110;
38}
39
avm9996344d4ea52018-09-26 17:06:06 +020040#dialog-vertex, #dialog-edge{
41 padding: 8px;
42 user-select: auto;
avm99963f0d15212017-10-08 17:03:22 +020043}
44
avm9996344d4ea52018-09-26 17:06:06 +020045#dialog h2 {
46 font-weight: bold;
47 font-size: 20px;
48}
49
50#dialog h3 {
51 font-weight: bold;
52 font-size: 16px;
53 margin-bottom: 0;
54}
55
56#quit-dialog, #quit2-dialog {
57 position: absolute;
58 top: 8px;
59 right: 8px;
60}
61
62#min-dialog, #max-dialog {
63 position: absolute;
64 top: 8px;
65 right: 48px;
66}
67
68#min-dialog {
69 display: none;
70}
71
72#summary-dialog {
73 position: absolute;
74 top: 0px;
75 left: 0px;
76 width: 100%;
77 height: 100px;
78 background-color: white;
79 color: black;
80 z-index: 120;
81}
82
83#summary-vertex {
84 padding: 8px;
85 user-select: auto;
86}
87
88#summary-dialog h2 {
89 font-weight: bold;
90 font-size: 20px;
91 margin: 0;
avm99963f0d15212017-10-08 17:03:22 +020092}
93
avm99963a00c43e2018-09-26 20:16:07 +020094#search {
Huguet5723a7afe2018-07-23 03:29:35 +020095 position: absolute;
96 right: 10px;
97 bottom: 110px;
98 z-index: 100;
avm99963a00c43e2018-09-26 20:16:07 +020099 display: none;
Huguet5723a7afe2018-07-23 03:29:35 +0200100}
101
avm99963f0d15212017-10-08 17:03:22 +0200102#zoomin {
103 position: absolute;
104 right: 10px;
105 bottom: 60px;
106 z-index: 100;
107}
108
109#zoomout {
110 position: absolute;
111 right: 10px;
112 bottom: 10px;
113 z-index: 100;
114}
115
avm99963a00c43e2018-09-26 20:16:07 +0200116/**
117 * MD search box
118 */
119.md-google-search__metacontainer {
120 position: absolute;
121 top: 10px;
122 height: 48px;
123 width: 100%;
124 z-index: 100;
125}
126
127.md-google-search__container {
128 display: block;
129 margin-left: auto;
130 margin-right: auto;
131 height: 48px;
132 width: Calc(100% - 66px);
133 max-width: 720px;
134 white-space: nowrap;
135}
136
137.md-google-search {
138 height: 48px;
139 background-color: rgba(245,245,245,1);
140 border: 1px solid rgba(0,0,0,0);
141 -webkit-border-radius: 4px;
142 border-radius: 4px;
143 max-width: 720px;
144 position: relative;
145 -webkit-transition: background-color 100ms ease-in,width 100ms ease-out;
146 transition: background-color 100ms ease-in,width 100ms ease-out;
147}
148
149.md-google-search:focus-within {
150 border: 1px solid rgba(0,0,0,0.45);
151 background-color: rgba(255,255,255,1);
152 -webkit-box-shadow: 0 1px 1px rgba(255,255,255,.5);
153 box-shadow: 0 1px 1px rgba(255,255,255,.5);
154}
155
156.md-google-search__search-btn {
157 float: left;
158 background: none;
159 border: none;
160 opacity: .54;
161 outline: none;
162 padding: 0 4px;
163 line-height: 0;
164 color: #212121;
165}
166
167.md-google-search__search-btn svg, .md-google-search__empty-btn svg {
168 padding: 7px;
169 margin: 4px;
170}
171
172.md-google-search__field-container {
173 height: 46px;
174 padding: 0 11px;
175 margin-right: 48px;
176}
177
178.md-google-search__field {
179 border: none;
180 font: normal 16px Roboto,sans-serif;
181 height: 24px;
182 outline: none;
183 padding: 11px 0 11px 16px;
184 width: 100%;
185 background: transparent;
186}
187
188.md-google-search__empty-btn {
189 position: absolute;
190 right: 0;
191 top: 0;
192 background: none;
193 border: none;
194 opacity: .54;
195 outline: none;
196 padding: 0 4px;
197 line-height: 0;
198 color: #212121;
199 cursor: pointer;
200}
201
202/**
203 * Search Box Autocomplete
204 */
205
206.autocomplete-container{
207 z-index: 110;
208 position: absolute;
209 top: 60px;
210 width: 100%;
211}
212
213.autocomplete-items {
214 display: block;
215 margin-left: auto;
216 margin-right: auto;
217 width: Calc(100% - 66px);
218 max-width: 720px;
219 background-color: white;
220 color: black;
221 box-shadow: 0 2px 5px 0 rgba(255,255,255,0.258824),0 2px 10px 0 rgba(255,255,255,0.156863) !important;
222}
223
224.autocomplete-item {
225 font-size: 16px;
226 padding: 12px 14px;
227 cursor: pointer;
228}
229
230.autocomplete-item:hover, .autocomplete-active {
231 background: #eee;
232}
233
234.autocomplete-year {
235 color: #222;
236}
237
avm99963f0d15212017-10-08 17:03:22 +0200238@media (max-width: 700px) {
239 #dialog {
240 width: Calc(100% - 32px)!important;
241 height: Calc(100% - 32px)!important;
242 margin: 16px;
243 }
244
245 #backdrop {
246 display: block;
247 }
248
249 #min-dialog {
250 display: block!important;
251 }
avm99963a00c43e2018-09-26 20:16:07 +0200252
253 #search {
254 display: block!important;
255 }
avm99963f0d15212017-10-08 17:03:22 +0200256}