UNPKG

208 kBCSSView Raw
1/*!
2 * Copyright 2013-2017 ASIAL CORPORATION
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17/*!
18 * Copyright 2012 Adobe Systems Inc.;
19 *
20 * Licensed under the Apache License, Version 2.0 (the "License");
21 * you may not use this file except in compliance with the License.
22 * You may obtain a copy of the License at
23 *
24 * http://www.apache.org/licenses/LICENSE-2.0
25 *
26 * Unless required by applicable law or agreed to in writing, software
27 * distributed under the License is distributed on an "AS IS" BASIS,
28 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29 * See the License for the specific language governing permissions and
30 * limitations under the License.
31 *
32 */
33:root {
34 /* variables for iOS components */
35
36 /* variables for Material Design components */
37
38 /* others */
39}
40html {
41 height: 100%;
42 width: 100%;
43}
44body {
45 position: absolute;
46 overflow: hidden;
47 top: 0;
48 right: 0;
49 left: 0;
50 bottom: 0;
51 padding: 0;
52 margin: 0;
53 -webkit-text-size-adjust: 100%;
54 touch-action: manipulation;
55}
56html, body, div, span, applet, object, iframe,
57h1, h2, h3, h4, h5, h6, p, blockquote, pre,
58a, abbr, acronym, address, big, cite, code,
59del, dfn, em, img, ins, kbd, q, s, samp,
60small, strike, strong, sub, sup, tt, var,
61b, u, i, center, dl, dt, dd, ol, ul, li,
62fieldset, form, label, legend,
63table, caption, tbody, tfoot, thead, tr, th, td,
64article, aside, canvas, details, embed,
65figure, figcaption, footer, header, hgroup,
66menu, nav, output, ruby, section, summary,
67time, mark, audio, video {
68 -webkit-user-select: none;
69 -moz-user-select: none;
70 -ms-user-select: none;
71 user-select: none;
72 -webkit-tap-highlight-color: transparent;
73 -webkit-touch-callout: none;
74}
75input, textarea, select {
76 -webkit-user-select: auto;
77 -ms-user-select: auto;
78 user-select: auto;
79 -moz-user-select: text;
80 -webkit-touch-callout: none;
81}
82a, button, input, textarea, select {
83 touch-action: manipulation;
84}
85input:active, input:focus, textarea:active, textarea:focus, select:active, select:focus {
86 outline: none;
87}
88h1 {
89 font-size: 36px;
90}
91h2 {
92 font-size: 30px;
93}
94h3 {
95 font-size: 24px;
96}
97h4, h5, h6 {
98 font-size: 18px;
99}
100:root {
101}
102.page {
103 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
104 -webkit-font-smoothing: antialiased;
105 -moz-osx-font-smoothing: grayscale;
106 font-weight: 400;
107 background-color: #efeff4;
108 position: absolute;
109 top: 0;
110 left: 0;
111 right: 0;
112 bottom: 0;
113 overflow-x: visible;
114 overflow-y: hidden;
115 color: #1f1f21;
116 -ms-overflow-style: none;
117 -webkit-font-smoothing: antialiased;
118}
119.page::-webkit-scrollbar {
120 display: none;
121}
122.page__content {
123 background-color: #efeff4;
124 position: absolute;
125 top: 0;
126 left: 0;
127 right: 0;
128 bottom: 0;
129 box-sizing: border-box;
130}
131.page__background {
132 background-color: #efeff4;
133 position: absolute;
134 top: 0;
135 left: 0;
136 right: 0;
137 bottom: 0;
138 box-sizing: border-box;
139}
140.page--material {
141 font-family: 'Roboto', 'Noto', sans-serif;
142 -webkit-font-smoothing: antialiased;
143 font-weight: 400;
144 background-color: #eceff1;
145}
146.page--material__content {
147 font-family: 'Roboto', 'Noto', sans-serif;
148 -webkit-font-smoothing: antialiased;
149 font-weight: 400;
150 font-weight: 400;
151}
152.page__content h1,
153.page__content h2,
154.page__content h3,
155.page__content h4,
156.page__content h5 {
157 font-family: 'Roboto', 'Noto', sans-serif;
158 -webkit-font-smoothing: antialiased;
159 font-weight: 400;
160 font-weight: 500;
161 margin: 0.6em 0;
162 padding: 0;
163}
164.page__content h1 {
165 font-size: 28px;
166}
167.page__content h2 {
168 font-size: 24px;
169}
170.page__content h3 {
171 font-size: 20px;
172}
173.page--material__content h1,
174.page--material__content h2,
175.page--material__content h3,
176.page--material__content h4,
177.page--material__content h5 {
178 font-family: 'Roboto', 'Noto', sans-serif;
179 -webkit-font-smoothing: antialiased;
180 font-weight: 400;
181 font-weight: 500;
182 margin: 0.6em 0;
183 padding: 0;
184}
185.page--material__content h1 {
186 font-size: 28px;
187}
188.page--material__content h2 {
189 font-size: 24px;
190}
191.page--material__content h3 {
192 font-size: 20px;
193}
194.page--material__background {
195 background-color: #eceff1;
196}
197:root { /* background color active */
198}
199/*~
200 name: Switch
201 category: Switch
202 elements: ons-switch
203 markup: |
204 <label class="switch">
205 <input type="checkbox" class="switch__input">
206 <div class="switch__toggle">
207 <div class="switch__handle"></div>
208 </div>
209 </label>
210 <label class="switch">
211 <input type="checkbox" class="switch__input" checked>
212 <div class="switch__toggle">
213 <div class="switch__handle"></div>
214 </div>
215 </label>
216 <label class="switch">
217 <input type="checkbox" class="switch__input" disabled>
218 <div class="switch__toggle">
219 <div class="switch__handle"></div>
220 </div>
221 </label>
222*/
223.switch {
224 display: inline-block;
225 vertical-align: top;
226 box-sizing: border-box;
227 background-clip: padding-box;
228 position: relative;
229 min-width: 51px;
230 font-size: 17px;
231 padding: 0 20px;
232 border: none;
233 overflow: visible;
234 width: 51px;
235 height: 32px;
236 z-index: 0;
237 text-align: left;
238}
239.switch__input {
240 position: absolute;
241 right: 0;
242 top: 0;
243 left: 0;
244 bottom: 0;
245 padding: 0;
246 border: 0;
247 background-color: transparent;
248 z-index: 1;
249 vertical-align: top;
250 outline: none;
251 width: 100%;
252 height: 100%;
253 margin: 0;
254 -webkit-appearance: none;
255 -moz-appearance: none;
256 appearance: none;
257 z-index: 0;
258}
259/* switch toggle background */
260.switch__toggle {
261 background-color: white;
262 position: absolute;
263 top: 0;
264 left: 0;
265 right: 0;
266 bottom: 0;
267 border-radius: 30px;
268 transition-property: all;
269 transition-duration: 0.35s;
270 transition-timing-function: ease-out;
271 box-shadow: inset 0 0 0 2px #e5e5e5;
272}
273/* switch toggle circle */
274.switch__handle {
275 box-sizing: border-box;
276 background-clip: padding-box;
277 position: absolute;
278 content: '';
279 border-radius: 28px;
280 height: 28px;
281 width: 28px;
282 background-color: white;
283 left: 1px;
284 top: 2px;
285 transition-property: all;
286 transition-duration: 0.35s;
287 transition-timing-function: cubic-bezier(.59, .01, .5, .99);
288 box-shadow: 0 0 1px 0 rgba(0, 0, 0, .25), 0 3px 2px rgba(0, 0, 0, .25);
289}
290.switch--active__handle {
291 transition: none;
292}
293:checked + .switch__toggle {
294 box-shadow: inset 0 0 0 2px #44db5e;
295 background-color: #44db5e;
296}
297:checked + .switch__toggle > .switch__handle {
298 left: 21px;
299 box-shadow: 0 3px 2px rgba(0, 0, 0, .25);
300}
301:disabled + .switch__toggle {
302 opacity: 0.3;
303 cursor: default;
304 pointer-events: none;
305}
306.switch__touch {
307 position: absolute;
308 top: -5px;
309 bottom: -5px;
310 left: -10px;
311 right: -10px;
312}
313/*~
314 name: Material Switch
315 category: Switch
316 elements: ons-switch
317 markup: |
318 <label class="switch switch--material">
319 <input type="checkbox" class="switch__input switch--material__input">
320 <div class="switch__toggle switch--material__toggle">
321 <div class="switch__handle switch--material__handle">
322 </div>
323 </div>
324 </label>
325 <label class="switch switch--material">
326 <input type="checkbox" class="switch__input switch--material__input" checked>
327 <div class="switch__toggle switch--material__toggle">
328 <div class="switch__handle switch--material__handle">
329 </div>
330 </div>
331 </label>
332 <label class="switch switch--material">
333 <input type="checkbox" class="switch__input switch--material__input" disabled>
334 <div class="switch__toggle switch--material__toggle">
335 <div class="switch__handle switch--material__handle">
336 </div>
337 </div>
338 </label>
339*/
340.switch--material {
341 width: 36px;
342 height: 24px;
343 padding: 0 10px;
344 min-width: 36px;
345}
346.switch--material__toggle {
347 background-color: #b0afaf;
348 margin-top: 5px;
349 height: 14px;
350 box-shadow: none;
351}
352.switch--material__input {
353 position: absolute;
354 right: 0;
355 top: 0;
356 left: 0;
357 bottom: 0;
358 padding: 0;
359 border: 0;
360 background-color: transparent;
361 z-index: 1;
362 vertical-align: top;
363 outline: none;
364 width: 100%;
365 height: 100%;
366 margin: 0;
367 -webkit-appearance: none;
368 -moz-appearance: none;
369 appearance: none;
370 z-index: 0;
371}
372.switch--material__handle {
373 background-color: #f1f1f1;
374 left: 0;
375 margin-top: -5px;
376 width: 20px;
377 height: 20px;
378 box-shadow:
379 0 4px 5px 0 rgba(0, 0, 0, .14),
380 0 1px 10px 0 rgba(0, 0, 0, .12),
381 0 2px 4px -1px rgba(0, 0, 0, .4);
382}
383:checked + .switch--material__toggle {
384 background-color: rgba(55, 71, 79, 0.5);
385 box-shadow: none;
386}
387:checked + .switch--material__toggle > .switch--material__handle {
388 left: 16px;
389 background-color: #37474f;
390 box-shadow:
391 0 2px 2px 0 rgba(0, 0, 0, .14),
392 0 1px 5px 0 rgba(0, 0, 0, .12),
393 0 3px 1px -2px rgba(0, 0, 0, .2);
394}
395:disabled + .switch--material__toggle {
396 opacity: 0.3;
397 cursor: default;
398 pointer-events: none;
399}
400.switch--material__handle:before {
401 background: transparent;
402 content: '';
403 display: block;
404 width: 100%;
405 height: 100%;
406 border-radius: 50%;
407 z-index: 0;
408 box-shadow: 0 0 0 0 rgba(0, 0, 0, .12);
409 transition: box-shadow 0.1s linear;
410}
411.switch--material__toggle > .switch--active__handle:before {
412 box-shadow: 0 0 0 14px rgba(0, 0, 0, .12);
413}
414:checked + .switch--material__toggle > .switch--active__handle:before {
415 box-shadow: 0 0 0 14px rgba(55, 71, 79, 0.2);
416}
417.switch--material__touch {
418 position: absolute;
419 top: -10px;
420 bottom: -10px;
421 left: -15px;
422 right: -15px;
423}
424/*~
425 name: Range
426 category: Range
427 elements: ons-range
428 markup: |
429 <div class="range">
430 <input type="range" class="range__input">
431 <input type="range" class="range__focus-ring">
432 </div>
433
434 <div class="range range--disabled">
435 <input type="range" class="range__input" disabled>
436 <input type="range" class="range__focus-ring" disabled>
437 </div>
438*/
439.range {
440 display: inline-block;
441 position: relative;
442 width: 100px;
443 height: 30px;
444 margin: 0;
445 padding: 0;
446 background-image: linear-gradient(#a4aab3, #a4aab3);
447 background-position: left center;
448 background-size: 100% 2px;
449 background-repeat: no-repeat;
450 background-color: transparent;
451}
452.range__input {
453 box-sizing: border-box;
454 background-clip: padding-box;
455 padding: 0;
456 margin: 0;
457 font: inherit;
458 color: inherit;
459 background: transparent;
460 border: none;
461 vertical-align: top;
462 outline: none;
463 line-height: 1;
464 -webkit-appearance: none;
465 -moz-appearance: none;
466 appearance: none;
467 background-image: linear-gradient(#0076ff, #0076ff);
468 background-position: left center;
469 background-size: 0% 2px;
470 background-repeat: no-repeat;
471 height: 30px;
472 position: relative;
473 z-index: 1;
474 width: 100%;
475}
476.range__input::-moz-range-track {
477 position: relative;
478 border: none;
479 background: none;
480 box-shadow: none;
481 top: 0;
482 margin: 0;
483 padding: 0;
484}
485.range__input::-ms-track {
486 position: relative;
487 border: none;
488 background-color: #a4aab3;
489 height: 0;
490 border-radius: 50%;
491}
492.range__input::-webkit-slider-thumb {
493 cursor: pointer;
494 position: relative;
495 height: 28px;
496 width: 28px;
497 background-color: #fff;
498 border: none;
499 box-shadow: 0 0 1px 0 rgba(0, 0, 0, .25), 0 3px 2px rgba(0, 0, 0, .25);
500 border-radius: 50%;
501 margin: 0;
502 padding: 0;
503 box-sizing: border-box;
504 -webkit-appearance: none;
505 appearance: none;
506 top: 0;
507 z-index: 1;
508}
509.range__input::-moz-range-thumb {
510 cursor: pointer;
511 position: relative;
512 height: 28px;
513 width: 28px;
514 background-color: #fff;
515 border: none;
516 box-shadow: 0 0 1px 0 rgba(0, 0, 0, .25), 0 3px 2px rgba(0, 0, 0, .25);
517 border-radius: 50%;
518 margin: 0;
519 padding: 0;
520}
521.range__input::-ms-thumb {
522 cursor: pointer;
523 position: relative;
524 height: 28px;
525 width: 28px;
526 background-color: #fff;
527 border: none;
528 box-shadow: 0 0 1px 0 rgba(0, 0, 0, .25), 0 3px 2px rgba(0, 0, 0, .25);
529 border-radius: 50%;
530 margin: 0;
531 padding: 0;
532 top: 0;
533}
534.range__input::-ms-fill-lower {
535 height: 2px;
536 background-color: #0076ff;
537}
538.range__input::-ms-tooltip {
539 display: none;
540}
541.range__input:disabled {
542 opacity: 1;
543 pointer-events: none;
544}
545.range__focus-ring {
546 pointer-events: none;
547 top: 0;
548 left: 0;
549 display: none;
550 box-sizing: border-box;
551 background-clip: padding-box;
552 padding: 0;
553 margin: 0;
554 font: inherit;
555 color: inherit;
556 background: transparent;
557 border: none;
558 vertical-align: top;
559 outline: none;
560 line-height: 1;
561 -webkit-appearance: none;
562 -moz-appearance: none;
563 appearance: none;
564 background: none;
565 height: 30px;
566 position: absolute;
567 z-index: 0;
568 width: 100%;
569}
570.range--disabled {
571 opacity: 0.3;
572 cursor: default;
573 pointer-events: none;
574 pointer-events: none;
575}
576/*~
577 name: Material Range
578 category: Range
579 elements: ons-range
580 markup: |
581 <div class="range range--material">
582 <input type="range" class="range__input range--material__input" min="0" max="100">
583 <!-- <input type="range" class="range__focus-ring range--material__focus-ring"> -->
584 </div>
585
586 <div class="range range--material range--disabled">
587 <input type="range" class="range__input range--material__input" disabled>
588 <!-- <input type="range" class="range__focus-ring range--material__focus-ring" disabled> -->
589 </div>
590*/
591.range--material {
592 position: relative;
593 background-image: linear-gradient(#bdbdbd, #bdbdbd);
594}
595.range--material__input {
596 background-image: linear-gradient(#31313a, #31313a);
597 background-position: center left;
598 background-size: 0% 2px;
599}
600.range--material__focus-ring {
601 display: block;
602}
603.range--material__focus-ring::-webkit-slider-thumb {
604 -webkit-appearance: none;
605 appearance: none;
606 width: 14px;
607 height: 14px;
608 border: none;
609 box-shadow: 0 0 0 9px #31313a;
610 background-color: #31313a;
611 border-radius: 50%;
612 opacity: 0;
613 transition: opacity 0.25s ease-out, -webkit-transform 0.25s ease-out;
614 transition: opacity 0.25s ease-out, transform 0.25s ease-out;
615 transition: opacity 0.25s ease-out, transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
616}
617.range--material__input.range__input--active + .range--material__focus-ring::-webkit-slider-thumb {
618 opacity: 0.2;
619 -webkit-transform: scale(1.5, 1.5, 1.5);
620 transform: scale(1.5, 1.5, 1.5);
621}
622.range--material__input::-webkit-slider-thumb {
623 position: relative;
624 box-sizing: border-box;
625 border: none;
626 background-color: transparent;
627 width: 14px;
628 height: 32px;
629 border-radius: 0;
630 box-shadow: none;
631 background-image: radial-gradient(circle farthest-corner, #31313a 0%, #31313a 6.6px, transparent 7px);
632 transition: -webkit-transform 0.1s linear;
633 transition: transform 0.1s linear;
634 transition: transform 0.1s linear, -webkit-transform 0.1s linear;
635 overflow: visible;
636}
637.range--material__input[_zero]::-webkit-slider-thumb {
638 background-image: radial-gradient(circle farthest-corner, #f2f2f2 0%, #f2f2f2 4px, #bdbdbd 4px, #bdbdbd 6.4px, transparent 7px);
639}
640.range--material__input[_zero] + .range--material__focus-ring::-webkit-slider-thumb {
641 box-shadow: 0 0 0 9px #bdbdbd;
642}
643.range--material__input::-moz-range-track {
644 background: none;
645}
646.range--material__input::-moz-range-thumb,
647.range--material__input:focus::-moz-range-thumb {
648 box-sizing: border-box;
649 border: none;
650 width: 14px;
651 height: 32px;
652 border-radius: 0;
653 background-color: transparent;
654 background-image: -moz-radial-gradient(circle farthest-corner, #31313a 0%, #31313a 6.6px, transparent 7px); /* stylelint-disable-line */
655 box-shadow: none;
656}
657.range--material__input:active::-webkit-slider-thumb,
658.range--material__input.range__input--active::-webkit-slider-thumb { /* NOTICE: ":active" does not work on Android Chrome. */
659 -webkit-transform: scale(1.5);
660 transform: scale(1.5);
661 transition: -webkit-transform 0.1s linear;
662 transition: transform 0.1s linear;
663 transition: transform 0.1s linear, -webkit-transform 0.1s linear;
664}
665/* stylelint-disable */
666.range--disabled.range--material { /* stylelint-enable */
667 opacity: 1;
668}
669/* stylelint-disable */
670.range--disabled > .range--material__input { /* stylelint-enable */
671 background-image: none;
672}
673.range--material__input:disabled::-webkit-slider-thumb {
674 background-image: radial-gradient(circle farthest-corner, #b0b0b0 0%, #b0b0b0 4px, #eeeeee 4.4px, #eeeeee 7.6px, transparent 7.6px);
675 transition: none;
676}
677.range--material__input:disabled::-moz-range-thumb {
678 background-image: -moz-radial-gradient(circle farthest-corner, #b0b0b0 0%, #b0b0b0 4px, #eeeeee 4.4px, #eeeeee 7.6px, transparent 7.6px); /* stylelint-disable-line */
679 transition: none;
680}
681/*~
682 name: Notification
683 category: Notification
684 markup: |
685 <span class="notification">1</span>
686 <span class="notification">10</span>
687 <span class="notification">999</span>
688*/
689.notification {
690 position: relative;
691 display: inline-block;
692 vertical-align: top;
693 font: inherit;
694 border: none;
695 box-sizing: border-box;
696 background-clip: padding-box;
697 padding: 0;
698 margin: 0;
699 font: inherit;
700 color: inherit;
701 background: transparent;
702 border: none;
703 line-height: normal;
704 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
705 -webkit-font-smoothing: antialiased;
706 -moz-osx-font-smoothing: grayscale;
707 font-weight: 400;
708 cursor: default;
709 -webkit-user-select: none;
710 -moz-user-select: none;
711 -ms-user-select: none;
712 user-select: none;
713 text-overflow: ellipsis;
714 white-space: nowrap;
715 overflow: hidden;
716 text-decoration: none;
717 margin: 0;
718 padding: 0 4px;
719 width: auto;
720 height: 19px;
721 border-radius: 19px;
722 background-color: #fe3824;
723 color: white;
724 text-align: center;
725 font-size: 16px;
726 min-width: 19px;
727 line-height: 19px;
728 font-weight: 400;
729}
730.notification:empty {
731 display: none;
732}
733/*~
734 name: Material Notification
735 category: Notification
736 markup: |
737 <span class="notification notification--material">1</span>
738 <span class="notification notification--material">10</span>
739 <span class="notification notification--material">999</span>
740*/
741.notification--material {
742 font-family: 'Roboto', 'Noto', sans-serif;
743 -webkit-font-smoothing: antialiased;
744 font-weight: 400;
745 background-color: #e91e63;
746 font-size: 16px;
747 font-weight: 500;
748 color: white;
749}
750/*~
751 name: Toolbar
752 category: Toolbar
753 elements: ons-toolbar
754 markup: |
755 <div class="toolbar">
756 <div class="toolbar__center">Navigation Bar</div>
757 </div>
758*/
759.toolbar {
760 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
761 -webkit-font-smoothing: antialiased;
762 -moz-osx-font-smoothing: grayscale;
763 font-weight: 400;
764 box-sizing: border-box;
765 background-clip: padding-box;
766 white-space: nowrap;
767 overflow: hidden;
768 word-spacing: 0;
769 padding: 0;
770 margin: 0;
771 font: inherit;
772 color: inherit;
773 background: transparent;
774 border: none;
775 line-height: normal;
776 cursor: default;
777 -webkit-user-select: none;
778 -moz-user-select: none;
779 -ms-user-select: none;
780 user-select: none;
781 z-index: 2;
782 display: -webkit-box;
783 display: -webkit-flex;
784 display: flex;
785 -webkit-box-align: stretch;
786 -webkit-align-items: stretch;
787 align-items: stretch;
788 -webkit-flex-wrap: nowrap;
789 flex-wrap: nowrap;
790 height: 44px;
791 padding-left: 0;
792 padding-right: 0;
793 background: #fafafa;
794 color: #1f1f21;
795 box-shadow: none;
796 font-weight: 400;
797 width: 100%;
798 white-space: nowrap;
799 border-bottom: none;
800 background-size: 100% 1px;
801 background-repeat: no-repeat;
802 background-position: bottom;
803 background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 100%);
804}
805@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
806 .toolbar {
807 background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 50%, transparent 50%);
808 }
809}
810.toolbar__bg {
811 background: #fafafa;
812}
813.toolbar__item {
814 box-sizing: border-box;
815 background-clip: padding-box;
816 padding: 0;
817 margin: 0;
818 font: inherit;
819 color: inherit;
820 background: transparent;
821 border: none;
822 line-height: normal;
823 height: 44px;
824 overflow: visible;
825 display: block;
826 vertical-align: middle;
827}
828.toolbar__left {
829 box-sizing: border-box;
830 background-clip: padding-box;
831 padding: 0;
832 margin: 0;
833 font: inherit;
834 color: inherit;
835 background: transparent;
836 border: none;
837 line-height: normal;
838 max-width: 50%;
839 width: 27%;
840 text-align: left;
841 line-height: 44px;
842}
843.toolbar__right {
844 box-sizing: border-box;
845 background-clip: padding-box;
846 padding: 0;
847 margin: 0;
848 font: inherit;
849 color: inherit;
850 background: transparent;
851 border: none;
852 line-height: normal;
853 max-width: 50%;
854 width: 27%;
855 text-align: right;
856 line-height: 44px;
857}
858.toolbar__center {
859 box-sizing: border-box;
860 background-clip: padding-box;
861 padding: 0;
862 margin: 0;
863 font: inherit;
864 color: inherit;
865 background: transparent;
866 border: none;
867 line-height: normal;
868 width: 46%;
869 text-align: center;
870 line-height: 44px;
871 font-size: 17px;
872 font-weight: 500;
873 color: #1f1f21;
874}
875.toolbar__title {
876 line-height: 44px;
877 font-size: 17px;
878 font-weight: 500;
879 color: #1f1f21;
880 margin: 0;
881 padding: 0;
882 overflow: visible;
883}
884.toolbar__center:first-child:last-child {
885 width: 100%;
886}
887/*~
888 name: Toolbar Item
889 category: Toolbar
890 elements: ons-toolbar ons-toolbar-button
891 markup: |
892 <div class="toolbar">
893 <div class="toolbar__left">
894 <span class="toolbar-button">
895 <i class="ion-navicon" style="font-size:32px; vertical-align:-6px;"></i>
896 </span>
897 </div>
898
899 <div class="toolbar__center">
900 Navigation Bar
901 </div>
902
903 <div class="toolbar__right">
904 <span class="toolbar-button">Label</span>
905 </div>
906 </div>
907*/
908/*~
909 name: Toolbar with Outline Button
910 category: Toolbar
911 elements: ons-toolbar ons-toolbar-button
912 markup: |
913 <!-- Prerequisite=This example use ionicons(http://ionicons.com) to display icons. -->
914 <div class="toolbar">
915 <div class="toolbar__left">
916 <span class="toolbar-button toolbar-button--outline">
917 <i class="ion-navicon" style="font-size:32px; vertical-align:-6px;"></i>
918 </span>
919 </div>
920
921 <div class="toolbar__center">
922 Title
923 </div>
924
925 <div class="toolbar__right">
926 <span class="toolbar-button toolbar-button--outline">Button</span>
927 </div>
928 </div>
929*/
930/*~
931 name: Bottom Bar
932 category: Toolbar
933 elements: ons-bottom-toolbar
934 markup: |
935 <div class="bottom-bar">
936 <div class="bottom-bar__line-height" style="text-align:center">Bottom Toolbar</div>
937 </div>
938*/
939.bottom-bar {
940 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
941 -webkit-font-smoothing: antialiased;
942 -moz-osx-font-smoothing: grayscale;
943 font-weight: 400;
944 box-sizing: border-box;
945 background-clip: padding-box;
946 white-space: nowrap;
947 overflow: hidden;
948 word-spacing: 0;
949 padding: 0;
950 margin: 0;
951 font: inherit;
952 color: inherit;
953 background: transparent;
954 border: none;
955 line-height: normal;
956 cursor: default;
957 -webkit-user-select: none;
958 -moz-user-select: none;
959 -ms-user-select: none;
960 user-select: none;
961 z-index: 2;
962 display: block;
963 height: 44px;
964 padding-left: 0;
965 padding-right: 0;
966 background: #fafafa;
967 color: #1f1f21;
968 box-shadow: none;
969 font-weight: 400;
970 border-bottom: none;
971 border-top: 1px solid #b2b2b2;
972 position: absolute;
973 bottom: 0;
974 right: 0;
975 left: 0;
976 border-top: none;
977 background-size: 100% 1px;
978 background-repeat: no-repeat;
979 background-position: top;
980 background-image: linear-gradient(180deg, #b2b2b2, #b2b2b2 100%);
981}
982@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
983 .bottom-bar {
984 background-image: linear-gradient(180deg, #b2b2b2, #b2b2b2 50%, transparent 50%);
985 }
986}
987.bottom-bar__line-height {
988 line-height: 44px;
989 padding-bottom: 0;
990 padding-top: 0;
991}
992.bottom-bar--aligned {
993 display: -webkit-box;
994 display: -webkit-flex;
995 display: flex;
996 -webkit-flex-wrap: nowrap;
997 flex-wrap: nowrap;
998 line-height: 44px;
999}
1000.bottom-bar--transparent {
1001 background-color: transparent;
1002 background-image: none;
1003 border: none;
1004}
1005/*~
1006 name: Toolbar with Segment
1007 category: Toolbar
1008 elements: ons-toolbar
1009 markup: |
1010 <div class="toolbar">
1011 <div class="toolbar__center">
1012 <div class="segment" style="width:200px;margin:7px 50px;">
1013 <div class="segment__item">
1014 <input type="radio" class="segment__input" name="navi-segment-a" checked>
1015 <div class="segment__button">One</div>
1016 </div>
1017
1018 <div class="segment__item">
1019 <input type="radio" class="segment__input" name="navi-segment-a">
1020 <div class="segment__button">Two</div>
1021 </div>
1022 </div>
1023 </div>
1024 </div>
1025*/
1026/*~
1027 name: Material Toolbar
1028 category: Toolbar
1029 elements: ons-toolbar
1030 markup: |
1031 <div class="toolbar toolbar--material">
1032 <div class="toolbar__center toolbar--material__center">
1033 Title
1034 </div>
1035 </div>
1036*/
1037.toolbar--material {
1038 display: -webkit-box;
1039 display: -webkit-flex;
1040 display: flex;
1041 -webkit-flex-wrap: nowrap;
1042 flex-wrap: nowrap;
1043 -webkit-box-pack: justify;
1044 -webkit-justify-content: space-between;
1045 justify-content: space-between;
1046 height: 56px;
1047 border-bottom: 0;
1048 box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
1049 padding: 0;
1050 background-color: #ffffff;
1051 background-size: 0;
1052}
1053/*~
1054 name: No Shadow Toolbar
1055 category: Toolbar
1056 elements: ons-toolbar
1057 markup: |
1058 <div class="toolbar toolbar--noshadow">
1059 <div class="toolbar__left">
1060 <span class="toolbar-button">
1061 <i class="ion-navicon" style="font-size:32px; vertical-align:-6px;"></i>
1062 </span>
1063 </div>
1064 <div class="toolbar__center">
1065 Navigation Bar
1066 </div>
1067 <div class="toolbar__right">
1068 <span class="toolbar-button">Label</span>
1069 </div>
1070 </div>
1071*/
1072.toolbar--noshadow {
1073 box-shadow: none;
1074 background-image: none;
1075 border-bottom: none;
1076}
1077.toolbar--material__left, .toolbar--material__right {
1078 font-family: 'Roboto', 'Noto', sans-serif;
1079 -webkit-font-smoothing: antialiased;
1080 font-weight: 400;
1081 font-size: 20px;
1082 font-weight: 500;
1083 color: #31313a;
1084 height: 56px;
1085 min-width: 72px;
1086 width: auto;
1087 line-height: 56px;
1088}
1089.toolbar--material__center {
1090 font-family: 'Roboto', 'Noto', sans-serif;
1091 -webkit-font-smoothing: antialiased;
1092 font-weight: 400;
1093 font-size: 20px;
1094 font-weight: 500;
1095 color: #31313a;
1096 height: 56px;
1097 width: auto;
1098 -webkit-box-flex: 1;
1099 -webkit-flex-grow: 1;
1100 flex-grow: 1;
1101 overflow: hidden;
1102 text-overflow: ellipsis;
1103 text-align: left;
1104 line-height: 56px;
1105}
1106.toolbar--material__center:first-child {
1107 margin-left: 16px;
1108}
1109.toolbar--material__center:last-child {
1110 margin-right: 16px;
1111}
1112.toolbar--material__left:empty, .toolbar--material__right:empty {
1113 min-width: 16px;
1114}
1115/*~
1116 name: Material Toolbar with Icons
1117 category: Toolbar
1118 elements: ons-toolbar
1119 markup: |
1120 <div class="toolbar toolbar--material">
1121 <div class="toolbar__left toolbar--material__left">
1122 <span class="toolbar-button toolbar-button--material">
1123 <i class="zmdi zmdi-menu"></i>
1124 </span>
1125 </div>
1126 <div class="toolbar__center toolbar--material__center">
1127 Title
1128 </div>
1129 <div class="toolbar__right toolbar--material__right">
1130 <span class="toolbar-button toolbar-button--material">
1131 <i class="zmdi zmdi-search"></i>
1132 </span>
1133 <span class="toolbar-button toolbar-button--material">
1134 <i class="zmdi zmdi-favorite"></i>
1135 </span>
1136 <span class="toolbar-button toolbar-button--material">
1137 <i class="zmdi zmdi-more-vert"></i>
1138 </span>
1139 </div>
1140 </div>
1141*/
1142/*~
1143 name: Transparent Toolbar
1144 category: Toolbar
1145 elements: ons-toolbar
1146 markup: |
1147 <div class="toolbar toolbar--transparent">
1148 <div class="toolbar__left">
1149 <span class="toolbar-button">
1150 <i class="ion-navicon" style="font-size:32px; vertical-align:-6px;"></i>
1151 </span>
1152 </div>
1153 <div class="toolbar__center">
1154 Navigation Bar
1155 </div>
1156 <div class="toolbar__right">
1157 <span class="toolbar-button">Label</span>
1158 </div>
1159 </div>
1160*/
1161.toolbar--transparent {
1162 background-color: transparent;
1163 box-shadow: none;
1164 background-image: none;
1165 border-bottom: none;
1166}
1167/*~
1168 name: Button
1169 category: Button
1170 elements: ons-button
1171 markup: |
1172 <button class="button">Button</button>
1173 <button class="button" disabled>Button</button>
1174*/
1175.button {
1176 position: relative;
1177 display: inline-block;
1178 box-sizing: border-box;
1179 background-clip: padding-box;
1180 padding: 0;
1181 margin: 0;
1182 font: inherit;
1183 color: inherit;
1184 background: transparent;
1185 border: none;
1186 line-height: normal;
1187 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1188 -webkit-font-smoothing: antialiased;
1189 -moz-osx-font-smoothing: grayscale;
1190 font-weight: 400;
1191 cursor: default;
1192 -webkit-user-select: none;
1193 -moz-user-select: none;
1194 -ms-user-select: none;
1195 user-select: none;
1196 text-overflow: ellipsis;
1197 white-space: nowrap;
1198 overflow: hidden;
1199 height: auto;
1200 text-decoration: none;
1201 padding: 4px 10px;
1202 font-size: 17px;
1203 line-height: 32px;
1204 letter-spacing: 0;
1205 color: white;
1206 vertical-align: middle;
1207 background-color: #0076ff;
1208 border: 0 solid currentColor;
1209 border-radius: 3px;
1210 transition: none;
1211}
1212.button::-moz-focus-inner {
1213 outline: 0;
1214}
1215.button:hover {
1216 transition: none;
1217}
1218.button:active {
1219 background-color: #0076ff;
1220 transition: none;
1221 opacity: 0.2;
1222}
1223.button:focus {
1224 outline: 0;
1225}
1226.button:disabled, .button[disabled] {
1227 opacity: 0.3;
1228 cursor: default;
1229 pointer-events: none;
1230}
1231/*~
1232 name: Outline Button
1233 category: Button
1234 elements: ons-button
1235 markup: |
1236 <button class="button button--outline">Button</button>
1237 <button class="button button--outline" disabled>Button</button>
1238*/
1239.button--outline {
1240 background-color: transparent;
1241 border: 1px solid #0076ff;
1242 color: #0076ff;
1243}
1244.button--outline:active {
1245 background-color: rgb(179, 214, 255);
1246 border: 1px solid #0076ff;
1247 color: #0076ff;
1248 opacity: 1;
1249}
1250.button--outline:hover {
1251 border: 1px solid #0076ff;
1252 transition: 0;
1253}
1254/*~
1255 name: Light Button
1256 category: Button
1257 elements: ons-button
1258 markup: |
1259 <button class="button button--light">Button</button>
1260 <button class="button button--light" disabled>Button</button>
1261*/
1262.button--light {
1263 background-color: transparent;
1264 color: rgba(0, 0, 0, 0.4);
1265 border: 1px solid rgba(0, 0, 0, 0.2);
1266}
1267.button--light:active {
1268 background-color: rgba(0, 0, 0, 0.05);
1269 color: rgba(0, 0, 0, 0.4);
1270 border: 1px solid rgba(0, 0, 0, 0.2);
1271 opacity: 1;
1272}
1273/*~
1274 name: Quiet Button
1275 category: Button
1276 elements: ons-button
1277 markup: |
1278 <button class="button--quiet">Button</button>
1279 <button class="button--quiet" disabled>Button</button>
1280*/
1281.button--quiet {
1282 position: relative;
1283 display: inline-block;
1284 box-sizing: border-box;
1285 background-clip: padding-box;
1286 padding: 0;
1287 margin: 0;
1288 font: inherit;
1289 color: inherit;
1290 background: transparent;
1291 border: none;
1292 line-height: normal;
1293 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1294 -webkit-font-smoothing: antialiased;
1295 -moz-osx-font-smoothing: grayscale;
1296 font-weight: 400;
1297 cursor: default;
1298 -webkit-user-select: none;
1299 -moz-user-select: none;
1300 -ms-user-select: none;
1301 user-select: none;
1302 text-overflow: ellipsis;
1303 white-space: nowrap;
1304 overflow: hidden;
1305 height: auto;
1306 text-decoration: none;
1307 padding: 4px 10px;
1308 font-size: 17px;
1309 line-height: 32px;
1310 letter-spacing: 0;
1311 color: white;
1312 vertical-align: middle;
1313 background-color: #0076ff;
1314 border: 0 solid currentColor;
1315 border-radius: 3px;
1316 transition: none;
1317 background: transparent;
1318 border: 1px solid transparent;
1319 box-shadow: none;
1320 background: transparent;
1321 color: #0076ff;
1322 border: none;
1323}
1324.button--quiet:disabled,
1325.button--quiet[disabled] {
1326 opacity: 0.3;
1327 cursor: default;
1328 pointer-events: none;
1329 border: none;
1330}
1331.button--quiet:hover {
1332 transition: none;
1333}
1334.button--quiet:focus {
1335 outline: 0;
1336}
1337.button--quiet:active {
1338 background-color: transparent;
1339 border: none;
1340 transition: none;
1341 opacity: 0.2;
1342 color: #0076ff;
1343}
1344/*~
1345 name: Call To Action Button
1346 category: Button
1347 elements: ons-button
1348 markup: |
1349 <button class="button--cta">Button</button>
1350 <button class="button--cta" disabled>Button</button>
1351*/
1352.button--cta {
1353 position: relative;
1354 display: inline-block;
1355 box-sizing: border-box;
1356 background-clip: padding-box;
1357 padding: 0;
1358 margin: 0;
1359 font: inherit;
1360 color: inherit;
1361 background: transparent;
1362 border: none;
1363 line-height: normal;
1364 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1365 -webkit-font-smoothing: antialiased;
1366 -moz-osx-font-smoothing: grayscale;
1367 font-weight: 400;
1368 cursor: default;
1369 -webkit-user-select: none;
1370 -moz-user-select: none;
1371 -ms-user-select: none;
1372 user-select: none;
1373 text-overflow: ellipsis;
1374 white-space: nowrap;
1375 overflow: hidden;
1376 height: auto;
1377 text-decoration: none;
1378 padding: 4px 10px;
1379 font-size: 17px;
1380 line-height: 32px;
1381 letter-spacing: 0;
1382 color: white;
1383 vertical-align: middle;
1384 background-color: #0076ff;
1385 border: 0 solid currentColor;
1386 border-radius: 3px;
1387 transition: none;
1388 border: none;
1389 background-color: #25a6d9;
1390 color: white;
1391}
1392.button--cta:hover {
1393 transition: none;
1394}
1395.button--cta:focus {
1396 outline: 0;
1397}
1398.button--cta:active {
1399 color: white;
1400 background-color: #25a6d9;
1401 transition: none;
1402 opacity: 0.2;
1403}
1404.button--cta:disabled,
1405.button--cta[disabled] {
1406 opacity: 0.3;
1407 cursor: default;
1408 pointer-events: none;
1409}
1410/*
1411 name: Large Button
1412 category: Button
1413 elements: ons-button
1414 markup: |
1415 <button class="button button--large" style="width: 95%; margin: 0 auto;">Button</button>
1416*/
1417.button--large {
1418 font-size: 17px;
1419 font-weight: 500;
1420 line-height: 36px;
1421 padding: 4px 12px;
1422 display: block;
1423 width: 100%;
1424 text-align: center;
1425}
1426.button--large:active {
1427 background-color: #0076ff;
1428 transition: none;
1429 opacity: 0.2;
1430 transition: none;
1431}
1432.button--large:disabled,
1433.button--large[disabled] {
1434 opacity: 0.3;
1435 cursor: default;
1436 pointer-events: none;
1437}
1438.button--large:hover {
1439 transition: none;
1440}
1441.button--large:focus {
1442 outline: 0;
1443}
1444/*~
1445 name: Large Quiet Button
1446 category: Button
1447 elements: ons-button
1448 markup: |
1449 <button class="button--large--quiet" style="width: 95%; margin: 0 auto;">Button</button>
1450*/
1451.button--large--quiet { /* stylelint-disable-line */
1452 position: relative;
1453 display: inline-block;
1454 box-sizing: border-box;
1455 background-clip: padding-box;
1456 padding: 0;
1457 margin: 0;
1458 font: inherit;
1459 color: inherit;
1460 background: transparent;
1461 border: none;
1462 line-height: normal;
1463 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1464 -webkit-font-smoothing: antialiased;
1465 -moz-osx-font-smoothing: grayscale;
1466 font-weight: 400;
1467 cursor: default;
1468 -webkit-user-select: none;
1469 -moz-user-select: none;
1470 -ms-user-select: none;
1471 user-select: none;
1472 text-overflow: ellipsis;
1473 white-space: nowrap;
1474 overflow: hidden;
1475 height: auto;
1476 text-decoration: none;
1477 padding: 4px 10px;
1478 font-size: 17px;
1479 line-height: 32px;
1480 letter-spacing: 0;
1481 color: white;
1482 vertical-align: middle;
1483 background-color: #0076ff;
1484 border: 0 solid currentColor;
1485 border-radius: 3px;
1486 transition: none;
1487 font-size: 17px;
1488 font-weight: 500;
1489 line-height: 36px;
1490 padding: 4px 12px;
1491 display: block;
1492 width: 100%;
1493 background: transparent;
1494 border: 1px solid transparent;
1495 box-shadow: none;
1496 color: #0076ff;
1497 text-align: center;
1498}
1499.button--large--quiet:active { /* stylelint-disable-line */
1500 transition: none;
1501 opacity: 0.2;
1502 color: #0076ff;
1503 background: transparent;
1504 border: 1px solid transparent;
1505 box-shadow: none;
1506}
1507.button--large--quiet:disabled, .button--large--quiet[disabled] { /* stylelint-disable-line */
1508 opacity: 0.3;
1509 cursor: default;
1510 pointer-events: none;
1511}
1512.button--large--quiet:hover { /* stylelint-disable-line */
1513 transition: none;
1514}
1515.button--large--quiet:focus { /* stylelint-disable-line */
1516 outline: 0;
1517}
1518/*~
1519 name: Large Call To Action Button
1520 category: Button
1521 elements: ons-button
1522 markup: |
1523 <button class="button--large--cta" style="width: 95%; margin: 0 auto;">Button</button>
1524*/
1525.button--large--cta { /* stylelint-disable-line */
1526 position: relative;
1527 display: inline-block;
1528 box-sizing: border-box;
1529 background-clip: padding-box;
1530 padding: 0;
1531 margin: 0;
1532 font: inherit;
1533 color: inherit;
1534 background: transparent;
1535 border: none;
1536 line-height: normal;
1537 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1538 -webkit-font-smoothing: antialiased;
1539 -moz-osx-font-smoothing: grayscale;
1540 font-weight: 400;
1541 cursor: default;
1542 -webkit-user-select: none;
1543 -moz-user-select: none;
1544 -ms-user-select: none;
1545 user-select: none;
1546 text-overflow: ellipsis;
1547 white-space: nowrap;
1548 overflow: hidden;
1549 height: auto;
1550 text-decoration: none;
1551 padding: 4px 10px;
1552 font-size: 17px;
1553 line-height: 32px;
1554 letter-spacing: 0;
1555 color: white;
1556 vertical-align: middle;
1557 background-color: #0076ff;
1558 border: 0 solid currentColor;
1559 border-radius: 3px;
1560 transition: none;
1561 border: none;
1562 background-color: #25a6d9;
1563 color: white;
1564 font-size: 17px;
1565 font-weight: 500;
1566 line-height: 36px;
1567 padding: 4px 12px;
1568 width: 100%;
1569 text-align: center;
1570 display: block;
1571}
1572.button--large--cta:hover { /* stylelint-disable-line */
1573 transition: none;
1574}
1575.button--large--cta:focus { /* stylelint-disable-line */
1576 outline: 0;
1577}
1578.button--large--cta:active { /* stylelint-disable-line */
1579 color: white;
1580 background-color: #25a6d9;
1581 transition: none;
1582 opacity: 0.2;
1583}
1584.button--large--cta:disabled, .button--large--cta[disabled] { /* stylelint-disable-line */
1585 opacity: 0.3;
1586 cursor: default;
1587 pointer-events: none;
1588}
1589/*~
1590 name: Material Button
1591 category: Button
1592 elements: ons-button
1593 markup: |
1594 <button class="button button--material">BUTTON</button>
1595 <button class="button button--material" disabled>DISABLED</button>
1596*/
1597.button--material {
1598 position: relative;
1599 display: inline-block;
1600 box-sizing: border-box;
1601 background-clip: padding-box;
1602 padding: 0;
1603 margin: 0;
1604 font: inherit;
1605 color: inherit;
1606 background: transparent;
1607 border: none;
1608 line-height: normal;
1609 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1610 -webkit-font-smoothing: antialiased;
1611 -moz-osx-font-smoothing: grayscale;
1612 font-weight: 400;
1613 cursor: default;
1614 -webkit-user-select: none;
1615 -moz-user-select: none;
1616 -ms-user-select: none;
1617 user-select: none;
1618 text-overflow: ellipsis;
1619 white-space: nowrap;
1620 overflow: hidden;
1621 height: auto;
1622 text-decoration: none;
1623 padding: 4px 10px;
1624 font-size: 17px;
1625 line-height: 32px;
1626 letter-spacing: 0;
1627 color: white;
1628 vertical-align: middle;
1629 background-color: #0076ff;
1630 border: 0 solid currentColor;
1631 border-radius: 3px;
1632 transition: none;
1633 box-shadow:
1634 0 2px 2px 0 rgba(0, 0, 0, .14),
1635 0 1px 5px 0 rgba(0, 0, 0, .12),
1636 0 3px 1px -2px rgba(0, 0, 0, .2);
1637 font-family: 'Roboto', 'Noto', sans-serif;
1638 -webkit-font-smoothing: antialiased;
1639 font-weight: 400;
1640 min-height: 36px;
1641 line-height: 36px;
1642 padding: 0 16px;
1643 text-align: center;
1644 font-size: 14px;
1645 -webkit-transform: translate3d(0, 0, 0);
1646 transform: translate3d(0, 0, 0);
1647 text-transform: uppercase;
1648 background-color: #2979ff;
1649 color: #ffffff;
1650 font-weight: 500;
1651 transition: background-color 0.25s linear;
1652 opacity: 1;
1653 transition: all 0.25s linear;
1654}
1655.button--material:hover {
1656 transition: all 0.25s linear;
1657}
1658.button--material:active {
1659 box-shadow:
1660 0 6px 10px 0 rgba(0, 0, 0, .14),
1661 0 1px 18px 0 rgba(0, 0, 0, .12),
1662 0 3px 5px -1px rgba(0, 0, 0, .4);
1663 background-color: #2979ff;
1664 opacity: 0.9;
1665 transition: all 0.25s linear;
1666}
1667.button--material:focus {
1668 outline: 0;
1669}
1670.button--material:disabled,
1671.button--material[disabled] {
1672 transition: none;
1673 box-shadow: none;
1674 background-color: rgba(79, 79, 79, 0.26);
1675 color: rgba(0, 0, 0, 0.26);
1676 opacity: 1;
1677}
1678/*~
1679 name: Material Flat Button
1680 category: Button
1681 elements: ons-button
1682 markup: |
1683 <button class="button button--material--flat">BUTTON</button>
1684 <button class="button button--material--flat" disabled>DISABLED</button>
1685*/
1686.button--material--flat { /* stylelint-disable-line */
1687 position: relative;
1688 display: inline-block;
1689 box-sizing: border-box;
1690 background-clip: padding-box;
1691 padding: 0;
1692 margin: 0;
1693 font: inherit;
1694 color: inherit;
1695 background: transparent;
1696 border: none;
1697 line-height: normal;
1698 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1699 -webkit-font-smoothing: antialiased;
1700 -moz-osx-font-smoothing: grayscale;
1701 font-weight: 400;
1702 cursor: default;
1703 -webkit-user-select: none;
1704 -moz-user-select: none;
1705 -ms-user-select: none;
1706 user-select: none;
1707 text-overflow: ellipsis;
1708 white-space: nowrap;
1709 overflow: hidden;
1710 height: auto;
1711 text-decoration: none;
1712 padding: 4px 10px;
1713 font-size: 17px;
1714 line-height: 32px;
1715 letter-spacing: 0;
1716 color: white;
1717 vertical-align: middle;
1718 background-color: #0076ff;
1719 border: 0 solid currentColor;
1720 border-radius: 3px;
1721 transition: none;
1722 box-shadow:
1723 0 2px 2px 0 rgba(0, 0, 0, .14),
1724 0 1px 5px 0 rgba(0, 0, 0, .12),
1725 0 3px 1px -2px rgba(0, 0, 0, .2);
1726 font-family: 'Roboto', 'Noto', sans-serif;
1727 -webkit-font-smoothing: antialiased;
1728 font-weight: 400;
1729 min-height: 36px;
1730 line-height: 36px;
1731 padding: 0 16px;
1732 text-align: center;
1733 font-size: 14px;
1734 -webkit-transform: translate3d(0, 0, 0);
1735 transform: translate3d(0, 0, 0);
1736 text-transform: uppercase;
1737 background-color: #2979ff;
1738 color: #ffffff;
1739 font-weight: 500;
1740 transition: background-color 0.25s linear;
1741 box-shadow: none;
1742 background-color: transparent;
1743 color: #2979ff;
1744 transition: all 0.25s linear;
1745}
1746.button--material--flat:hover { /* stylelint-disable-line */
1747 transition: all 0.25s linear;
1748}
1749.button--material--flat:focus { /* stylelint-disable-line */
1750 box-shadow: none;
1751 background-color: transparent;
1752 color: #2979ff;
1753 outline: 0;
1754 opacity: 1;
1755 border: none;
1756}
1757.button--material--flat:active { /* stylelint-disable-line */
1758 box-shadow: none;
1759 outline: 0;
1760 opacity: 1;
1761 border: none;
1762 background-color: rgba(153, 153, 153, 0.2);
1763 color: #2979ff;
1764 transition: all 0.25s linear;
1765}
1766.button--material--flat:disabled, .button--material--flat[disabled] {/* stylelint-disable-line */
1767 transition: none;
1768 opacity: 1;
1769 box-shadow: none;
1770 background-color: transparent;
1771 color: rgba(0, 0, 0, 0.26);
1772}
1773/*~
1774 name: Button Bar
1775 category: Segment
1776 markup: |
1777 <div class="button-bar" style="width:280px;">
1778 <div class="button-bar__item">
1779 <button class="button-bar__button">One</button>
1780 </div>
1781 <div class="button-bar__item">
1782 <button class="button-bar__button">Two</button>
1783 </div>
1784 <div class="button-bar__item">
1785 <button class="button-bar__button">Three</button>
1786 </div>
1787 </div>
1788*/
1789.button-bar {
1790 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1791 -webkit-font-smoothing: antialiased;
1792 -moz-osx-font-smoothing: grayscale;
1793 font-weight: 400;
1794 display: -webkit-inline-box;
1795 display: -webkit-inline-flex;
1796 display: inline-flex;
1797 -webkit-box-align: stretch;
1798 -webkit-align-items: stretch;
1799 align-items: stretch;
1800 -webkit-align-content: stretch;
1801 align-content: stretch;
1802 -webkit-flex-wrap: nowrap;
1803 flex-wrap: nowrap;
1804 margin: 0;
1805 padding: 0;
1806 border: none;
1807}
1808.button-bar__item {
1809 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1810 -webkit-font-smoothing: antialiased;
1811 -moz-osx-font-smoothing: grayscale;
1812 font-weight: 400;
1813 border-radius: 0;
1814 width: 100%;
1815 padding: 0;
1816 margin: 0;
1817 position: relative;
1818 overflow: hidden;
1819 box-sizing: border-box;
1820}
1821.button-bar__button {
1822 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1823 -webkit-font-smoothing: antialiased;
1824 -moz-osx-font-smoothing: grayscale;
1825 font-weight: 400;
1826 border-radius: 0;
1827 background-color: transparent;
1828 color: #0076ff;
1829 border: 1px solid #0076ff;
1830 border-top-width: 1px;
1831 border-bottom-width: 1px;
1832 border-right-width: 1px;
1833 border-left-width: 0;
1834 font-weight: 400;
1835 padding: 0;
1836 font-size: 13px;
1837 height: 27px;
1838 line-height: 27px;
1839 width: 100%;
1840 transition: background-color 0.2s linear, color 0.2s linear;
1841 box-sizing: border-box;
1842}
1843.button-bar__button:disabled {
1844 opacity: 0.3;
1845 cursor: default;
1846 pointer-events: none;
1847}
1848.button-bar__button:hover {
1849 transition: none;
1850}
1851.button-bar__button:focus {
1852 outline: 0;
1853}
1854:checked + .button-bar__button {
1855 background-color: #0076ff;
1856 color: #fff;
1857 transition: none;
1858}
1859.button-bar__button:active,
1860:active + .button-bar__button {
1861 background-color: rgb(179, 214, 255);
1862 border: 0 solid #0076ff;
1863 border-top: 1px solid #0076ff;
1864 border-bottom: 1px solid #0076ff;
1865 border-right: 1px solid #0076ff;
1866 font-size: 13px;
1867 width: 100%;
1868 transition: none;
1869}
1870.button-bar__item:first-child > .button-bar__button {
1871 border-left-width: 1px;
1872 border-radius: 4px 0 0 4px;
1873}
1874.button-bar__item:last-child > .button-bar__button {
1875 border-right-width: 1px;
1876 border-radius: 0 4px 4px 0;
1877}
1878/*~
1879 name: Segment
1880 category: Segment
1881 markup: |
1882 <div class="segment" style="width: 280px; margin: 0 auto;">
1883 <div class="segment__item">
1884 <input type="radio" class="segment__input" name="segment-a" checked>
1885 <div class="segment__button">One</div>
1886 </div>
1887 <div class="segment__item">
1888 <input type="radio" class="segment__input" name="segment-a">
1889 <div class="segment__button">Two</div>
1890 </div>
1891 <div class="segment__item">
1892 <input type="radio" class="segment__input" name="segment-a">
1893 <div class="segment__button">Three</div>
1894 </div>
1895 </div>
1896*/
1897.segment {
1898 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1899 -webkit-font-smoothing: antialiased;
1900 -moz-osx-font-smoothing: grayscale;
1901 font-weight: 400;
1902 display: -webkit-inline-box;
1903 display: -webkit-inline-flex;
1904 display: inline-flex;
1905 -webkit-box-align: stretch;
1906 -webkit-align-items: stretch;
1907 align-items: stretch;
1908 -webkit-align-content: stretch;
1909 align-content: stretch;
1910 -webkit-flex-wrap: nowrap;
1911 flex-wrap: nowrap;
1912 margin: 0;
1913 padding: 0;
1914 border: none;
1915}
1916.segment__item {
1917 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1918 -webkit-font-smoothing: antialiased;
1919 -moz-osx-font-smoothing: grayscale;
1920 font-weight: 400;
1921 border-radius: 0;
1922 width: 100%;
1923 padding: 0;
1924 margin: 0;
1925 position: relative;
1926 overflow: hidden;
1927 box-sizing: border-box;
1928 display: block;
1929 background-color: transparent;
1930 border: none;
1931}
1932.segment__input {
1933 position: absolute;
1934 right: 0;
1935 top: 0;
1936 left: 0;
1937 bottom: 0;
1938 padding: 0;
1939 border: 0;
1940 background-color: transparent;
1941 z-index: 1;
1942 vertical-align: top;
1943 outline: none;
1944 width: 100%;
1945 height: 100%;
1946 margin: 0;
1947 -webkit-appearance: none;
1948 -moz-appearance: none;
1949 appearance: none;
1950}
1951.segment__button {
1952 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
1953 -webkit-font-smoothing: antialiased;
1954 -moz-osx-font-smoothing: grayscale;
1955 font-weight: 400;
1956 border-radius: 0;
1957 background-color: transparent;
1958 color: #0076ff;
1959 border: 1px solid #0076ff;
1960 border-top-width: 1px;
1961 border-bottom-width: 1px;
1962 border-right-width: 1px;
1963 border-left-width: 0;
1964 font-weight: 400;
1965 padding: 0;
1966 font-size: 13px;
1967 height: 29px;
1968 line-height: 29px;
1969 width: 100%;
1970 transition: background-color 0.2s linear, color 0.2s linear;
1971 box-sizing: border-box;
1972 text-align: center;
1973}
1974.segment__item:disabled {
1975 opacity: 0.3;
1976 cursor: default;
1977 pointer-events: none;
1978}
1979.segment__button:hover {
1980 transition: none;
1981}
1982.segment__button:focus {
1983 outline: 0;
1984}
1985:active + .segment__button {
1986 background-color: rgb(179, 214, 255);
1987 border: 0 solid #0076ff;
1988 border-top: 1px solid #0076ff;
1989 border-bottom: 1px solid #0076ff;
1990 border-right: 1px solid #0076ff;
1991 font-size: 13px;
1992 width: 100%;
1993 transition: none;
1994}
1995:checked + .segment__button {
1996 background-color: #0076ff;
1997 color: #fff;
1998 transition: none;
1999}
2000.segment__item:first-child > .segment__button {
2001 border-left-width: 1px;
2002 border-radius: 4px 0 0 4px;
2003}
2004.segment__item:last-child > .segment__button {
2005 border-right-width: 1px;
2006 border-radius: 0 4px 4px 0;
2007}
2008/*~
2009 name: Material Segment
2010 category: Segment
2011 markup: |
2012 <div class="segment segment--material" style="width: 280px; margin: 0 auto;">
2013 <div class="segment__item segment--material__item">
2014 <input type="radio" class="segment__input segment--material__input" name="segment-b" checked>
2015 <div class="segment__button segment--material__button">One</div>
2016 </div>
2017 <div class="segment__item segment--material__item">
2018 <input type="radio" class="segment__input segment--material__input" name="segment-b">
2019 <div class="segment__button segment--material__button">Two</div>
2020 </div>
2021 <div class="segment__item segment--material__item">
2022 <input type="radio" class="segment__input segment--material__input" name="segment-b">
2023 <div class="segment__button segment--material__button">Three</div>
2024 </div>
2025 </div>
2026*/
2027.segment--material {
2028 border-radius: 2px;
2029 overflow: hidden;
2030 box-shadow: 0 0 2px 0 rgba(0, 0, 0, .12), 0 2px 2px 0 rgba(0, 0, 0, .24);
2031}
2032.segment--material__button {
2033 font-family: 'Roboto', 'Noto', sans-serif;
2034 -webkit-font-smoothing: antialiased;
2035 font-weight: 400;
2036 font-size: 14px;
2037 height: 32px;
2038 line-height: 32px;
2039 border-width: 0;
2040 color: rgba(0, 0, 0, 0.38);
2041 border-radius: 0;
2042 background-color: #fafafa;
2043}
2044:active + .segment--material__button {
2045 background-color: #fafafa;
2046 border-radius: 0;
2047 border-width: 0;
2048 font-size: 14px;
2049 transition: none;
2050 color: rgba(0, 0, 0, 0.38);
2051}
2052:checked + .segment--material__button {
2053 background-color: #c8c8c8;
2054 color: #353535;
2055 border-radius: 0;
2056 border-width: 0;
2057}
2058.segment--material__item:first-child > .segment--material__button,
2059.segment--material__item:last-child > .segment--material__button {
2060 border-radius: 0;
2061 border-width: 0;
2062}
2063:root { /* Text color */ /* Text color active */
2064}
2065/*~
2066 name: Icon Tabbar
2067 category: Tabbar
2068 elements: ons-tabbar ons-tab
2069 markup: |
2070 <!-- Prerequisite=This example use ionicons(http://ionicons.com) to display icons. -->
2071 <div class="tabbar">
2072 <label class="tabbar__item">
2073 <input type="radio" name="tabbar-a" checked="checked">
2074 <button class="tabbar__button">
2075 <i class="tabbar__icon ion-stop"></i>
2076 <div class="tabbar__label">One</div>
2077 </button>
2078 </label>
2079
2080 <label class="tabbar__item">
2081 <input type="radio" name="tabbar-a">
2082 <button class="tabbar__button">
2083 <i class="tabbar__icon ion-record"></i>
2084 <div class="tabbar__label">Two</div>
2085 </button>
2086 </label>
2087
2088 <label class="tabbar__item">
2089 <input type="radio" name="tabbar-a">
2090 <button class="tabbar__button">
2091 <i class="tabbar__icon ion-star"></i>
2092 <div class="tabbar__label">Three</div>
2093 </button>
2094 </label>
2095 </div>
2096*/
2097/*~
2098 name: Tabbar
2099 category: Tabbar
2100 elements: ons-tabbar ons-tab
2101 markup: |
2102 <div class="tabbar">
2103 <label class="tabbar__item">
2104 <input type="radio" name="tabbar-c" checked="checked">
2105 <button class="tabbar__button">
2106 <div class="tabbar__label">One</div>
2107 </button>
2108 </label>
2109
2110 <label class="tabbar__item">
2111 <input type="radio" name="tabbar-c">
2112 <button class="tabbar__button">
2113 <div class="tabbar__label">Two</div>
2114 </button>
2115 </label>
2116
2117 <label class="tabbar__item">
2118 <input type="radio" name="tabbar-c">
2119 <button class="tabbar__button">
2120 <div class="tabbar__label">Three</div>
2121 </button>
2122 </label>
2123 </div>
2124*/
2125.tabbar {
2126 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2127 -webkit-font-smoothing: antialiased;
2128 -moz-osx-font-smoothing: grayscale;
2129 font-weight: 400;
2130 display: -webkit-box;
2131 display: -webkit-flex;
2132 display: flex;
2133 position: absolute;
2134 bottom: 0;
2135 left: 0;
2136 right: 0;
2137 white-space: nowrap;
2138 margin: 0;
2139 padding: 0;
2140 height: 49px;
2141 background-color: #fafafa;
2142 border-top: 1px solid #ccc;
2143 width: 100%;
2144}
2145@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
2146 .tabbar {
2147 border-top: none;
2148 background-size: 100% 1px;
2149 background-repeat: no-repeat;
2150 background-position: top;
2151 background-image: linear-gradient(180deg, #ccc, #ccc 50%, transparent 50%);
2152 }
2153}
2154.tabbar__item {
2155 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2156 -webkit-font-smoothing: antialiased;
2157 -moz-osx-font-smoothing: grayscale;
2158 font-weight: 400;
2159 position: relative;
2160 -webkit-box-flex: 1;
2161 -webkit-flex-grow: 1;
2162 flex-grow: 1;
2163 -webkit-flex-basis: 0;
2164 flex-basis: 0;
2165 width: auto;
2166 border-radius: 0;
2167}
2168.tabbar__item > input {
2169 position: absolute;
2170 right: 0;
2171 top: 0;
2172 left: 0;
2173 bottom: 0;
2174 padding: 0;
2175 border: 0;
2176 background-color: transparent;
2177 z-index: 1;
2178 vertical-align: top;
2179 outline: none;
2180 width: 100%;
2181 height: 100%;
2182 margin: 0;
2183 -webkit-appearance: none;
2184 -moz-appearance: none;
2185 appearance: none;
2186}
2187.tabbar__button {
2188 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2189 -webkit-font-smoothing: antialiased;
2190 -moz-osx-font-smoothing: grayscale;
2191 font-weight: 400;
2192 box-sizing: border-box;
2193 background-clip: padding-box;
2194 padding: 0;
2195 margin: 0;
2196 font: inherit;
2197 color: inherit;
2198 background: transparent;
2199 border: none;
2200 line-height: normal;
2201 cursor: default;
2202 -webkit-user-select: none;
2203 -moz-user-select: none;
2204 -ms-user-select: none;
2205 user-select: none;
2206 text-overflow: ellipsis;
2207 white-space: nowrap;
2208 overflow: hidden;
2209 position: relative;
2210 display: inline-block;
2211 text-decoration: none;
2212 padding: 0;
2213 height: 49px;
2214 letter-spacing: 0;
2215 color: #999;
2216 vertical-align: top;
2217 background-color: transparent;
2218 border-top: none;
2219 width: 100%;
2220 font-weight: 400;
2221 line-height: 49px;
2222}
2223@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
2224 .tabbar__button {
2225 border-top: none;
2226 }
2227}
2228.tabbar__icon {
2229 font-size: 24px;
2230 padding: 0;
2231 margin: 0;
2232 line-height: 26px;
2233 display: block !important; /* stylelint-disable-line declaration-no-important */
2234 height: 28px;
2235}
2236.tabbar__label {
2237 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2238 -webkit-font-smoothing: antialiased;
2239 -moz-osx-font-smoothing: grayscale;
2240 font-weight: 400;
2241 display: inline-block;
2242}
2243.tabbar__badge.notification {
2244 vertical-align: text-bottom;
2245 top: -1px;
2246 margin-left: 5px;
2247 z-index: 10;
2248 font-size: 12px;
2249 height: 16px;
2250 min-width: 16px;
2251 line-height: 16px;
2252 border-radius: 8px;
2253}
2254.tabbar__icon ~ .tabbar__badge.notification {
2255 position: absolute;
2256 top: 5px;
2257 margin-left: 0;
2258}
2259.tabbar__icon + .tabbar__label {
2260 display: block;
2261 font-size: 10px;
2262 line-height: 1;
2263 margin: 0;
2264 font-weight: 400;
2265}
2266.tabbar__label:first-child {
2267 font-size: 16px;
2268 line-height: 49px;
2269 margin: 0;
2270 padding: 0;
2271}
2272:checked + .tabbar__button {
2273 color: #0076ff;
2274 background-color: transparent;
2275 box-shadow: none;
2276 border-top: none;
2277}
2278.tabbar__button:disabled {
2279 opacity: 0.3;
2280 cursor: default;
2281 pointer-events: none;
2282}
2283.tabbar__button:focus {
2284 z-index: 1;
2285 border-top: none;
2286 box-shadow: none;
2287 outline: 0;
2288}
2289.tabbar__content {
2290 position: absolute;
2291 top: 0;
2292 left: 0;
2293 right: 0;
2294 bottom: 49px;
2295 z-index: 0;
2296}
2297.tabbar--autogrow .tabbar__item {
2298 -webkit-flex-basis: auto;
2299 flex-basis: auto;
2300}
2301/*~
2302 name: Icon Only Tabbar
2303 category: Tabbar
2304 elements: ons-tabbar ons-tab
2305 markup: |
2306 <!-- Prerequisite=This example use ionicons(http://ionicons.com) to display icons. -->
2307 <div class="tabbar">
2308 <label class="tabbar__item">
2309 <input type="radio" name="tabbar-b" checked="checked">
2310 <button class="tabbar__button">
2311 <i class="tabbar__icon ion-stop"></i>
2312 </button>
2313 </label>
2314
2315 <label class="tabbar__item">
2316 <input type="radio" name="tabbar-b">
2317 <button class="tabbar__button">
2318 <i class="tabbar__icon ion-record"></i>
2319 </button>
2320 </label>
2321
2322 <label class="tabbar__item">
2323 <input type="radio" name="tabbar-b">
2324 <button class="tabbar__button">
2325 <i class="tabbar__icon ion-star"></i>
2326 </button>
2327 </label>
2328
2329 </div>
2330*/
2331/*~
2332 name: Top Tabbar
2333 category: Tabbar
2334 elements: ons-tabbar ons-tab
2335 markup: |
2336 <div class="tabbar tabbar--top">
2337 <label class="tabbar__item">
2338 <input type="radio" name="top-tabbar-a" checked="checked">
2339 <button class="tabbar__button">
2340 <i class="tabbar__icon ion-stop"></i>
2341 </button>
2342 </label>
2343
2344 <label class="tabbar__item">
2345 <input type="radio" name="top-tabbar-a">
2346 <button class="tabbar__button">
2347 <i class="tabbar__icon ion-record"></i>
2348 </button>
2349 </label>
2350
2351 <label class="tabbar__item">
2352 <input type="radio" name="top-tabbar-a">
2353 <button class="tabbar__button">
2354 <i class="tabbar__icon ion-star"></i>
2355 </button>
2356 </label>
2357 </div>
2358*/
2359.tabbar--top {
2360 position: relative;
2361 top: 0;
2362 left: 0;
2363 right: 0;
2364 bottom: auto;
2365 border-top: none;
2366 border-bottom: 1px solid #ccc;
2367}
2368@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
2369 .tabbar--top {
2370 border-bottom: none;
2371 background-size: 100% 1px;
2372 background-repeat: no-repeat;
2373 background-position: bottom;
2374 background-image: linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%);
2375 }
2376}
2377.tabbar--top__content {
2378 top: 49px;
2379 left: 0;
2380 right: 0;
2381 bottom: 0;
2382 z-index: 0;
2383}
2384/*~
2385 name: Bordered Top Tabbar
2386 category: Tabbar
2387 elements: ons-tabbar ons-tab
2388 markup: |
2389 <div class="tabbar tabbar--top tabbar--top-border">
2390 <label class="tabbar__item tabbar--top-border__item">
2391 <input type="radio" name="top-tabbar-b" checked="checked">
2392 <button class="tabbar__button tabbar--top-border__button">
2393 Home
2394 </button>
2395 </label>
2396
2397 <label class="tabbar__item tabbar--top-border__item">
2398 <input type="radio" name="top-tabbar-b">
2399 <button class="tabbar__button tabbar--top-border__button">
2400 Comments
2401 </button>
2402 </label>
2403
2404 <label class="tabbar__item tabbar--top-border__item">
2405 <input type="radio" name="top-tabbar-b">
2406 <button class="tabbar__button tabbar--top-border__button">
2407 Activity
2408 </button>
2409 </label>
2410 </div>
2411*/
2412/*~
2413 name: Material Tabbar
2414 category: Tabbar
2415 elements: ons-tabbar ons-tab
2416 markup: |
2417 <div class="tabbar tabbar--top tabbar--material">
2418 <label class="tabbar__item tabbar--material__item">
2419 <input type="radio" name="tabbar-material-a" checked="checked">
2420 <button class="tabbar__button tabbar--material__button">
2421 Music
2422 </button>
2423 </label>
2424
2425 <label class="tabbar__item tabbar--material__item">
2426 <input type="radio" name="tabbar-material-a">
2427 <button class="tabbar__button tabbar--material__button">
2428 Movies
2429 </button>
2430 </label>
2431
2432 <label class="tabbar__item tabbar--material__item">
2433 <input type="radio" name="tabbar-material-a">
2434 <button class="tabbar__button tabbar--material__button">
2435 Books
2436 </button>
2437 </label>
2438
2439 <label class="tabbar__item tabbar--material__item">
2440 <input type="radio" name="tabbar-material-a">
2441 <button class="tabbar__button tabbar--material__button">
2442 Games
2443 </button>
2444 </label>
2445
2446 </div>
2447*/
2448.tabbar--top-border__button {
2449 background-color: transparent;
2450 border-bottom: 4px solid transparent;
2451}
2452:checked + .tabbar--top-border__button {
2453 background-color: transparent;
2454 border-bottom: 4px solid #0076ff;
2455}
2456.tabbar__border {
2457 position: absolute;
2458 bottom: 0;
2459 left: 0;
2460 width: 0;
2461 height: 4px;
2462 background-color: #0076ff;
2463}
2464.tabbar--material {
2465 background: none;
2466 background-color: #ffffff;
2467 border-bottom-width: 0;
2468 box-shadow:
2469 0 4px 2px -2px rgba(0, 0, 0, .14),
2470 0 3px 5px -2px rgba(0, 0, 0, .12),
2471 0 5px 1px -4px rgba(0, 0, 0, .2);
2472}
2473.tabbar--material__button {
2474 background-color: transparent;
2475 color: #31313a;
2476 text-transform: uppercase;
2477 font-size: 14px;
2478 font-weight: 500;
2479 font-family: 'Roboto', 'Noto', sans-serif;
2480 -webkit-font-smoothing: antialiased;
2481 font-weight: 400;
2482}
2483.tabbar--material__button:after {
2484 content: '';
2485 display: block;
2486 width: 0;
2487 height: 2px;
2488 bottom: 0;
2489 position: absolute;
2490 margin-top: -2px;
2491 background-color: #31313a;
2492}
2493:checked + .tabbar--material__button:after {
2494 width: 100%;
2495 transition: width 0.2s ease-in-out;
2496}
2497:checked + .tabbar--material__button {
2498 background-color: transparent;
2499 color: #31313a;
2500}
2501.tabbar--material__item:not([ripple]):active {
2502 background-color: rgba(49, 49, 58, .1);
2503}
2504.tabbar--material__border {
2505 height: 2px;
2506 background-color: #31313a;
2507}
2508/*~
2509 name: Material Tabbar (Icon only)
2510 category: Tabbar
2511 elements: ons-tabbar ons-tab
2512 markup: |
2513 <div class="tabbar tabbar--top tabbar--material">
2514 <label class="tabbar__item tabbar--material__item">
2515 <input type="radio" name="tabbar-material-b" checked="checked">
2516 <button class="tabbar__button tabbar--material__button">
2517 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-phone"></i>
2518 </button>
2519 </label>
2520
2521 <label class="tabbar__item tabbar--material__item">
2522 <input type="radio" name="tabbar-material-b">
2523 <button class="tabbar__button tabbar--material__button">
2524 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-favorite"></i>
2525 </button>
2526 </label>
2527
2528 <label class="tabbar__item tabbar--material__item">
2529 <input type="radio" name="tabbar-material-b">
2530 <button class="tabbar__button tabbar--material__button">
2531 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-pin-account"></i>
2532 </button>
2533 </label>
2534 </div>
2535*/
2536.tabbar--material__icon {
2537 font-size: 22px !important; /* stylelint-disable-line declaration-no-important */
2538 line-height: 36px;
2539}
2540/*~
2541 name: Material Tabbar (Icon and Label)
2542 category: Tabbar
2543 elements: ons-tabbar ons-tab
2544 markup: |
2545 <div class="tabbar tabbar--top tabbar--material">
2546 <label class="tabbar__item tabbar--material__item">
2547 <input type="radio" name="tabbar-material-c" checked="checked">
2548 <button class="tabbar__button tabbar--material__button">
2549 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-phone"></i>
2550 <div class="tabbar__label tabbar--material__label">Call</div>
2551 </button>
2552 </label>
2553
2554 <label class="tabbar__item tabbar--material__item">
2555 <input type="radio" name="tabbar-material-c">
2556 <button class="tabbar__button tabbar--material__button">
2557 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-favorite"></i>
2558 <div class="tabbar__label tabbar--material__label">Favorites</div>
2559 </button>
2560 </label>
2561
2562 <label class="tabbar__item tabbar--material__item">
2563 <input type="radio" name="tabbar-material-c">
2564 <button class="tabbar__button tabbar--material__button">
2565 <i class="tabbar__icon tabbar--material__icon zmdi zmdi-delete"></i>
2566 <div class="tabbar__label tabbar--material__label">Delete</div>
2567 </button>
2568 </label>
2569 </div>
2570*/
2571.tabbar--material__label {
2572 font-family: 'Roboto', 'Noto', sans-serif;
2573 -webkit-font-smoothing: antialiased;
2574 font-weight: 400;
2575}
2576.tabbar--material__label:first-child {
2577 font-family: 'Roboto', 'Noto', sans-serif;
2578 -webkit-font-smoothing: antialiased;
2579 font-weight: 400;
2580 letter-spacing: 0.015em;
2581 font-weight: 500;
2582 font-size: 14px;
2583}
2584.tabbar--material__icon + .tabbar--material__label {
2585 font-size: 10px;
2586}
2587/*~
2588 name: Toolbar Button
2589 category: Toolbar Button
2590 elements: ons-toolbar-button
2591 markup: |
2592 <!-- Prerequisite=This example use font-awesome(http://fortawesome.github.io/Font-Awesome/) to display icons. -->
2593 <button class="toolbar-button">
2594 <i class="fa fa-bell" style="font-size:17px"></i>
2595 </button>
2596
2597 <button class="toolbar-button">
2598 Label
2599 </button>
2600
2601 <button class="toolbar-button toolbar-button--outline">
2602 <i class="fa fa-bell" style="font-size:17px"></i> Label
2603 </button>
2604*/
2605.toolbar-button {
2606 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2607 -webkit-font-smoothing: antialiased;
2608 -moz-osx-font-smoothing: grayscale;
2609 font-weight: 400;
2610 padding: 4px 10px;
2611 letter-spacing: 0;
2612 color: #0076ff;
2613 background-color: rgba(0, 0, 0, 0);
2614 border-radius: 2px;
2615 border: 1px solid transparent;
2616 font-weight: 400;
2617 font-size: 17px;
2618 transition: none;
2619}
2620.toolbar-button:active {
2621 background-color: rgba(0, 0, 0, 0);
2622 transition: none;
2623 opacity: 0.2;
2624}
2625.toolbar-button:disabled,
2626.toolbar-button[disabled] {
2627 opacity: 0.3;
2628 cursor: default;
2629 pointer-events: none;
2630}
2631.toolbar-button:focus {
2632 outline: 0;
2633 transition: none;
2634}
2635.toolbar-button:hover {
2636 transition: none;
2637}
2638.toolbar-button--outline {
2639 border: 1px solid #0076ff;
2640 margin: auto 8px;
2641 padding-left: 6px;
2642 padding-right: 6px;
2643}
2644/*~
2645 name: Material Toolbar Button
2646 category: Toolbar Button
2647 elements: ons-toolbar-button
2648 markup: |
2649 <!-- Prerequisite=This example use Material Design Iconic Font(http://zavoloklom.github.io/material-design-iconic-font/) to display icons. -->
2650 <span class="toolbar-button toolbar-button--material">
2651 <i class="zmdi zmdi-menu"></i>
2652 </span>
2653 <span class="toolbar-button toolbar-button--material">
2654 Label
2655 </span>
2656 <span class="toolbar-button toolbar-button--material">
2657 <i class="zmdi zmdi-favorite"></i>
2658 </span>
2659*/
2660.toolbar-button--material {
2661 font-size: 22px;
2662 color: #1e88e5;
2663 display: inline-block;
2664 padding: 0 12px;
2665 height: 100%;
2666 margin: 0;
2667 border: none;
2668 border-radius: 0;
2669 vertical-align: baseline;
2670 vertical-align: initial;
2671 transition: background-color 0.25s linear;
2672}
2673.toolbar-button--material:first-of-type {
2674 margin-left: 4px;
2675}
2676.toolbar-button--material:last-of-type {
2677 margin-right: 4px;
2678}
2679.toolbar-button--material:active {
2680 opacity: 1;
2681 transition: background-color 0.25s linear;
2682}
2683.back-button {
2684 height: 44px;
2685 line-height: 44px;
2686 padding-left: 8px;
2687 color: #0076ff;
2688 background-color: rgba(0, 0, 0, 0);
2689 display: inline-block;
2690}
2691.back-button:active {
2692 opacity: 0.2;
2693}
2694.back-button__label {
2695 display: inline-block;
2696 height: 100%;
2697 vertical-align: top;
2698 line-height: 44px;
2699 font-size: 17px;
2700 font-weight: 500;
2701}
2702.back-button__icon {
2703 margin-right: 6px;
2704 display: -webkit-inline-box;
2705 display: -webkit-inline-flex;
2706 display: inline-flex;
2707 fill: #0076ff;
2708 -webkit-box-align: center;
2709 -webkit-align-items: center;
2710 align-items: center;
2711 height: 100%;
2712}
2713.back-button--material {
2714 font-size: 22px;
2715 color: #1e88e5;
2716 display: inline-block;
2717 padding: 0 12px;
2718 height: 100%;
2719 margin: 0 0 0 4px;
2720 border: none;
2721 border-radius: 0;
2722 vertical-align: baseline;
2723 vertical-align: initial;
2724 line-height: 56px;
2725}
2726.back-button--material__label {
2727 display: none;
2728 font-size: 20px;
2729}
2730.back-button--material__icon {
2731 display: -webkit-inline-box;
2732 display: -webkit-inline-flex;
2733 display: inline-flex;
2734 fill: #1e88e5;
2735 -webkit-box-align: center;
2736 -webkit-align-items: center;
2737 align-items: center;
2738 height: 100%;
2739}
2740.back-button--material:active {
2741 opacity: 1;
2742}
2743:root { /* background color active */
2744}
2745/*~
2746 name: Checkbox
2747 category: Checkbox
2748 elements: ons-input
2749 markup: |
2750 <label class="checkbox">
2751 <input type="checkbox" class="checkbox__input">
2752 <div class="checkbox__checkmark"></div>
2753 OFF
2754 </label>
2755
2756 <label class="checkbox">
2757 <input type="checkbox" class="checkbox__input" checked="checked">
2758 <div class="checkbox__checkmark"></div>
2759 ON
2760 </label>
2761
2762 <label class="checkbox">
2763 <input type="checkbox" class="checkbox__input" disabled>
2764 <div class="checkbox__checkmark"></div>
2765 Disabled
2766 </label>
2767*/
2768.checkbox {
2769 position: relative;
2770 display: inline-block;
2771 vertical-align: top;
2772 cursor: default;
2773 -webkit-user-select: none;
2774 -moz-user-select: none;
2775 -ms-user-select: none;
2776 user-select: none;
2777 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2778 -webkit-font-smoothing: antialiased;
2779 -moz-osx-font-smoothing: grayscale;
2780 font-weight: 400;
2781 line-height: 22px;
2782}
2783.checkbox__checkmark {
2784 box-sizing: border-box;
2785 background-clip: padding-box;
2786 position: relative;
2787 display: inline-block;
2788 vertical-align: top;
2789 cursor: default;
2790 -webkit-user-select: none;
2791 -moz-user-select: none;
2792 -ms-user-select: none;
2793 user-select: none;
2794 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2795 -webkit-font-smoothing: antialiased;
2796 -moz-osx-font-smoothing: grayscale;
2797 font-weight: 400;
2798 position: relative;
2799 height: 22px;
2800 width: 22px;
2801 pointer-events: none;
2802}
2803.checkbox__input,
2804.checkbox__input:checked {
2805 position: absolute;
2806 right: 0;
2807 top: 0;
2808 left: 0;
2809 bottom: 0;
2810 padding: 0;
2811 border: 0;
2812 background-color: transparent;
2813 z-index: 1;
2814 vertical-align: top;
2815 outline: none;
2816 width: 100%;
2817 height: 100%;
2818 margin: 0;
2819 -webkit-appearance: none;
2820 -moz-appearance: none;
2821 appearance: none;
2822}
2823.checkbox__checkmark:before {
2824 content: '';
2825 position: absolute;
2826 box-sizing: border-box;
2827 background-clip: padding-box;
2828 width: 22px;
2829 height: 22px;
2830 background: transparent;
2831 border: 1px solid #c7c7cd;
2832 border-radius: 22px;
2833 left: 0;
2834}
2835/* checkmark's line */
2836.checkbox__checkmark:after {
2837 content: '';
2838 position: absolute;
2839 top: 7px;
2840 left: 5px;
2841 width: 11px;
2842 height: 5px;
2843 background: transparent;
2844 border: 2px solid #fff;
2845 border-width: 1px;
2846 border-top: none;
2847 border-right: none;
2848 border-radius: 0;
2849 -webkit-transform: rotate(-45deg);
2850 transform: rotate(-45deg);
2851 opacity: 0;
2852}
2853:checked + .checkbox__checkmark:before {
2854 background: #0076ff;
2855 border: none;
2856}
2857:checked + .checkbox__checkmark:after {
2858 opacity: 1;
2859}
2860:disabled + .checkbox__checkmark {
2861 opacity: 0.3;
2862 cursor: default;
2863 pointer-events: none;
2864}
2865:disabled:active + .checkbox__checkmark:before { /* FIXME */
2866 background: transparent;
2867}
2868/*~
2869 name: No border Checkbox
2870 category: Checkbox
2871 elements: ons-input
2872 markup: |
2873 <label class="checkbox--noborder">
2874 <input type="checkbox" class="checkbox__input checkbox--noborder__input">
2875 <div class="checkbox__checkmark checkbox--noborder__checkmark"></div>
2876 OFF
2877 </label>
2878
2879 <label class="checkbox--noborder">
2880 <input type="checkbox" class="checkbox__input checkbox--noborder__input" checked="checked">
2881 <div class="checkbox__checkmark checkbox--noborder__checkmark"></div>
2882 ON
2883 </label>
2884
2885 <label class="checkbox--noborder">
2886 <input type="checkbox" class="checkbox__input checkbox--noborder__input" disabled checked="checked">
2887 <div class="checkbox__checkmark checkbox--noborder__checkmark"></div>
2888 Disabled
2889 </label>
2890 */
2891.checkbox--noborder {
2892 position: relative;
2893 display: inline-block;
2894 vertical-align: top;
2895 cursor: default;
2896 -webkit-user-select: none;
2897 -moz-user-select: none;
2898 -ms-user-select: none;
2899 user-select: none;
2900 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
2901 -webkit-font-smoothing: antialiased;
2902 -moz-osx-font-smoothing: grayscale;
2903 font-weight: 400;
2904 line-height: 22px;
2905 position: relative;
2906}
2907.checkbox--noborder__input {
2908 position: absolute;
2909 right: 0;
2910 top: 0;
2911 left: 0;
2912 bottom: 0;
2913 padding: 0;
2914 border: 0;
2915 background-color: transparent;
2916 z-index: 1;
2917 vertical-align: top;
2918 outline: none;
2919 width: 100%;
2920 height: 100%;
2921 margin: 0;
2922 -webkit-appearance: none;
2923 -moz-appearance: none;
2924 appearance: none;
2925}
2926.checkbox--noborder__checkmark {
2927 position: relative;
2928 display: inline-block;
2929 vertical-align: top;
2930 cursor: default;
2931 -webkit-user-select: none;
2932 -moz-user-select: none;
2933 -ms-user-select: none;
2934 user-select: none;
2935 box-sizing: border-box;
2936 background-clip: padding-box;
2937 width: 22px;
2938 height: 22px;
2939 background: transparent;
2940 border: none;
2941}
2942.checkbox--noborder__checkmark:before {
2943 content: '';
2944 position: absolute;
2945 width: 22px;
2946 height: 22px;
2947 background: transparent;
2948 border: none;
2949 border-radius: 22px;
2950 left: 0;
2951}
2952/* checkmark's line */
2953.checkbox--noborder__checkmark:after {
2954 content: '';
2955 position: absolute;
2956 top: 7px;
2957 left: 4px;
2958 opacity: 0;
2959 width: 11px;
2960 height: 4px;
2961 background: transparent;
2962 border: 2px solid #0076ff;
2963 border-top: none;
2964 border-right: none;
2965 border-radius: 0;
2966 -webkit-transform: rotate(-45deg);
2967 transform: rotate(-45deg);
2968}
2969:checked + .checkbox--noborder__checkmark:before {
2970 background: transparent;
2971 border: none;
2972}
2973:checked + .checkbox--noborder__checkmark:after {
2974 opacity: 1;
2975}
2976:focus + .checkbox--noborder__checkmark:before {
2977 border: none;
2978}
2979:disabled + .checkbox--noborder__checkmark {
2980 opacity: 0.3;
2981 cursor: default;
2982 pointer-events: none;
2983}
2984:disabled:active + .checkbox--noborder__checkmark:before {
2985 background: transparent;
2986 border: none;
2987}
2988/*~
2989 name: Material Checkbox
2990 category: Checkbox
2991 elements: ons-input
2992 markup: |
2993 <label class="checkbox checkbox--material">
2994 <input type="checkbox" class="checkbox__input checkbox--material__input">
2995 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
2996 OFF
2997 </label>
2998 <label class="checkbox checkbox--material">
2999 <input type="checkbox" class="checkbox__input checkbox--material__input" checked="checked">
3000 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
3001 ON
3002 </label>
3003 <label class="checkbox checkbox--material">
3004 <input type="checkbox" class="checkbox__input checkbox--material__input" checked="checked" disabled>
3005 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
3006 ON
3007 </label>
3008 <label class="checkbox checkbox--material">
3009 <input type="checkbox" class="checkbox__input checkbox--material__input" disabled>
3010 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
3011 Disabled
3012 </label>
3013*/
3014.checkbox--material {
3015 line-height: 18px;
3016 font-family: 'Roboto', 'Noto', sans-serif;
3017 -webkit-font-smoothing: antialiased;
3018 font-weight: 400;
3019 overflow: visible;
3020}
3021.checkbox--material__checkmark {
3022 width: 18px;
3023 height: 18px;
3024}
3025.checkbox--material__checkmark:before {
3026 border-radius: 2px;
3027 height: 18px;
3028 width: 18px;
3029 border: 2px solid #717171;
3030 transition: background-color 0.1s linear 0.2s, border-color 0.1s linear 0.2s;
3031 background-color: transparent;
3032}
3033:checked + .checkbox--material__checkmark:before {
3034 border: 2px solid #37474f;
3035 background-color: #37474f;
3036 transition: background-color 0.1s linear, border-color 0.1s linear;
3037}
3038.checkbox--material__checkmark:after {
3039 border-color: #ffffff;
3040 transition: -webkit-transform 0.2s ease 0;
3041 transition: transform 0.2s ease 0;
3042 transition: transform 0.2s ease 0, -webkit-transform 0.2s ease 0;
3043 width: 10px;
3044 height: 5px;
3045 top: 4px;
3046 left: 3px;
3047 -webkit-transform: scale(0) rotate(-45deg);
3048 transform: scale(0) rotate(-45deg);
3049 border-width: 2px;
3050}
3051:checked + .checkbox--material__checkmark:after {
3052 transition: -webkit-transform 0.2s ease 0.2s;
3053 transition: transform 0.2s ease 0.2s;
3054 transition: transform 0.2s ease 0.2s, -webkit-transform 0.2s ease 0.2s;
3055 width: 10px;
3056 height: 5px;
3057 top: 4px;
3058 left: 3px;
3059 -webkit-transform: scale(1) rotate(-45deg);
3060 transform: scale(1) rotate(-45deg);
3061 border-width: 2px;
3062}
3063/* active ring effect */
3064.checkbox--material__input:before {
3065 content: '';
3066 opacity: 0;
3067 position: absolute;
3068 top: 0;
3069 left: 0;
3070 width: 18px;
3071 height: 18px;
3072 box-shadow: 0 0 0 11px #717171;
3073 box-sizing: border-box;
3074 border-radius: 50%;
3075 background-color: #717171;
3076 pointer-events: none;
3077 display: block;
3078 -webkit-transform: scale3d(0.2, 0.2, 0.2);
3079 transform: scale3d(0.2, 0.2, 0.2);
3080 transition: opacity 0.25s ease-out, -webkit-transform 0.1s ease-out;
3081 transition: opacity 0.25s ease-out, transform 0.1s ease-out;
3082 transition: opacity 0.25s ease-out, transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
3083}
3084.checkbox--material__input:checked:before {
3085 box-shadow: 0 0 0 11px #37474f;
3086 background-color: #37474f;
3087}
3088.checkbox--material__input:active:before {
3089 opacity: .15;
3090 -webkit-transform: scale3d(1, 1, 1);
3091 transform: scale3d(1, 1, 1);
3092}
3093:disabled + .checkbox--material__checkmark {
3094 opacity: 1;
3095}
3096:disabled + .checkbox--material__checkmark:before {
3097 border-color: #afafaf;
3098}
3099:disabled:checked + .checkbox--material__checkmark:before {
3100 background-color: #afafaf;
3101}
3102:disabled:checked + .checkbox--material__checkmark:after {
3103 border-color: #ffffff;
3104}
3105/*~
3106 name: Radio Button
3107 category: Radio Button
3108 elements: ons-input
3109 markup: |
3110 <label class="radio-button">
3111 <input type="radio" class="radio-button__input" name="r" checked="checked">
3112 <div class="radio-button__checkmark"></div>
3113 Label
3114 </label>
3115
3116 <label class="radio-button">
3117 <input type="radio" class="radio-button__input" name="r">
3118 <div class="radio-button__checkmark"></div>
3119 Label
3120 </label>
3121
3122 <label class="radio-button">
3123 <input type="radio" class="radio-button__input" name="r">
3124 <div class="radio-button__checkmark"></div>
3125 Label
3126 </label>
3127*/
3128.radio-button__input {
3129 position: absolute;
3130 right: 0;
3131 top: 0;
3132 left: 0;
3133 bottom: 0;
3134 padding: 0;
3135 border: 0;
3136 background-color: transparent;
3137 z-index: 1;
3138 vertical-align: top;
3139 outline: none;
3140 width: 100%;
3141 height: 100%;
3142 margin: 0;
3143 -webkit-appearance: none;
3144 -moz-appearance: none;
3145 appearance: none;
3146}
3147.radio-button__input:active,
3148.radio-button__input:focus {
3149 outline: 0;
3150 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
3151}
3152.radio-button {
3153 position: relative;
3154 display: inline-block;
3155 vertical-align: top;
3156 cursor: default;
3157 -webkit-user-select: none;
3158 -moz-user-select: none;
3159 -ms-user-select: none;
3160 user-select: none;
3161 position: relative;
3162 line-height: 24px;
3163 text-align: left;
3164}
3165.radio-button__checkmark:before {
3166 content: '';
3167 position: absolute;
3168 border-radius: 100%;
3169 box-sizing: border-box;
3170 background-clip: padding-box;
3171 width: 22px;
3172 height: 22px;
3173 background: transparent;
3174 border: none;
3175 border-radius: 22px;
3176 left: 0;
3177}
3178.radio-button__checkmark {
3179 box-sizing: border-box;
3180 background-clip: padding-box;
3181 position: relative;
3182 display: inline-block;
3183 vertical-align: top;
3184 cursor: default;
3185 -webkit-user-select: none;
3186 -moz-user-select: none;
3187 -ms-user-select: none;
3188 user-select: none;
3189 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
3190 -webkit-font-smoothing: antialiased;
3191 -moz-osx-font-smoothing: grayscale;
3192 font-weight: 400;
3193 position: relative;
3194 position: relative;
3195 width: 24px;
3196 height: 24px;
3197 background: transparent;
3198 pointer-events: none;
3199}
3200.radio-button__checkmark:after {
3201 content: '';
3202 position: absolute;
3203 top: 7px;
3204 left: 4px;
3205 opacity: 0;
3206 width: 11px;
3207 height: 4px;
3208 background: transparent;
3209 border: 2px solid #0076ff;
3210 border-top: none;
3211 border-right: none;
3212 border-radius: 0;
3213 -webkit-transform: rotate(-45deg);
3214 transform: rotate(-45deg);
3215}
3216:checked + .radio-button__checkmark {
3217 background: rgba(0, 0, 0, 0);
3218}
3219:checked + .radio-button__checkmark:after {
3220 opacity: 1;
3221}
3222:checked + .radio-button__checkmark:before {
3223 background: transparent;
3224 border: none;
3225}
3226:disabled + .radio-button__checkmark {
3227 opacity: 0.3;
3228 cursor: default;
3229 pointer-events: none;
3230}
3231/*~
3232 name: Material Radio Button
3233 category: Radio Button
3234 elements: ons-input
3235 markup: |
3236 <label class="radio-button radio-button--material">
3237 <input type="radio" class="radio-button__input radio-button--material__input" name="r" checked="checked">
3238 <div class="radio-button__checkmark radio-button--material__checkmark"></div>
3239 Label
3240 </label>
3241 <label class="radio-button radio-button--material">
3242 <input type="radio" class="radio-button__input radio-button--material__input" name="r">
3243 <div class="radio-button__checkmark radio-button--material__checkmark"></div>
3244 Label
3245 </label>
3246 <label class="radio-button radio-button--material">
3247 <input type="radio" class="radio-button__input radio-button--material__input" name="s" disabled checked>
3248 <div class="radio-button__checkmark radio-button--material__checkmark"></div>
3249 Label
3250 </label>
3251 <label class="radio-button radio-button--material">
3252 <input type="radio" class="radio-button__input radio-button--material__input" name="s" disabled>
3253 <div class="radio-button__checkmark radio-button--material__checkmark"></div>
3254 Label
3255 </label>
3256*/
3257.radio-button--material {
3258 line-height: 22px;
3259 font-family: 'Roboto', 'Noto', sans-serif;
3260 -webkit-font-smoothing: antialiased;
3261 font-weight: 400;
3262}
3263.radio-button--material__input:before {
3264 content: '';
3265 position: absolute;
3266 top: 0;
3267 left: 0;
3268 opacity: 0;
3269 width: 20px;
3270 height: 20px;
3271 box-shadow: 0 0 0 14px #717171;
3272 border: none;
3273 box-sizing: border-box;
3274 border-radius: 50%;
3275 background-color: #717171;
3276 pointer-events: none;
3277 display: block;
3278 -webkit-transform: scale3d(0.2, 0.2, 0.2);
3279 transform: scale3d(0.2, 0.2, 0.2);
3280 transition: opacity 0.25s ease-out, -webkit-transform 0.1s ease-out;
3281 transition: opacity 0.25s ease-out, transform 0.1s ease-out;
3282 transition: opacity 0.25s ease-out, transform 0.1s ease-out, -webkit-transform 0.1s ease-out;
3283}
3284.radio-button--material__input:checked:before {
3285 box-shadow: 0 0 0 14px #37474f;
3286 background-color: #37474f;
3287}
3288.radio-button--material__input:active:before {
3289 opacity: .15;
3290 -webkit-transform: scale3d(1, 1, 1);
3291 transform: scale3d(1, 1, 1);
3292}
3293.radio-button--material__checkmark {
3294 width: 20px;
3295 height: 20px;
3296 overflow: visible;
3297}
3298.radio-button--material__checkmark:before {
3299 background: transparent;
3300 border: 2px solid #717171;
3301 box-sizing: border-box;
3302 border-radius: 50%;
3303 width: 20px;
3304 height: 20px;
3305 transition: border 0.2s ease;
3306}
3307.radio-button--material__checkmark:after {
3308 transition: background 0.2s ease, -webkit-transform 0.2s ease;
3309 transition: background 0.2s ease, transform 0.2s ease;
3310 transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
3311 top: 5px;
3312 left: 5px;
3313 width: 10px;
3314 height: 10px;
3315 border: none;
3316 border-radius: 50%;
3317 -webkit-transform: scale(0);
3318 transform: scale(0);
3319}
3320:checked + .radio-button--material__checkmark:before {
3321 background: transparent;
3322 border: 2px solid #37474f;
3323}
3324.radio-button--material__input + .radio-button__checkmark:after {
3325 background: #717171;
3326 opacity: 1;
3327 -webkit-transform: scale(0);
3328 transform: scale(0);
3329}
3330:checked + .radio-button--material__checkmark:after {
3331 opacity: 1;
3332 background: #37474f;
3333 -webkit-transform: scale(1);
3334 transform: scale(1);
3335}
3336:disabled + .radio-button--material__checkmark {
3337 opacity: 1;
3338}
3339:disabled + .radio-button--material__checkmark:after {
3340 background-color: #afafaf;
3341 border-color: #afafaf;
3342}
3343:disabled + .radio-button--material__checkmark:before {
3344 border-color: #afafaf;
3345}
3346/*~
3347 name: List
3348 category: List
3349 elements: ons-list ons-list-item
3350 markup: |
3351 <ul class="list">
3352 <li class="list-item">
3353 <div class="list-item__center">Dog</div>
3354 </li>
3355 <li class="list-item">
3356 <div class="list-item__center">Cat</div>
3357 </li>
3358 <li class="list-item">
3359 <div class="list-item__center">Hamster</div>
3360 </li>
3361 </ul>
3362*/
3363.list {
3364 padding: 0;
3365 margin: 0;
3366 font: inherit;
3367 color: inherit;
3368 background: transparent;
3369 border: none;
3370 line-height: normal;
3371 cursor: default;
3372 -webkit-user-select: none;
3373 -moz-user-select: none;
3374 -ms-user-select: none;
3375 user-select: none;
3376 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
3377 -webkit-font-smoothing: antialiased;
3378 -moz-osx-font-smoothing: grayscale;
3379 font-weight: 400;
3380 list-style-type: none;
3381 text-align: left;
3382 display: block;
3383 -webkit-overflow-scrolling: touch;
3384 overflow: hidden;
3385 background-image:
3386 linear-gradient(#ccc, #ccc),
3387 linear-gradient(#ccc, #ccc);
3388 background-size: 100% 1px, 100% 1px;
3389 background-repeat: no-repeat;
3390 background-position: bottom, top;
3391 border: none;
3392 background-color: #fff;
3393}
3394@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
3395 .list {
3396 background-image:
3397 linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%),
3398 linear-gradient(180deg, #ccc, #ccc 50%, transparent 50%);
3399 }
3400}
3401.list-item {
3402 position: relative;
3403 width: 100%;
3404 list-style: none;
3405 box-sizing: border-box;
3406 display: -webkit-box;
3407 display: -webkit-flex;
3408 display: flex;
3409 -webkit-box-orient: horizontal;
3410 -webkit-box-direction: normal;
3411 -webkit-flex-direction: row;
3412 flex-direction: row;
3413 -webkit-box-pack: start;
3414 -webkit-justify-content: flex-start;
3415 justify-content: flex-start;
3416 -webkit-box-align: center;
3417 -webkit-align-items: center;
3418 align-items: center;
3419 padding: 0 0 0 14px;
3420 margin: 0 0 -1px 0;
3421 color: #1f1f21;
3422 transition: background-color 0.2s linear;
3423}
3424/*~
3425 name: Expandable List
3426 category: List
3427 elements: ons-list ons-list-item
3428 markup: |
3429 <ul class="list">
3430 <li class="list-item list-item--expandable expanded">
3431 <div class="list-item__top">
3432 <div class="list-item__center">Item</div>
3433 <div class="list-item__right">
3434 <span class="list-item__expand-chevron"></span>
3435 </div>
3436 </div>
3437 <div class="list-item__expandable-content">Expanded content</div>
3438 </li>
3439 </ul>
3440*/
3441.list-item__top {
3442 display: -webkit-box;
3443 display: -webkit-flex;
3444 display: flex;
3445 -webkit-box-orient: horizontal;
3446 -webkit-box-direction: normal;
3447 -webkit-flex-direction: row;
3448 flex-direction: row;
3449 -webkit-box-pack: start;
3450 -webkit-justify-content: flex-start;
3451 justify-content: flex-start;
3452 -webkit-box-align: center;
3453 -webkit-align-items: center;
3454 align-items: center;
3455 -webkit-box-ordinal-group: 1;
3456 -webkit-order: 0;
3457 order: 0;
3458 width: 100%;
3459}
3460.list-item--expandable {
3461 display: -webkit-box;
3462 display: -webkit-flex;
3463 display: flex;
3464 -webkit-box-orient: vertical;
3465 -webkit-box-direction: normal;
3466 -webkit-flex-direction: column;
3467 flex-direction: column;
3468 border-bottom: none;
3469 background-size: 100% 1px;
3470 background-repeat: no-repeat;
3471 background-position: bottom;
3472 background-image: linear-gradient(0deg, #ccc, #ccc 100%);
3473}
3474@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
3475 .list-item--expandable {
3476 background-image: linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%);
3477 }
3478}
3479.list-item--expandable {
3480 background-position-x: 14px;
3481}
3482.list-item__expandable-content {
3483 display: none;
3484 width: 100%;
3485 padding: 12px 14px 12px 0;
3486 box-sizing: border-box;
3487 -webkit-box-ordinal-group: 2;
3488 -webkit-order: 1;
3489 order: 1;
3490 overflow: hidden;
3491}
3492.list-item.expanded > .list-item__expandable-content {
3493 display: block;
3494 height: auto;
3495}
3496.list-item__left {
3497 box-sizing: border-box;
3498 display: -webkit-box;
3499 display: -webkit-flex;
3500 display: flex;
3501 padding: 12px 14px 12px 0;
3502 -webkit-box-ordinal-group: 1;
3503 -webkit-order: 0;
3504 order: 0;
3505 -webkit-box-align: center;
3506 -webkit-align-items: center;
3507 align-items: center;
3508 -webkit-align-self: stretch;
3509 align-self: stretch;
3510 line-height: 1.2em;
3511 min-height: 44px;
3512}
3513.list-item__left:empty {
3514 width: 0;
3515 min-width: 0;
3516 padding: 0;
3517 margin: 0;
3518}
3519.list-item__center {
3520 box-sizing: border-box;
3521 display: -webkit-box;
3522 display: -webkit-flex;
3523 display: flex;
3524 -webkit-box-flex: 1;
3525 -webkit-flex-grow: 1;
3526 flex-grow: 1;
3527 -webkit-flex-wrap: wrap;
3528 flex-wrap: wrap;
3529 -webkit-box-orient: horizontal;
3530 -webkit-box-direction: normal;
3531 -webkit-flex-direction: row;
3532 flex-direction: row;
3533 -webkit-box-ordinal-group: 2;
3534 -webkit-order: 1;
3535 order: 1;
3536 margin-right: auto;
3537 -webkit-box-align: center;
3538 -webkit-align-items: center;
3539 align-items: center;
3540 -webkit-align-self: stretch;
3541 align-self: stretch;
3542 margin-left: 0;
3543 border-bottom: none;
3544 background-size: 100% 1px;
3545 background-repeat: no-repeat;
3546 background-position: bottom;
3547 background-image: linear-gradient(0deg, #ccc, #ccc 100%);
3548}
3549@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
3550 .list-item__center {
3551 background-image: linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%);
3552 }
3553}
3554.list-item__center {
3555 padding: 12px 6px 12px 0;
3556 line-height: 1.2em;
3557 min-height: 44px;
3558}
3559.list-item__right {
3560 box-sizing: border-box;
3561 display: -webkit-box;
3562 display: -webkit-flex;
3563 display: flex;
3564 margin-left: auto;
3565 padding: 12px 12px 12px 0;
3566 -webkit-box-ordinal-group: 3;
3567 -webkit-order: 2;
3568 order: 2;
3569 -webkit-box-align: center;
3570 -webkit-align-items: center;
3571 align-items: center;
3572 -webkit-align-self: stretch;
3573 align-self: stretch;
3574 border-bottom: none;
3575 background-size: 100% 1px;
3576 background-repeat: no-repeat;
3577 background-position: bottom;
3578 background-image: linear-gradient(0deg, #ccc, #ccc 100%);
3579}
3580@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
3581 .list-item__right {
3582 background-image: linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%);
3583 }
3584}
3585.list-item__right {
3586 line-height: 1.2em;
3587 min-height: 44px;
3588}
3589.list-header {
3590 margin: 0;
3591 list-style: none;
3592 text-align: left;
3593 display: block;
3594 box-sizing: border-box;
3595 padding: 0 0 0 15px;
3596 font-size: 12px;
3597 font-weight: 500;
3598 color: #1f1f21;
3599 min-height: 24px;
3600 line-height: 25px;
3601 text-transform: uppercase;
3602 position: relative;
3603 background-color: #eee;
3604 background-size: 100% 1px;
3605 background-repeat: no-repeat;
3606 background-position: top;
3607 background-image: linear-gradient(0deg, #ccc, #ccc 100%);
3608}
3609@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
3610 .list-header {
3611 background-image: linear-gradient(180deg, #ccc, #ccc 50%, transparent 50%);
3612 }
3613}
3614/*~
3615 name: Noborder List
3616 category: List
3617 elements: ons-list ons-list-item
3618 markup: |
3619 <ul class="list list--noborder">
3620 <li class="list-item">
3621 <div class="list-item__center">Item</div>
3622 </li>
3623 <li class="list-item">
3624 <div class="list-item__center">Item</div>
3625 </li>
3626 </ul>
3627 */
3628.list--noborder {
3629 border-top: none;
3630 border-bottom: none;
3631 background-image: none;
3632}
3633/*~
3634 name: Category List Header
3635 category: List
3636 elements: ons-list ons-list-header ons-list-item
3637 markup: |
3638 <ul class="list">
3639 <li class="list-header">
3640 Header
3641 </li>
3642 <li class="list-item">
3643 <div class="list-item__center">Item</div>
3644 </li>
3645 <li class="list-item">
3646 <div class="list-item__center">Item</div>
3647 </li>
3648 <li class="list-item">
3649 <div class="list-item__center">Item</div>
3650 </li>
3651 </ul>
3652 */
3653/*~
3654 name: Tappable List
3655 category: List
3656 elements: ons-list ons-list-item
3657 markup: |
3658 <ul class="list">
3659 <li class="list-item list-item--tappable">
3660 <div class="list-item__center">Tappable Item</div>
3661 </li>
3662 <li class="list-item list-item--tappable">
3663 <div class="list-item__center">Tappable Item</div>
3664 </li>
3665 <li class="list-item list-item--tappable">
3666 <div class="list-item__center">Tappable Item</div>
3667 </li>
3668 </ul>
3669 */
3670.list-item--tappable:active {
3671 transition: none;
3672 background-color: #d9d9d9;
3673}
3674/*~
3675 name: Switch in List Item
3676 category: List
3677 elements: ons-list ons-list-item ons-switch
3678 markup: |
3679 <ul class="list">
3680 <li class="list-item">
3681 <div class="list-item__center">
3682 Label
3683 </div>
3684 <div class="list-item__right">
3685 <label class="switch">
3686 <input type="checkbox" class="switch__input" checked>
3687 <div class="switch__toggle">
3688 <div class="switch__handle"></div>
3689 </div>
3690 </label>
3691 </div>
3692 </li>
3693 <li class="list-item">
3694 <div class="list-item__center">
3695 Label
3696 </div>
3697 <div class="list-item__right">
3698 <label class="switch">
3699 <input type="checkbox" class="switch__input">
3700 <div class="switch__toggle">
3701 <div class="switch__handle"></div>
3702 </div>
3703 </label>
3704 </div>
3705 </li>
3706 </ul>
3707*/
3708/*~
3709 name: Inset List
3710 category: List
3711 elements: ons-list ons-list-item
3712 markup: |
3713 <ul class="list list--inset">
3714 <li class="list-item list--inset__item list-item--chevron list-item--tappable">
3715 <div class="list-item__center">List Item with Chevron</div>
3716 </li>
3717 <li class="list-item list--inset__item list-item--chevron list-item--tappable">
3718 <div class="list-item__center">List Item with Chevron</div>
3719 </li>
3720 </ul>
3721 */
3722.list--inset {
3723 margin: 0 8px;
3724 border: 1px solid #ccc;
3725 border-radius: 4px;
3726 background-image: none;
3727}
3728/*~
3729 name: Radio Button in List Item
3730 category: List
3731 elements: ons-list ons-list-item ons-input
3732 markup: |
3733 <ul class="list">
3734 <li class="list-item list-item--tappable">
3735 <div class="list-item__left">
3736 <label class="radio-button">
3737 <input type="radio" id="r1" class="radio-button__input" name="r" checked="checked">
3738 <div class="radio-button__checkmark"></div>
3739 </label>
3740 </div>
3741 <label for="r1" class="list-item__center">
3742 Radio Button
3743 </label>
3744 </li>
3745 <li class="list-item list-item--tappable">
3746 <div class="list-item__left">
3747 <label class="radio-button">
3748 <input type="radio" id="r2" class="radio-button__input" name="r">
3749 <div class="radio-button__checkmark"></div>
3750 </label>
3751 </div>
3752 <label for="r2" class="list-item__center">
3753 Radio Button
3754 </label>
3755 </li>
3756 </ul>
3757*/
3758/*~
3759 name: Checkbox in List Item
3760 category: List
3761 elements: ons-list ons-list-item ons-input
3762 markup: |
3763 <ul class="list">
3764 <li class="list-item list-item--tappable">
3765 <div class="list-item__left">
3766 <label class="checkbox">
3767 <input type="checkbox" id="checkbox1" class="checkbox__input" name="c" checked="checked">
3768 <div class="checkbox__checkmark"></div>
3769 </label>
3770 </div>
3771 <label for="checkbox1" class="list-item__center">
3772 Checkbox
3773 </label>
3774 </li>
3775 <li class="list-item list-item--tappable">
3776 <div class="list-item__left">
3777 <label class="checkbox">
3778 <input type="checkbox" id="checkbox2" class="checkbox__input" name="c">
3779 <div class="checkbox__checkmark"></div>
3780 </label>
3781 </div>
3782 <label for="checkbox2" class="list-item__center">
3783 Checkbox
3784 </label>
3785 </li>
3786 </ul>
3787*/
3788/*~
3789 name: No border Checkbox in List Item
3790 category: List
3791 elements: ons-list ons-list-item ons-input
3792 markup: |
3793 <ul class="list">
3794 <li class="list-item list-item--tappable">
3795 <div class="list-item__left">
3796 <label class="checkbox checkbox--noborder">
3797 <input id="s1" type="checkbox" class="checkbox__input checkbox--noborder__input">
3798 <div class="checkbox__checkmark checkbox--noborder checkbox--noborder__checkmark"></div>
3799 </label>
3800 </div>
3801 <label for="s1" class="list-item__center">
3802 Checkbox
3803 </label>
3804 </li>
3805 <li class="list-item list-item--tappable">
3806 <div class="list-item__left">
3807 <label class="checkbox checkbox--noborder">
3808 <input id="s2" type="checkbox" class="checkbox__input checkbox--noborder__input" checked>
3809 <div class="checkbox__checkmark checkbox--noborder checkbox--noborder__checkmark"></div>
3810 </label>
3811 </div>
3812 <label for="s2" class="list-item__center">
3813 Checkbox
3814 </label>
3815 </li>
3816 </ul>
3817*/
3818/*~
3819 name: Text Input in List Item
3820 category: List
3821 elements: ons-list ons-list-item ons-input
3822 markup: |
3823 <ul class="list">
3824 <li class="list-item">
3825 <div class="list-item__center">
3826 <input type="text" class="text-input" placeholder="Name">
3827 </div>
3828 </li>
3829 <li class="list-item">
3830 <div class="list-item__center">
3831 <input type="text" class="text-input" placeholder="Email">
3832 </div>
3833 </li>
3834 </ul>
3835*/
3836/*~
3837 name: Textarea in List Item
3838 category: List
3839 elements: ons-list ons-list-item
3840 markup: |
3841 <ul class="list">
3842 <li class="list-item">
3843 <div class="list-item__center">
3844 <textarea class="textarea textarea--transparent" placeholder="Text message"></textarea>
3845 </div>
3846 </li>
3847 </ul>
3848*/
3849/*~
3850 name: Right Label in List Item
3851 category: List
3852 elements: ons-list ons-list-item
3853 markup: |
3854 <ul class="list">
3855 <li class="list-item">
3856 <div class="list-item__center">
3857 Title
3858 </div>
3859 <div class="list-item__right">
3860 <div class="list-item__label">Label</div>
3861 </div>
3862 </li>
3863 </ul>
3864*/
3865.list-item__label {
3866 font-size: 14px;
3867 padding: 0 4px;
3868 opacity: 0.6;
3869}
3870/*~
3871 name: List Item with Subtitle
3872 category: List
3873 elements: ons-list ons-list-item
3874 markup: |
3875 <ul class="list">
3876 <li class="list-item">
3877 <div class="list-item__center">
3878 <div class="list-item__title">
3879 Title
3880 </div>
3881 <div class="list-item__subtitle">
3882 Subtitle
3883 </div>
3884 </div>
3885 </li>
3886 </ul>
3887*/
3888.list-item__title {
3889 -webkit-flex-basis: 100%;
3890 flex-basis: 100%;
3891 -webkit-align-self: flex-end;
3892 align-self: flex-end;
3893 -webkit-box-ordinal-group: 1;
3894 -webkit-order: 0;
3895 order: 0;
3896}
3897.list-item__subtitle {
3898 opacity: 0.75;
3899 font-size: 14px;
3900 -webkit-box-ordinal-group: 2;
3901 -webkit-order: 1;
3902 order: 1;
3903 -webkit-flex-basis: 100%;
3904 flex-basis: 100%;
3905 -webkit-align-self: flex-start;
3906 align-self: flex-start;
3907}
3908/*~
3909 name: List Item with Thumbnail
3910 category: List
3911 elements: ons-list ons-list-item
3912 markup: |
3913 <ul class="list">
3914 <li class="list-item">
3915 <div class="list-item__left">
3916 <img class="list-item__thumbnail" src="https://placekitten.com/g/40/40" alt="Cute kitten">
3917 </div>
3918
3919 <div class="list-item__center">
3920 <div class="list-item__title">Lily</div>
3921 <div class="list-item__subtitle">Very friendly cat</div>
3922 </div>
3923 </li>
3924
3925 <li class="list-item">
3926 <div class="list-item__left">
3927 <img class="list-item__thumbnail" src="https://placekitten.com/g/40/40" alt="Cute kitten">
3928 </div>
3929
3930 <div class="list-item__center">
3931 <div class="list-item__title">Molly</div>
3932 <div class="list-item__subtitle">Loves tuna!</div>
3933 </div>
3934 </li>
3935 </ul>
3936*/
3937.list-item__thumbnail {
3938 width: 40px;
3939 height: 40px;
3940 border-radius: 6px;
3941 display: block;
3942 margin: 0;
3943}
3944/*~
3945 name: List Item with Icon
3946 category: List
3947 elements: ons-list ons-list-item
3948 markup: |
3949 <ul class="list">
3950 <li class="list-item">
3951 <div class="list-item__left">
3952 <img class="list-item__thumbnail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwJCB8v/9zErgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAvSURBVFjD7c0BDQAACAMgtX+KJzWGm4MCdJK6MHVELBaLxWKxWCwWi8VisVj8MV7qBgI2A8rYpgAAAABJRU5ErkJggg==">
3953 </div>
3954
3955 <div class="list-item__center">
3956 <div class="list-item__title">Alice</div>
3957 <div class="list-item__subtitle">Description</div>
3958 </div>
3959
3960 <div class="list-item__right">
3961 <i class="ion-ios-information list-item__icon"></i>
3962 </div>
3963 </li>
3964
3965 <li class="list-item">
3966 <div class="list-item__left">
3967 <img class="list-item__thumbnail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwJCB8v/9zErgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAvSURBVFjD7c0BDQAACAMgtX+KJzWGm4MCdJK6MHVELBaLxWKxWCwWi8VisVj8MV7qBgI2A8rYpgAAAABJRU5ErkJggg==">
3968 </div>
3969
3970 <div class="list-item__center">
3971 <div class="list-item__title">Bob</div>
3972 <div class="list-item__subtitle">Description</div>
3973 </div>
3974
3975 <div class="list-item__right">
3976 <i class="ion-ios-information list-item__icon"></i>
3977 </div>
3978 </li>
3979 </ul>
3980*/
3981.list-item__icon {
3982 font-size: 22px;
3983 padding: 0 6px;
3984}
3985/*~
3986 name: Material List
3987 category: List
3988 elements: ons-list ons-list-item
3989 markup: |
3990 <ul class="list list--material">
3991 <li class="list-item list-item--material">
3992 <div class="list-item__center list-item--material__center">
3993 <div class="list-item__title list-item--material__title">Orange</div>
3994 <div class="list-item__subtitle list-item--material__subtitle">Sweet fruit that grows on trees.</div>
3995 </div>
3996 </li>
3997 <li class="list-item list-item--material">
3998 <div class="list-item__center list-item--material__center">
3999 <div class="list-item__title list-item--material__title">Pear</div>
4000 <div class="list-item__subtitle list-item--material__subtitle">Funny-shaped fruit.</div>
4001 </div>
4002 </li>
4003 </ul>
4004*/
4005.list--material {
4006 font-family: 'Roboto', 'Noto', sans-serif;
4007 -webkit-font-smoothing: antialiased;
4008 font-weight: 400;
4009 background-image: none;
4010 background-color: #fff;
4011}
4012.list-item--material {
4013 border: 0;
4014 padding: 0 0 0 16px;
4015 line-height: normal;
4016}
4017.list-item--material__subtitle {
4018 margin-top: 4px;
4019}
4020.list-item--material:first-child {
4021 box-shadow: none;
4022}
4023.list-item--material__left {
4024 padding: 14px 0;
4025 min-width: 56px;
4026 line-height: 1;
4027 min-height: 48px;
4028}
4029.list-item--material__left:empty,
4030.list-item--material__center {
4031 padding: 14px 6px 14px 0;
4032 border-color: #eee;
4033 border-bottom: none;
4034 background-size: 100% 1px;
4035 background-repeat: no-repeat;
4036 background-position: bottom;
4037 background-image: linear-gradient(0deg, #eee, #eee 100%);
4038}
4039@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4040 .list-item--material__left:empty,
4041.list-item--material__center {
4042 background-image: linear-gradient(0deg, #eee, #eee 50%, transparent 50%);
4043 }
4044}
4045.list-item--material__left:empty,
4046.list-item--material__center {
4047 min-height: 48px;
4048}
4049.list-item--material__right {
4050 padding: 14px 16px 14px 0;
4051 line-height: 1;
4052 border-color: #eee;
4053 border-bottom: none;
4054 background-size: 100% 1px;
4055 background-repeat: no-repeat;
4056 background-position: bottom;
4057 background-image: linear-gradient(0deg, #eee, #eee 100%);
4058}
4059@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4060 .list-item--material__right {
4061 background-image: linear-gradient(0deg, #eee, #eee 50%, transparent 50%);
4062 }
4063}
4064.list-item--material__right {
4065 min-height: 48px;
4066}
4067.list-item--material.list-item--expandable {
4068 border-bottom: 1px solid #eee;
4069 border-bottom: none;
4070 background-size: 100% 1px;
4071 background-repeat: no-repeat;
4072 background-position: bottom;
4073 background-image: linear-gradient(0deg, #eee, #eee 100%);
4074}
4075@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4076 .list-item--material.list-item--expandable {
4077 background-image: linear-gradient(0deg, #eee, #eee 50%, transparent 50%);
4078 }
4079}
4080.list-item--material.list-item--expandable {
4081 background-position-x: 16px;
4082}
4083.list-item--material.list-item--longdivider,
4084.list-item--material.list-item--expandable.list-item--longdivider
4085 {
4086 border-bottom: 1px solid #eee;
4087 border-bottom: none;
4088 background-size: 100% 1px;
4089 background-repeat: no-repeat;
4090 background-position: bottom;
4091 background-image: linear-gradient(0deg, #eee, #eee 100%);
4092}
4093@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4094 .list-item--material.list-item--longdivider,
4095.list-item--material.list-item--expandable.list-item--longdivider
4096 {
4097 background-image: linear-gradient(0deg, #eee, #eee 50%, transparent 50%);
4098 }
4099}
4100/*~
4101 name: Material List with Header
4102 category: List
4103 elements: ons-list ons-list-item
4104 markup: |
4105 <ul class="list list--material">
4106 <li class="list-header list-header--material">
4107 Fruits
4108 </li>
4109 <li class="list-item list-item--material">
4110 <div class="list-item__center list-item--material__center">
4111 <div class="list-item__title list-item--material__title">Orange</div>
4112 <div class="list-item__subtitle list-item--material__subtitle">Sweet fruit that grows on trees.</div>
4113 </div>
4114 </li>
4115 </ul>
4116*/
4117.list-header--material {
4118 background: #fff;
4119 border: none;
4120 font-size: 14px;
4121 text-transform: none;
4122 margin: -1px 0 0 0;
4123 color: #757575;
4124 font-weight: 500;
4125 padding: 8px 16px;
4126}
4127.list-header--material:not(:first-of-type) {
4128 border-top: none;
4129 background-size: 100% 1px;
4130 background-repeat: no-repeat;
4131 background-position: top;
4132 background-image: linear-gradient(180deg, #eee, #eee 100%);
4133}
4134@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4135 .list-header--material:not(:first-of-type) {
4136 background-image: linear-gradient(180deg, #eee, #eee 50%, transparent 50%);
4137 }
4138}
4139.list-header--material:not(:first-of-type) {
4140 padding-top: 16px;
4141}
4142/*~
4143 name: Material List with Checkboxes
4144 category: List
4145 elements: ons-list ons-list-item ons-input
4146 markup: |
4147 <ul class="list list--material">
4148 <li class="list-item list-item--material">
4149 <div class="list-item__left list-item--material__left">
4150 <label class="checkbox checkbox--material">
4151 <input type="checkbox" id="checkbox3" class="checkbox__input checkbox--material__input">
4152 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
4153 </label>
4154 </div>
4155
4156 <label for="checkbox3" class="list-item__center list-item--material__center">
4157 <div class="list-item__title list-item--material__title">Notifications</div>
4158 <div class="list-item__subtitle list-item--material__subtitle">Allow notifications</div>
4159 </label>
4160 </li>
4161
4162 <li class="list-item list-item--material">
4163 <div class="list-item__left list-item--material__left">
4164 <label class="checkbox checkbox--material">
4165 <input type="checkbox" id="checkbox4" class="checkbox__input checkbox--material__input" checked="checked">
4166 <div class="checkbox__checkmark checkbox--material__checkmark"></div>
4167 </label>
4168 </div>
4169
4170 <label for="checkbox4" class="list-item__center list-item--material__center">
4171 <div class="list-item__title list-item--material__title">Sound</div>
4172 <div class="list-item__subtitle list-item--material__subtitle">Hangouts message</div>
4173 </label>
4174 </li>
4175
4176 </ul>
4177*/
4178/*~
4179 name: Material List with Thumbnails
4180 category: List
4181 markup: |
4182 <ul class="list list--material">
4183 <li class="list-item list-item--material">
4184 <div class="list-item__left list-item--material__left">
4185 <img class="list-item__thumbnail list-item--material__thumbnail" src="https://placekitten.com/g/42/41" alt="Cute kitten">
4186 </div>
4187
4188 <div class="list-item__center list-item--material__center">
4189 <div class="list-item__title list-item--material__title">Lily</div>
4190 <div class="list-item__subtitle list-item--material__subtitle">Very friendly cat</div>
4191 </div>
4192 </li>
4193
4194 <li class="list-item list-item--material">
4195 <div class="list-item__left list-item--material__left">
4196 <img class="list-item__thumbnail list-item--material__thumbnail" src="https://placekitten.com/g/40/40" alt="Cute kitten">
4197 </div>
4198
4199 <div class="list-item__center list-item--material__center">
4200 <div class="list-item__title list-item--material__title">Molly</div>
4201 <div class="list-item__subtitle list-item--material__subtitle">Loves tuna!</div>
4202 </div>
4203 </li>
4204
4205 </ul>
4206*/
4207.list-item--material__thumbnail {
4208 width: 40px;
4209 height: 40px;
4210 border-radius: 100%;
4211}
4212/*~
4213 name: Material List with Icons
4214 category: List
4215 markup: |
4216 <ul class="list list--material">
4217 <li class="list-item list-item--material">
4218 <div class="list-item__left list-item--material__left">
4219 <img class="list-item__thumbnail list-item--material__thumbnail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwJCB8v/9zErgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAvSURBVFjD7c0BDQAACAMgtX+KJzWGm4MCdJK6MHVELBaLxWKxWCwWi8VisVj8MV7qBgI2A8rYpgAAAABJRU5ErkJggg==">
4220 </div>
4221
4222 <div class="list-item__center list-item--material__center">
4223 <div class="list-item__title list-item--material__title">Alice</div>
4224 <div class="list-item__subtitle list-item--material__subtitle">Description</div>
4225 </div>
4226
4227 <div class="list-item__right list-item--material__right">
4228 <i style="color:#ccc" class="list-item__icon list-item--material__icon zmdi zmdi-comment"></i>
4229 </div>
4230 </li>
4231
4232 <li class="list-item list-item--material">
4233 <div class="list-item__left list-item--material__left">
4234 <img class="list-item__thumbnail list-item--material__thumbnail" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wwJCB8v/9zErgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAvSURBVFjD7c0BDQAACAMgtX+KJzWGm4MCdJK6MHVELBaLxWKxWCwWi8VisVj8MV7qBgI2A8rYpgAAAABJRU5ErkJggg==">
4235 </div>
4236
4237 <div class="list-item__center list-item--material__center">
4238 <div class="list-item__title list-item--material__title">Bob</div>
4239 <div class="list-item__subtitle list-item--material__subtitle">Description</div>
4240 </div>
4241
4242 <div class="list-item__right list-item--material__right">
4243 <i style="color:#ccc" class="list-item__icon list-item--material__icon zmdi zmdi-comment"></i>
4244 </div>
4245 </li>
4246 </ul>
4247*/
4248.list-item--material__icon {
4249 font-size: 20px;
4250 padding: 0 4px;
4251}
4252/*~
4253 name: List Item with Chevron
4254 category: List
4255 elements: ons-list ons-list-item
4256 markup: |
4257 <ul class="list">
4258 <li class="list-item list-item--chevron">
4259 <div class="list-item__center">Item A</div>
4260 </li>
4261 <li class="list-item list-item--chevron">
4262 <div class="list-item__center">Item B</div>
4263 <div class="list-item__right list-item--chevron__right">
4264 <div class="list-item__label">Label</div>
4265 </div>
4266 </li>
4267 </ul>
4268 */
4269.list-item--chevron:before,
4270.list-item__expand-chevron {
4271 border-right: 2px solid #c7c7cc;
4272 border-bottom: 2px solid #c7c7cc;
4273 width: 7px;
4274 height: 7px;
4275 background-color: transparent;
4276 z-index: 5;
4277}
4278.list-item--chevron:before {
4279 position: absolute;
4280 content: '';
4281 right: 16px;
4282 top: 50%;
4283 -webkit-transform: translateY(-50%) rotate(-45deg);
4284 transform: translateY(-50%) rotate(-45deg);
4285}
4286.list-item__expand-chevron {
4287 -webkit-transform: rotate(45deg);
4288 transform: rotate(45deg);
4289 margin: 1px; /* this improves alignment with normal chevrons */
4290}
4291.list-item--expandable.expanded .list-item__expand-chevron {
4292 -webkit-transform: rotate(225deg);
4293 transform: rotate(225deg);
4294}
4295.list-item--chevron__right {
4296 padding-right: 30px;
4297}
4298/*~
4299 name: Nodivider List Item with Chevron
4300 category: List
4301 elements: ons-list ons-list-item
4302 markup: |
4303 <ul class="list">
4304 <li class="list-item list-item--nodivider list-item--chevron">
4305 <div class="list-item__center list-item--nodivider__center">Item A</div>
4306 </li>
4307 <li class="list-item list-item--nodivider list-item--chevron">
4308 <div class="list-item__center list-item--nodivider__center">Item B</div>
4309 <div class="list-item__right list-item--nodivider__right list-item--chevron__right">
4310 <div class="list-item__label">Label</div>
4311 </div>
4312 </li>
4313 </ul>
4314 */
4315/*~
4316 name: List item without divider
4317 category: List
4318 markup: |
4319 <ul class="list">
4320 <li class="list-item list-item--nodivider">
4321 <div class="list-item__center list-item--nodivider__center">Item</div>
4322 </li>
4323 <li class="list-item list-item--nodivider">
4324 <div class="list-item__center list-item--nodivider__center">Item</div>
4325 </li>
4326 </ul>
4327 */
4328.list-item--nodivider__center,
4329.list-item--nodivider__right,
4330.list-item--nodivider.list-item--expandable,
4331.list-item--expandable .list-item__center,
4332.list-item--expandable .list-item__right {
4333 border: none;
4334 background-image: none;
4335}
4336/*~
4337 name: List item with long divider
4338 category: List
4339 markup: |
4340 <ul class="list">
4341 <li class="list-item list-item--longdivider">
4342 <div class="list-item__center list-item--longdivider__center">Item</div>
4343 </li>
4344 <li class="list-item list-item--longdivider">
4345 <div class="list-item__center list-item--longdivider__center">Item</div>
4346 </li>
4347 </ul>
4348 */
4349.list-item--longdivider {
4350 border-bottom: 1px solid #ccc;
4351 border-bottom: none;
4352 background-size: 100% 1px;
4353 background-repeat: no-repeat;
4354 background-position: bottom;
4355 background-image: linear-gradient(0deg, #ccc, #ccc 100%);
4356}
4357@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
4358 .list-item--longdivider {
4359 background-image: linear-gradient(0deg, #ccc, #ccc 50%, transparent 50%);
4360 }
4361}
4362.list-item--longdivider:last-of-type {
4363 border: none;
4364 background-image: none;
4365}
4366.list-item--longdivider__center {
4367 border: none;
4368 background-image: none;
4369}
4370.list-item--longdivider__right {
4371 border: none;
4372 background-image: none;
4373}
4374/*~
4375 name: List title
4376 category: List
4377 markup: |
4378 <div class="list-title">List Title</div>
4379 <ul class="list">
4380 <li class="list-item">
4381 <div class="list-item__center">Item</div>
4382 </li>
4383 <li class="list-item">
4384 <div class="list-item__center">Item</div>
4385 </li>
4386 </ul>
4387 */
4388.list-title {
4389 padding: 0;
4390 margin: 0;
4391 font: inherit;
4392 color: inherit;
4393 background: transparent;
4394 border: none;
4395 line-height: normal;
4396 cursor: default;
4397 -webkit-user-select: none;
4398 -moz-user-select: none;
4399 -ms-user-select: none;
4400 user-select: none;
4401 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4402 -webkit-font-smoothing: antialiased;
4403 -moz-osx-font-smoothing: grayscale;
4404 font-weight: 400;
4405 display: block;
4406 color: #6d6d72;
4407 text-align: left;
4408 box-sizing: border-box;
4409 padding: 0 0 0 16px;
4410 margin: 0;
4411 font-size: 13px;
4412 font-weight: 500;
4413 line-height: 24px;
4414 text-transform: uppercase;
4415 letter-spacing: 0.04em;
4416}
4417/*~
4418 name: Material List Title
4419 category: List
4420 markup: |
4421 <h3 class="list-title list-title--material">LIST TITLE</h3>
4422 <ul class="list list--material">
4423 <li class="list-item list-item--material">
4424 <div class="list-item__center list-item--material__center">Item</div>
4425 </li>
4426 <li class="list-item list-item--material">
4427 <div class="list-item__center list-item--material__center">Item</div>
4428 </li>
4429 </ul>
4430 */
4431.list-title--material {
4432 font-family: 'Roboto', 'Noto', sans-serif;
4433 -webkit-font-smoothing: antialiased;
4434 font-weight: 400;
4435 color: #757575;
4436 font-size: 14px;
4437 margin: 0;
4438 padding: 12px 0 12px 16px;
4439 font-weight: 500;
4440 line-height: 24px;
4441}
4442/*~
4443 name: Search Input
4444 category: Search Input
4445 markup: |
4446 <input type="search" value="" placeholder="Search" class="search-input" style="width: 280px;">
4447*/
4448.search-input {
4449 box-sizing: border-box;
4450 background-clip: padding-box;
4451 padding: 0;
4452 margin: 0;
4453 font: inherit;
4454 color: inherit;
4455 background: transparent;
4456 border: none;
4457 vertical-align: top;
4458 outline: none;
4459 line-height: 1;
4460 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4461 -webkit-font-smoothing: antialiased;
4462 -moz-osx-font-smoothing: grayscale;
4463 font-weight: 400;
4464 -webkit-appearance: textfield;
4465 -moz-appearance: textfield;
4466 appearance: textfield;
4467 box-sizing: border-box;
4468 height: 28px;
4469 font-size: 14px;
4470 background-color: rgba(3, 3, 3, .09);
4471 box-shadow: none;
4472 color: #1f1f21;
4473 line-height: 1.3;
4474 padding: 0 8px 0 28px;
4475 margin: 0;
4476 border-radius: 5.5px;
4477 background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxNHB4IiB2aWV3Qm94PSIwIDAgMTMgMTQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQyICgzNjc4MSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+aW9zLXNlYXJjaC1pbnB1dC1pY29uPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9ImNvbXBvbmVudHMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJpb3Mtc2VhcmNoLWlucHV0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDguMDAwMDAwLCAtNDMuMDAwMDAwKSIgZmlsbD0iIzdBNzk3QiI+CiAgICAgICAgICAgIDxnIGlkPSJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAuMDAwMDAwLCAzNi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xNi45OTcyNDgyLDE1LjUwNDE0NjYgQzE3LjA3NzM2NTcsMTUuNTQwNTkzOCAxNy4xNTIyNzMxLDE1LjU5MTYxMjkgMTcuMjE3NzUxNiwxNS42NTcwOTE0IEwyMC42NDk5OTEsMTkuMDg5MzMwOCBDMjAuOTQ0ODQ0OSwxOS4zODQxODQ3IDIwLjk0ODQ3NjQsMTkuODU4NjA2IDIwLjY1MzU0MTIsMjAuMTUzNTQxMiBDMjAuMzYwNjQ4LDIwLjQ0NjQzNDQgMTkuODgxMjcxNiwyMC40NDE5MzE3IDE5LjU4OTMzMDgsMjAuMTQ5OTkxIEwxNi4xNTcwOTE0LDE2LjcxNzc1MTYgQzE2LjA5MTM3LDE2LjY1MjAzMDEgMTYuMDQwMTE3MSwxNi41NzczODc0IDE2LjAwMzQxNDEsMTYuNDk3Nzk5NSBDMTUuMTY3MTY5NCwxNy4xMjcwNDExIDE0LjEyNzEzOTMsMTcuNSAxMywxNy41IEMxMC4yMzg1NzYzLDE3LjUgOCwxNS4yNjE0MjM3IDgsMTIuNSBDOCw5LjczODU3NjI1IDEwLjIzODU3NjMsNy41IDEzLDcuNSBDMTUuNzYxNDIzNyw3LjUgMTgsOS43Mzg1NzYyNSAxOCwxMi41IEMxOCwxMy42Mjc0Njg1IDE3LjYyNjgyMzIsMTQuNjY3Nzc2OCAxNi45OTcyNDgyLDE1LjUwNDE0NjYgWiBNMTMsMTYuNSBDMTUuMjA5MTM5LDE2LjUgMTcsMTQuNzA5MTM5IDE3LDEyLjUgQzE3LDEwLjI5MDg2MSAxNS4yMDkxMzksOC41IDEzLDguNSBDMTAuNzkwODYxLDguNSA5LDEwLjI5MDg2MSA5LDEyLjUgQzksMTQuNzA5MTM5IDEwLjc5MDg2MSwxNi41IDEzLDE2LjUgWiIgaWQ9Imlvcy1zZWFyY2gtaW5wdXQtaWNvbiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=');
4478 background-position: 8px center;
4479 background-repeat: no-repeat;
4480 background-size: 13px;
4481 font-weight: 400;
4482 display: inline-block;
4483 text-indent: 0;
4484}
4485.search-input::-webkit-search-cancel-button {
4486 -webkit-appearance: textfield;
4487 appearance: textfield;
4488 display: none;
4489}
4490.search-input::-webkit-search-decoration {
4491 display: none;
4492}
4493.search-input:focus {
4494 outline: none;
4495}
4496.search-input::-webkit-input-placeholder {
4497 color: #7a797b;
4498 font-size: 14px;
4499 text-indent: 0;
4500}
4501.search-input:-ms-input-placeholder {
4502 color: #7a797b;
4503 font-size: 14px;
4504 text-indent: 0;
4505}
4506.search-input::-ms-input-placeholder {
4507 color: #7a797b;
4508 font-size: 14px;
4509 text-indent: 0;
4510}
4511.search-input::placeholder {
4512 color: #7a797b;
4513 font-size: 14px;
4514 text-indent: 0;
4515}
4516.search-input:placeholder-shown {
4517}
4518.search-input:disabled {
4519 opacity: 0.3;
4520 cursor: default;
4521 pointer-events: none;
4522}
4523/*~
4524 name: Material Search Input
4525 category: Search Input
4526 markup: |
4527 <input type="search" value="" placeholder="Search" class="search-input search-input--material" style="width: 280px;">
4528*/
4529.search-input--material {
4530 font-family: 'Roboto', 'Noto', sans-serif;
4531 -webkit-font-smoothing: antialiased;
4532 font-weight: 400;
4533 border-radius: 2px;
4534 height: 48px;
4535 background-color: #fafafa;
4536 background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMThweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgMTggMTgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQzLjIgKDM5MDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5TaGFwZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJhbmRyb2lkLXNlYXJjaC1pbnB1dC1pY29uIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGZpbGw9IiM4OTg5ODkiPgogICAgICAgICAgICA8ZyBpZD0iY29tcG9uZW50cyI+CiAgICAgICAgICAgICAgICA8ZyBpZD0ibWF0ZXJpYWwtc2VhcmNoIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0ic2VhcmNoIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Ik1hdGVyaWFsL0ljb25zLWJsYWNrL3NlYXJjaCI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIuNTAyLDYuNDkxIEwxMS43MDgsNi40OTEgTDExLjQzMiw2Ljc2NSBDMTIuNDA3LDcuOTAyIDEzLDkuMzc2IDEzLDEwLjk5MSBDMTMsMTQuNTgxIDEwLjA5LDE3LjQ5MSA2LjUsMTcuNDkxIEMyLjkxLDE3LjQ5MSAwLDE0LjU4MSAwLDEwLjk5MSBDMCw3LjQwMSAyLjkxLDQuNDkxIDYuNSw0LjQ5MSBDOC4xMTUsNC40OTEgOS41ODgsNS4wODMgMTAuNzI1LDYuMDU3IEwxMS4wMDEsNS43ODMgTDExLjAwMSw0Ljk5MSBMMTUuOTk5LDAgTDE3LjQ5LDEuNDkxIEwxMi41MDIsNi40OTEgTDEyLjUwMiw2LjQ5MSBaIE02LjUsNi40OTEgQzQuMDE0LDYuNDkxIDIsOC41MDUgMiwxMC45OTEgQzIsMTMuNDc2IDQuMDE0LDE1LjQ5MSA2LjUsMTUuNDkxIEM4Ljk4NSwxNS40OTEgMTEsMTMuNDc2IDExLDEwLjk5MSBDMTEsOC41MDUgOC45ODUsNi40OTEgNi41LDYuNDkxIEw2LjUsNi40OTEgWiIgaWQ9IlNoYXBlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4Ljc0NTAwMCwgOC43NDU1MDApIHNjYWxlKC0xLCAxKSByb3RhdGUoLTE4MC4wMDAwMDApIHRyYW5zbGF0ZSgtOC43NDUwMDAsIC04Ljc0NTUwMCkgIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==');
4537 background-size: 18px;
4538 background-position: 18px center;
4539 font-size: 14px;
4540 padding: 0 24px 0 64px;
4541 box-shadow: 0 0 2px 0 rgba(0, 0, 0, .12), 0 2px 2px 0 rgba(0, 0, 0, .24), 0 1px 0 0 rgba(255, 255, 255, .06) inset;
4542}
4543/*~
4544 name: Text Input
4545 category: Text Input
4546 elements: ons-input
4547 markup: |
4548 <div><input type="text" class="text-input" placeholder="text" value=""></div>
4549 <div><input type="text" class="text-input" placeholder="text" value="" disabled></div>
4550*/
4551.text-input {
4552 box-sizing: border-box;
4553 background-clip: padding-box;
4554 padding: 0;
4555 margin: 0;
4556 font: inherit;
4557 color: inherit;
4558 background: transparent;
4559 border: none;
4560 vertical-align: top;
4561 outline: none;
4562 line-height: 1;
4563 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4564 -webkit-font-smoothing: antialiased;
4565 -moz-osx-font-smoothing: grayscale;
4566 font-weight: 400;
4567 border: none;
4568 background-color: transparent;
4569 letter-spacing: 0;
4570 box-shadow: none;
4571 color: #1f1f21;
4572 padding: 0;
4573 margin: 0;
4574 width: auto;
4575 font-size: 16px;
4576 height: 31px;
4577 font-weight: 400;
4578 box-sizing: border-box;
4579}
4580.text-input::-ms-clear {
4581 display: none;
4582}
4583.text-input:disabled {
4584 opacity: 0.3;
4585 cursor: default;
4586 pointer-events: none;
4587}
4588.text-input::-webkit-input-placeholder {
4589 color: #999;
4590}
4591.text-input:-ms-input-placeholder {
4592 color: #999;
4593}
4594.text-input::-ms-input-placeholder {
4595 color: #999;
4596}
4597.text-input::placeholder {
4598 color: #999;
4599}
4600.text-input:disabled::-webkit-input-placeholder {
4601 border: none;
4602 background-color: transparent;
4603 color: #999;
4604}
4605.text-input:disabled:-ms-input-placeholder {
4606 border: none;
4607 background-color: transparent;
4608 color: #999;
4609}
4610.text-input:disabled::-ms-input-placeholder {
4611 border: none;
4612 background-color: transparent;
4613 color: #999;
4614}
4615.text-input:disabled::placeholder {
4616 border: none;
4617 background-color: transparent;
4618 color: #999;
4619}
4620.text-input:invalid {
4621 border: none;
4622 background-color: transparent;
4623 color: #1f1f21;
4624}
4625/*~
4626 name: Underbar Text Input
4627 category: Text Input
4628 elements: ons-input
4629 markup: |
4630 <div><input type="text" class="text-input text-input--underbar" placeholder="text" value=""></div>
4631 <div><input type="text" class="text-input text-input--underbar" placeholder="text" value="" disabled></div>
4632*/
4633.text-input--underbar {
4634 box-sizing: border-box;
4635 background-clip: padding-box;
4636 padding: 0;
4637 margin: 0;
4638 font: inherit;
4639 color: inherit;
4640 background: transparent;
4641 border: none;
4642 vertical-align: top;
4643 outline: none;
4644 line-height: 1;
4645 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4646 -webkit-font-smoothing: antialiased;
4647 -moz-osx-font-smoothing: grayscale;
4648 font-weight: 400;
4649 border: none;
4650 background-color: transparent;
4651 letter-spacing: 0;
4652 box-shadow: none;
4653 color: #1f1f21;
4654 padding: 0;
4655 margin: 0;
4656 width: auto;
4657 font-size: 16px;
4658 height: 31px;
4659 font-weight: 400;
4660 box-sizing: border-box;
4661 border: none;
4662 background-color: transparent;
4663 border-bottom: 1px solid #ccc;
4664 border-radius: 0;
4665}
4666.text-input--underbar:disabled {
4667 opacity: 0.3;
4668 cursor: default;
4669 pointer-events: none;
4670 border: none;
4671 background-color: transparent;
4672 border-bottom: 1px solid #ccc;
4673}
4674.text-input--underbar:disabled::-webkit-input-placeholder {
4675 border: none;
4676 background-color: transparent;
4677 color: #999;
4678 border: none;
4679 background-color: transparent;
4680}
4681.text-input--underbar:disabled:-ms-input-placeholder {
4682 border: none;
4683 background-color: transparent;
4684 color: #999;
4685 border: none;
4686 background-color: transparent;
4687}
4688.text-input--underbar:disabled::-ms-input-placeholder {
4689 border: none;
4690 background-color: transparent;
4691 color: #999;
4692 border: none;
4693 background-color: transparent;
4694}
4695.text-input--underbar:disabled::placeholder {
4696 border: none;
4697 background-color: transparent;
4698 color: #999;
4699 border: none;
4700 background-color: transparent;
4701}
4702.text-input--underbar:invalid {
4703 border: none;
4704 background-color: transparent;
4705 color: #1f1f21;
4706 border: none;
4707 background-color: transparent;
4708 border-bottom: 1px solid #ccc;
4709}
4710/*~
4711 name: Material Input
4712 category: Text Input
4713 elements: ons-input
4714 markup: |
4715 <span>
4716 <div><input class="text-input text-input--material" placeholder="Username" type="text" required></div>
4717 <br />
4718 <div><input class="text-input text-input--material" placeholder="Password" type="password" required></div>
4719 </span>
4720*/
4721.text-input--material {
4722 box-sizing: border-box;
4723 background-clip: padding-box;
4724 padding: 0;
4725 margin: 0;
4726 font: inherit;
4727 color: inherit;
4728 background: transparent;
4729 border: none;
4730 vertical-align: top;
4731 outline: none;
4732 line-height: 1;
4733 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4734 -webkit-font-smoothing: antialiased;
4735 -moz-osx-font-smoothing: grayscale;
4736 font-weight: 400;
4737 font-family: 'Roboto', 'Noto', sans-serif;
4738 -webkit-font-smoothing: antialiased;
4739 font-weight: 400;
4740 color: #212121;
4741 background-image: linear-gradient(to top, transparent 1px, #afafaf 1px);
4742 background-size: 100% 2px;
4743 background-repeat: no-repeat;
4744 background-position: center bottom;
4745 background-color: transparent;
4746 font-size: 16px;
4747 font-weight: 400;
4748 border: none;
4749 padding-bottom: 2px;
4750 border-radius: 0;
4751 height: 24px;
4752 vertical-align: middle;
4753 -webkit-transform: translate3d(0, 0, 0); /* FIXME: prevent ios flicker */
4754}
4755.text-input--material__label {
4756 font-family: 'Roboto', 'Noto', sans-serif;
4757 -webkit-font-smoothing: antialiased;
4758 font-weight: 400;
4759 color: #afafaf;
4760 position: absolute;
4761 left: 0;
4762 top: 2px;
4763 font-size: 16px;
4764 font-weight: 400;
4765 pointer-events: none;
4766}
4767.text-input--material__label--active {
4768 color: #3d5afe;
4769 -webkit-transform: translate(0, -75%) scale(0.75);
4770 transform: translate(0, -75%) scale(0.75);
4771 -webkit-transform-origin: left top;
4772 transform-origin: left top;
4773 transition: color 0.1s ease-in, -webkit-transform 0.1s ease-in;
4774 transition: transform 0.1s ease-in, color 0.1s ease-in;
4775 transition: transform 0.1s ease-in, color 0.1s ease-in, -webkit-transform 0.1s ease-in;
4776}
4777.text-input--material:focus {
4778 background-image:
4779 linear-gradient(#3d5afe, #3d5afe),
4780 linear-gradient(to top, transparent 1px, #afafaf 1px);
4781 -webkit-animation: material-text-input-animate 0.3s forwards;
4782 animation: material-text-input-animate 0.3s forwards;
4783}
4784.text-input--material::-webkit-input-placeholder {
4785 color: #afafaf;
4786 line-height: 20px;
4787}
4788.text-input--material:-ms-input-placeholder {
4789 color: #afafaf;
4790 line-height: 20px;
4791}
4792.text-input--material::-ms-input-placeholder {
4793 color: #afafaf;
4794 line-height: 20px;
4795}
4796.text-input--material::placeholder {
4797 color: #afafaf;
4798 line-height: 20px;
4799}
4800@-webkit-keyframes material-text-input-animate {
4801 0% {
4802 background-size: 0% 2px, 100% 2px;
4803 }
4804
4805 100% {
4806 background-size: 100% 2px, 100% 2px;
4807 }
4808}
4809@keyframes material-text-input-animate {
4810 0% {
4811 background-size: 0% 2px, 100% 2px;
4812 }
4813
4814 100% {
4815 background-size: 100% 2px, 100% 2px;
4816 }
4817}
4818/*~
4819 name: Textarea
4820 category: Textarea
4821 markup: |
4822 <textarea class="textarea" rows="3" placeholder="Textarea"></textarea>
4823*/
4824.textarea {
4825 box-sizing: border-box;
4826 background-clip: padding-box;
4827 padding: 0;
4828 margin: 0;
4829 font: inherit;
4830 color: inherit;
4831 background: transparent;
4832 border: none;
4833 line-height: normal;
4834 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4835 -webkit-font-smoothing: antialiased;
4836 -moz-osx-font-smoothing: grayscale;
4837 font-weight: 400;
4838 vertical-align: top;
4839 resize: none;
4840 outline: none;
4841 padding: 5px 5px 5px 5px;
4842 font-size: 16px;
4843 font-weight: 400;
4844 border-radius: 4px;
4845 border: 1px solid #ccc;
4846 background-color: #efeff4;
4847 color: #1f1f21;
4848 letter-spacing: 0;
4849 box-shadow: none;
4850 -webkit-appearance: none;
4851 -moz-appearance: none;
4852 appearance: none;
4853 width: auto;
4854}
4855.textarea:disabled {
4856 opacity: 0.3;
4857 cursor: default;
4858 pointer-events: none;
4859}
4860.textarea::-webkit-input-placeholder {
4861 color: #999;
4862}
4863.textarea:-ms-input-placeholder {
4864 color: #999;
4865}
4866.textarea::-ms-input-placeholder {
4867 color: #999;
4868}
4869.textarea::placeholder {
4870 color: #999;
4871}
4872/*~
4873 name: Textarea Transparent
4874 category: Textarea
4875 markup: |
4876 <textarea class="textarea textarea--transparent" rows="3" placeholder="Textarea"></textarea>
4877*/
4878.textarea--transparent {
4879 box-sizing: border-box;
4880 background-clip: padding-box;
4881 padding: 0;
4882 margin: 0;
4883 font: inherit;
4884 color: inherit;
4885 background: transparent;
4886 border: none;
4887 line-height: normal;
4888 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4889 -webkit-font-smoothing: antialiased;
4890 -moz-osx-font-smoothing: grayscale;
4891 font-weight: 400;
4892 vertical-align: top;
4893 resize: none;
4894 outline: none;
4895 padding: 5px 5px 5px 5px;
4896 padding-left: 0;
4897 padding-right: 0;
4898 font-size: 16px;
4899 font-weight: 400;
4900 border-radius: 4px;
4901 border: none;
4902 background-color: transparent;
4903 color: #1f1f21;
4904 letter-spacing: 0;
4905 box-shadow: none;
4906 -webkit-appearance: none;
4907 -moz-appearance: none;
4908 appearance: none;
4909 width: auto;
4910}
4911.textarea--transparent:disabled {
4912 opacity: 0.3;
4913 cursor: default;
4914 pointer-events: none;
4915}
4916.textarea--transparent::-webkit-input-placeholder {
4917 color: #999;
4918}
4919.textarea--transparent:-ms-input-placeholder {
4920 color: #999;
4921}
4922.textarea--transparent::-ms-input-placeholder {
4923 color: #999;
4924}
4925.textarea--transparent::placeholder {
4926 color: #999;
4927}
4928/*~
4929 name: Dialog
4930 category: Dialog
4931 elements: ons-dialog
4932 markup: |
4933 <div class="dialog-mask"></div>
4934 <div class="dialog">
4935 <div class="dialog-container">
4936 <p style="text-align:center;margin-top:40px;opacity:0.4;">Content</p>
4937 </div>
4938 </div>
4939*/
4940.dialog {
4941 box-sizing: border-box;
4942 background-clip: padding-box;
4943 padding: 0;
4944 margin: 0;
4945 font: inherit;
4946 color: inherit;
4947 background: transparent;
4948 border: none;
4949 line-height: normal;
4950 cursor: default;
4951 -webkit-user-select: none;
4952 -moz-user-select: none;
4953 -ms-user-select: none;
4954 user-select: none;
4955 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
4956 -webkit-font-smoothing: antialiased;
4957 -moz-osx-font-smoothing: grayscale;
4958 font-weight: 400;
4959 position: absolute;
4960 top: 50%;
4961 left: 50%;
4962 -webkit-transform: translate(-50%, -50%);
4963 transform: translate(-50%, -50%);
4964 margin: auto auto;
4965 overflow: hidden;
4966 min-width: 270px;
4967 min-height: 100px;
4968 text-align: left;
4969}
4970.dialog-container {
4971 height: inherit;
4972 min-height: inherit;
4973 overflow: hidden;
4974 border-radius: 4px;
4975 background-color: #f4f4f4;
4976 -webkit-mask-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC');
4977 color: #1f1f21;
4978}
4979.dialog-mask {
4980 padding: 0;
4981 margin: 0;
4982 font: inherit;
4983 color: inherit;
4984 background: transparent;
4985 border: none;
4986 line-height: normal;
4987 cursor: default;
4988 -webkit-user-select: none;
4989 -moz-user-select: none;
4990 -ms-user-select: none;
4991 user-select: none;
4992 position: absolute;
4993 top: 0;
4994 right: 0;
4995 left: 0;
4996 bottom: 0;
4997 background-color: rgba(0, 0, 0, .2);
4998}
4999/*~
5000 name: Material Dialog
5001 category: Dialog
5002 elements: ons-dialog
5003 markup: |
5004 <div class="dialog-mask dialog-mask--material"></div>
5005 <div class="dialog dialog--material">
5006 <div class="dialog dialog-container--material">
5007 <p style="margin-left:24px;margin-right:24px">The quick brown fox jumps over the lazy dog.</p>
5008 </div>
5009 </div>
5010*/
5011.dialog--material {
5012 font-family: 'Roboto', 'Noto', sans-serif;
5013 -webkit-font-smoothing: antialiased;
5014 font-weight: 400;
5015 text-align: left;
5016 box-shadow:
5017 0 16px 24px 2px rgba(0, 0, 0, .14),
5018 0 6px 30px 5px rgba(0, 0, 0, .12),
5019 0 8px 10px -5px rgba(0, 0, 0, .4);
5020}
5021.dialog-container--material {
5022 border-radius: 2px;
5023 background-color: #ffffff;
5024 color: #1f1f21;
5025}
5026.dialog-mask--material {
5027 background-color: rgba(0, 0, 0, .3);
5028}
5029/*~
5030 name: Alert Dialog
5031 category: Alert Dialog
5032 elements: ons-alert-dialog
5033 markup: |
5034 <div class="alert-dialog-mask"></div>
5035 <div class="alert-dialog">
5036 <div class="alert-dialog-container">
5037 <div class="alert-dialog-title">Alert</div>
5038
5039 <div class="alert-dialog-content">
5040 Hello World!
5041 </div>
5042
5043 <div class="alert-dialog-footer">
5044 <button class="alert-dialog-button alert-dialog-button--primal">OK</button>
5045 </div>
5046 </div>
5047 </div>
5048*/
5049.alert-dialog {
5050 box-sizing: border-box;
5051 background-clip: padding-box;
5052 padding: 0;
5053 margin: 0;
5054 font: inherit;
5055 color: inherit;
5056 background: transparent;
5057 border: none;
5058 line-height: normal;
5059 cursor: default;
5060 -webkit-user-select: none;
5061 -moz-user-select: none;
5062 -ms-user-select: none;
5063 user-select: none;
5064 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
5065 -webkit-font-smoothing: antialiased;
5066 -moz-osx-font-smoothing: grayscale;
5067 font-weight: 400;
5068 position: absolute;
5069 top: 50%;
5070 left: 50%;
5071 -webkit-transform: translate(-50%, -50%);
5072 transform: translate(-50%, -50%);
5073 width: 270px;
5074 margin: auto;
5075 background-color: #f4f4f4;
5076 border-radius: 8px;
5077 overflow: visible;
5078 max-width: 95%;
5079 color: #1f1f21;
5080}
5081.alert-dialog-container {
5082 height: inherit;
5083 padding-top: 16px;
5084 overflow: hidden;
5085}
5086.alert-dialog-title {
5087 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
5088 -webkit-font-smoothing: antialiased;
5089 -moz-osx-font-smoothing: grayscale;
5090 font-weight: 400;
5091 font-size: 17px;
5092 font-weight: 500;
5093 padding: 0 8px;
5094 text-align: center;
5095 color: #1f1f21;
5096}
5097.alert-dialog-content {
5098 box-sizing: border-box;
5099 background-clip: padding-box;
5100 padding: 4px 12px 8px;
5101 font-size: 14px;
5102 min-height: 36px;
5103 text-align: center;
5104 color: #1f1f21;
5105}
5106.alert-dialog-footer {
5107 width: 100%;
5108}
5109.alert-dialog-button {
5110 box-sizing: border-box;
5111 background-clip: padding-box;
5112 padding: 0;
5113 margin: 0;
5114 font: inherit;
5115 color: inherit;
5116 background: transparent;
5117 border: none;
5118 line-height: normal;
5119 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
5120 -webkit-font-smoothing: antialiased;
5121 -moz-osx-font-smoothing: grayscale;
5122 font-weight: 400;
5123 cursor: default;
5124 -webkit-user-select: none;
5125 -moz-user-select: none;
5126 -ms-user-select: none;
5127 user-select: none;
5128 text-overflow: ellipsis;
5129 white-space: nowrap;
5130 overflow: hidden;
5131 text-decoration: none;
5132 letter-spacing: 0;
5133 vertical-align: middle;
5134 border: none;
5135 border-top: 1px solid #ddd;
5136 font-size: 16px;
5137 padding: 0 8px;
5138 margin: 0;
5139 display: block;
5140 width: 100%;
5141 background-color: transparent;
5142 text-align: center;
5143 height: 44px;
5144 line-height: 44px;
5145 outline: none;
5146 color: #0076ff;
5147}
5148@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5149 .alert-dialog-button {
5150 border-top: none;
5151 background-size: 100% 1px;
5152 background-repeat: no-repeat;
5153 background-position: top;
5154 background-image: linear-gradient(180deg, #ddd, #ddd 50%, transparent 50%);
5155 }
5156}
5157.alert-dialog-button:active {
5158 background-color: rgba(0, 0, 0, .05);
5159}
5160.alert-dialog-button--primal {
5161 font-weight: 500;
5162}
5163.alert-dialog-footer--rowfooter {
5164 white-space: nowrap;
5165 display: -webkit-box;
5166 display: -webkit-flex;
5167 display: flex;
5168 -webkit-flex-wrap: wrap;
5169 flex-wrap: wrap;
5170}
5171.alert-dialog-button--rowfooter {
5172 -webkit-box-flex: 1;
5173 -webkit-flex: 1;
5174 flex: 1;
5175 display: block;
5176 width: 100%;
5177 border-left: 1px solid #ddd;
5178}
5179@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5180 .alert-dialog-button--rowfooter {
5181 border-top: none;
5182 border-left: none;
5183 background-size: 100% 1px, 1px 100%;
5184 background-repeat: no-repeat;
5185 background-position: top, left;
5186 background-image:
5187 linear-gradient(0deg, transparent, transparent 50%, #ddd 50%),
5188 linear-gradient(90deg, transparent, transparent 50%, #ddd 50%);
5189 }
5190}
5191.alert-dialog-button--rowfooter:first-child {
5192 border-left: none;
5193}
5194@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5195 .alert-dialog-button--rowfooter:first-child {
5196 border-top: none;
5197 background-size: 100% 1px;
5198 background-repeat: no-repeat;
5199 background-position: top, left;
5200 background-image: linear-gradient(0deg, transparent, transparent 50%, #ddd 50%);
5201 }
5202}
5203.alert-dialog-mask {
5204 padding: 0;
5205 margin: 0;
5206 font: inherit;
5207 color: inherit;
5208 background: transparent;
5209 border: none;
5210 line-height: normal;
5211 cursor: default;
5212 -webkit-user-select: none;
5213 -moz-user-select: none;
5214 -ms-user-select: none;
5215 user-select: none;
5216 position: absolute;
5217 top: 0;
5218 right: 0;
5219 left: 0;
5220 bottom: 0;
5221 background-color: rgba(0, 0, 0, .2);
5222}
5223/*~
5224 name: Alert Dialog without Title
5225 category: Alert Dialog
5226 elements: ons-alert-dialog
5227 markup: |
5228 <div class="alert-dialog-mask"></div>
5229 <div class="alert-dialog">
5230 <div class="alert-dialog-container">
5231 <div class="alert-dialog-content">
5232 Hello World!
5233 </div>
5234
5235 <div class="alert-dialog-footer">
5236 <button class="alert-dialog-button alert-dialog-button--primal">OK</button>
5237 </div>
5238 </div>
5239 </div>
5240*/
5241/*~
5242 name: Alert Dialog with Multiple Buttons
5243 category: Alert Dialog
5244 elements: ons-alert-dialog
5245 markup: |
5246 <div class="alert-dialog-mask"></div>
5247 <div class="alert-dialog">
5248 <div class="alert-dialog-container">
5249 <div class="alert-dialog-content">
5250 Hello World!
5251 </div>
5252
5253 <div class="alert-dialog-footer">
5254 <button class="alert-dialog-button">Cancel</button>
5255 <button class="alert-dialog-button alert-dialog-button--primal">OK</button>
5256 </div>
5257 </div>
5258 </div>
5259*/
5260/*~
5261 name: Alert Dialog with Multiple Buttons 2
5262 category: Alert Dialog
5263 elements: ons-alert-dialog
5264 markup: |
5265 <div class="alert-dialog-mask"></div>
5266 <div class="alert-dialog">
5267 <div class="alert-dialog-container">
5268 <div class="alert-dialog-title">Alert</div>
5269
5270 <div class="alert-dialog-content">
5271 Hello World!
5272 </div>
5273
5274 <div class="alert-dialog-footer alert-dialog-footer--rowfooter">
5275 <button class="alert-dialog-button alert-dialog-button--rowfooter">Left</button>
5276 <button class="alert-dialog-button alert-dialog-button--primal alert-dialog-button--rowfooter">Center</button>
5277 <button class="alert-dialog-button alert-dialog-button--rowfooter">Right</button>
5278 </div>
5279 </div>
5280 </div>
5281*/
5282/*~
5283 name: Material Alert Dialog
5284 category: Alert Dialog
5285 elements: ons-alert-dialog
5286 markup: |
5287 <div class="alert-dialog-mask alert-dialog-mask--material"></div>
5288 <div class="alert-dialog alert-dialog--material">
5289 <div class="alert-dialog-container alert-dialog-container--material">
5290 <div class="alert-dialog-title alert-dialog-title--material">
5291 Dialog title
5292 </div>
5293 <div class="alert-dialog-content alert-dialog-content--material">
5294 Some dialog content.
5295 </div>
5296 <div class="alert-dialog-footer alert-dialog-footer--material">
5297 <button class="alert-dialog-button alert-dialog-button--material">OK</button>
5298 <button class="alert-dialog-button alert-dialog-button--material">CANCEL</button>
5299 </div>
5300 </div>
5301 </div>
5302*/
5303.alert-dialog--material {
5304 border-radius: 2px;
5305 background-color: #ffffff;
5306}
5307.alert-dialog-container--material {
5308 padding: 22px 0 0 0;
5309 box-shadow:
5310 0 16px 24px 2px rgba(0, 0, 0, .14),
5311 0 6px 30px 5px rgba(0, 0, 0, .12),
5312 0 8px 10px -5px rgba(0, 0, 0, .4);
5313}
5314.alert-dialog-title--material {
5315 font-family: 'Roboto', 'Noto', sans-serif;
5316 -webkit-font-smoothing: antialiased;
5317 font-weight: 400;
5318 text-align: left;
5319 font-size: 20px;
5320 font-weight: 500;
5321 padding: 0 24px;
5322 color: #31313a;
5323}
5324.alert-dialog-content--material {
5325 font-family: 'Roboto', 'Noto', sans-serif;
5326 -webkit-font-smoothing: antialiased;
5327 font-weight: 400;
5328 text-align: left;
5329 font-size: 16px;
5330 font-weight: 400;
5331 line-height: 20px;
5332 padding: 0 24px;
5333 margin: 24px 0 10px 0;
5334 min-height: 0;
5335 color: rgba(49, 49, 58, .85);
5336}
5337.alert-dialog-footer--material {
5338 display: block;
5339 padding: 0;
5340 height: 52px;
5341 box-sizing: border-box;
5342 margin: 0;
5343 line-height: 1;
5344}
5345.alert-dialog-button--material {
5346 font-family: 'Roboto', 'Noto', sans-serif;
5347 -webkit-font-smoothing: antialiased;
5348 font-weight: 400;
5349 text-transform: uppercase;
5350 display: inline-block;
5351 width: auto;
5352 float: right;
5353 background: none;
5354 border: none;
5355 border-radius: 2px;
5356 font-size: 14px;
5357 font-weight: 500;
5358 outline: none;
5359 height: 36px;
5360 line-height: 36px;
5361 padding: 0 8px;
5362 margin: 8px 8px 8px 0;
5363 box-sizing: border-box;
5364 min-width: 50px;
5365 color: #37474f;
5366}
5367@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5368 .alert-dialog-button--material {
5369 background: none;
5370 }
5371}
5372.alert-dialog-button--material:active {
5373 background-color: transparent;
5374 background-color: initial;
5375}
5376/* stylelint-disable */
5377.alert-dialog-button--rowfooter--material,
5378.alert-dialog-button--rowfooter--material:first-child { /* stylelint-enable */
5379 border: 0;
5380}
5381@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5382 .alert-dialog-button--rowfooter--material,
5383.alert-dialog-button--rowfooter--material:first-child {
5384 background: none;
5385 }
5386}
5387/* stylelint-disable */
5388.alert-dialog-button--primal--material { /* stylelint-enable */
5389 font-weight: 500;
5390}
5391@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
5392 .alert-dialog-button--primal--material {
5393 background: none;
5394 }
5395}
5396.alert-dialog-mask--material {
5397 background-color: rgba(0, 0, 0, .3);
5398}
5399/*~
5400 name: Popover
5401 category: Popover
5402 elements: ons-popover
5403 markup: |
5404 <div class="popover-mask"></div>
5405 <div class="popover popover--bottom" style="bottom: 20px; left: 65px;">
5406 <div class="popover__arrow popover--bottom__arrow" style="left: 110px;"></div>
5407 <div class="popover__content popover--bottom__content">
5408 <div style="text-align:center;opacity:0.8;margin-top:40px">Content</div>
5409 </div>
5410 </div>
5411*/
5412/*~
5413 name: Popover(top)
5414 category: Popover
5415 elements: ons-popover
5416 markup: |
5417 <div class="popover-mask"></div>
5418 <div class="popover popover--top" style="top: 20px; left: 50px;">
5419 <div class="popover__arrow popover--top__arrow" style="margin-left: 110px;"></div>
5420 <div class="popover__content popover--top__content">
5421 <div style="text-align: center; opacity: 0.8; margin-top: 40px">Content</div>
5422 </div>
5423 </div>
5424*/
5425/*~
5426 name: Popover(left)
5427 category: Popover
5428 elements: ons-popover
5429 markup: |
5430 <div class="popover-mask"></div>
5431 <div class="popover popover--right" style="top: 20px; right: 20px;">
5432 <div class="popover__arrow popover--right__arrow" style="bottom: 50px;"></div>
5433 <div class="popover__content popover--right__content">
5434 <div style="text-align: center; opacity: 0.8; margin-top: 40px">Content</div>
5435 </div>
5436 </div>
5437*/
5438/*~
5439 name: Popover(right)
5440 category: Popover
5441 elements: ons-popover
5442 markup: |
5443 <div class="popover-mask"></div>
5444 <div class="popover popover--left" style="top: 20px;left: 20px;">
5445 <div class="popover__arrow popover--left__arrow" style="top: 50px;"></div>
5446 <div class="popover__content popover--left__content">
5447 <div style="text-align: center; opacity: 0.8; margin-top: 40px">Content</div>
5448 </div>
5449 </div>
5450*/
5451.popover {
5452 position: absolute;
5453 z-index: 20001;
5454}
5455.popover--bottom {
5456 bottom: 0;
5457}
5458.popover--top {
5459 top: 0;
5460}
5461.popover--left {
5462 left: 0;
5463}
5464.popover--right {
5465 right: 0;
5466}
5467.popover-mask {
5468 left: 0;
5469 right: 0;
5470 top: 0;
5471 bottom: 0;
5472 background-color: rgba(0, 0, 0, .2);
5473 position: absolute;
5474 z-index: 19999;
5475}
5476.popover__content {
5477 box-sizing: border-box;
5478 background-clip: padding-box;
5479 padding: 0;
5480 margin: 0;
5481 font: inherit;
5482 color: inherit;
5483 background: transparent;
5484 border: none;
5485 line-height: normal;
5486 cursor: default;
5487 -webkit-user-select: none;
5488 -moz-user-select: none;
5489 -ms-user-select: none;
5490 user-select: none;
5491 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
5492 -webkit-font-smoothing: antialiased;
5493 -moz-osx-font-smoothing: grayscale;
5494 font-weight: 400;
5495 display: block;
5496 width: 220px;
5497 overflow: auto;
5498 min-height: 100px;
5499 max-height: 100%;
5500 background-color: white;
5501 border-radius: 8px;
5502 color: #1f1f21;
5503 pointer-events: auto;
5504}
5505.popover--top__content {
5506
5507}
5508.popover--bottom__content {
5509
5510}
5511.popover--left__content {
5512
5513}
5514.popover--right__content {
5515
5516}
5517.popover__arrow {
5518 position: absolute;
5519 width: 18px;
5520 height: 18px;
5521 -webkit-transform-origin: 50% 50% 0;
5522 transform-origin: 50% 50% 0;
5523 background-color: transparent;
5524 background-image: linear-gradient(45deg, white, white 50%, transparent 50%);
5525 border-radius: 0 0 0 4px;
5526 margin: 0;
5527 z-index: 20001;
5528}
5529/* NOTE: If you changed this properties, you should check if ons-popover is broken. */
5530.popover--bottom__arrow {
5531 -webkit-transform: translateY(6px) translateX(-9px) rotate(-45deg);
5532 transform: translateY(6px) translateX(-9px) rotate(-45deg);
5533 bottom: 0;
5534 margin-right: -18px;
5535}
5536.popover--top__arrow {
5537 -webkit-transform: translateY(-6px) translateX(-9px) rotate(135deg);
5538 transform: translateY(-6px) translateX(-9px) rotate(135deg);
5539 top: 0;
5540 margin-right: -18px;
5541}
5542.popover--left__arrow {
5543 -webkit-transform: translateX(-6px) translateY(-9px) rotate(45deg);
5544 transform: translateX(-6px) translateY(-9px) rotate(45deg);
5545 left: 0;
5546 margin-bottom: -18px;
5547}
5548.popover--right__arrow {
5549 -webkit-transform: translateX(6px) translateY(-9px) rotate(225deg);
5550 transform: translateX(6px) translateY(-9px) rotate(225deg);
5551 right: 0;
5552 margin-bottom: -18px;
5553}
5554/*~
5555 name: Material Popover
5556 category: Popover
5557 elements: ons-popover
5558 markup: |
5559 <div class="popover-mask popover-mask--material"></div>
5560 <div class="popover popover--material popover--left" style="top: 50px; left: 65px;">
5561 <div class="popover__arrow popover--material__arrow popover--left__arrow"></div>
5562 <div class="popover__content popover--material__content popover--left__content">
5563 <div style="text-align: center; opacity: 0.8; margin-top: 40px">Content</div>
5564 </div>
5565 </div>
5566*/
5567.popover--material {
5568}
5569.popover-mask--material {
5570 background-color: transparent;
5571}
5572.popover--material__content {
5573 background-color: #fafafa;
5574 border-radius: 2px;
5575 color: #1f1f21;
5576 box-shadow:
5577 0 2px 2px 0 rgba(0, 0, 0, .14),
5578 0 1px 5px 0 rgba(0, 0, 0, .12),
5579 0 3px 1px -2px rgba(0, 0, 0, .2);
5580}
5581.popover--material__arrow {
5582 display: none;
5583}
5584/*~
5585 name: Progress Bar
5586 category: Progress Bar
5587 elements: ons-progress-bar
5588 markup: |
5589 <div class="progress-bar">
5590 <div class="progress-bar__primary" style="width: 30%"></div>
5591 </div>
5592 <br />
5593 <div class="progress-bar">
5594 <div class="progress-bar__primary" style="width:20%"></div>
5595 <div class="progress-bar__secondary" style="width:76%"></div>
5596 </div>
5597 <br />
5598 <div class="progress-bar progress-bar--indeterminate">
5599 </div>
5600*/
5601.progress-bar {
5602 position: relative;
5603 height: 2px;
5604 display: block;
5605 width: 100%;
5606 background-color: transparent;
5607 background-clip: padding-box;
5608 margin: 0;
5609 overflow: hidden;
5610 border-radius: 4px;
5611}
5612.progress-bar__primary,
5613.progress-bar__secondary {
5614 position: absolute;
5615 background-color: #0076ff;
5616 top: 0;
5617 bottom: 0;
5618 transition: width .3s linear;
5619 z-index: 100;
5620 border-radius: 4px;
5621}
5622.progress-bar__secondary {
5623 background-color: #65adff;
5624 z-index: 0;
5625}
5626.progress-bar--indeterminate:before {
5627 content: '';
5628 position: absolute;
5629 background-color: #0076ff;
5630 top: 0;
5631 left: 0;
5632 bottom: 0;
5633 will-change: left, right;
5634 -webkit-animation: progress-bar__indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
5635 animation: progress-bar__indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
5636 border-radius: 4px;
5637}
5638.progress-bar--indeterminate:after {
5639 content: '';
5640 position: absolute;
5641 background-color: #0076ff;
5642 top: 0;
5643 left: 0;
5644 bottom: 0;
5645 will-change: left, right;
5646 -webkit-animation: progress-bar__indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
5647 animation: progress-bar__indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
5648 -webkit-animation-delay: 1.15s;
5649 animation-delay: 1.15s;
5650 border-radius: 4px;
5651}
5652@-webkit-keyframes progress-bar__indeterminate {
5653 0% {
5654 left: -35%;
5655 right: 100%;
5656 }
5657
5658 60% {
5659 left: 100%;
5660 right: -90%;
5661 }
5662
5663 100% {
5664 left: 100%;
5665 right: -90%;
5666 }
5667}
5668@keyframes progress-bar__indeterminate {
5669 0% {
5670 left: -35%;
5671 right: 100%;
5672 }
5673
5674 60% {
5675 left: 100%;
5676 right: -90%;
5677 }
5678
5679 100% {
5680 left: 100%;
5681 right: -90%;
5682 }
5683}
5684@-webkit-keyframes progress-bar__indeterminate-short {
5685 0% {
5686 left: -200%;
5687 right: 100%;
5688 }
5689
5690 60% {
5691 left: 107%;
5692 right: -8%;
5693 }
5694
5695 100% {
5696 left: 107%;
5697 right: -8%;
5698 }
5699}
5700@keyframes progress-bar__indeterminate-short {
5701 0% {
5702 left: -200%;
5703 right: 100%;
5704 }
5705
5706 60% {
5707 left: 107%;
5708 right: -8%;
5709 }
5710
5711 100% {
5712 left: 107%;
5713 right: -8%;
5714 }
5715}
5716/*~
5717 name: Material Progress Bar
5718 category: Progress Bar
5719 elements: ons-progress-bar
5720 markup: |
5721 <div class="progress-bar progress-bar--material">
5722 <div class="progress-bar__primary progress-bar--material__primary" style="width: 30%"></div>
5723 </div>
5724 <br />
5725 <div class="progress-bar progress-bar--material">
5726 <div class="progress-bar__primary progress-bar--material__primary" style="width:20%"></div>
5727 <div class="progress-bar__secondary progress-bar--material__secondary" style="width:76%"></div>
5728 </div>
5729 <br />
5730 <div class="progress-bar progress-bar--material progress-bar--indeterminate">
5731 </div>
5732*/
5733.progress-bar--material {
5734 height: 4px;
5735 background-color: transparent;
5736 border-radius: 0;
5737}
5738.progress-bar--material__primary,
5739.progress-bar--material__secondary {
5740 background-color: #37474f;
5741 border-radius: 0;
5742}
5743.progress-bar--material__secondary {
5744 background-color: #548ba7;
5745 z-index: 0;
5746}
5747.progress-bar--material.progress-bar--indeterminate:before { /* FIXME */
5748 background-color: #37474f;
5749 border-radius: 0;
5750}
5751.progress-bar--material.progress-bar--indeterminate:after { /* FIXME */
5752 background-color: #37474f;
5753 border-radius: 0;
5754}
5755/*~
5756 name: Progress Circle
5757 category: Progress Circle
5758 elements: ons-progress-circular
5759 markup: |
5760 <svg class="progress-circular progress-circular--indeterminate">
5761 <circle class="progress-circular__background"/>
5762 <circle class="progress-circular__primary progress-circular--indeterminate__primary"/>
5763 <circle class="progress-circular__secondary progress-circular--indeterminate__secondary"/>
5764 </svg>
5765
5766 <svg class="progress-circular">
5767 <circle class="progress-circular__background"/>
5768 <circle class="progress-circular__secondary" style="stroke-dasharray: 140%, 251.32%"/>
5769 <circle class="progress-circular__primary" style="stroke-dasharray: 100%, 251.32%"/>
5770 </svg>
5771
5772 <svg class="progress-circular">
5773 <circle class="progress-circular__background"/>
5774 <circle class="progress-circular__primary" style="stroke-dasharray: 80%, 251.32%"/>
5775 </svg>
5776*/
5777.progress-circular {
5778 height: 32px;
5779 position: relative;
5780 width: 32px;
5781 -webkit-transform: rotate(270deg);
5782 transform: rotate(270deg);
5783 -webkit-animation: none;
5784 animation: none;
5785}
5786.progress-circular__background,
5787.progress-circular__primary,
5788.progress-circular__secondary {
5789 cx: 50%;
5790 cy: 50%;
5791 r: 40%;
5792 -webkit-animation: none;
5793 animation: none;
5794 fill: none;
5795 stroke-width: 5%;
5796 stroke-miterlimit: 10;
5797}
5798.progress-circular__background {
5799 stroke: transparent;
5800}
5801.progress-circular__primary {
5802 stroke-dasharray: 1, 200;
5803 stroke-dashoffset: 0;
5804 stroke: #0076ff;
5805 transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
5806}
5807.progress-circular__secondary {
5808 stroke: #65adff;
5809}
5810.progress-circular--indeterminate {
5811 -webkit-animation: progress__rotate 2s linear infinite;
5812 animation: progress__rotate 2s linear infinite;
5813 -webkit-transform: none;
5814 transform: none;
5815}
5816.progress-circular--indeterminate__primary {
5817 -webkit-animation: progress__dash 1.5s ease-in-out infinite;
5818 animation: progress__dash 1.5s ease-in-out infinite;
5819}
5820.progress-circular--indeterminate__secondary {
5821 display: none;
5822}
5823@-webkit-keyframes progress__rotate {
5824 100% {
5825 -webkit-transform: rotate(360deg);
5826 transform: rotate(360deg);
5827 }
5828}
5829@keyframes progress__rotate {
5830 100% {
5831 -webkit-transform: rotate(360deg);
5832 transform: rotate(360deg);
5833 }
5834}
5835@-webkit-keyframes progress__dash {
5836 0% {
5837 stroke-dasharray: 10%, 241.32%;
5838 stroke-dashoffset: 0;
5839 }
5840
5841 50% {
5842 stroke-dasharray: 201%, 50.322%;
5843 stroke-dashoffset: -100%;
5844 }
5845
5846 100% {
5847 stroke-dasharray: 10%, 241.32%;
5848 stroke-dashoffset: -251.32%;
5849 }
5850}
5851@keyframes progress__dash {
5852 0% {
5853 stroke-dasharray: 10%, 241.32%;
5854 stroke-dashoffset: 0;
5855 }
5856
5857 50% {
5858 stroke-dasharray: 201%, 50.322%;
5859 stroke-dashoffset: -100%;
5860 }
5861
5862 100% {
5863 stroke-dasharray: 10%, 241.32%;
5864 stroke-dashoffset: -251.32%;
5865 }
5866}
5867/*~
5868 name: Material Progress Circle
5869 category: Progress Circle
5870 elements: ons-progress-circular
5871 markup: |
5872 <svg class="progress-circular progress-circular--material progress-circular--indeterminate">
5873 <circle class="progress-circular__background progress-circular--material__background"/>
5874 <circle class="progress-circular__primary progress-circular--material__primary progress-circular--indeterminate__primary"/>
5875 <circle class="progress-circular__secondary progress-circular--material__secondary progress-circular--indeterminate__secondary"/>
5876 </svg>
5877
5878 <svg class="progress-circular progress-circular--material">
5879 <circle class="progress-circular__background progress-circular--material__background"/>
5880 <circle class="progress-circular__secondary progress-circular--material__secondary" style="stroke-dasharray: 140%, 251.32%"/>
5881 <circle class="progress-circular__primary progress-circular--material__primary" style="stroke-dasharray: 100%, 251.32%"/>
5882 </svg>
5883
5884 <svg class="progress-circular progress-circular--material">
5885 <circle class="progress-circular__background progress-circular--material__background"/>
5886 <circle class="progress-circular__primary progress-circular--material__primary" style="stroke-dasharray: 80%, 251.32%"/>
5887 </svg>
5888*/
5889.progress-circular--material__background,
5890.progress-circular--material__primary,
5891.progress-circular--material__secondary {
5892 stroke-width: 9%;
5893}
5894.progress-circular--material__background {
5895 stroke: transparent;
5896}
5897.progress-circular--material__primary {
5898 stroke: #37474f;
5899}
5900.progress-circular--material__secondary {
5901 stroke: #548ba7;
5902}
5903/*~
5904 name: Fab
5905 category: Fab
5906 elements: ons-fab
5907 markup: |
5908 <button class="fab"><i class="zmdi zmdi-car"></i></button>
5909 <button class="fab" disabled><i class="zmdi zmdi-car"></i></button>
5910*/
5911/* stylelint-disable */
5912ons-fab.fab, ons-speed-dial-item.fab, button.fab {
5913 position: relative;
5914 display: inline-block;
5915 box-sizing: border-box;
5916 background-clip: padding-box;
5917 padding: 0;
5918 margin: 0;
5919 font: inherit;
5920 color: inherit;
5921 background: transparent;
5922 border: none;
5923 line-height: normal;
5924 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
5925 -webkit-font-smoothing: antialiased;
5926 -moz-osx-font-smoothing: grayscale;
5927 font-weight: 400;
5928 cursor: default;
5929 -webkit-user-select: none;
5930 -moz-user-select: none;
5931 -ms-user-select: none;
5932 user-select: none;
5933 width: 56px;
5934 height: 56px;
5935 text-decoration: none;
5936 font-size: 25px;
5937 line-height: 56px;
5938 letter-spacing: 0;
5939 color: #ffffff;
5940 vertical-align: middle;
5941 text-align: center;
5942 background-color: #0076ff;
5943 border: 0 solid currentColor;
5944 border-radius: 50%;
5945 overflow: hidden;
5946 box-shadow: 0 3px 6px rgba(0, 0, 0, .12);
5947 transition: all 0.1s linear;
5948}
5949ons-fab.fab:active, ons-speed-dial-item.fab:active, button.fab:active {
5950 box-shadow: 0 3px 6 rgba(0, 0, 0, .12);
5951 background-color: rgba(0, 118, 255, 0.7);
5952 transition: all 0.2s ease;
5953 box-shadow: 0 0 6 rgba(0, 0, 0, .12);
5954}
5955ons-fab.fab:focus, ons-speed-dial-item.fab:focus, button.fab:focus {
5956 outline: 0;
5957}
5958ons-fab.fab:disabled,
5959 ons-fab.fab[disabled],
5960 ons-speed-dial-item.fab:disabled,
5961 ons-speed-dial-item.fab[disabled],
5962 button.fab:disabled,
5963 button.fab[disabled] {
5964 background-color: rgba(0, 0, 0, 0.5);
5965 box-shadow: none;
5966 opacity: 0.3;
5967 cursor: default;
5968 pointer-events: none;
5969}
5970ons-fab.fab__icon, ons-speed-dial-item.fab__icon, button.fab__icon {
5971 position: relative;
5972 overflow: hidden;
5973 height: 100%;
5974 width: 100%;
5975 display: block;
5976 border-radius: 100%;
5977 padding: 0;
5978 z-index: 100;
5979 line-height: 56px;
5980}
5981/* stylelint-enable */
5982/*~
5983 name: Material Fab
5984 category: Fab
5985 elements: ons-fab
5986 markup: |
5987 <button class="fab fab--material"><i class="zmdi zmdi-car"></i></button>
5988 <button class="fab fab--material" disabled><i class="zmdi zmdi-car"></i></button>
5989*/
5990/* stylelint-disable */
5991ons-fab.fab--material, ons-speed-dial-item.fab--material, button.fab--material {
5992 position: relative;
5993 display: inline-block;
5994 box-sizing: border-box;
5995 background-clip: padding-box;
5996 padding: 0;
5997 margin: 0;
5998 font: inherit;
5999 color: inherit;
6000 background: transparent;
6001 border: none;
6002 line-height: normal;
6003 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6004 -webkit-font-smoothing: antialiased;
6005 -moz-osx-font-smoothing: grayscale;
6006 font-weight: 400;
6007 cursor: default;
6008 -webkit-user-select: none;
6009 -moz-user-select: none;
6010 -ms-user-select: none;
6011 user-select: none;
6012 width: 56px;
6013 height: 56px;
6014 text-decoration: none;
6015 font-size: 25px;
6016 line-height: 56px;
6017 letter-spacing: 0;
6018 color: #ffffff;
6019 vertical-align: middle;
6020 text-align: center;
6021 background-color: #0076ff;
6022 border: 0 solid currentColor;
6023 border-radius: 50%;
6024 overflow: hidden;
6025 box-shadow: 0 3px 6px rgba(0, 0, 0, .12);
6026 transition: all 0.1s linear;
6027 font-family: 'Roboto', 'Noto', sans-serif;
6028 -webkit-font-smoothing: antialiased;
6029 font-weight: 400;
6030 width: 56px;
6031 height: 56px;
6032 text-decoration: none;
6033 font-size: 25px;
6034 line-height: 56px;
6035 color: #31313a;
6036 background-color: #ffffff;
6037 box-shadow:
6038 0 4px 5px 0 rgba(0, 0, 0, .14),
6039 0 1px 10px 0 rgba(0, 0, 0, .12),
6040 0 2px 4px -1px rgba(0, 0, 0, .4);
6041 transition: all 0.2s ease-in-out;
6042}
6043ons-fab.fab--material:active, ons-speed-dial-item.fab--material:active, button.fab--material:active {
6044 box-shadow:
6045 0 8px 10px 1px rgba(0, 0, 0, .14),
6046 0 3px 14px 2px rgba(0, 0, 0, .12),
6047 0 5px 5px -3px rgba(0, 0, 0, .4);
6048 background-color: rgba(255, 255, 255, .75);
6049 transition: all 0.2s ease;
6050}
6051ons-fab.fab--material:focus, ons-speed-dial-item.fab--material:focus, button.fab--material:focus {
6052 outline: 0;
6053}
6054ons-fab.fab--material__icon, ons-speed-dial-item.fab--material__icon, button.fab--material__icon {
6055 position: relative;
6056 overflow: hidden;
6057 height: 100%;
6058 width: 100%;
6059 display: block;
6060 border-radius: 100%;
6061 padding: 0;
6062 z-index: 100;
6063 line-height: 56px;
6064}
6065ons-fab.fab--material:disabled,
6066 ons-fab.fab--material[disabled],
6067 ons-speed-dial-item.fab--material:disabled,
6068 ons-speed-dial-item.fab--material[disabled],
6069 button.fab--material:disabled,
6070 button.fab--material[disabled] {
6071 background-color: rgba(0, 0, 0, 0.5);
6072 box-shadow: none;
6073 opacity: 0.3;
6074 cursor: default;
6075 pointer-events: none;
6076}
6077/* stylelint-enable */
6078/*~
6079 name: Fab Mini
6080 category: Fab
6081 elements: ons-fab
6082 markup: |
6083 <button class="fab fab--mini"><i class="zmdi zmdi-plus"></i></button>
6084 <button class="fab fab--mini" disabled><i class="zmdi zmdi-plus"></i></button>
6085*/
6086/*~
6087 name: Material Fab Mini
6088 category: Fab
6089 elements: ons-fab
6090 markup: |
6091 <button class="fab fab--material fab--mini"><i class="zmdi zmdi-plus"></i></button>
6092 <button class="fab fab--material fab--mini" disabled><i class="zmdi zmdi-plus"></i></button>
6093*/
6094/* stylelint-disable */
6095ons-fab.fab--mini, ons-speed-dial-item.fab--mini, button.fab--mini {
6096 width: 40px;
6097 height: 40px;
6098 line-height: 40px;
6099}
6100ons-fab.fab--mini__icon, ons-speed-dial-item.fab--mini__icon, button.fab--mini__icon {
6101 line-height: 40px;
6102}
6103ons-fab.speed-dial__item, ons-speed-dial-item.speed-dial__item, button.speed-dial__item {
6104 position: absolute;
6105 -webkit-transform: scale(0);
6106 transform: scale(0);
6107}
6108/* stylelint-enable */
6109/* stylelint-disable */
6110ons-fab.fab--top__right, button.fab--top__right, .speed-dial.fab--top__right {
6111 top: 20px;
6112 bottom: auto;
6113 right: 20px;
6114 left: auto;
6115 position: absolute;
6116}
6117ons-fab.fab--bottom__right, button.fab--bottom__right, .speed-dial.fab--bottom__right {
6118 top: auto;
6119 bottom: 20px;
6120 right: 20px;
6121 left: auto;
6122 position: absolute;
6123}
6124ons-fab.fab--top__left, button.fab--top__left, .speed-dial.fab--top__left {
6125 top: 20px;
6126 bottom: auto;
6127 right: auto;
6128 left: 20px;
6129 position: absolute;
6130}
6131ons-fab.fab--bottom__left, button.fab--bottom__left, .speed-dial.fab--bottom__left {
6132 top: auto;
6133 bottom: 20px;
6134 right: auto;
6135 left: 20px;
6136 position: absolute;
6137}
6138ons-fab.fab--top__center, button.fab--top__center, .speed-dial.fab--top__center {
6139 top: 20px;
6140 bottom: auto;
6141 margin-left: -28px;
6142 left: 50%;
6143 right: auto;
6144 position: absolute;
6145}
6146ons-fab.fab--bottom__center, button.fab--bottom__center, .speed-dial.fab--bottom__center {
6147 top: auto;
6148 bottom: 20px;
6149 margin-left: -28px;
6150 left: 50%;
6151 right: auto;
6152 position: absolute;
6153}
6154/* stylelint-enable */
6155/*~
6156 name: Modal
6157 category: Modal
6158 elements: ons-modal
6159 markup: |
6160 <div class="modal">
6161 <div class="modal__content">
6162 Message Text
6163 </div>
6164 </div>
6165*/
6166.modal {
6167 box-sizing: border-box;
6168 background-clip: padding-box;
6169 white-space: nowrap;
6170 overflow: hidden;
6171 word-spacing: 0;
6172 padding: 0;
6173 margin: 0;
6174 font: inherit;
6175 color: inherit;
6176 background: transparent;
6177 border: none;
6178 line-height: normal;
6179 box-sizing: border-box;
6180 background-clip: padding-box;
6181 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6182 -webkit-font-smoothing: antialiased;
6183 -moz-osx-font-smoothing: grayscale;
6184 font-weight: 400;
6185 overflow: hidden;
6186 background-color: rgba(0, 0, 0, .7);
6187 position: absolute;
6188 left: 0;
6189 right: 0;
6190 top: 0;
6191 bottom: 0;
6192 width: 100%;
6193 height: 100%;
6194 display: table;
6195 z-index: 2147483647;
6196}
6197.modal__content {
6198 box-sizing: border-box;
6199 background-clip: padding-box;
6200 white-space: nowrap;
6201 overflow: hidden;
6202 word-spacing: 0;
6203 padding: 0;
6204 margin: 0;
6205 font: inherit;
6206 color: inherit;
6207 background: transparent;
6208 border: none;
6209 line-height: normal;
6210 box-sizing: border-box;
6211 background-clip: padding-box;
6212 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6213 -webkit-font-smoothing: antialiased;
6214 -moz-osx-font-smoothing: grayscale;
6215 font-weight: 400;
6216 display: table-cell;
6217 vertical-align: middle;
6218 text-align: center;
6219 color: #fff;
6220 white-space: normal;
6221}
6222/*~
6223 name: Select Input
6224 category: Select Input
6225 markup: |
6226 <select class="select-input">
6227 <option>Option 1</option>
6228 <option>Option 2</option>
6229 <option>Option 3</option>
6230 </select>
6231
6232 &nbsp;
6233
6234 <select class="select-input" disabled>
6235 <option>Option 1</option>
6236 <option>Option 2</option>
6237 <option>Option 3</option>
6238 </select>
6239*/
6240.select-input {
6241 box-sizing: border-box;
6242 background-clip: padding-box;
6243 padding: 0;
6244 margin: 0;
6245 font: inherit;
6246 color: inherit;
6247 background: transparent;
6248 border: none;
6249 vertical-align: top;
6250 outline: none;
6251 line-height: 1;
6252 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6253 -webkit-font-smoothing: antialiased;
6254 -moz-osx-font-smoothing: grayscale;
6255 font-weight: 400;
6256 border: none;
6257 background-color: transparent;
6258 position: relative;
6259 font-size: 17px;
6260 height: 32px;
6261 line-height: 32px;
6262 border-color: #ccc;
6263 color: #1f1f21;
6264 -webkit-appearance: none;
6265 -moz-appearance: none;
6266 appearance: none;
6267 display: inline-block;
6268 border-radius: 0;
6269 border: none;
6270 padding: 0 20px 0 0;
6271 background-color: transparent;
6272 background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=');
6273 background-repeat: no-repeat;
6274 background-position: right center;
6275 border-bottom: none;
6276}
6277.select-input::-ms-clear {
6278 display: none;
6279}
6280.select-input::-webkit-input-placeholder {
6281 color: #999;
6282}
6283.select-input:-ms-input-placeholder {
6284 color: #999;
6285}
6286.select-input::-ms-input-placeholder {
6287 color: #999;
6288}
6289.select-input::placeholder {
6290 color: #999;
6291}
6292.select-input:disabled {
6293 opacity: 0.3;
6294 cursor: default;
6295 pointer-events: none;
6296 border: none;
6297 background-color: transparent;
6298}
6299.select-input:disabled::-webkit-input-placeholder {
6300 border: none;
6301 background-color: transparent;
6302 color: #999;
6303}
6304.select-input:disabled:-ms-input-placeholder {
6305 border: none;
6306 background-color: transparent;
6307 color: #999;
6308}
6309.select-input:disabled::-ms-input-placeholder {
6310 border: none;
6311 background-color: transparent;
6312 color: #999;
6313}
6314.select-input:disabled::placeholder {
6315 border: none;
6316 background-color: transparent;
6317 color: #999;
6318}
6319.select-input:invalid {
6320 border: none;
6321 background-color: transparent;
6322 color: #1f1f21;
6323}
6324.select-input[multiple] {
6325 height: 64px;
6326}
6327/*~
6328 name: Material Select Input
6329 category: Select Input
6330 markup: |
6331 <select class="select-input select-input--material">
6332 <option>Option 1</option>
6333 <option>Option 2</option>
6334 <option>Option 3</option>
6335 </select>
6336
6337 &nbsp;
6338
6339 <select class="select-input select-input--material" disabled>
6340 <option>Option 1</option>
6341 <option>Option 2</option>
6342 <option>Option 3</option>
6343 </select>
6344*/
6345.select-input--material {
6346 font-family: 'Roboto', 'Noto', sans-serif;
6347 -webkit-font-smoothing: antialiased;
6348 font-weight: 400;
6349 color: #1f1f21;
6350 font-size: 15px;
6351 background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI1cHgiIHZpZXdCb3g9IjAgMCAxMCA1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0My4yICgzOTA2OSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2VsZWN0LWFsbG93PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyMy4wMDAwMDAsIDEwMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJtZW51LWJhciI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9InNlbGVjdC1hbGxvdyIgcG9pbnRzPSI3NSAxNCA4MCAxOSA4NSAxNCI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4='), linear-gradient(to top, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.12) 50%);
6352 background-size: auto, 100% 1px;
6353 background-repeat: no-repeat;
6354 background-position: right center, left bottom;
6355 border: none;
6356 font-weight: 400;
6357 -webkit-transform: translate3d(0, 0, 0);
6358 transform: translate3d(0, 0, 0); /* prevent ios flicker */
6359}
6360.select-input--material__label {
6361 font-family: 'Roboto', 'Noto', sans-serif;
6362 -webkit-font-smoothing: antialiased;
6363 font-weight: 400;
6364 color: rgba(0, 0, 0, .81);
6365 position: absolute;
6366 left: 0;
6367 top: 2px;
6368 font-size: 16px;
6369 pointer-events: none;
6370}
6371.select-input--material__label--active {
6372 color: rgba(0, 0, 0, .15);
6373 -webkit-transform: translate(0, -75%) scale(0.75);
6374 transform: translate(0, -75%) scale(0.75);
6375 -webkit-transform-origin: left top;
6376 transform-origin: left top;
6377 transition: color 0.1s ease-in, -webkit-transform 0.1s ease-in;
6378 transition: transform 0.1s ease-in, color 0.1s ease-in;
6379 transition: transform 0.1s ease-in, color 0.1s ease-in, -webkit-transform 0.1s ease-in;
6380}
6381.select-input--material::-webkit-input-placeholder {
6382 color: rgba(0, 0, 0, .81);
6383 line-height: 20px;
6384}
6385.select-input--material:-ms-input-placeholder {
6386 color: rgba(0, 0, 0, .81);
6387 line-height: 20px;
6388}
6389.select-input--material::-ms-input-placeholder {
6390 color: rgba(0, 0, 0, .81);
6391 line-height: 20px;
6392}
6393.select-input--material::placeholder {
6394 color: rgba(0, 0, 0, .81);
6395 line-height: 20px;
6396}
6397@-webkit-keyframes material-select-input-animate {
6398 0% {
6399 background-size: 0% 2px, 100% 2px;
6400 }
6401
6402 100% {
6403 background-size: 100% 2px, 100% 2px;
6404 }
6405}
6406@keyframes material-select-input-animate {
6407 0% {
6408 background-size: 0% 2px, 100% 2px;
6409 }
6410
6411 100% {
6412 background-size: 100% 2px, 100% 2px;
6413 }
6414}
6415/*~
6416 name: Underbar Select Input
6417 category: Select Input
6418 markup: |
6419 <select class="select-input select-input--underbar">
6420 <option>Option 1</option>
6421 <option>Option 2</option>
6422 <option>Option 3</option>
6423 </select>
6424
6425 &nbsp;
6426
6427 <select class="select-input select-input--underbar" disabled>
6428 <option>Option 1</option>
6429 <option>Option 2</option>
6430 <option>Option 3</option>
6431 </select>
6432*/
6433.select-input--underbar {
6434 border: none;
6435 border-bottom: 1px solid #ccc;
6436}
6437.select-input--underbar:disabled {
6438 opacity: 0.3;
6439 cursor: default;
6440 pointer-events: none;
6441 border: none;
6442 background-color: transparent;
6443 border: none;
6444 background-color: transparent;
6445 border-bottom: 1px solid #ccc;
6446}
6447.select-input--underbar:disabled::-webkit-input-placeholder {
6448 border: none;
6449 background-color: transparent;
6450 color: #999;
6451 border: none;
6452 background-color: transparent;
6453}
6454.select-input--underbar:disabled:-ms-input-placeholder {
6455 border: none;
6456 background-color: transparent;
6457 color: #999;
6458 border: none;
6459 background-color: transparent;
6460}
6461.select-input--underbar:disabled::-ms-input-placeholder {
6462 border: none;
6463 background-color: transparent;
6464 color: #999;
6465 border: none;
6466 background-color: transparent;
6467}
6468.select-input--underbar:disabled::placeholder {
6469 border: none;
6470 background-color: transparent;
6471 color: #999;
6472 border: none;
6473 background-color: transparent;
6474}
6475.select-input--underbar:invalid {
6476 border: none;
6477 background-color: transparent;
6478 color: #1f1f21;
6479 border: none;
6480 background-color: transparent;
6481 border-bottom: 1px solid #ccc;
6482}
6483/*~
6484 name: Action Sheet
6485 category: Action Sheet
6486 markup: |
6487 <div class="action-sheet-mask"></div>
6488 <div class="action-sheet">
6489 <div class="action-sheet-title">Title</div>
6490 <button class="action-sheet-button">Label</button>
6491 <button class="action-sheet-button">Cancel</button>
6492 </div>
6493*/
6494/*~
6495 name: Action Sheet with Delete Label
6496 category: Action Sheet
6497 markup: |
6498 <div class="action-sheet-mask"></div>
6499 <div class="action-sheet">
6500 <button class="action-sheet-button">Label</button>
6501 <button class="action-sheet-button action-sheet-button--destructive">Delete Label</button>
6502 <button class="action-sheet-button">Cancel</button>
6503 </div>
6504*/
6505.action-sheet {
6506 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6507 -webkit-font-smoothing: antialiased;
6508 -moz-osx-font-smoothing: grayscale;
6509 font-weight: 400;
6510 cursor: default;
6511 position: absolute;
6512 left: 10px; /* iOS 9, 10, 11 */
6513 right: 10px; /* iOS 9, 10, 11 */
6514 bottom: 10px; /* iOS 9, 10, 11 */
6515 z-index: 2;
6516}
6517.action-sheet-button {
6518 box-sizing: border-box;
6519 height: 56px;
6520 font-size: 20px;
6521 text-align: center;
6522 color: #0076ff;
6523 background-color: rgba(255, 255, 255, .9);
6524 border-radius: 0;
6525 line-height: 56px;
6526 border: none;
6527 -webkit-appearance: none;
6528 -moz-appearance: none;
6529 appearance: none;
6530 display: block;
6531 width: 100%;
6532 text-overflow: ellipsis;
6533 white-space: nowrap;
6534 overflow: hidden;
6535 background-size: 100% 1px;
6536 background-repeat: no-repeat;
6537 background-position: bottom;
6538 background-image: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 100%);
6539}
6540@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
6541 .action-sheet-button {
6542 background-image: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 50%, transparent 50%);
6543 }
6544}
6545.action-sheet-button:first-child {
6546 border-top-left-radius: 12px;
6547 border-top-right-radius: 12px;
6548}
6549.action-sheet-button:active {
6550 background-color: #e9e9e9;
6551 background-image: none;
6552}
6553.action-sheet-button:focus {
6554 outline: none;
6555}
6556.action-sheet-button:nth-last-of-type(2) {
6557 border-bottom-right-radius: 12px;
6558 border-bottom-left-radius: 12px;
6559 background-image: none;
6560}
6561.action-sheet-button:last-of-type {
6562 border-radius: 12px;
6563 margin: 8px 0 0 0; /* iOS 9, 10, 11 */
6564 background-color: #fff;
6565 background-image: none;
6566 font-weight: 600;
6567}
6568.action-sheet-button:last-of-type:active {
6569 background-color: #e9e9e9;
6570}
6571.action-sheet-button--destructive {
6572 color: #fe3824;
6573}
6574.action-sheet-title {
6575 box-sizing: border-box;
6576 height: 56px;
6577 font-size: 13px;
6578 color: #8f8e94;
6579 text-align: center;
6580 background-color: rgba(255, 255, 255, .9);
6581 line-height: 56px;
6582 text-overflow: ellipsis;
6583 white-space: nowrap;
6584 overflow: hidden;
6585 background-size: 100% 1px;
6586 background-repeat: no-repeat;
6587 background-position: bottom;
6588 background-image: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 100%);
6589}
6590@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
6591 .action-sheet-title {
6592 background-image: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1) 50%, transparent 50%);
6593 }
6594}
6595.action-sheet-title:first-child {
6596 border-top-left-radius: 12px;
6597 border-top-right-radius: 12px;
6598}
6599.action-sheet-icon {
6600 display: none;
6601}
6602.action-sheet-mask {
6603 position: absolute;
6604 left: 0;
6605 top: 0;
6606 right: 0;
6607 bottom: 0;
6608 background-color: rgba(0, 0, 0, .1);
6609 z-index: 1;
6610}
6611/*~
6612 name: Material Action Sheet
6613 category: Action Sheet
6614 markup: |
6615 <div class="action-sheet-mask action-sheet-mask--material"></div>
6616 <div class="action-sheet action-sheet--material">
6617 <button class="action-sheet-button action-sheet-button--material"><i class="ion-android-checkbox-blank action-sheet-icon--material"></i>Label</button>
6618 <button class="action-sheet-button action-sheet-button--material"><i class="ion-android-checkbox-blank action-sheet-icon--material"></i>Label</button>
6619 <button class="action-sheet-button action-sheet-button--material"><i class="ion-android-close action-sheet-icon--material"></i>Cancel</button>
6620 </div>
6621*/
6622/*~
6623 name: Material Action Sheet with Title
6624 category: Action Sheet
6625 markup: |
6626 <div class="action-sheet-mask action-sheet-mask--material"></div>
6627 <div class="action-sheet action-sheet--material">
6628 <div class="action-sheet-title action-sheet-title--material">Title</div>
6629 <button class="action-sheet-button action-sheet-button--material"><i class="ion-android-checkbox-blank action-sheet-icon--material"></i>Label</button>
6630 <button class="action-sheet-button action-sheet-button--material"><i class="ion-android-close action-sheet-icon--material"></i>Cancel</button>
6631 </div>
6632*/
6633.action-sheet--material {
6634 left: 0;
6635 right: 0;
6636 bottom: 0;
6637 box-shadow:
6638 0 16px 24px 2px rgba(0, 0, 0, .14),
6639 0 6px 30px 5px rgba(0, 0, 0, .12),
6640 0 8px 10px -5px rgba(0, 0, 0, .4);
6641}
6642.action-sheet-title--material {
6643 font-family: 'Roboto', 'Noto', sans-serif;
6644 -webkit-font-smoothing: antialiased;
6645 font-weight: 400;
6646 border-radius: 0;
6647 background-image: none;
6648 text-align: left;
6649 height: 56px;
6650 line-height: 56px;
6651 font-size: 16px;
6652 padding: 0 0 0 16px;
6653 color: #686868;
6654 background-color: white;
6655 font-weight: 400;
6656}
6657.action-sheet-title--material:first-child {
6658 border-radius: 0;
6659}
6660.action-sheet-button--material {
6661 font-family: 'Roboto', 'Noto', sans-serif;
6662 -webkit-font-smoothing: antialiased;
6663 font-weight: 400;
6664 border-radius: 0;
6665 background-image: none;
6666 height: 52px;
6667 line-height: 52px;
6668 text-align: left;
6669 font-size: 16px;
6670 padding: 0 0 0 16px;
6671 color: #686868;
6672 font-weight: 400;
6673 background-color: white;
6674}
6675.action-sheet-button--material:first-child {
6676 border-radius: 0;
6677}
6678.action-sheet-button--material:nth-last-of-type(2) {
6679 border-radius: 0;
6680}
6681.action-sheet-button--material:last-of-type {
6682 margin: 0;
6683 border-radius: 0;
6684 font-weight: 400;
6685 background-color: white;
6686}
6687.action-sheet-icon--material {
6688 display: inline-block;
6689 float: left;
6690 height: 52px;
6691 line-height: 52px;
6692 margin-right: 32px;
6693 font-size: 26px;
6694 width: 0.8em;
6695 text-align: center;
6696}
6697.action-sheet-mask--material {
6698 background-color: rgba(0, 0, 0, .2);
6699}
6700/*~
6701 name: Card
6702 category: Card
6703 markup: |
6704 <div style="height: 200px; padding: 1px 0 0 0;">
6705 <div class="card">
6706 <div class="card__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
6707 </div>
6708 </div>
6709*/
6710.card {
6711 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6712 -webkit-font-smoothing: antialiased;
6713 -moz-osx-font-smoothing: grayscale;
6714 font-weight: 400;
6715 box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
6716 border-radius: 8px;
6717 background-color: white;
6718 box-sizing: border-box;
6719 display: block;
6720 margin: 8px;
6721 padding: 16px;
6722 text-align: left;
6723 word-wrap: break-word;
6724}
6725.card__content {
6726 margin: 0;
6727 font-size: 14px;
6728 line-height: 1.4;
6729 color: #030303;
6730}
6731/*~
6732 name: Card with Title
6733 category: Card
6734 markup: |
6735 <div style="height: 200px; padding: 1px 0 0 0;">
6736 <div class="card">
6737 <h2 class="card__title">Card Title</h2>
6738 <div class="card__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
6739 </div>
6740 </div>
6741*/
6742.card__title {
6743 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6744 -webkit-font-smoothing: antialiased;
6745 -moz-osx-font-smoothing: grayscale;
6746 font-weight: 400;
6747 font-weight: 400;
6748 font-size: 20px;
6749 margin: 4px 0 8px 0;
6750 padding: 0;
6751 display: block;
6752 box-sizing: border-box;
6753}
6754/*~
6755 name: Material Card
6756 category: Card
6757 markup: |
6758 <div style="height: 200px; padding: 1px 0 0 0;">
6759 <div class="card card--material">
6760 <div class="card__content card--material__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
6761 </div>
6762 </div>
6763*/
6764.card--material {
6765 background-color: white;
6766 border-radius: 2px;
6767 box-shadow:
6768 0 2px 2px 0 rgba(0, 0, 0, .14),
6769 0 1px 5px 0 rgba(0, 0, 0, .12),
6770 0 3px 1px -2px rgba(0, 0, 0, .2);
6771 font-family: 'Roboto', 'Noto', sans-serif;
6772 -webkit-font-smoothing: antialiased;
6773 font-weight: 400;
6774}
6775.card--material__content {
6776 font-size: 14px;
6777 line-height: 1.4;
6778 color: rgba(0, 0, 0, .54);
6779}
6780/*~
6781 name: Material Card with Title
6782 category: Card
6783 markup: |
6784 <div style="height: 200px; padding: 1px 0 0 0;">
6785 <div class="card card--material">
6786 <div class="card__title card--material__title">Card Title</div>
6787 <div class="card__content card--material__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
6788 </div>
6789 </div>
6790*/
6791.card--material__title {
6792 font-family: 'Roboto', 'Noto', sans-serif;
6793 -webkit-font-smoothing: antialiased;
6794 font-weight: 400;
6795 font-size: 24px;
6796 margin: 8px 0 12px 0;
6797}
6798/*~
6799 name: Toast
6800 category: Toast
6801 markup: |
6802 <div class="toast">
6803 <div class="toast__message">Message Message Message Message Message Message</div>
6804 <button class="toast__button">ACTION</button>
6805 </div>
6806*/
6807.toast {
6808 font-family: -apple-system, 'Helvetica Neue', 'Helvetica', 'Arial', 'Lucida Grande', sans-serif;
6809 -webkit-font-smoothing: antialiased;
6810 -moz-osx-font-smoothing: grayscale;
6811 font-weight: 400;
6812 position: absolute;
6813 z-index: 2;
6814 left: 8px;
6815 right: 8px;
6816 bottom: 0;
6817 margin: 8px 0;
6818 border-radius: 8px;
6819 background-color: rgba(0, 0, 0, .8);
6820 display: -webkit-box;
6821 display: -webkit-flex;
6822 display: flex;
6823 min-height: 48px;
6824 line-height: 1.5;
6825 box-sizing: border-box;
6826 padding: 16px 16px;
6827}
6828.toast__message {
6829 font-size: 14px;
6830 color: white;
6831 -webkit-box-flex: 1;
6832 -webkit-flex-grow: 1;
6833 flex-grow: 1;
6834 text-align: left;
6835 margin: 0 16px 0 0;
6836 white-space: normal;
6837}
6838.toast__button {
6839 font-size: 14px;
6840 color: white;
6841 -webkit-box-flex: 0;
6842 -webkit-flex-grow: 0;
6843 flex-grow: 0;
6844 -webkit-appearance: none;
6845 -moz-appearance: none;
6846 appearance: none;
6847 border: none;
6848 background-color: transparent;
6849 cursor: default;
6850 text-transform: uppercase;
6851}
6852.toast__button:focus {
6853 outline: none;
6854}
6855.toast__button:active {
6856 opacity: 0.4;
6857}
6858/*~
6859 name: Material Toast
6860 category: Toast
6861 markup: |
6862 <div class="toast toast--material">
6863 <div class="toast__message toast--material__message">Message Message Message Message Message Message</div>
6864 <button class="toast__button toast--material__button">ACTION</button>
6865 </div>
6866*/
6867.toast--material {
6868 left: 0;
6869 right: 0;
6870 bottom: 0;
6871 margin: 0;
6872 background-color: rgba(0, 0, 0, .8);
6873 border-radius: 0;
6874 padding: 16px 24px;
6875}
6876.toast--material__message {
6877 font-family: 'Roboto', 'Noto', sans-serif;
6878 -webkit-font-smoothing: antialiased;
6879 font-weight: 400;
6880 margin: 0 24px 0 0;
6881}
6882.toast--material__button {
6883 font-family: 'Roboto', 'Noto', sans-serif;
6884 -webkit-font-smoothing: antialiased;
6885 font-weight: 400;
6886 color: #bbdefb;
6887}
6888/* ------- */
6889/* Default */
6890/* ------- */
6891/* All toolbar */
6892.toolbar {
6893 top: 0;
6894 box-sizing: border-box;
6895 padding-top: 0;
6896}
6897.bottom-bar {
6898 bottom: 0;
6899 box-sizing: border-box;
6900 padding-bottom: 0;
6901}
6902/* All page__background with a ordinal toolbar */
6903.toolbar+.page__background {
6904 top: 44px;
6905}
6906/* All page__content without toolbars */
6907.page__content {
6908 top: 0;
6909 padding-top: 0;
6910
6911 bottom: 0;
6912}
6913/* All page__content with a toolbar */
6914.toolbar+.page__background+.page__content {
6915 top: 44px;
6916 padding-top: 0;
6917}
6918/* All page__content with a bottom-bar */
6919.page-with-bottom-toolbar > .page__content {
6920 bottom: 44px;
6921}
6922/* -------- */
6923/* Material */
6924/* -------- */
6925/* All page__background with a material toolbar */
6926.toolbar.toolbar--material+.page__background {
6927 top: 56px;
6928}
6929/* All page__content with a material toolbar */
6930.toolbar.toolbar--material+.page__background+.page__content {
6931 top: 56px;
6932 padding-top: 0;
6933}
6934/* -------- */
6935/* Others */
6936/* -------- */
6937/* All page__background with a transparent toolbar */
6938.toolbar.toolbar--transparent+.page__background {
6939 top: 0;
6940}
6941/* All page__content with a transparent cover-content toolbar and its direct descendant page_content */
6942.toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content,
6943.toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page_content {
6944 top: 0;
6945 padding-top: 44px;
6946}
6947/* All page__content with a material transparent cover-content toolbar and its direct descendant page_content */
6948.toolbar.toolbar--material.toolbar--transparent.toolbar--cover-content+.page__background+.page__content,
6949.toolbar.toolbar--material.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page_content {
6950 top: 0;
6951 padding-top: 56px;
6952}
6953/* -------- */
6954/* Tabbar */
6955/* -------- */
6956/* All top tabbar */
6957.tabbar--top {
6958 padding-top: 0;
6959}
6960/* All bottom tabbar */
6961.tabbar:not(.tabbar--top) {
6962 padding-bottom: 0;
6963}
6964/* non BEM */
6965/* @import './util.css'; */
6966@media (orientation: landscape) {
6967 html[onsflag-iphonex-landscape] .page__content {
6968 padding-left: 44px;
6969 padding-right: 44px;
6970 }
6971 /* Ignore if the page is in dialogs or modals */
6972 html[onsflag-iphonex-landscape] .dialog .page__content,
6973 html[onsflag-iphonex-landscape] .modal .page__content {
6974 padding-left: 0;
6975 padding-right: 0;
6976 }
6977}
6978/* @import './switch.css'; */
6979/* @import './range.css'; */
6980/* @import './notification.css'; */
6981@media (orientation: landscape) {
6982 html[onsflag-iphonex-landscape] .toolbar__left {
6983 padding-left: 44px;
6984 }
6985
6986 html[onsflag-iphonex-landscape] .toolbar__right {
6987 padding-right: 44px;
6988 }
6989
6990 html[onsflag-iphonex-landscape] .bottom-bar {
6991 padding-right: 44px;
6992 padding-left: 44px;
6993 }
6994}
6995/* @import './button.css'; */
6996/* @import './button-bar.css'; */
6997/* @import './segment.css'; */
6998@media (orientation: landscape) {
6999 html[onsflag-iphonex-landscape] .tabbar {
7000 padding-left: 44px;
7001 padding-right: 44px;
7002 width: calc(100% - 88px);
7003 }
7004}
7005/* @import './toolbar-button.css'; */
7006/* @import './checkbox.css'; */
7007/* @import './radio-button.css'; */
7008/* @import './list.css'; */
7009/* @import './search-input.css'; */
7010/* @import './text-input.css'; */
7011/* @import './textarea.css'; */
7012/* @import './dialog.css'; */
7013/* @import './alert-dialog.css'; */
7014/* @import './popover.css'; */
7015/* @import './progress-bar.css'; */
7016/* @import './progress-circular.css'; */
7017@media (orientation: portrait) {
7018 /* For top safe area */
7019 html[onsflag-iphonex-portrait] .fab--top__left,
7020 html[onsflag-iphonex-portrait] .fab--top__center,
7021 html[onsflag-iphonex-portrait] .fab--top__right {
7022 top: 64px;
7023 }
7024
7025 /* For bottom safe area */
7026 html[onsflag-iphonex-portrait] .fab--bottom__left,
7027 html[onsflag-iphonex-portrait] .fab--bottom__center,
7028 html[onsflag-iphonex-portrait] .fab--bottom__right {
7029 bottom: 34px; /* Omit 20px space */
7030 }
7031}
7032@media (orientation: landscape) {
7033 /* For bottom safe area */
7034 html[onsflag-iphonex-landscape] .fab--bottom__left,
7035 html[onsflag-iphonex-landscape] .fab--bottom__center,
7036 html[onsflag-iphonex-landscape] .fab--bottom__right {
7037 bottom: 21px; /* Omit 20px space */
7038 }
7039
7040 /* For left safe area */
7041 html[onsflag-iphonex-landscape] .fab--top__left,
7042 html[onsflag-iphonex-landscape] .fab--bottom__left {
7043 left: 44px; /* Omit 20px space */
7044 }
7045
7046 /* For right safe area */
7047 html[onsflag-iphonex-landscape] .fab--top__right,
7048 html[onsflag-iphonex-landscape] .fab--bottom__right {
7049 right: 44px; /* Omit 20px space */
7050 }
7051}
7052/* @import './modal.css'; */
7053/* @import './select.css'; */
7054@media (orientation: portrait) {
7055 html[onsflag-iphonex-portrait] .action-sheet {
7056 bottom: 48px; /* bottom safe area + 14 pt (extra bottom margin) */
7057 }
7058}
7059@media (orientation: landscape) {
7060 html[onsflag-iphonex-landscape] .action-sheet {
7061 /* The width in landscape mode is the same as the width in portrait mode */
7062 left: calc((100vw - 100vh + 20px) / 2);
7063 right: calc((100vw - 100vh + 20px) / 2);
7064 bottom: 33px; /* bottom safe area + 12 pt (extra bottom margin) */
7065 }
7066}
7067/* @import './card.css'; */
7068@media (orientation: portrait) {
7069 html[onsflag-iphonex-portrait] .toast {
7070 bottom: 34px;
7071 }
7072}
7073@media (orientation: landscape) {
7074 html[onsflag-iphonex-landscape] .toast {
7075 left: 52px;
7076 right: 52px;
7077 bottom: 21px;
7078 }
7079}
7080/*
7081 Note:
7082
7083 :not(X) does not work if X is a complex selector like `.foo .bar` due to the spec of :not(X).
7084 Instead we have to use the following form for representing A:not(X A):not(Y A):not(Z A),
7085 which means `A which does not have any X, Y and Z as its ancestors`.
7086
7087 // Equivalent to A:not(X A):not(Y A):not(Z A) { foo: bar; }
7088 A {
7089 // Apply styles for A
7090 foo: bar;
7091 }
7092 X A,
7093 Y A,
7094 Z A {
7095 // Subtract `X A`, `Y A` and `Z A`
7096 // (Restore original styles of A)
7097 }
7098*/
7099/*
7100 Note:
7101
7102 @apply has been deprecated as of Oct, 2017.
7103 Please do not use @apply to restore original styles.
7104*/
7105/* Bars and page contents */
7106@media (orientation: portrait) {
7107 /* Outermost toolbar */
7108 html[onsflag-iphonex-portrait] .toolbar {
7109 top: 0;
7110 box-sizing: content-box;
7111 padding-top: 44px;
7112 }
7113 /* Non-outermost */
7114 html[onsflag-iphonex-portrait] .dialog .toolbar, /* if wrapped with dialogs */
7115 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .toolbar, /* if wrapped with a page with a toolbar */
7116 html[onsflag-iphonex-portrait] .tabbar--top__content .toolbar { /* if wrapped with a top tabbar */
7117 /* Restore original styles */
7118 top: 0;
7119 box-sizing: border-box;
7120 padding-top: 0;
7121 }
7122
7123 /* Outermost bottom-bar */
7124 html[onsflag-iphonex-portrait] .bottom-bar {
7125 bottom: 0;
7126 box-sizing: content-box;
7127 padding-bottom: 34px;
7128 }
7129 /* Non-outermost */
7130 html[onsflag-iphonex-portrait] .dialog .bottom-bar, /* if wrapped with dialogs */
7131 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content .bottom-bar, /* if wrapped with a page with a bottom-bar */
7132 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) .bottom-bar { /* if wrapped with a bottom tabbar */
7133 /* Restore original styles */
7134 bottom: 0;
7135 box-sizing: border-box;
7136 padding-bottom: 0;
7137 }
7138
7139 /* Outermost page__content without toolbars or bottom-bars */
7140 html[onsflag-iphonex-portrait] .page__content {
7141 top: 0;
7142 padding-top: 44px;
7143 bottom: 0;
7144 padding-bottom: 34px;
7145 }
7146 /* Non-outermost */
7147 html[onsflag-iphonex-portrait] .dialog .page__content, /* if wrapped with dialogs */
7148 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .page__content, /* if wrapped with a page with a toolbar */
7149 html[onsflag-iphonex-portrait] .tabbar--top__content .page__content, /* if wrapped with a top tabbar */
7150 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content { /* if the page has a toolbar */
7151 /* Restore original styles */
7152 top: 0;
7153 padding-top: 0;
7154 }
7155 html[onsflag-iphonex-portrait] .dialog .page__content, /* if wrapped with dialogs */
7156 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content .page__content, /* if wrapped with a page with a bottom-bar */
7157 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) .page__content, /* if wrapped with a bottom tabbar */
7158 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content { /* if the page has a bottom-bar */
7159 /* Restore original styles */
7160 bottom: 0;
7161 padding-bottom: 0;
7162 }
7163
7164 /* Outermost page__content with a toolbar */
7165 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background,
7166 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content {
7167 top: 88px;
7168 padding-top: 0;
7169 }
7170 /* Non-outermost */
7171 html[onsflag-iphonex-portrait] .dialog .toolbar:not(.toolbar--cover-content)+.page__background,
7172 html[onsflag-iphonex-portrait] .dialog .toolbar:not(.toolbar--cover-content)+.page__background+.page__content, /* if wrapped with dialogs */
7173
7174 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .toolbar:not(.toolbar--cover-content)+.page__background,
7175 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .toolbar:not(.toolbar--cover-content)+.page__background+.page__content, /* if wrapped with a page with a toolbar */
7176
7177 html[onsflag-iphonex-portrait] .tabbar--top__content .toolbar:not(.toolbar--cover-content)+.page__background,
7178 html[onsflag-iphonex-portrait] .tabbar--top__content .toolbar:not(.toolbar--cover-content)+.page__background+.page__content { /* if wrapped with a top tabbar */
7179 /* Restore original styles */
7180 top: 44px;
7181 padding-top: 0;
7182 }
7183
7184 /* Outermost page__content with a bottom-bar */
7185 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content {
7186 bottom: 78px;
7187 padding-bottom: 0;
7188 }
7189 /* Non-outermost */
7190 html[onsflag-iphonex-portrait] .dialog .page-with-bottom-toolbar > .page__content, /* if wrapped with dialogs */
7191 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content .page-with-bottom-toolbar > .page__content, /* if wrapped with a page with a bottom-bar */
7192 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) .page-with-bottom-toolbar > .page__content { /* if wrapped with a bottom tabbar */
7193 /* Restore original styles */
7194 bottom: 44px;
7195 padding-bottom: 0;
7196 }
7197
7198 /* Outermost page__content with a transparent cover-content toolbar and its direct descendant page_content */
7199 html[onsflag-iphonex-portrait] .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content,
7200 html[onsflag-iphonex-portrait] .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page_content {
7201 top: 0;
7202 padding-top: 88px;
7203 }
7204 /* Non-outermost */
7205 html[onsflag-iphonex-portrait] .dialog .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content, /* if wrapped with dialogs */
7206 html[onsflag-iphonex-portrait] .dialog .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page_content,
7207 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content, /* if wrapped with a page with a toolbar */
7208 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page__content,
7209 html[onsflag-iphonex-portrait] .tabbar--top__content .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content,
7210 html[onsflag-iphonex-portrait] .tabbar--top__content .toolbar.toolbar--transparent.toolbar--cover-content+.page__background+.page__content .page_content { /* if wrapped with a top tabbar */
7211 /* Restore original styles */
7212 top: 0;
7213 padding-top: 44px;
7214 }
7215
7216 /* Outermost top tabbar */
7217 html[onsflag-iphonex-portrait] .tabbar--top {
7218 padding-top: 44px;
7219 }
7220 /* Non-outermost */
7221 html[onsflag-iphonex-portrait] .dialog .tabbar--top, /* if wrapped with dialogs */
7222 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .tabbar--top, /* if wrapped with a page with a toolbar */
7223 html[onsflag-iphonex-portrait] .tabbar--top__content .tabbar--top { /* if wrapped with a top tabbar */
7224 /* Restore original styles */
7225 padding-top: 0;
7226 }
7227
7228 /* Outermost tabbar--top__content */
7229 html[onsflag-iphonex-portrait] .tabbar--top__content {
7230 top: 93px;
7231 }
7232 /* Non-outermost */
7233 html[onsflag-iphonex-portrait] .dialog .tabbar--top__content, /* if wrapped with dialogs */
7234 html[onsflag-iphonex-portrait] .toolbar:not(.toolbar--cover-content)+.page__background+.page__content .tabbar--top__content, /* if wrapped with a page with a toolbar */
7235 html[onsflag-iphonex-portrait] .tabbar--top__content .tabbar--top__content { /* if wrapped with a top tabbar */
7236 /* Restore original styles */
7237 top: 49px;
7238 }
7239
7240 /* Outermost bottom tabbar */
7241 html[onsflag-iphonex-portrait] .tabbar:not(.tabbar--top):not(.tabbar--top) {
7242 padding-bottom: 34px;
7243 }
7244 /* Non-outermost */
7245 html[onsflag-iphonex-portrait] .dialog .tabbar:not(.tabbar--top):not(.tabbar--top), /* if wrapped with dialogs */
7246 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content .tabbar:not(.tabbar--top), /* if wrapped with a page with a bottom-bar */
7247 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) .tabbar:not(.tabbar--top) { /* if wrapped with a bottom tabbar */
7248 /* Restore original styles */
7249 padding-bottom: 0;
7250 }
7251
7252 /* Outermost.tabbar__content:not(.tabbar--top__content) */
7253 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) {
7254 bottom: 83px;
7255 }
7256 /* Non-outermost */
7257 html[onsflag-iphonex-portrait] .dialog .tabbar__content:not(.tabbar--top__content), /* if wrapped with dialogs */
7258 html[onsflag-iphonex-portrait] .page-with-bottom-toolbar > .page__content .tabbar__content:not(.tabbar--top__content), /* if wrapped with a page with a bottom-bar */
7259 html[onsflag-iphonex-portrait] .tabbar__content:not(.tabbar--top__content) .tabbar__content:not(.tabbar--top__content) { /* if wrapped with a bottom tabbar */
7260 /* Restore original styles */
7261 bottom: 49px;
7262 }
7263}
7264@media (orientation: landscape) {
7265 /* Outermost bottom-bar */
7266 html[onsflag-iphonex-landscape] .bottom-bar {
7267 bottom: 0;
7268 box-sizing: content-box;
7269 padding-bottom: 21px;
7270 }
7271 /* Non-outermost */
7272 html[onsflag-iphonex-landscape] .dialog .bottom-bar, /* if wrapped with dialogs */
7273 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content .bottom-bar, /* if wrapped with a page with a bottom-bar */
7274 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) .bottom-bar { /* if wrapped with a bottom tabbar */
7275 /* Restore original styles */
7276 bottom: 0;
7277 box-sizing: border-box;
7278 padding-bottom: 0;
7279 }
7280
7281 /* Outermost page__content without bottom-bars */
7282 html[onsflag-iphonex-landscape] .page__content {
7283 bottom: 0;
7284 padding-bottom: 21px;
7285 }
7286 /* Non-outermost */
7287 html[onsflag-iphonex-landscape] .dialog .page__content, /* if wrapped with dialogs */
7288 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content .page__content, /* if wrapped with a page with a bottom-bar */
7289 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) .page__content, /* if wrapped with a bottom tabbar */
7290 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content { /* if the page has a bottom-bar */
7291 /* Restore original styles */
7292 bottom: 0;
7293 padding-bottom: 0;
7294 }
7295
7296 /* Outermost page__content with a bottom-bar */
7297 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content {
7298 bottom: 65px;
7299 padding-bottom: 0;
7300 }
7301 /* Non-outermost */
7302 html[onsflag-iphonex-landscape] .dialog .page-with-bottom-toolbar > .page__content, /* if wrapped with dialogs */
7303 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content .page-with-bottom-toolbar > .page__content, /* if wrapped with a page with a bottom-bar */
7304 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) .page-with-bottom-toolbar > .page__content { /* if wrapped with a bottom tabbar */
7305 /* Restore original styles */
7306 bottom: 44px;
7307 padding-bottom: 0;
7308 }
7309
7310 /* Outermost bottom tabbar */
7311 html[onsflag-iphonex-landscape] .tabbar:not(.tabbar--top) {
7312 padding-bottom: 21px;
7313 }
7314 /* Non-outermost */
7315 html[onsflag-iphonex-landscape] .dialog .tabbar:not(.tabbar--top), /* if wrapped with dialogs */
7316 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content .tabbar:not(.tabbar--top), /* if wrapped with a page with a bottom-bar */
7317 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) .tabbar:not(.tabbar--top) { /* if wrapped with a bottom tabbar */
7318 /* Restore original styles */
7319 padding-bottom: 0;
7320 }
7321
7322 /* Outermost.tabbar__content:not(.tabbar--top__content) */
7323 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) {
7324 bottom: 70px;
7325 }
7326 /* Non-outermost */
7327 html[onsflag-iphonex-landscape] .dialog .tabbar__content:not(.tabbar--top__content), /* if wrapped with dialogs */
7328 html[onsflag-iphonex-landscape] .page-with-bottom-toolbar > .page__content .tabbar__content:not(.tabbar--top__content), /* if wrapped with a page with a bottom-bar */
7329 html[onsflag-iphonex-landscape] .tabbar__content:not(.tabbar--top__content) .tabbar__content:not(.tabbar--top__content) { /* if wrapped with a bottom tabbar */
7330 /* Restore original styles */
7331 bottom: 49px;
7332 }
7333}
7334/* Lists in .page__content */
7335@media (orientation: landscape) {
7336 /* Only patching lists just under .page__content */
7337 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) {
7338 margin-left: -44px;
7339 margin-right: -44px;
7340 }
7341
7342 /* For left safe area */
7343 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-header {
7344 padding-left: 59px;
7345 }
7346 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-item {
7347 /* margin-left is not suitable for iPhone X patch. Using padding-left here. */
7348 padding-left: 58px;
7349 }
7350
7351 /* For right safe area */
7352 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-item--chevron:before {
7353 right: 60px;
7354 }
7355 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-item > .list-item__center:last-child {
7356 padding-right: 50px;
7357 }
7358 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-item > .list-item__right {
7359 padding-right: 56px;
7360 }
7361 html[onsflag-iphonex-landscape] .page__content > .list:not(.list--inset) > .list-item > .list-item--chevron__right {
7362 padding-right: 74px;
7363 }
7364}
7365/* Lists in .page__content in dialogs and modals */
7366@media (orientation: landscape) {
7367 /* Only patching lists just under .page__content */
7368 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) {
7369 margin-left: 0;
7370 margin-right: 0;
7371 }
7372
7373 /* For left safe area */
7374 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-header {
7375 padding-left: 15px;
7376 }
7377 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-item {
7378 padding-left: 14px;
7379 }
7380
7381 /* For right safe area */
7382 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-item--chevron:before {
7383 right: 16px;
7384 }
7385 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-item > .list-item__center:last-child {
7386 padding-right: 6px;
7387 }
7388 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-item > .list-item__right {
7389 padding-right: 12px;
7390 }
7391 html[onsflag-iphonex-landscape] .dialog .page__content > .list:not(.list--inset) > .list-item > .list-item--chevron__right {
7392 padding-right: 30px;
7393 }
7394}
7395/* non BEM */