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