2 -------------------------------------------------- */
5 position: static !important; /* Overrides the fixed positioning of body in Ratchet */
6 font-family: "proxima-nova", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, sans-serif;
11 -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
12 -webkit-text-size-adjust: 100%;
17 -------------------------------------------------- */
31 border-width: 1px 0 0;
41 text-rendering: optimizeLegibility;
45 /* Docs structural styles
46 -------------------------------------------------- */
56 /* Masthead (navigation)
57 -------------------------------------------------- */
66 background-color: #fff;
67 border-bottom: 1px solid #ddd;
68 box-shadow: 0 0 5px rgba(0,0,0,.1);
71 .docs-masthead .docs-inner-wrapper {
75 .docs-masthead-title {
78 text-transform: uppercase;
94 .nav-item:last-child {
101 text-decoration: none;
108 /* Give the components link a bit more room to fit the caret */
109 .nav-item.nav-components {
113 /* Give the components link a down caret */
114 .nav-components-link:after {
123 border-right: 4px solid transparent;
124 border-top: 4px solid #777;
125 border-left: 4px solid transparent;
128 /* The components list dropdown */
137 background-color: #fff;
138 background-clip: padding-box;
139 border: 1px solid rgba(0,0,0,.2);
141 box-shadow: 0 0 8px rgba(0,0,0,.05);
144 .components-list.active {
149 .components-list:before,
150 .components-list:after {
158 .components-list:before {
161 border-right: 11px solid transparent;
162 border-bottom: 11px solid rgba(0,0,0,.3);
163 border-left: 11px solid transparent;
166 .components-list:after {
169 border-right: 10px solid transparent;
170 border-bottom: 10px solid #fff;
171 border-left: 10px solid transparent;
174 .components-list li {
178 .components-list li:last-child {
182 .components-list li a {
188 .components-list li a:hover {
190 background-color: #1eb0e9;
194 -------------------------------------------------- */
199 background-color: #02122b;
200 background-image: url(../img/header-bg.jpg);
201 background-size: cover;
202 box-shadow: inset 0 0 10px rgba(0,0,0,.6);
213 text-shadow: 0 0 5px #000;
214 -webkit-animation: fadeintext 2s;
215 -moz-animation: fadeintext 2s;
218 .docs-header-subtitle {
226 display: inline-block;
231 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
232 text-decoration: none;
234 background-color: #f26629; /* Old browsers */
235 background-image: -moz-linear-gradient(top, #f95e0c 0%, #e53003 100%); /* FF3.6+ */
236 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f95e0c), color-stop(100%,#e53003)); /* Chrome,Safari4+ */
237 background-image: -webkit-linear-gradient(top, #f95e0c 0%,#e53003 100%); /* Chrome10+,Safari5.1+ */
238 background-image: -o-linear-gradient(top, #f95e0c 0%,#e53003 100%); /* Opera 11.10+ */
239 background-image: -ms-linear-gradient(top, #f95e0c 0%,#e53003 100%); /* IE10+ */
240 background-image: linear-gradient(to bottom, #f95e0c 0%,#e53003 100%); /* W3C */
242 box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 5px 5px rgba(0,0,0,.2);
247 background-color: #ff7234; /* Old browsers */
248 background-image: -moz-linear-gradient(top, #f95e0c 0%, #cd2a02 100%); /* FF3.6+ */
249 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f95e0c), color-stop(100%,#cd2a02)); /* Chrome,Safari4+ */
250 background-image: -webkit-linear-gradient(top, #f95e0c 0%,#cd2a02 100%); /* Chrome10+,Safari5.1+ */
251 background-image: -o-linear-gradient(top, #f95e0c 0%,#cd2a02 100%); /* Opera 11.10+ */
252 background-image: -ms-linear-gradient(top, #f95e0c 0%,#cd2a02 100%); /* IE10+ */
253 background-image: linear-gradient(to bottom, #f95e0c 0%,#cd2a02 100%); /* W3C */
257 padding: 19px 40px 17px;
258 background-color: #cd2a02;
259 background-image: none;
260 box-shadow: inset 0 0 5px rgba(0,0,0,.4);
263 /* Styles for the social media buttons */
270 background-color: rgba(0,0,0,.3);
271 -webkit-animation: fadeinsocial 2.5s;
272 -moz-animation: fadeinsocial 2.5s;
283 display: inline-block;
289 /* Overiding our framework button styles so our social buttons aren't messed up */
290 .twitter-follow-button,
291 .twitter-follow-button:hover,
292 .twitter-follow-button:active,
293 .twitter-share-button,
294 .twitter-share-button:hover,
295 .twitter-share-button:active {
305 -------------------------------------------------- */
313 font-family: "Helvetica Neue", sans-serif;
314 background-image: url("../img/iphone.png");
334 .iphone .iphone-content {
341 background-color: white;
345 .component-example .content {
353 .component-example .content {
357 /* Mad override to avoid it being styled like the block level link */
358 .component-example .list a[data-transition="slide-out"],
359 .iphone .list a[data-transition="slide-out"] {
367 -------------------------------------------------- */
375 -------------------------------------------------- */
378 padding-bottom: 30px;
380 border-bottom: 1px solid #ddd;
390 .section-description {
396 .section-informational {
397 border-top: 1px solid #ddd;
398 border-bottom: 1px solid #ddd;
399 background-color: #fafafa;
400 padding-bottom: 70px;
403 /* Getting started & page setup
404 -------------------------------------------------- */
428 .steps .step:last-child {
433 -------------------------------------------------- */
435 .section-components {
436 padding-bottom: 350px;
437 background-color: #fff;
445 font-family: "proxima-nova", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, sans-serif;
447 opacity: .3; /* Fade content back until the user scrolls to it. */
448 -webkit-transition: opacity .2s ease-in-out;
451 .component:last-child {
452 margin-bottom: 320px;
455 /* Active class applied when the specific component is in focus */
466 .component-description {
482 .component-title + .component-example {
486 .content-section .prettyprint,
487 .content-section .instruction-code {
492 font-family: monaco, menlo, monospace;
494 background-color: #fafafa;
495 border: 1px solid #ddd;
499 .prettyprint + .component-description,
500 .component-note + .component-description {
504 /* Content specific styles
505 -------------------------------------------------- */
507 /* Make the example bars stay put in the docs */
508 .iphone [class*="bar"] {
512 /* Component examples on mobile */
517 font-family: "Helvetica Neue", sans-serif;
521 .component-example-fullbleed {
527 .component-example [class*="bar"] {
531 .component-example .bar-header-secondary {
536 .component-example .list {
539 background-color: #fff;
542 .component-example .list li {
547 .component-example .list.inset {
551 .iphone .list .segmented-controller-item,
552 .component-example .list .segmented-controller-item {
553 border-bottom-width: 0;
561 /* Button examples */
562 #buttons [class*="button"],
563 #buttonsCounts [class*="button"],
564 #blockButtons [class*="button"] {
568 #buttons [class*="button"]:last-child,
569 #buttonsCounts [class*="button"]:last-child,
570 #blockButtons [class*="button"]:last-child {
574 #blockButtonsInPhone .button-block {
579 #push .component-example {
584 #push .component-example .list {
585 border-left: 1px solid rgba(0, 0, 0, .1);
586 border-right: 1px solid rgba(0, 0, 0, .1);
589 .iphone .btn-section .button {
594 .iphone .block-btn-section .block-button {
598 .iphone .block-btn-section .block-button:first-child {
603 #buttonsCountsInPhone {
607 #buttonsInPhone [class*="button"],
608 #buttonsCountsInPhone [class*="button"] {
612 #blockButtonsInPhone [class*="button"] {
616 /* Counts examples */
621 #countsInPhone [class*="count"] {
626 .component-example form [class*="button"] {
630 .component .input-group label {
631 padding: 9px 10px 9px 13px;
634 /* Toggle examples */
636 display: inline-block;
639 #togglesInPhone .toggle {
643 /* Popover examples */
644 .component-example .popover {
651 #popoversInPhone .popover {
653 display: block !important;
655 opacity: 1 !important;
658 /* Slider examples */
659 .component-example-fullbleed .slider,
660 .component-example-fullbleed .slider li,
661 .component-example-fullbleed .slider li img,
662 #slidersInPhone .slider,
663 #slidersInPhone .slider li,
664 #slidersInPhone .slider li img {
668 #slidersInPhone .slider {
674 .slider .slide-text {
683 text-shadow: 0 0 10px rgba(0,0,0,.5);
686 /* Give inset components in the iphone correct margin */
688 #segmentedControllersInPhone .segmented-controller,
690 #formsWithInputGroupInPhone form,
691 #formsWithInputGroupAndLabelsInPhone form {
700 -------------------------------------------------- */
703 padding-bottom: 100px;
706 background-color: #151515;
709 .docs-footer .docs-inner-wrapper {
747 .avatars li:last-child {
756 /* Banner for Mozilla and IE about component rendering poorly
757 ------------------------------------------------------------- */
766 background-color: #fff9c4; /* Old browsers */
767 background-image: -moz-linear-gradient(top, #fff9c4 0%, #fff38d 100%); /* FF3.6+ */
768 background-image: -ms-linear-gradient(top, #fff9c4 0%,#fff38d 100%); /* IE10+ */
769 background-image: linear-gradient(to bottom, #fff9c4 0%,#fff38d 100%); /* W3C */
770 box-shadow: inset 0 -1px 0 rgba(0,0,0,.1);
771 -moz-animation: shownotice 1s infinite;
775 -------------------------------------------------- */
777 @media only screen and (max-width: 1039px) {
778 .docs-inner-wrapper {
799 @media only screen and (min-width: 768px) and (max-width: 959px) {
801 .docs-inner-wrapper {
826 @media only screen and (max-width: 767px) {
835 .docs-inner-wrapper {
840 /* Have the masthead scroll away instead of being fixed */
846 .docs-masthead-title {
851 /* Hide the navigation on mobile. Scroll away! */
865 .docs-header-subtitle {
878 padding: 16px 0 14px;
886 padding-bottom: 15px;
889 .social li:last-child {
898 padding-bottom: 50px;
906 .section-description {
911 .section-components {
915 .section-informational {
916 padding-bottom: 70px;
925 .steps .step:last-child {
936 .notice-banner:after {
945 border-bottom: 1px solid #ddd;
948 .component:last-child {
956 /* Hacky way to get parent of slider position absolute for smooth sliding */
963 #sliders .prettyprint:not(.js) {
979 .avatars li:last-child {
988 /* Hide the iPhone on mobile */
994 @media only screen and (max-width: 320px) {
1001 -------------------------------------------------- */
1003 @-webkit-keyframes fadeintext {
1006 -webkit-transform: translateY(20px);
1010 -webkit-transform: translateY(20px);
1014 -webkit-transform: translateY(0);
1018 @-webkit-keyframes fadeinsocial {
1030 @-moz-keyframes fadeintext {
1033 -moz-transform: translateY(20px);
1037 -moz-transform: translateY(20px);
1041 -moz-transform: translateY(0);
1045 @-moz-keyframes fadeinsocial {
1057 @-moz-keyframes shownotice {
1070 /* Add Firefox support for CSS to docs since Ratchet framework doesn't natively support Mozilla
1071 -------------------------------------------------- */
1075 -moz-box-sizing: border-box;
1080 -moz-box-orient: horizontal;
1083 -moz-box-sizing: border-box;
1086 .bar-title [class*="button"] {
1089 .bar-title .segmented-controller {
1098 input[type="password"],
1099 input[type="datetime"],
1100 input[type="datetime-local"],
1102 input[type="month"],
1105 input[type="number"],
1106 input[type="email"],
1109 input[type="color"],
1111 -moz-box-sizing: border-box;
1116 -moz-box-sizing: border-box;
1124 /* segmented-controller.css*/
1125 .segmented-controller {
1127 -moz-box-orient: horizontal;
1129 .segmented-controller li {
1133 /* Get tab-bar to look 1/2way decent */