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