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