| 
									
										
										
										
											2016-02-07 04:27:44 +08:00
										 |  |  | // scss-lint:disable QualifyingElement
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  | //
 | 
					
						
							|  |  |  | // Grid examples
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-23 16:30:55 +08:00
										 |  |  | .bd-example-row { | 
					
						
							| 
									
										
										
										
											2016-02-07 02:51:59 +08:00
										 |  |  |   .row + .row { | 
					
						
							|  |  |  |     margin-top: 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-23 16:30:55 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-07 02:51:59 +08:00
										 |  |  |   .row { | 
					
						
							| 
									
										
										
										
											2016-02-06 16:47:19 +08:00
										 |  |  |     > .col, | 
					
						
							| 
									
										
										
										
											2015-04-23 16:30:55 +08:00
										 |  |  |     > [class^="col-"] { | 
					
						
							|  |  |  |       padding-top: .75rem; | 
					
						
							|  |  |  |       padding-bottom: .75rem; | 
					
						
							|  |  |  |       background-color: rgba(86,61,124,.15); | 
					
						
							|  |  |  |       border: 1px solid rgba(86,61,124,.2); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-06 17:30:31 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-06 17:47:40 +08:00
										 |  |  |   .flex-items-xs-top, | 
					
						
							|  |  |  |   .flex-items-xs-middle, | 
					
						
							|  |  |  |   .flex-items-xs-bottom { | 
					
						
							| 
									
										
										
										
											2016-02-06 17:30:31 +08:00
										 |  |  |     min-height: 6rem; | 
					
						
							|  |  |  |     background-color: rgba(255,0,0,.1); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-row-flex-cols .row { | 
					
						
							|  |  |  |   min-height: 10rem; | 
					
						
							|  |  |  |   background-color: rgba(255,0,0,.1); | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-11 14:07:50 +08:00
										 |  |  | //
 | 
					
						
							|  |  |  | // Container illustrations
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-container { | 
					
						
							| 
									
										
										
										
											2015-08-11 14:18:45 +08:00
										 |  |  |   min-width: 16rem; | 
					
						
							|  |  |  |   max-width: 25rem; | 
					
						
							| 
									
										
										
										
											2015-08-11 14:07:50 +08:00
										 |  |  |   margin-right: auto; | 
					
						
							| 
									
										
										
										
											2016-01-04 10:10:34 +08:00
										 |  |  |   margin-left: auto; | 
					
						
							| 
									
										
										
										
											2015-08-11 14:07:50 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-container-header { | 
					
						
							|  |  |  |   height: 3rem; | 
					
						
							|  |  |  |   margin-bottom: .5rem; | 
					
						
							|  |  |  |   background-color: lighten($brand-primary, 50%); | 
					
						
							|  |  |  |   border-radius: .25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-container-sidebar { | 
					
						
							|  |  |  |   float: right; | 
					
						
							|  |  |  |   width: 4rem; | 
					
						
							|  |  |  |   height: 8rem; | 
					
						
							|  |  |  |   background-color: lighten($brand-warning, 25%); | 
					
						
							|  |  |  |   border-radius: .25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-container-body { | 
					
						
							|  |  |  |   height: 8rem; | 
					
						
							|  |  |  |   margin-right: 4.5rem; | 
					
						
							|  |  |  |   background-color: lighten($bd-purple, 25%); | 
					
						
							|  |  |  |   border-radius: .25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example-container-fluid { | 
					
						
							| 
									
										
										
										
											2015-08-11 14:18:45 +08:00
										 |  |  |   max-width: none; | 
					
						
							| 
									
										
										
										
											2015-08-11 14:07:50 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  | //
 | 
					
						
							|  |  |  | // Docs examples
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   padding: 1rem; | 
					
						
							|  |  |  |   margin: 1rem -1rem; | 
					
						
							|  |  |  |   border: solid #f7f7f9; | 
					
						
							|  |  |  |   border-width: .2rem 0 0; | 
					
						
							|  |  |  |   @include clearfix(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   @include media-breakpoint-up(sm) { | 
					
						
							| 
									
										
										
										
											2016-01-04 10:27:54 +08:00
										 |  |  |     padding: 1.5rem; | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |     margin-right: 0; | 
					
						
							| 
									
										
										
										
											2015-04-23 14:09:05 +08:00
										 |  |  |     margin-bottom: 0; | 
					
						
							| 
									
										
										
										
											2016-01-04 10:17:58 +08:00
										 |  |  |     margin-left: 0; | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |     border-width: .2rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-11 14:07:50 +08:00
										 |  |  |   + .highlight, | 
					
						
							| 
									
										
										
										
											2015-10-14 05:50:42 +08:00
										 |  |  |   + .clipboard + .highlight { | 
					
						
							| 
									
										
										
										
											2015-04-23 16:30:55 +08:00
										 |  |  |     margin-top: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   + p { | 
					
						
							|  |  |  |     margin-top: 2rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // Undo width of container
 | 
					
						
							|  |  |  |   .container { | 
					
						
							|  |  |  |     width: auto; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-18 14:44:17 +08:00
										 |  |  |   > .form-control { | 
					
						
							|  |  |  |     + .form-control { | 
					
						
							|  |  |  |       margin-top: .5rem; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   // Card examples should be horizontal
 | 
					
						
							| 
									
										
										
										
											2015-05-29 05:08:11 +08:00
										 |  |  |   > .card { | 
					
						
							|  |  |  |     max-width: 20rem; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |   > .nav + .nav, | 
					
						
							|  |  |  |   > .alert + .alert, | 
					
						
							| 
									
										
										
										
											2015-04-19 09:12:10 +08:00
										 |  |  |   > .navbar + .navbar, | 
					
						
							| 
									
										
										
										
											2015-04-26 22:17:45 +08:00
										 |  |  |   > .progress + .progress, | 
					
						
							|  |  |  |   > .progress + .btn { | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |     margin-top: 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   > .dropdown-menu:first-child { | 
					
						
							|  |  |  |     position: static; | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-09 17:12:58 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |   > .form-group:last-child { | 
					
						
							|  |  |  |     margin-bottom: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .bd-example > .close { | 
					
						
							|  |  |  |   float: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Typography
 | 
					
						
							|  |  |  | .bd-example-type .table .type-info { | 
					
						
							|  |  |  |   color: #999; | 
					
						
							|  |  |  |   vertical-align: middle; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-type .table td { | 
					
						
							|  |  |  |   padding: 1rem 0; | 
					
						
							|  |  |  |   border-color: #eee; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-type .table tr:first-child td { | 
					
						
							|  |  |  |   border-top: 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-type h1, | 
					
						
							|  |  |  | .bd-example-type h2, | 
					
						
							|  |  |  | .bd-example-type h3, | 
					
						
							|  |  |  | .bd-example-type h4, | 
					
						
							|  |  |  | .bd-example-type h5, | 
					
						
							|  |  |  | .bd-example-type h6 { | 
					
						
							|  |  |  |   margin: 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Contextual background colors
 | 
					
						
							|  |  |  | .bd-example-bg-classes p { | 
					
						
							|  |  |  |   padding: 1rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Images
 | 
					
						
							|  |  |  | .bd-example > img { | 
					
						
							|  |  |  |   + img { | 
					
						
							|  |  |  |     margin-left: .5rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Buttons
 | 
					
						
							|  |  |  | .bd-example > .btn-group { | 
					
						
							|  |  |  |   margin-top: .25rem; | 
					
						
							|  |  |  |   margin-bottom: .25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example > .btn-toolbar + .btn-toolbar { | 
					
						
							|  |  |  |   margin-top: .5rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Forms
 | 
					
						
							|  |  |  | .bd-example-control-sizing select, | 
					
						
							|  |  |  | .bd-example-control-sizing input[type="text"] + input[type="text"] { | 
					
						
							|  |  |  |   margin-top: .5rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-form .input-group { | 
					
						
							|  |  |  |   margin-bottom: .5rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example > textarea.form-control { | 
					
						
							|  |  |  |   resize: vertical; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // List groups
 | 
					
						
							|  |  |  | .bd-example > .list-group { | 
					
						
							|  |  |  |   max-width: 400px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Navbars
 | 
					
						
							| 
									
										
										
										
											2016-01-04 10:10:34 +08:00
										 |  |  | .bd-example { | 
					
						
							| 
									
										
										
										
											2015-08-18 16:18:21 +08:00
										 |  |  |   .navbar-fixed-top { | 
					
						
							|  |  |  |     position: static; | 
					
						
							|  |  |  |     margin: -1rem -1rem 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .navbar-fixed-bottom { | 
					
						
							|  |  |  |     position: static; | 
					
						
							|  |  |  |     margin: 1rem -1rem -1rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   @include media-breakpoint-up(sm) { | 
					
						
							|  |  |  |     .navbar-fixed-top { | 
					
						
							|  |  |  |       margin: -1.5rem -1.5rem 1rem; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     .navbar-fixed-bottom { | 
					
						
							|  |  |  |       margin: 1rem -1.5rem -1.5rem; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Pagination
 | 
					
						
							|  |  |  | .bd-example .pagination { | 
					
						
							|  |  |  |   margin-top: .5rem; | 
					
						
							|  |  |  |   margin-bottom: .5rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Example modals
 | 
					
						
							|  |  |  | .bd-example-modal { | 
					
						
							|  |  |  |   background-color: #f5f5f5; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-modal .modal { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   z-index: 1; | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-modal .modal-dialog { | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   margin-right: auto; | 
					
						
							|  |  |  |   margin-left: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Example dropdowns
 | 
					
						
							|  |  |  | .bd-example > .dropdown > .dropdown-toggle { | 
					
						
							|  |  |  |   float: left; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example > .dropdown > .dropdown-menu { | 
					
						
							|  |  |  |   position: static; | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   margin-bottom: .25rem; | 
					
						
							|  |  |  |   clear: left; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Example tabbable tabs
 | 
					
						
							|  |  |  | .bd-example-tabs .nav-tabs { | 
					
						
							|  |  |  |   margin-bottom: 1rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Tooltips
 | 
					
						
							|  |  |  | .bd-example-tooltips { | 
					
						
							|  |  |  |   text-align: center; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bd-example-tooltips > .btn { | 
					
						
							|  |  |  |   margin-top: .25rem; | 
					
						
							|  |  |  |   margin-bottom: .25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Popovers
 | 
					
						
							| 
									
										
										
										
											2015-10-24 14:16:33 +08:00
										 |  |  | .bd-example-popover-static { | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   padding-bottom: 1.5rem; | 
					
						
							|  |  |  |   background-color: #f9f9f9; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2015-10-24 14:16:33 +08:00
										 |  |  | .bd-example-popover-static .popover { | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   position: relative; | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   float: left; | 
					
						
							|  |  |  |   width: 260px; | 
					
						
							|  |  |  |   margin: 1.25rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Tooltips
 | 
					
						
							| 
									
										
										
										
											2015-11-24 16:15:17 +08:00
										 |  |  | .tooltip-demo a { | 
					
						
							|  |  |  |   white-space: nowrap; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-24 14:16:33 +08:00
										 |  |  | .bd-example-tooltip-static .tooltip { | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   position: relative; | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   margin: 10px 20px; | 
					
						
							|  |  |  |   opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Scrollspy demo on fixed height div
 | 
					
						
							|  |  |  | .scrollspy-example { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   height: 200px; | 
					
						
							|  |  |  |   margin-top: .5rem; | 
					
						
							|  |  |  |   overflow: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Helpers
 | 
					
						
							|  |  |  | .bd-example > { | 
					
						
							|  |  |  |   .bg-primary, | 
					
						
							|  |  |  |   .bg-success, | 
					
						
							|  |  |  |   .bg-info, | 
					
						
							|  |  |  |   .bg-warning, | 
					
						
							| 
									
										
										
										
											2015-08-26 21:01:34 +08:00
										 |  |  |   .bg-danger, | 
					
						
							|  |  |  |   .bg-inverse { | 
					
						
							| 
									
										
										
										
											2015-08-18 15:47:10 +08:00
										 |  |  |     &:not(.navbar) { | 
					
						
							|  |  |  |       padding: .5rem; | 
					
						
							|  |  |  |       margin-top: .5rem; | 
					
						
							|  |  |  |       margin-bottom: .5rem; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // Code snippets
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .highlight { | 
					
						
							|  |  |  |   padding: 1rem; | 
					
						
							| 
									
										
										
										
											2016-09-09 12:48:17 +08:00
										 |  |  |   margin: 1rem (-$grid-gutter-width-base / 2); | 
					
						
							| 
									
										
										
										
											2015-04-17 05:57:49 +08:00
										 |  |  |   background-color: #f7f7f9; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   @include media-breakpoint-up(sm) { | 
					
						
							|  |  |  |     padding: 1.5rem; | 
					
						
							|  |  |  |     margin-right: 0; | 
					
						
							|  |  |  |     margin-left: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .highlight pre { | 
					
						
							|  |  |  |   padding: 0; | 
					
						
							|  |  |  |   margin-top: 0; | 
					
						
							|  |  |  |   margin-bottom: 0; | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  |   border: 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .highlight pre code { | 
					
						
							|  |  |  |   font-size: inherit; | 
					
						
							|  |  |  |   color: $gray-dark; // Effectively the base text color
 | 
					
						
							|  |  |  | } |