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