2 * ==================================
4 * Licensed under The MIT License
5 * http://opensource.org/licenses/MIT
6 * ==================================
10 -------------------------------------------------- */
18 /* Prevents iOS text size adjust after orientation change, without disabling (Thanks to @necolas) */
20 -webkit-text-size-adjust: 100%;
21 -ms-text-size-adjust: 100%;
25 -------------------------------------------------- */
33 font: 14px/1.25 "Helvetica Neue", sans-serif;
35 background-color: #fff;
38 /* Universal link styling */
41 text-decoration: none;
42 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Removes the dark touch outlines on links */
45 /* Wrapper to be used around all content not in .bar-title and .bar-tab */
54 -webkit-transition-property: top, bottom;
55 transition-property: top, bottom;
56 -webkit-transition-duration: .2s, .2s;
57 transition-duration: .2s, .2s;
58 -webkit-transition-timing-function: linear, linear;
59 transition-timing-function: linear, linear;
60 -webkit-overflow-scrolling: touch;
63 /* Hack to force all relatively and absolutely positioned elements still render while scrolling
64 Note: This is a bug for "-webkit-overflow-scrolling: touch" */
66 -webkit-transform: translateZ(0px);
67 transform: translateZ(0px);
70 /* Utility wrapper to pad in components like forms, block buttons and segmented-controllers so they're not full-bleed */
75 /* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
76 Note: For these to work, content must come after both bars in the markup */
77 .bar-title ~ .content {
83 .bar-header-secondary ~ .content {
85 }/* General bar styles
86 -------------------------------------------------- */
95 box-sizing: border-box;
98 /* Modifier class to dock any bar below .bar-title */
99 .bar-header-secondary {
103 /* Modifier class to dock any bar to bottom of viewport */
108 /* Generic bar for wrapping buttons, segmented controllers, etc. */
110 background-color: #f2f2f2;
111 background-image: -webkit-linear-gradient(top, #f2f2f2 0, #e5e5e5 100%);
112 background-image: linear-gradient(to bottom, #f2f2f2 0, #e5e5e5 100%);
113 border-bottom: 1px solid #aaa;
114 box-shadow: inset 0 1px 1px -1px #fff;
117 /* Flip border position to top for footer bars */
118 .bar-footer.bar-standard,
119 .bar-footer-secondary.bar-standard {
120 border-top: 1px solid #aaa;
121 border-bottom-width: 0;
125 -------------------------------------------------- */
127 /* Bar docked to top of viewport for showing page title and actions */
130 display: -webkit-box;
132 background-color: #1eb0e9;
133 background-image: -webkit-linear-gradient(top, #1eb0e9 0, #109adc 100%);
134 background-image: linear-gradient(to bottom, #1eb0e9 0, #109adc 100%);
135 border-bottom: 1px solid #0e5895;
136 box-shadow: inset 0 1px 1px -1px rgba(255, 255, 255, .8);
137 -webkit-box-orient: horizontal;
138 box-orient: horizontal;
141 /* Centered text in the .bar-title */
153 text-shadow: 0 -1px rgba(0, 0, 0, .5);
157 .bar-title > a:not([class*="button"]) {
163 /* Retain specified title color */
164 .bar-title .title a {
169 -------------------------------------------------- */
171 /* Bar docked to bottom used for primary app navigation */
176 background-color: #393939;
177 background-image: -webkit-linear-gradient(top, #393939 0, #2b2b2b 100%);
178 background-image: linear-gradient(to bottom, #393939 0, #2b2b2b 100%);
179 border-top: 1px solid #000;
180 border-bottom-width: 0;
181 box-shadow: inset 0 1px 1px -1px rgba(255, 255, 255, .6);
184 /* Wrapper for individual tab */
186 display: -webkit-box;
190 -webkit-box-orient: horizontal;
191 box-orient: horizontal;
194 /* Navigational tab */
199 box-sizing: border-box;
204 /* Active state for tab */
206 box-shadow: inset 0 0 20px rgba(0, 0, 0, .5);
222 text-shadow: 0 1px rgba(0, 0, 0, .3);
225 /* Buttons in title bars
226 -------------------------------------------------- */
228 /* Generic style for all buttons in .bar-title */
229 .bar-title [class*="button"] {
231 z-index: 10; /* Places buttons over full width title */
235 text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
236 background-color: #1eb0e9;
237 background-image: -webkit-linear-gradient(top, #1eb0e9 0, #0984c6 100%);
238 background-image: linear-gradient(to bottom, #1eb0e9 0, #0984c6 100%);
239 border: 1px solid #0e5895;
240 box-shadow: 0 1px rgba(255, 255, 255, .25);
246 /* Hacky way to right align buttons outside of flex-box system
247 Note: is only absolutely positioned button, would be better if flex-box had an "align right" option */
248 .bar-title .title + [class*="button"]:last-child,
249 .bar-title .button + [class*="button"]:last-child,
250 .bar-title [class*="button"].pull-right {
256 /* Override standard button active states */
257 .bar-title .button:active {
259 background-color: #0876b1;
262 /* Directional buttons in title bars (thanks to @GregorAdams for solution - http://cssnerd.com/2011/11/30/the-best-pure-css3-ios-style-arrow-back-button/)
263 -------------------------------------------------- */
265 /* Add relative positioning so :before content is positioned properly */
266 .bar-title .button-prev,
267 .bar-title .button-next {
271 /* Prev/next button base styles */
272 .bar-title .button-prev {
273 margin-left: 7px; /* Push over to make room for :before content */
275 border-bottom-left-radius: 10px 15px;
276 border-top-left-radius: 10px 15px;
278 .bar-title .button-next {
279 margin-right: 7px; /* Push over to make room for :before content */
281 border-top-right-radius: 10px 15px;
282 border-bottom-right-radius: 10px 15px;
285 /* Pointed part of directional button */
286 .bar-title .button-prev:before,
287 .bar-title .button-next:before {
292 border-radius: 30px 100px 2px 40px / 2px 40px 30px 100px;
294 box-shadow: inset 1px 0 #0e5895, inset 0 1px #0e5895;
295 -webkit-mask-image: -webkit-gradient(linear, left top, right bottom, from(#000), color-stop(.33, #000), color-stop(.5, transparent), to(transparent));
296 mask-image: gradient(linear, left top, right bottom, from(#000), color-stop(.33, #000), color-stop(.5, transparent), to(transparent));
298 .bar-title .button-prev:before {
300 background-image: -webkit-gradient(linear, left bottom, right top, from(#0984c6), to(#1eb0e9));
301 background-image: gradient(linear, left bottom, right top, from(#0984c6), to(#1eb0e9));
302 border-left: 1.5px solid rgba(255, 255, 255, .25);
303 -webkit-transform: rotate(-45deg) skew(-10deg, -10deg);
304 transform: rotate(-45deg) skew(-10deg, -10deg);
306 .bar-title .button-next:before {
308 background-image: -webkit-gradient(linear, left bottom, right top, from(#1eb0e9), to(#0984c6));
309 background-image: gradient(linear, left bottom, right top, from(#1eb0e9), to(#0984c6));
310 border-top: 1.5px solid rgba(255, 255, 255, .25);
311 -webkit-transform: rotate(135deg) skew(-10deg, -10deg);
312 transform: rotate(135deg) skew(-10deg, -10deg);
315 /* Active states for the directional buttons */
316 .bar-title .button-prev:active,
317 .bar-title .button-next:active,
318 .bar-title .button-prev:active:before,
319 .bar-title .button-next:active:before {
321 background-color: #0876b1;
322 background-image: none;
324 .bar-title .button-prev:active:before,
325 .bar-title .button-next:active:before {
328 .bar-title .button-prev:active:before {
329 box-shadow: inset 0 3px 3px rgba(0, 0, 0, .2);
331 .bar-title .button-next:active:before {
332 box-shadow: inset 0 -3px 3px rgba(0, 0, 0, .2);
335 /* Block buttons in any bar
336 -------------------------------------------------- */
338 /* Add proper padding and replace buttons normal dropshadow with a shine from bar */
339 [class*="bar"] .button-block {
342 box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 1px rgba(255, 255, 255, .8);
345 /* Override standard padding changes for .button-blocks */
346 [class*="bar"] .button-block:active {
350 /* Segmented controller in any bar
351 -------------------------------------------------- */
353 /* Remove standard segmented bottom margin */
354 [class*="bar-"] .segmented-controller {
358 /* Add margins between segmented controllers and buttons */
359 [class*="bar-"] .segmented-controller + [class*="button"],
360 [class*="bar-"] [class*="button"] + .segmented-controller {
364 /* Segmented controller in a title bar
365 -------------------------------------------------- */
367 .bar-title .segmented-controller {
369 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
370 background-color: #1eb0e9;
371 background-image: -webkit-linear-gradient(top, #1eb0e9 0, #0984c6 100%);
372 background-image: linear-gradient(to bottom, #1eb0e9 0, #0984c6 100%);
373 border: 1px solid #0e5895;
375 box-shadow: 0 1px rgba(255, 255, 255, .25);
380 /* Set color for tab border and highlight */
381 .bar-title .segmented-controller li {
382 border-left: 1px solid #0e5895;
383 box-shadow: inset 1px 0 rgba(255, 255, 255, .25);
386 /* Remove inset shadow from first tab or one to the right of the active tab */
387 .bar-title .segmented-controller .active + li,
388 .bar-title .segmented-controller li:first-child {
392 /* Remove left-hand border from first tab */
393 .bar-title .segmented-controller li:first-child {
394 border-left-width: 0;
397 /* Depressed state (active) */
398 .bar-title .segmented-controller li.active {
399 background-color: #0082c4;
400 box-shadow: inset 0 1px 6px rgba(0, 0, 0, .3);
403 /* Set color of links to white */
404 .bar-title .segmented-controller li > a {
409 /* Search forms in standard bar
410 -------------------------------------------------- */
412 /* Position/size search bar within the bar */
413 .bar-standard input[type=search] {
417 -------------------------------------------------- */
419 /* Remove usual bullet styles from list */
423 background-color: #fff;
426 /* Pad each list item and add dividers */
429 padding: 20px 60px 20px 10px; /* Given extra right padding to accomodate counts, chevrons or buttons */
430 border-bottom: 1px solid rgba(0, 0, 0, .1);
433 /* Give top border to first list items */
434 .list li:first-child {
435 border-top: 1px solid rgba(0, 0, 0, .1);
438 /* If a list of links, make sure the child <a> takes up full list item tap area (want to avoid selecting child buttons though) */
439 .list li > a:not([class*="button"]) {
443 margin: -20px -60px -20px -10px;
448 -------------------------------------------------- */
454 border: 1px solid rgba(0, 0, 0, .1);
456 box-sizing: border-box;
459 /* Remove border from first/last standard list items to avoid double border at top/bottom of lists */
460 .list.inset li:first-child {
463 .list.inset li:last-child {
464 border-bottom-width: 0;
469 -------------------------------------------------- */
471 .list .list-divider {
479 text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
480 background-color: #f8f8f8;
481 background-image: -webkit-linear-gradient(top, #f8f8f8 0, #eee 100%);
482 background-image: linear-gradient(to bottom, #f8f8f8 0, #eee 100%);
483 border-top: 1px solid rgba(0, 0, 0, .1);
484 border-bottom: 1px solid rgba(0, 0, 0, .1);
485 box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4);
488 /* Rounding first divider on inset lists and remove border on the top */
489 .list.inset .list-divider:first-child {
492 border-radius: 6px 6px 0 0;
495 /* Rounding last divider on inset lists */
496 .list.inset .list-divider:last-child {
497 border-radius: 0 0 6px 6px;
500 /* Right-aligned subcontent in lists (chevrons, buttons, counts and toggles)
501 -------------------------------------------------- */
503 .list [class*="button"],
504 .list [class*="count"],
511 /* Position chevrons/counts vertically centered on the right in list items */
513 .list [class*="count"] {
514 margin-top: -10px; /* Half height of chevron */
517 /* Push count over if there's a sibling chevron */
518 .list .chevron + [class*="count"] {
522 /* Position buttons vertically centered on the right in list items */
523 .list [class*="button"] {
525 margin-top: -14px; /* Half height of button */
529 margin-top: -15px; /* Half height of toggle */
531 -------------------------------------------------- */
533 /* Force form elements to inherit font styles */
538 font-family: inherit;
542 /* Stretch inputs/textareas to full width and add height to maintain a consistent baseline */
547 input[type="password"],
548 input[type="datetime"],
549 input[type="datetime-local"],
554 input[type="number"],
565 border: 1px solid rgba(0, 0, 0, .2);
567 box-shadow: 0 1px 1px rgba(255, 255, 255, .2), inset 0 1px 1px rgba(0, 0, 0, .1);
568 -webkit-appearance: none;
569 box-sizing: border-box;
572 /* Fully round search input */
579 /* Allow text area's height to grow larger than a normal input */
584 /* Style select button to look like part of the Ratchet's style */
588 background-color: #f8f8f8;
589 background-image: -webkit-linear-gradient(top, #f8f8f8 0%, #d4d4d4 100%);
590 background-image: linear-gradient(to bottom, #f8f8f8 0%, #d4d4d4 100%);
591 box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
595 /* Input groups (cluster multiple inputs together into a single group)
596 -------------------------------------------------- */
598 /* Reset from initial form setup styles */
605 /* Remove spacing, borders, shadows and rounding since it all belongs on the .input-group not the input */
608 background-color: transparent;
610 border-bottom: 1px solid rgba(0, 0, 0, .2);
615 /* Remove bottom border on last input to avoid double bottom border */
616 .input-group input:last-child {
617 border-bottom-width: 0;
620 /* Input groups with labels
621 -------------------------------------------------- */
623 /* To use labels with input groups, wrap a label and an input in an .input-row */
626 border-bottom: 1px solid rgba(0, 0, 0, .2);
629 /* Remove bottom border on last input-row to avoid double bottom border */
630 .input-row:last-child {
631 border-bottom-width: 0;
634 /* Labels get floated left with a set percentage width */
638 padding: 11px 10px 9px 13px; /* Optimizing the baseline for mobile. */
642 /* Actual inputs float to right of labels and also have a set percentage */
643 .input-row label + input {
649 }/* General button styles
650 -------------------------------------------------- */
654 display: inline-block;
661 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
664 background-color: #f8f8f8;
665 background-image: -webkit-linear-gradient(top, #f8f8f8 0, #d4d4d4 100%);
666 background-image: linear-gradient(to bottom, #f8f8f8 0, #d4d4d4 100%);
667 border: 1px solid rgba(0, 0, 0, .3);
669 box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .05);
673 [class*="button"]:active {
677 background-color: #ccc;
678 background-image: none;
679 box-shadow: inset 0 3px 3px rgba(0, 0, 0, .2);
683 -------------------------------------------------- */
685 /* Overriding styles for buttons with modifiers */
690 text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
695 background-color: #1eafe7;
696 background-image: -webkit-linear-gradient(top, #1eafe7 0, #1a97c8 100%);
697 background-image: linear-gradient(to bottom, #1eafe7 0, #1a97c8 100%);
698 border: 1px solid #117aaa;
701 /* Positive button */
703 background-color: #34ba15;
704 background-image: -webkit-linear-gradient(top, #34ba15 0, #2da012 100%);
705 background-image: linear-gradient(to bottom, #34ba15 0, #2da012 100%);
706 border: 1px solid #278f0f;
709 /* Negative button */
711 background-color: #e71e1e;
712 background-image: -webkit-linear-gradient(top, #e71e1e 0,#c71a1a 100%);
713 background-image: linear-gradient(to bottom, #e71e1e 0, #c71a1a 100%);
714 border: 1px solid #b51a1a;
717 /* Active state for buttons with modifiers */
719 .button-positive:active,
720 .button-negative:active {
723 .button-main:active {
724 background-color: #0876b1;
726 .button-positive:active {
727 background-color: #298f11;
729 .button-negative:active {
730 background-color: #b21a1a;
733 /* Block level buttons (full width buttons) */
736 padding: 11px 0 13px;
741 /* Active state for block level buttons */
742 .button-block:active {
747 -------------------------------------------------- */
749 /* Generic styles for all counts within buttons */
750 [class*="button"] [class*="count"] {
756 background-color: rgba(0, 0, 0, .2);
757 box-shadow: inset 0 1px 1px -1px #000000, 0 1px 1px -1px #fff;
760 /* Position counts within block level buttons
761 Note: These are absolutely positioned so that text of button isn't "pushed" by count and always
762 stays at true center of button */
763 .button-block [class*="count"] {
770 -------------------------------------------------- */
777 /* Base styles for both 1/2's of the chevron */
784 background-color: #999;
788 /* Position and rotate respective 1/2's of the chevron */
791 -webkit-transform: rotate(45deg);
792 transform: rotate(45deg);
796 -webkit-transform: rotate(-45deg);
797 transform: rotate(-45deg);
798 }/* General count styles
799 -------------------------------------------------- */
802 display: inline-block;
808 background-color: rgba(0, 0, 0, .3);
809 border-radius: 100px;
813 -------------------------------------------------- */
815 /* Overriding styles for counts with modifiers */
820 text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
825 background-color: #1eafe7;
826 background-image: -webkit-linear-gradient(top, #1eafe7 0, #1a97c8 100%);
827 background-image: linear-gradient(to bottom, #1eafe7 0, #1a97c8 100%);
832 background-color: #34ba15;
833 background-image: -webkit-linear-gradient(top, #34ba15 0, #2da012 100%);
834 background-image: linear-gradient(to bottom, #34ba15 0, #2da012 100%);
839 background-color: #e71e1e;
840 background-image: -webkit-linear-gradient(top, #e71e1e 0,#c71a1a 100%);
841 background-image: linear-gradient(to bottom, #e71e1e 0, #c71a1a 100%);
842 }/* Segmented controllers
843 -------------------------------------------------- */
845 .segmented-controller {
846 display: -webkit-box;
852 text-shadow: 0 1px rgba(255, 255, 255, .5);
854 background-color: #f8f8f8;
855 background-image: -webkit-linear-gradient(top, #f8f8f8 0, #d4d4d4 100%);
856 background-image: linear-gradient(to bottom, #f8f8f8 0, #d4d4d4 100%);
857 border: 1px solid #aaa;
859 box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 1px rgba(255, 255, 255, .8);
860 -webkit-box-orient: horizontal;
861 box-orient: horizontal;
864 /* Section within controller */
865 .segmented-controller li {
869 border-left: 1px solid #aaa;
870 box-shadow: inset 1px 0 rgba(255, 255, 255, .5);
875 /* Link that fills each section */
876 .segmented-controller li > a {
882 text-overflow: ellipsis;
885 /* Remove border-left and shadow from first section */
886 .segmented-controller li:first-child {
887 border-left-width: 0;
891 /* Active segment of controller */
892 .segmented-controller li.active {
893 background-color: #ccc;
894 box-shadow: inset 0 1px 5px rgba(0, 0, 0, .3);
897 .segmented-controller-item {
901 .segmented-controller-item.active {
903 }/* Popovers (to be used with popovers.js)
904 -------------------------------------------------- */
915 background-color: #555;
916 background-image: -webkit-linear-gradient(top, #555 5%, #555 6%, #111 30%);
917 background-image: linear-gradient(to bottom, #555 5%, #555 6%,#111 30%);
918 border: 1px solid #111;
921 box-shadow: inset 0 1px 1px -1px #fff, 0 3px 10px rgba(0, 0, 0, .3);
922 -webkit-transform: translate3d(0, -15px, 0);
923 transform: translate3d(0, -15px, 0);
924 -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
925 transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
928 /* Caret on top of popover using CSS triangles (thanks to @chriscoyier for solution) */
940 border-right: 21px solid transparent;
941 border-bottom: 21px solid #111;
942 border-left: 21px solid transparent;
947 border-right: 20px solid transparent;
948 border-bottom: 20px solid #555;
949 border-left: 20px solid transparent;
952 /* Wrapper for a title and buttons */
954 display: -webkit-box;
960 /* Centered title for popover */
961 .popover-header .title {
972 text-shadow: 0 -1px rgba(0, 0, 0, .5);
975 /* Generic style for all buttons in .popover-header */
976 .popover-header [class*="button"] {
981 text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
982 background-color: #454545;
983 background-image: -webkit-linear-gradient(top, #454545 0, #353535 100%);
984 background-image: linear-gradient(to bottom, #454545 0, #353535 100%);
985 border: 1px solid #111;
990 /* Hacky way to right align buttons outside of flex-box system
991 Note: is only absolutely positioned button, would be better if flex-box had an "align right" option */
992 .popover-header .title + [class*="button"]:last-child,
993 .popover-header .button + [class*="button"]:last-child,
994 .popover-header [class*="button"].pull-right {
1000 /* Active state for popover header buttons */
1001 .popover-header .button:active {
1003 background-color: #0876b1;
1006 /* Popover animation
1007 -------------------------------------------------- */
1011 -webkit-transform: translate3d(0, 0, 0);
1012 transform: translate3d(0, 0, 0);
1015 /* Backdrop (used as invisible touch escape)
1016 -------------------------------------------------- */
1027 /* Block level buttons in popovers
1028 -------------------------------------------------- */
1030 /* Positioning and giving darker border to look sharp against dark popover */
1031 .popover .button-block {
1033 border: 1px solid #111;
1036 /* Remove extra margin on bottom of last button */
1037 .popover .button-block:last-child {
1041 /* Lists in popovers
1042 -------------------------------------------------- */
1051 background-color: #fff;
1052 border: 1px solid #000;
1054 -webkit-overflow-scrolling: touch;
1055 }/* Slider styles (to be used with sliders.js)
1056 -------------------------------------------------- */
1058 /* Width/height of slider */
1065 /* Outer wrapper for slider */
1068 background-color: #000;
1071 /* Inner wrapper for slider (width of all slides together) */
1074 font-size: 0; /* Remove spaces from inline-block children */
1075 white-space: nowrap;
1076 -webkit-transition: all 0 linear;
1077 transition: all 0 linear;
1080 /* Individual slide */
1082 display: inline-block;
1083 vertical-align: top; /* Ensure that li always aligns to top */
1088 /* Required reset of font-size to same as standard body */
1089 .slider > ul > li > * {
1091 }/* Toggle styles (to be used with toggles.js)
1092 -------------------------------------------------- */
1098 background-color: #eee;
1099 border: 1px solid #bbb;
1100 border-radius: 20px;
1101 box-shadow: inset 0 0 4px rgba(0, 0, 0, .1);
1104 /* Text indicating "on" or "off". Default is "off" */
1111 text-shadow: 0 1px #fff;
1112 text-transform: uppercase;
1116 /* Sliding handle */
1124 background-color: #fff;
1125 background-image: -webkit-linear-gradient(top, #fff 0, #f2f2f2 100%);
1126 background-image: linear-gradient(to bottom, #fff 0, #f2f2f2 100%);
1127 border: 1px solid rgba(0, 0, 0, .2);
1128 border-radius: 100px;
1129 -webkit-transition: -webkit-transform 0.1s ease-in-out, border 0.1s ease-in-out;
1130 transition: transform 0.1s ease-in-out, border 0.1s ease-in-out;
1133 /* Active state for toggle */
1135 background-color: #19a8e4;
1136 background-image: -webkit-linear-gradient(top, #088cd4 0, #19a8e4 100%);
1137 background-image: linear-gradient(to bottom, #088cd4 0, #19a8e4 100%);
1138 border: 1px solid #096c9d;
1139 box-shadow: inset 0 0 15px rgba(255, 255, 255, .25);
1142 /* Active state for toggle handle */
1143 .toggle.active .toggle-handle {
1144 border-color: #0a76ad;
1145 -webkit-transform: translate3d(48px,0,0);
1146 transform: translate3d(48px,0,0);
1149 /* Change "off" to "on" for active state */
1150 .toggle.active:before {
1154 text-shadow: 0 -1px rgba(0, 0, 0, 0.25);
1156 }/* Push styles (to be used with push.js)
1157 -------------------------------------------------- */
1159 /* Fade animation */
1163 -webkit-transition: opacity .2s ease-in-out;
1164 transition: opacity .2s ease-in-out;
1170 /* Slide animation */
1172 -webkit-transform: translate3d(0, 0, 0);
1173 transform: translate3d(0, 0, 0);
1174 -webkit-transition: -webkit-transform .25s ease-in-out;
1175 transition: transform .25s ease-in-out;
1177 .content.slide.left {
1178 -webkit-transform: translate3d(-100%, 0, 0);
1179 transform: translate3d(-100%, 0, 0);
1181 .content.slide.right {
1182 -webkit-transform: translate3d(100%, 0, 0);
1183 transform: translate3d(100%, 0, 0);