1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | @import url("font_awesome/css/font-awesome.min.css");
|
20 | @import url("ionicons/css/ionicons.min.css");
|
21 | @import url("material-design-iconic-font/css/material-design-iconic-font.min.css");
|
22 |
|
23 |
|
24 | ons-page, ons-navigator,
|
25 | ons-split-view, ons-sliding-menu, ons-tabbar,
|
26 | ons-gesture-detector {
|
27 | display: block;
|
28 | }
|
29 |
|
30 | ons-navigator,
|
31 | ons-tabbar,
|
32 | ons-dialog,
|
33 | ons-alert-dialog {
|
34 | position: absolute;
|
35 | top: 0;
|
36 | left: 0;
|
37 | bottom: 0;
|
38 | right: 0;
|
39 | overflow: hidden;
|
40 | }
|
41 |
|
42 | ons-tab {
|
43 | -webkit-transform: translate3d(0, 0, 0);
|
44 | transform: translate3d(0, 0, 0);
|
45 | }
|
46 |
|
47 | ons-page, ons-navigator, ons-tabbar, ons-sliding-menu, ons-split-view, ons-dialog, ons-alert-dialog {
|
48 | z-index: 2;
|
49 | }
|
50 |
|
51 | ons-fab, ons-speed-dial {
|
52 | z-index: 3;
|
53 | }
|
54 |
|
55 | * {
|
56 | -webkit-touch-callout: none;
|
57 | -webkit-user-select: none;
|
58 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
|
59 | }
|
60 |
|
61 | input, textarea {
|
62 | -webkit-user-select: auto;
|
63 | }
|
64 |
|
65 | ons-toolbar:not([inline]), ons-bottom-toolbar {
|
66 | position: absolute;
|
67 | left: 0;
|
68 | right: 0;
|
69 | z-index: 10000;
|
70 | }
|
71 | ons-toolbar:not([inline]) {
|
72 | top: 0;
|
73 | }
|
74 | ons-bottom-toolbar {
|
75 | bottom: 0;
|
76 | }
|
77 |
|
78 | .page, .page__content {
|
79 | background-color: transparent !important;
|
80 | background: transparent !important;
|
81 | }
|
82 |
|
83 | .page__content {
|
84 | overflow: auto;
|
85 | -webkit-overflow-scrolling: touch;
|
86 | z-index: 0;
|
87 | -ms-touch-action: pan-y;
|
88 | }
|
89 |
|
90 | .navigation-bar + .page__background + .page__content {
|
91 | margin-top: -1px;
|
92 | top: 44px;
|
93 | }
|
94 |
|
95 | .navigation-bar--material + .page__background + .page__content {
|
96 | top: 56px;
|
97 | }
|
98 |
|
99 | .page[status-bar-fill] > .page__content {
|
100 | top: 20px;
|
101 | }
|
102 |
|
103 | .page[status-bar-fill] > .navigation-bar {
|
104 | padding-top: 20px;
|
105 | box-sizing: content-box;
|
106 | }
|
107 |
|
108 | .page[status-bar-fill] > .navigation-bar + .page__background + .page__content {
|
109 | top: 64px;
|
110 | }
|
111 |
|
112 | .page[status-bar-fill] > .navigation-bar--material + .page__background + .page__content {
|
113 | top: 76px;
|
114 | }
|
115 |
|
116 | ons-tabbar[status-bar-fill] > .tab-bar--top__content {
|
117 | top: 71px;
|
118 | }
|
119 |
|
120 | ons-tabbar[status-bar-fill] > .tab-bar--top {
|
121 | padding-top: 22px;
|
122 | }
|
123 |
|
124 | ons-tabbar[position="top"] .page[status-bar-fill] > .page__content {
|
125 | top: 0px;
|
126 | }
|
127 |
|
128 | .navigation-bar + .page__background + .page__content ons-tabbar[status-bar-fill] > .tab-bar--top {
|
129 | top: 0px;
|
130 | }
|
131 |
|
132 | .navigation-bar + .page__background + .page__content ons-tabbar[status-bar-fill] > .tab-bar--top__content {
|
133 | top: 49px;
|
134 | }
|
135 |
|
136 | .page-with-bottom-toolbar > .page__content {
|
137 | bottom: 44px;
|
138 | }
|
139 |
|
140 | ons-dialog[disabled] > .dialog,
|
141 | ons-alert-dialog[disabled],
|
142 | ons-popover[disabled] {
|
143 | pointer-events: none;
|
144 | opacity: 0.75;
|
145 | }
|
146 |
|
147 | ons-list-item[disabled] {
|
148 | pointer-events: none;
|
149 | }
|
150 |
|
151 | ons-pull-hook {
|
152 | position: relative;
|
153 | display: block;
|
154 | margin: auto;
|
155 | text-align: center;
|
156 | z-index: 20002;
|
157 | }
|
158 |
|
159 | ons-splitter {
|
160 | overflow: hidden;
|
161 | }
|
162 |
|
163 | ons-splitter, ons-splitter-mask, ons-splitter-content, ons-splitter-side {
|
164 | display: block;
|
165 | position: absolute;
|
166 | left: 0;
|
167 | right: 0;
|
168 | top: 0;
|
169 | bottom: 0;
|
170 | box-sizing: border-box;
|
171 | z-index: 0;
|
172 | }
|
173 |
|
174 | ons-splitter-mask {
|
175 | z-index: 2;
|
176 | background-color: rgba(0, 0, 0, 0.1);
|
177 | display: none;
|
178 | opacity: 0;
|
179 | }
|
180 |
|
181 | ons-splitter-content {
|
182 | z-index: 1;
|
183 | }
|
184 |
|
185 | ons-splitter-side {
|
186 | right: auto;
|
187 | z-index: 1;
|
188 | }
|
189 |
|
190 | ons-splitter-side[side="right"] {
|
191 | right: 0;
|
192 | left: auto;
|
193 | }
|
194 |
|
195 | ons-splitter-side[mode="collapse"] {
|
196 | z-index: 3;
|
197 | left: auto;
|
198 | right: 100%;
|
199 | }
|
200 |
|
201 | ons-splitter-side[side="right"][mode="collapse"] {
|
202 | right: auto;
|
203 | left: 100%;
|
204 | }
|
205 |
|
206 | ons-splitter-side[mode="split"] ~ ons-splitter-mask {
|
207 | display: none !important;
|
208 | }
|
209 |
|
210 | ons-splitter-side[mode="split"] {
|
211 | -webkit-transform: none !important;
|
212 | transform: none !important;
|
213 | -webkit-transition: none !important;
|
214 | transition: none !important;
|
215 | }
|
216 |
|
217 | ons-toolbar-button > ons-icon[icon*="ion-"] {
|
218 | font-size: 26px;
|
219 | }
|
220 |
|
221 | ons-range {
|
222 | display: inline-block;
|
223 | }
|
224 |
|
225 | ons-range > input {
|
226 | min-width: 50px;
|
227 | width: 100%;
|
228 | }
|
229 |
|
230 |
|
231 |
|
232 |
|
233 |
|
234 |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 |
|
240 |
|
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 |
|
247 | ons-carousel {
|
248 | display: block;
|
249 | position: relative;
|
250 | width: 100%;
|
251 | overflow: hidden;
|
252 | }
|
253 |
|
254 | ons-carousel-item {
|
255 | display: block;
|
256 | height: 100%;
|
257 | visibility: hidden;
|
258 | }
|
259 |
|
260 | ons-carousel[fullscreen] {
|
261 | position: absolute;
|
262 | top: 0px;
|
263 | right: 0px;
|
264 | left: 0px;
|
265 | bottom: 0px;
|
266 | box-sizing: border-box;
|
267 | }
|
268 |
|
269 | ons-carousel[disabled] {
|
270 | pointer-events: none;
|
271 | opacity: 0.75;
|
272 | }
|
273 |
|
274 | ons-row {
|
275 | display: -webkit-box;
|
276 | display: -moz-flex;
|
277 | display: flex;
|
278 | flex-wrap: wrap;
|
279 | width: 100%;
|
280 | box-sizing: border-box;
|
281 | }
|
282 |
|
283 | ons-row[vertical-align="top"], ons-row[align="top"] {
|
284 | -webkit-box-align: start;
|
285 | box-align: start;
|
286 | -moz-align-items: flex-start;
|
287 | align-items: flex-start;
|
288 | }
|
289 |
|
290 | ons-row[vertical-align="bottom"], ons-row[align="bottom"] {
|
291 | -webkit-box-align: end;
|
292 | box-align: end;
|
293 | -moz-align-items: flex-end;
|
294 | align-items: flex-end;
|
295 | }
|
296 |
|
297 | ons-row[vertical-align="center"], ons-row[align="center"] {
|
298 | -webkit-box-align: center;
|
299 | box-align: center;
|
300 | -moz-align-items: center;
|
301 | align-items: center;
|
302 | text-align: inherit;
|
303 | }
|
304 |
|
305 | ons-row + ons-row {
|
306 | padding-top: 0;
|
307 | }
|
308 |
|
309 | ons-col {
|
310 | -webkit-box-flex: 1;
|
311 | -moz-flex: 1;
|
312 | flex: 1;
|
313 | display: block;
|
314 | width: 100%;
|
315 | box-sizing: border-box;
|
316 | }
|
317 |
|
318 | ons-col[vertical-align="top"], ons-col[align="top"] {
|
319 | -webkit-align-self: flex-start;
|
320 | align-self: flex-start;
|
321 | }
|
322 |
|
323 | ons-col[vertical-align="bottom"], ons-col[align="bottom"] {
|
324 | -webkit-align-self: flex-end;
|
325 | align-self: flex-end; }
|
326 |
|
327 | ons-col[vertical-align="center"], ons-col[align="center"] {
|
328 | -webkit-align-self: center;
|
329 | -moz-align-self: center;
|
330 | -ms-flex-item-align: center;
|
331 | text-align: inherit;
|
332 | }
|
333 |
|
334 |
|
335 |
|
336 |
|
337 |
|
338 |
|
339 |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 |
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 |
|
352 | .ons-icon {
|
353 | display: inline-block;
|
354 | font-style: normal;
|
355 | font-weight: normal;
|
356 | -webkit-font-smoothing: antialiased;
|
357 | -moz-osx-font-smoothing: grayscale;
|
358 | }
|
359 |
|
360 | :not(ons-toolbar-button) > .ons-icon--ion {
|
361 | line-height: 0.75em;
|
362 | vertical-align: -25%;
|
363 | }
|
364 |
|
365 | ons-icon[spin] {
|
366 | -webkit-animation: ons-icon-spin 2s infinite linear;
|
367 | animation: ons-icon-spin 2s infinite linear;
|
368 | }
|
369 |
|
370 | @-webkit-keyframes ons-icon-spin {
|
371 | 0% {
|
372 | -webkit-transform: rotate(0deg);
|
373 | }
|
374 | 100% {
|
375 | -webkit-transform: rotate(359deg);
|
376 | }
|
377 | }
|
378 |
|
379 | @keyframes ons-icon-spin {
|
380 | 0% {
|
381 | -webkit-transform: rotate(0deg);
|
382 | transform: rotate(0deg);
|
383 | }
|
384 | 100% {
|
385 | -webkit-transform: rotate(359deg);
|
386 | transform: rotate(359deg);
|
387 | }
|
388 | }
|
389 |
|
390 | .ons-icon[rotate="90"] {
|
391 | -webkit-transform: rotate(90deg);
|
392 | transform: rotate(90deg);
|
393 | }
|
394 |
|
395 | .ons-icon[rotate="180"] {
|
396 | -webkit-transform: rotate(180deg);
|
397 | transform: rotate(180deg);
|
398 | }
|
399 |
|
400 | .ons-icon[rotate="270"] {
|
401 | -webkit-transform: rotate(270deg);
|
402 | transform: rotate(270deg);
|
403 | }
|
404 |
|
405 | ons-icon[fixed-width] {
|
406 | width: 1.28571429em;
|
407 | text-align: center;
|
408 | }
|
409 |
|
410 | .ons-icon--lg {
|
411 | font-size: 1.33333333em;
|
412 | line-height: 0.75em;
|
413 | vertical-align: -15%;
|
414 | }
|
415 |
|
416 | .ons-icon--2x {
|
417 | font-size: 2em;
|
418 | }
|
419 |
|
420 | .ons-icon--3x {
|
421 | font-size: 3em;
|
422 | }
|
423 |
|
424 | .ons-icon--4x {
|
425 | font-size: 4em;
|
426 | }
|
427 |
|
428 | .ons-icon--5x {
|
429 | font-size: 5em;
|
430 | }
|
431 |
|
432 | ons-input {
|
433 | display: inline-block;
|
434 | position: relative;
|
435 | }
|
436 |
|
437 | ons-input .text-input__container {
|
438 | width: 100%;
|
439 | display: inline-block;
|
440 | }
|
441 |
|
442 | ons-input .text-input__label:not(.text-input--material__label) {
|
443 | display: none;
|
444 | }
|
445 |
|
446 | ons-input:not([float]) .text-input__label--active {
|
447 | display: none;
|
448 | }
|
449 |
|
450 | ons-input[disabled] {
|
451 | opacity: 0.5;
|
452 | pointer-events: none;
|
453 | }
|
454 |
|
455 | ons-input input.text-input--material::-webkit-input-placeholder {
|
456 | color: transparent;
|
457 | }
|
458 |
|
459 | ons-input input.text-input--material::-moz-placeholder {
|
460 | color: transparent;
|
461 | }
|
462 |
|
463 | ons-input input.text-input--material:-ms-input-placeholder {
|
464 | color: transparent;
|
465 | }
|
466 |
|
467 |
|
468 |
|
469 |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 |
|
475 |
|
476 |
|
477 |
|
478 |
|
479 |
|
480 |
|
481 |
|
482 |
|
483 |
|
484 | ons-progress-bar {
|
485 | display: block;
|
486 | }
|
487 |
|
488 | ons-progress-circular {
|
489 | display: inline-block;
|
490 | width: 42px;
|
491 | height: 42px;
|
492 | }
|
493 |
|
494 | ons-progress-circular > svg.progress-circular {
|
495 | width: 100%;
|
496 | height: 100%;
|
497 | }
|
498 |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 |
|
506 |
|
507 |
|
508 |
|
509 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 | .ripple {
|
516 | display: block;
|
517 | position: absolute;
|
518 | overflow: hidden;
|
519 | top: 0;
|
520 | left: 0;
|
521 | right: 0;
|
522 | bottom: 0;
|
523 | pointer-events: none;
|
524 | }
|
525 |
|
526 | ons-list-item .ripple__wave, ons-list-item .ripple__background,
|
527 | .button--material--flat .ripple__wave, .button--material--flat .ripple__background{
|
528 | background: rgba(189, 189, 189, 0.3);
|
529 | }
|
530 |
|
531 | .ripple__background {
|
532 | background: rgba(255, 255, 255, 0.2);
|
533 | position: absolute;
|
534 | top: 0;
|
535 | left: 0;
|
536 | right: 0;
|
537 | bottom: 0;
|
538 | opacity: 0;
|
539 | pointer-events: none;
|
540 | }
|
541 |
|
542 | .ripple__wave {
|
543 | background: rgba(255, 255, 255, 0.2);
|
544 | width: 0;
|
545 | height: 0;
|
546 | border-radius: 50%;
|
547 | position: absolute;
|
548 | top: 0;
|
549 | left: 0;
|
550 | z-index: 0;
|
551 | pointer-events: none;
|
552 | }
|
553 |
|
554 |
|
555 |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 |
|
564 |
|
565 |
|
566 |
|
567 |
|
568 |
|
569 |
|
570 |
|
571 | ons-sliding-menu {
|
572 | position: absolute;
|
573 | left: 0px;
|
574 | right: 0px;
|
575 | top: 0px;
|
576 | bottom: 0px;
|
577 | z-index: 0;
|
578 | overflow-x: hidden;
|
579 | }
|
580 |
|
581 | .onsen-sliding-menu__menu,
|
582 | .onsen-sliding-menu__main {
|
583 | position: absolute;
|
584 | top: 0px;
|
585 | left: 0px;
|
586 | bottom: 0px;
|
587 | right: 0px;
|
588 | z-index: 0;
|
589 | margin: 0;
|
590 | padding: 0;
|
591 | }
|
592 |
|
593 | .onsen-sliding-menu__menu {
|
594 | opacity: 0;
|
595 | }
|
596 |
|
597 |
|
598 |
|
599 |
|
600 |
|
601 |
|
602 |
|
603 |
|
604 |
|
605 |
|
606 |
|
607 |
|
608 |
|
609 |
|
610 |
|
611 |
|
612 |
|
613 |
|
614 |
|
615 | ons-split-view {
|
616 | position: absolute;
|
617 | left: 0px;
|
618 | right: 0px;
|
619 | top: 0px;
|
620 | bottom: 0px;
|
621 | z-index: 0;
|
622 | overflow: hidden;
|
623 | }
|
624 |
|
625 | .onsen-split-view__secondary {
|
626 | opacity: 0;
|
627 | width: 100%;
|
628 | }
|
629 |
|
630 | .onsen-split-view__secondary,
|
631 | .onsen-split-view__main {
|
632 | position: absolute;
|
633 | top: 0px;
|
634 | left: 0px;
|
635 | bottom: 0px;
|
636 | right: 0px;
|
637 | z-index: 0;
|
638 | overflow-x: hidden;
|
639 | }
|