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-flex;
|
250 | display: flex;
|
251 | -webkit-justify-content: space-between;
|
252 | justify-content: space-between;
|
253 | font-size: 12px;
|
254 | line-height: 20px;
|
255 | font-family: Arial, Helvetica;
|
256 | }
|
257 |
|
258 | .ons-status-bar-mock i {
|
259 | padding: 0 2px;
|
260 | }
|
261 |
|
262 | .ons-status-bar-mock.android {
|
263 | color: white;
|
264 | background-color: #222;
|
265 | font-family: Roboto, Arial, Helvetica;
|
266 | }
|
267 |
|
268 | .ons-status-bar-mock.android ~ * {
|
269 | top: 20px;
|
270 | bottom: 0;
|
271 | position: inherit;
|
272 | width: 100%;
|
273 | }
|
274 |
|
275 | .ons-ios-scroll-fix .page:not(.page--wrapper)[shown] > .page__content {
|
276 | overflow-y: hidden;
|
277 | }
|
278 | .ons-ios-scroll-fix ons-splitter-side > .page:not(.page--wrapper)[shown] > .page__content {
|
279 | overflow-y: auto;
|
280 | }
|
281 |
|
282 | ons-row {
|
283 | display: -webkit-box;
|
284 | display: -webkit-flex;
|
285 | display: -moz-box;
|
286 | display: -moz-flex;
|
287 | display: -ms-flexbox;
|
288 | display: flex;
|
289 | -webkit-flex-wrap: wrap;
|
290 | flex-wrap: wrap;
|
291 | width: 100%;
|
292 | box-sizing: border-box;
|
293 | }
|
294 |
|
295 | ons-row[vertical-align="top"], ons-row[align="top"] {
|
296 | -webkit-box-align: start;
|
297 | box-align: start;
|
298 | -ms-flex-align: start;
|
299 | -webkit-align-items: flex-start;
|
300 | -moz-align-items: flex-start;
|
301 | align-items: flex-start;
|
302 | }
|
303 |
|
304 | ons-row[vertical-align="bottom"], ons-row[align="bottom"] {
|
305 | -webkit-box-align: end;
|
306 | box-align: end;
|
307 | -ms-flex-align: end;
|
308 | -webkit-align-items: flex-end;
|
309 | -moz-align-items: flex-end;
|
310 | align-items: flex-end;
|
311 | }
|
312 |
|
313 | ons-row[vertical-align="center"], ons-row[align="center"] {
|
314 | -webkit-box-align: center;
|
315 | box-align: center;
|
316 | -ms-flex-align: center;
|
317 | -webkit-align-items: center;
|
318 | -moz-align-items: center;
|
319 | align-items: center;
|
320 | text-align: inherit;
|
321 | }
|
322 |
|
323 | ons-row + ons-row {
|
324 | padding-top: 0;
|
325 | }
|
326 |
|
327 | ons-col {
|
328 | -webkit-box-flex: 1;
|
329 | -webkit-flex: 1;
|
330 | -moz-box-flex: 1;
|
331 | -moz-flex: 1;
|
332 | -ms-flex: 1;
|
333 | flex: 1;
|
334 | display: block;
|
335 | width: 100%;
|
336 | box-sizing: border-box;
|
337 | }
|
338 |
|
339 | ons-col[vertical-align="top"], ons-col[align="top"] {
|
340 | -webkit-align-self: flex-start;
|
341 | -moz-align-self: flex-start;
|
342 | -ms-flex-item-align: start;
|
343 | align-self: flex-start;
|
344 | }
|
345 |
|
346 | ons-col[vertical-align="bottom"], ons-col[align="bottom"] {
|
347 | -webkit-align-self: flex-end;
|
348 | -moz-align-self: flex-end;
|
349 | -ms-flex-item-align: end;
|
350 | align-self: flex-end; }
|
351 |
|
352 | ons-col[vertical-align="center"], ons-col[align="center"] {
|
353 | -webkit-align-self: center;
|
354 | -moz-align-self: center;
|
355 | -ms-flex-item-align: center;
|
356 | text-align: inherit;
|
357 | }
|
358 |
|
359 |
|
360 |
|
361 |
|
362 |
|
363 |
|
364 |
|
365 |
|
366 |
|
367 |
|
368 |
|
369 |
|
370 |
|
371 |
|
372 |
|
373 |
|
374 |
|
375 |
|
376 |
|
377 | .ons-icon {
|
378 | display: inline-block;
|
379 | line-height: inherit;
|
380 | font-style: normal;
|
381 | font-weight: normal;
|
382 | font-size: inherit;
|
383 | text-rendering: auto;
|
384 | -webkit-font-smoothing: antialiased;
|
385 | -moz-osx-font-smoothing: grayscale;
|
386 | }
|
387 |
|
388 | .segment__button .ons-icon {
|
389 | line-height: initial;
|
390 | }
|
391 |
|
392 | :not(ons-toolbar-button):not(ons-action-sheet-button):not(.segment__button) > .ons-icon--ion {
|
393 | line-height: 0.75em;
|
394 | vertical-align: -25%;
|
395 | }
|
396 |
|
397 | .ons-icon[spin] {
|
398 | -webkit-animation: ons-icon-spin 2s infinite linear;
|
399 | -moz-animation: ons-icon-spin 2s infinite linear;
|
400 | animation: ons-icon-spin 2s infinite linear;
|
401 | }
|
402 |
|
403 | @-moz-keyframes ons-icon-spin {
|
404 | 0% {
|
405 | -moz-transform: rotate(0deg);
|
406 | }
|
407 | 100% {
|
408 | -moz-transform: rotate(359deg);
|
409 | }
|
410 | }
|
411 |
|
412 | @-webkit-keyframes ons-icon-spin {
|
413 | 0% {
|
414 | -webkit-transform: rotate(0deg);
|
415 | }
|
416 | 100% {
|
417 | -webkit-transform: rotate(359deg);
|
418 | }
|
419 | }
|
420 |
|
421 | @keyframes ons-icon-spin {
|
422 | 0% {
|
423 | -webkit-transform: rotate(0deg);
|
424 | transform: rotate(0deg);
|
425 | }
|
426 | 100% {
|
427 | -webkit-transform: rotate(359deg);
|
428 | transform: rotate(359deg);
|
429 | }
|
430 | }
|
431 |
|
432 | .ons-icon[rotate="90"] {
|
433 | -webkit-transform: rotate(90deg);
|
434 | -moz-transform: rotate(90deg);
|
435 | transform: rotate(90deg);
|
436 | }
|
437 |
|
438 | .ons-icon[rotate="180"] {
|
439 | -webkit-transform: rotate(180deg);
|
440 | -moz-transform: rotate(180deg);
|
441 | transform: rotate(180deg);
|
442 | }
|
443 |
|
444 | .ons-icon[rotate="270"] {
|
445 | -webkit-transform: rotate(270deg);
|
446 | -moz-transform: rotate(270deg);
|
447 | transform: rotate(270deg);
|
448 | }
|
449 |
|
450 | .ons-icon[fixed-width] {
|
451 | width: 1.28571429em;
|
452 | text-align: center;
|
453 | }
|
454 |
|
455 | .ons-icon--lg {
|
456 | font-size: 1.33333333em;
|
457 | line-height: 0.75em;
|
458 | vertical-align: -15%;
|
459 | }
|
460 |
|
461 | .ons-icon--2x {
|
462 | font-size: 2em;
|
463 | }
|
464 |
|
465 | .ons-icon--3x {
|
466 | font-size: 3em;
|
467 | }
|
468 |
|
469 | .ons-icon--4x {
|
470 | font-size: 4em;
|
471 | }
|
472 |
|
473 | .ons-icon--5x {
|
474 | font-size: 5em;
|
475 | }
|
476 |
|
477 |
|
478 |
|
479 |
|
480 | .ons-icon.fa {
|
481 | font-family: 'Font Awesome 5 Brands', 'Font Awesome 5 Free';
|
482 | font-weight: 900;
|
483 | }
|
484 |
|
485 | ons-input, ons-radio, ons-checkbox, ons-search-input {
|
486 | display: inline-block;
|
487 | position: relative;
|
488 | }
|
489 |
|
490 | ons-input .text-input,
|
491 | ons-search-input .search-input {
|
492 | width: 100%;
|
493 | display: inline-block;
|
494 | }
|
495 |
|
496 | ons-input .text-input__label:not(.text-input--material__label) {
|
497 | display: none;
|
498 | }
|
499 |
|
500 | ons-input:not([float]) .text-input--material__label--active {
|
501 | display: none;
|
502 | }
|
503 |
|
504 | ons-input[disabled],
|
505 | ons-radio[disabled],
|
506 | ons-checkbox[disabled],
|
507 | ons-segment[disabled],
|
508 | ons-search-input[disabled] {
|
509 | opacity: 0.5;
|
510 | pointer-events: none;
|
511 | }
|
512 |
|
513 | ons-input input.text-input--material::-webkit-input-placeholder {
|
514 | color: transparent;
|
515 | }
|
516 |
|
517 | ons-input input.text-input--material::-moz-placeholder {
|
518 | color: transparent;
|
519 | }
|
520 |
|
521 | ons-input input.text-input--material:-ms-input-placeholder {
|
522 | color: transparent;
|
523 | }
|
524 |
|
525 |
|
526 | @media (orientation: landscape) {
|
527 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content {
|
528 | padding-right: 0;
|
529 | }
|
530 | html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content {
|
531 | padding-left: 0;
|
532 | }
|
533 | }
|
534 |
|
535 | @media (orientation: landscape) {
|
536 | html[onsflag-iphonex-landscape] .page__content > ons-progress-bar > .progress-bar {
|
537 | margin-left: -44px;
|
538 | margin-right: -44px;
|
539 | width: calc(100% + 88px);
|
540 | }
|
541 | }
|
542 |
|
543 | @media (orientation: landscape) {
|
544 |
|
545 | html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) {
|
546 | margin-left: 0;
|
547 | }
|
548 | html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) > .list-header {
|
549 | padding-left: 15px;
|
550 | }
|
551 | html[onsflag-iphonex-landscape] ons-splitter-side[side="right"] .page__content > .list:not(.list--inset) > .list-item {
|
552 | padding-left: 14px;
|
553 | }
|
554 |
|
555 |
|
556 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) {
|
557 | margin-right: 0;
|
558 | }
|
559 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item--chevron:before {
|
560 | right: 16px;
|
561 | }
|
562 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item__center:last-child {
|
563 | padding-right: 6px;
|
564 | }
|
565 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item__right {
|
566 | padding-right: 12px;
|
567 | }
|
568 | html[onsflag-iphonex-landscape] ons-splitter-side[side="left"] .page__content > .list:not(.list--inset) > .list-item > .list-item--chevron__right {
|
569 | padding-right: 30px;
|
570 | }
|
571 | }
|
572 |
|
573 |
|
574 |
|
575 |
|
576 |
|
577 |
|
578 |
|
579 |
|
580 |
|
581 |
|
582 |
|
583 |
|
584 |
|
585 |
|
586 |
|
587 |
|
588 |
|
589 |
|
590 | ons-progress-bar {
|
591 | display: block;
|
592 | }
|
593 |
|
594 | ons-progress-circular {
|
595 | display: inline-block;
|
596 | width: 32px;
|
597 | height: 32px;
|
598 | }
|
599 |
|
600 | ons-progress-circular > svg.progress-circular {
|
601 | width: 100%;
|
602 | height: 100%;
|
603 | }
|
604 |
|
605 |
|
606 |
|
607 |
|
608 |
|
609 |
|
610 |
|
611 |
|
612 |
|
613 |
|
614 |
|
615 |
|
616 |
|
617 |
|
618 |
|
619 |
|
620 |
|
621 | .ripple {
|
622 | display: block;
|
623 | position: absolute;
|
624 | overflow: hidden;
|
625 | top: 0;
|
626 | left: 0;
|
627 | right: 0;
|
628 | bottom: 0;
|
629 | pointer-events: none;
|
630 | }
|
631 |
|
632 | .ripple__background {
|
633 | background: rgba(255, 255, 255, 0.2);
|
634 | position: absolute;
|
635 | top: 0;
|
636 | left: 0;
|
637 | right: 0;
|
638 | bottom: 0;
|
639 | opacity: 0;
|
640 | pointer-events: none;
|
641 | }
|
642 |
|
643 | .ripple__wave {
|
644 | background: rgba(255, 255, 255, 0.2);
|
645 | width: 0;
|
646 | height: 0;
|
647 | border-radius: 50%;
|
648 | position: absolute;
|
649 | top: 0;
|
650 | left: 0;
|
651 | z-index: 0;
|
652 | pointer-events: none;
|
653 | }
|
654 |
|
655 |
|
656 | ons-list-item .ripple__wave,
|
657 | ons-list-item .ripple__background,
|
658 | .button--material--flat .ripple__wave,
|
659 | .button--material--flat .ripple__background {
|
660 | background: rgba(189, 189, 189, 0.3);
|
661 | }
|
662 |
|
663 | .ripple--light-gray__wave,
|
664 | .ripple--light-gray__background {
|
665 | background: rgba(189, 189, 189, 0.3);
|
666 | }
|
667 |
|
668 |
|
669 |
|
670 |
|
671 |
|
672 |
|
673 |
|
674 |
|
675 |
|
676 |
|
677 |
|
678 |
|
679 |
|
680 |
|
681 |
|
682 |
|
683 |
|
684 |
|
685 |
|
686 | .ons-swiper {
|
687 | overflow: hidden;
|
688 | display: block;
|
689 | box-sizing: border-box;
|
690 | }
|
691 |
|
692 | .ons-swiper-target {
|
693 | display: -webkit-flex;
|
694 | display: flex;
|
695 | height: 100%;
|
696 | z-index: 1;
|
697 | -webkit-flex-direction: row;
|
698 | flex-direction: row;
|
699 | }
|
700 |
|
701 | .ons-swiper-target--vertical {
|
702 | -webkit-flex-direction: column;
|
703 | flex-direction: column;
|
704 | }
|
705 |
|
706 | .ons-swiper-target > * {
|
707 | height: inherit;
|
708 | -webkit-flex-shrink: 0;
|
709 | flex-shrink: 0;
|
710 | box-sizing: border-box;
|
711 | width: 100%;
|
712 | position: relative !important;
|
713 | }
|
714 |
|
715 | .ons-swiper-target.active:not(.swiping) > .page:not([shown]) {
|
716 | visibility: hidden;
|
717 | }
|
718 |
|
719 | .ons-swiper-tabbar .tabbar--material__button:after {
|
720 | display: none;
|
721 | }
|
722 |
|
723 | .ons-swiper-blocker {
|
724 | display: block;
|
725 | position: absolute;
|
726 | top: 0;
|
727 | bottom: 0;
|
728 | left: 0;
|
729 | right: 0;
|
730 | pointer-events: none
|
731 | }
|