2011-05-05 14:49:31 +08:00
|
|
|
/* Add additional stylesheets below
|
|
|
|
-------------------------------------------------- */
|
|
|
|
/*
|
2011-06-29 06:54:25 +08:00
|
|
|
Bootstrap's documentation styles
|
|
|
|
Special styles for presenting Bootstrap's documentation and examples
|
2011-05-05 14:49:31 +08:00
|
|
|
*/
|
2011-09-11 12:05:23 +08:00
|
|
|
|
2011-10-28 14:00:09 +08:00
|
|
|
|
2012-06-08 01:20:52 +08:00
|
|
|
|
2011-05-05 14:49:31 +08:00
|
|
|
/* Body and structure
|
|
|
|
-------------------------------------------------- */
|
2012-06-08 01:20:52 +08:00
|
|
|
|
2011-05-05 14:49:31 +08:00
|
|
|
body {
|
|
|
|
position: relative;
|
2012-06-08 12:48:03 +08:00
|
|
|
padding-top: 100px;
|
2012-06-05 14:57:48 +08:00
|
|
|
font-size: 14px;
|
2012-04-23 18:06:30 +08:00
|
|
|
background-color: #fff;
|
2012-06-05 14:58:51 +08:00
|
|
|
background-image: url(../img/grid-20px.png);
|
2011-10-17 09:45:11 +08:00
|
|
|
background-repeat: repeat-x;
|
2012-06-08 12:48:03 +08:00
|
|
|
background-position: 0 40px;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
|
2012-06-06 10:53:54 +08:00
|
|
|
/* Custom container for the narrow docs */
|
|
|
|
.bs-docs-container {
|
|
|
|
max-width: 780px;
|
2012-06-08 12:48:03 +08:00
|
|
|
margin: 0 auto;
|
2012-06-05 14:57:48 +08:00
|
|
|
}
|
|
|
|
|
2012-06-06 10:53:54 +08:00
|
|
|
/* Increase docs base type size and line-heights */
|
|
|
|
body {
|
2012-06-06 09:25:46 +08:00
|
|
|
line-height: 20px;
|
|
|
|
}
|
2012-06-06 10:53:54 +08:00
|
|
|
p {
|
|
|
|
margin-bottom: 15px;
|
2012-06-06 09:25:46 +08:00
|
|
|
}
|
2012-06-06 10:53:54 +08:00
|
|
|
li {
|
|
|
|
line-height: 25px;
|
2012-06-06 09:25:46 +08:00
|
|
|
}
|
|
|
|
|
2012-06-10 10:15:46 +08:00
|
|
|
/* Code in headings */
|
|
|
|
h3 code {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2012-06-06 10:53:54 +08:00
|
|
|
|
2012-06-08 01:20:52 +08:00
|
|
|
|
2012-06-08 13:10:36 +08:00
|
|
|
/* Tweak navbar brand link to be super sleek
|
|
|
|
-------------------------------------------------- */
|
|
|
|
|
|
|
|
.navbar,
|
|
|
|
.subnav {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2012-06-11 11:39:00 +08:00
|
|
|
body > .navbar-fixed-top .brand {
|
2012-06-08 13:10:36 +08:00
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
margin-left: 20px;
|
|
|
|
float: right;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #000;
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
|
|
|
|
-webkit-transition: all .2s linear;
|
|
|
|
-moz-transition: all .2s linear;
|
|
|
|
transition: all .2s linear;
|
|
|
|
}
|
2012-06-11 11:39:00 +08:00
|
|
|
body > .navbar-fixed-top .brand:hover {
|
2012-06-08 13:10:36 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* Sections
|
2011-10-27 14:24:22 +08:00
|
|
|
-------------------------------------------------- */
|
2012-06-08 01:20:52 +08:00
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* padding for in-page bookmarks and fixed navbar */
|
2012-01-14 02:07:56 +08:00
|
|
|
section {
|
|
|
|
padding-top: 60px;
|
|
|
|
}
|
2011-10-27 14:24:22 +08:00
|
|
|
|
2012-06-08 01:20:52 +08:00
|
|
|
/* Separators (hr) */
|
|
|
|
.bs-docs-separator {
|
|
|
|
margin: 40px 0 39px;
|
|
|
|
}
|
|
|
|
|
2012-01-27 02:00:09 +08:00
|
|
|
/* Faded out hr */
|
|
|
|
hr.soften {
|
|
|
|
height: 1px;
|
|
|
|
margin: 54px 0;
|
2012-01-29 08:21:55 +08:00
|
|
|
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
|
|
|
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
|
|
|
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
|
|
|
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
2012-01-27 02:00:09 +08:00
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2011-10-28 14:00:09 +08:00
|
|
|
|
2011-09-11 12:05:23 +08:00
|
|
|
/* Jumbotrons
|
|
|
|
-------------------------------------------------- */
|
2012-06-08 01:20:52 +08:00
|
|
|
|
|
|
|
/* Base class
|
|
|
|
------------------------- */
|
2011-09-11 12:05:23 +08:00
|
|
|
.jumbotron {
|
2011-10-17 09:01:05 +08:00
|
|
|
position: relative;
|
2012-06-08 13:10:36 +08:00
|
|
|
text-align: center;
|
2011-06-30 15:31:56 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.jumbotron h1 {
|
2012-06-06 09:25:46 +08:00
|
|
|
margin-bottom: 10px;
|
2012-06-05 15:46:16 +08:00
|
|
|
font-size: 80px;
|
2012-03-11 03:27:07 +08:00
|
|
|
font-weight: bold;
|
2011-10-17 09:01:05 +08:00
|
|
|
letter-spacing: -1px;
|
2011-10-17 10:12:33 +08:00
|
|
|
line-height: 1;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.jumbotron p {
|
2012-06-25 11:26:48 +08:00
|
|
|
font-size: 24px;
|
2011-10-17 10:12:33 +08:00
|
|
|
font-weight: 300;
|
2012-06-25 11:26:48 +08:00
|
|
|
line-height: 30px;
|
|
|
|
margin-bottom: 30px;
|
2011-09-11 12:05:23 +08:00
|
|
|
}
|
2012-01-31 13:15:57 +08:00
|
|
|
.jumbotron .btn-large {
|
2012-06-08 01:20:52 +08:00
|
|
|
font-size: 18px;
|
2012-01-27 02:00:09 +08:00
|
|
|
font-weight: normal;
|
2012-06-08 01:20:52 +08:00
|
|
|
padding: 13px 24px;
|
2012-01-27 02:00:09 +08:00
|
|
|
margin-right: 10px;
|
2011-10-17 09:01:05 +08:00
|
|
|
-webkit-border-radius: 6px;
|
|
|
|
-moz-border-radius: 6px;
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
2012-02-25 13:02:24 +08:00
|
|
|
.jumbotron .btn-large small {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2011-10-17 09:45:11 +08:00
|
|
|
|
2012-06-08 01:20:52 +08:00
|
|
|
/* Masthead (docs home)
|
|
|
|
------------------------- */
|
2012-01-27 02:00:09 +08:00
|
|
|
.masthead {
|
2012-06-08 13:10:36 +08:00
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 80px;
|
2012-01-27 02:00:09 +08:00
|
|
|
}
|
|
|
|
.masthead p {
|
2012-06-25 11:26:48 +08:00
|
|
|
margin-bottom: 20px;
|
2012-01-27 03:40:29 +08:00
|
|
|
font-size: 30px;
|
2012-06-08 01:20:52 +08:00
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* Subhead (other pages)
|
|
|
|
------------------------- */
|
|
|
|
.subhead {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.subhead h1 {
|
|
|
|
font-size: 60px;
|
|
|
|
}
|
|
|
|
|
2012-06-08 01:20:52 +08:00
|
|
|
/* Quick links
|
|
|
|
------------------------- */
|
|
|
|
.bs-links {
|
|
|
|
margin: 40px 0 0;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
.quick-links {
|
|
|
|
min-height: 30px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.quick-links:first-child {
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
.quick-links li {
|
|
|
|
display: inline;
|
|
|
|
margin: 0 8px;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.quick-links .github-btn,
|
|
|
|
.quick-links .tweet-btn,
|
|
|
|
.quick-links .follow-btn {
|
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
2012-01-27 02:00:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-10-28 14:00:09 +08:00
|
|
|
/* Marketing section of Overview
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.marketing .row {
|
2012-01-09 05:21:44 +08:00
|
|
|
margin-bottom: 9px;
|
2011-10-28 14:00:09 +08:00
|
|
|
}
|
|
|
|
.marketing h1 {
|
2012-06-25 11:26:48 +08:00
|
|
|
margin: 40px 0 10px;
|
2012-01-25 06:25:30 +08:00
|
|
|
font-size: 40px;
|
2011-12-10 06:34:38 +08:00
|
|
|
font-weight: 300;
|
2012-06-08 13:10:36 +08:00
|
|
|
text-align: center;
|
2011-10-28 14:00:09 +08:00
|
|
|
}
|
|
|
|
.marketing h2,
|
|
|
|
.marketing h3 {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
.marketing p {
|
2012-06-25 11:26:48 +08:00
|
|
|
margin: 5px 10px 15px 0;
|
2011-10-28 14:00:09 +08:00
|
|
|
}
|
2012-01-26 05:56:44 +08:00
|
|
|
.marketing .bs-icon {
|
2011-10-28 14:00:09 +08:00
|
|
|
float: left;
|
|
|
|
margin: 7px 10px 0 0;
|
2011-10-31 11:14:27 +08:00
|
|
|
opacity: .8;
|
2011-10-28 14:00:09 +08:00
|
|
|
}
|
2012-01-26 05:56:44 +08:00
|
|
|
.marketing .small-bs-icon {
|
2011-10-28 14:34:48 +08:00
|
|
|
float: left;
|
|
|
|
margin: 4px 5px 0 0;
|
|
|
|
}
|
2012-06-25 11:26:48 +08:00
|
|
|
.marketing .marketing-byline {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
font-size: 20px;
|
2012-06-06 15:48:31 +08:00
|
|
|
font-weight: 300;
|
2012-06-25 11:26:48 +08:00
|
|
|
line-height: 25px;
|
2012-06-06 15:48:31 +08:00
|
|
|
color: #999;
|
2012-06-08 13:10:36 +08:00
|
|
|
text-align: center;
|
2012-06-06 15:48:31 +08:00
|
|
|
}
|
2011-10-28 14:00:09 +08:00
|
|
|
|
2012-01-07 15:59:22 +08:00
|
|
|
|
2011-09-11 12:05:23 +08:00
|
|
|
/* Footer
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.footer {
|
2012-06-25 11:26:48 +08:00
|
|
|
padding: 40px 0;
|
|
|
|
margin-top: 49px;
|
2011-09-11 12:05:23 +08:00
|
|
|
border-top: 1px solid #e5e5e5;
|
2011-10-16 18:00:58 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.footer p {
|
2012-06-06 15:48:31 +08:00
|
|
|
margin-bottom: 0;
|
2012-06-25 11:26:48 +08:00
|
|
|
color: #777;
|
2011-09-11 12:05:23 +08:00
|
|
|
}
|
2012-01-06 07:43:07 +08:00
|
|
|
|
2011-09-11 12:05:23 +08:00
|
|
|
|
2011-06-30 08:10:53 +08:00
|
|
|
|
2011-05-05 14:49:31 +08:00
|
|
|
/* Special grid styles
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.show-grid {
|
2011-08-21 09:58:12 +08:00
|
|
|
margin-top: 10px;
|
2011-10-17 14:04:31 +08:00
|
|
|
margin-bottom: 20px;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-09 01:36:56 +08:00
|
|
|
.show-grid [class*="span"] {
|
2011-10-17 14:04:31 +08:00
|
|
|
background-color: #eee;
|
2011-05-05 14:49:31 +08:00
|
|
|
text-align: center;
|
2011-08-20 16:11:48 +08:00
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
2012-06-06 10:53:54 +08:00
|
|
|
min-height: 40px;
|
|
|
|
line-height: 40px;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-09 01:36:56 +08:00
|
|
|
.show-grid:hover [class*="span"] {
|
2011-09-16 13:27:41 +08:00
|
|
|
background: #ddd;
|
2011-09-10 01:04:07 +08:00
|
|
|
}
|
|
|
|
.show-grid .show-grid {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-17 01:51:44 +08:00
|
|
|
.show-grid .show-grid [class*="span"] {
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
|
|
|
|
|
2011-05-05 14:49:31 +08:00
|
|
|
/* Render mini layout previews
|
|
|
|
-------------------------------------------------- */
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout {
|
2011-09-07 12:54:00 +08:00
|
|
|
border: 1px solid #ddd;
|
2011-08-20 16:11:48 +08:00
|
|
|
-webkit-border-radius: 6px;
|
|
|
|
-moz-border-radius: 6px;
|
|
|
|
border-radius: 6px;
|
2011-09-07 12:54:00 +08:00
|
|
|
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
|
|
|
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
|
|
|
box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2012-06-09 07:35:04 +08:00
|
|
|
.mini-layout,
|
|
|
|
.mini-layout .mini-layout-body,
|
|
|
|
.mini-layout.fluid .mini-layout-sidebar {
|
|
|
|
height: 300px;
|
|
|
|
}
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 9px;
|
|
|
|
}
|
|
|
|
.mini-layout div {
|
2011-08-20 16:11:48 +08:00
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout .mini-layout-body {
|
2011-08-20 16:11:48 +08:00
|
|
|
background-color: #dceaf4;
|
2011-05-05 14:49:31 +08:00
|
|
|
margin: 0 auto;
|
2011-10-17 02:35:24 +08:00
|
|
|
width: 70%;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout.fluid .mini-layout-sidebar,
|
|
|
|
.mini-layout.fluid .mini-layout-header,
|
|
|
|
.mini-layout.fluid .mini-layout-body {
|
2011-05-05 14:49:31 +08:00
|
|
|
float: left;
|
|
|
|
}
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout.fluid .mini-layout-sidebar {
|
2011-08-20 16:11:48 +08:00
|
|
|
background-color: #bbd8e9;
|
2011-10-17 02:35:24 +08:00
|
|
|
width: 20%;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-05 05:02:56 +08:00
|
|
|
.mini-layout.fluid .mini-layout-body {
|
2012-01-31 15:10:29 +08:00
|
|
|
width: 77.5%;
|
|
|
|
margin-left: 2.5%;
|
2011-05-05 14:49:31 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
|
|
|
|
|
2011-07-02 14:10:39 +08:00
|
|
|
/* Popover docs
|
|
|
|
-------------------------------------------------- */
|
2011-09-11 12:05:23 +08:00
|
|
|
.popover-well {
|
2011-07-02 14:10:39 +08:00
|
|
|
min-height: 160px;
|
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.popover-well .popover {
|
2011-07-02 14:10:39 +08:00
|
|
|
display: block;
|
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.popover-well .popover-wrapper {
|
2011-07-02 14:10:39 +08:00
|
|
|
width: 50%;
|
|
|
|
height: 160px;
|
|
|
|
float: left;
|
2011-07-29 08:50:38 +08:00
|
|
|
margin-left: 55px;
|
2011-08-20 16:11:48 +08:00
|
|
|
position: relative;
|
2011-07-02 14:10:39 +08:00
|
|
|
}
|
2011-09-11 12:05:23 +08:00
|
|
|
.popover-well .popover-menu-wrapper {
|
2011-07-02 14:10:39 +08:00
|
|
|
height: 80px;
|
2011-07-29 08:50:38 +08:00
|
|
|
}
|
2012-01-16 03:26:06 +08:00
|
|
|
.large-bird {
|
2011-07-29 08:50:38 +08:00
|
|
|
margin: 5px 0 0 310px;
|
2011-08-20 16:11:48 +08:00
|
|
|
opacity: .1;
|
2011-08-22 12:26:15 +08:00
|
|
|
}
|
|
|
|
|
2011-09-29 16:40:27 +08:00
|
|
|
|
2012-01-25 17:22:29 +08:00
|
|
|
/* Download page
|
2012-01-25 15:35:34 +08:00
|
|
|
-------------------------------------------------- */
|
2012-01-25 17:22:29 +08:00
|
|
|
.download .page-header {
|
|
|
|
margin-top: 36px;
|
2012-01-25 15:35:34 +08:00
|
|
|
}
|
2012-01-25 17:22:29 +08:00
|
|
|
.page-header .toggle-all {
|
2012-01-28 05:20:02 +08:00
|
|
|
margin-top: 5px;
|
2012-01-25 15:35:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Space out h3s when following a section */
|
2012-01-25 17:22:29 +08:00
|
|
|
.download h3 {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.download-builder input + h3,
|
|
|
|
.download-builder .checkbox + h3 {
|
2012-01-25 15:35:34 +08:00
|
|
|
margin-top: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fields for variables */
|
2012-01-25 17:22:29 +08:00
|
|
|
.download-builder input[type=text] {
|
2012-01-25 15:35:34 +08:00
|
|
|
margin-bottom: 9px;
|
|
|
|
font-family: Menlo, Monaco, "Courier New", monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #d14;
|
|
|
|
}
|
2012-01-25 17:22:29 +08:00
|
|
|
.download-builder input[type=text]:focus {
|
2012-01-25 15:35:34 +08:00
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2012-01-25 17:22:29 +08:00
|
|
|
/* Custom, larger checkbox labels */
|
|
|
|
.download .checkbox {
|
|
|
|
padding: 6px 10px 6px 25px;
|
|
|
|
color: #555;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.download .checkbox:hover {
|
|
|
|
color: #333;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
|
|
|
.download .checkbox small {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #777;
|
|
|
|
}
|
2012-01-25 15:35:34 +08:00
|
|
|
|
2012-01-28 05:20:02 +08:00
|
|
|
/* Variables section */
|
|
|
|
#variables label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2012-01-25 17:22:29 +08:00
|
|
|
/* Giant download button */
|
|
|
|
.download-btn {
|
2012-01-31 13:15:57 +08:00
|
|
|
margin: 36px 0 108px;
|
2012-01-26 05:33:55 +08:00
|
|
|
}
|
2012-02-18 13:18:08 +08:00
|
|
|
#download p,
|
|
|
|
#download h4 {
|
2012-01-26 05:33:55 +08:00
|
|
|
max-width: 50%;
|
2012-01-28 05:20:02 +08:00
|
|
|
margin: 0 auto;
|
2012-01-26 05:33:55 +08:00
|
|
|
color: #999;
|
2012-01-25 17:22:29 +08:00
|
|
|
text-align: center;
|
2012-01-26 05:33:55 +08:00
|
|
|
}
|
2012-02-18 13:18:08 +08:00
|
|
|
#download h4 {
|
2012-01-26 05:33:55 +08:00
|
|
|
margin-bottom: 0;
|
2012-01-25 15:35:34 +08:00
|
|
|
}
|
2012-02-18 13:18:08 +08:00
|
|
|
#download p {
|
2012-01-28 05:20:02 +08:00
|
|
|
margin-bottom: 18px;
|
|
|
|
}
|
2012-01-31 13:15:57 +08:00
|
|
|
.download-btn .btn {
|
2012-01-26 05:33:55 +08:00
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
padding: 19px 24px;
|
|
|
|
margin-bottom: 27px;
|
2012-01-25 17:22:29 +08:00
|
|
|
font-size: 30px;
|
2012-01-27 08:45:01 +08:00
|
|
|
line-height: 1;
|
2012-01-25 17:22:29 +08:00
|
|
|
text-align: center;
|
|
|
|
-webkit-border-radius: 6px;
|
|
|
|
-moz-border-radius: 6px;
|
|
|
|
border-radius: 6px;
|
2012-01-25 15:35:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-29 15:58:39 +08:00
|
|
|
/* Color swatches on LESS docs page
|
|
|
|
-------------------------------------------------- */
|
|
|
|
/* Sets the width of the td */
|
|
|
|
.swatch-col {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
/* Le swatch */
|
|
|
|
.swatch {
|
|
|
|
display: inline-block;
|
|
|
|
width: 30px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -6px 0;
|
|
|
|
-webkit-border-radius: 3px;
|
|
|
|
-moz-border-radius: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
/* For white swatches, give a border */
|
|
|
|
.swatch-bordered {
|
|
|
|
width: 28px;
|
|
|
|
height: 18px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-10-27 14:24:22 +08:00
|
|
|
/* Misc
|
2011-08-22 12:26:15 +08:00
|
|
|
-------------------------------------------------- */
|
2011-10-27 14:24:22 +08:00
|
|
|
|
2011-10-18 05:17:29 +08:00
|
|
|
/* Make tables spaced out a bit more */
|
2012-01-07 19:45:24 +08:00
|
|
|
h2 + table,
|
2012-01-25 09:14:19 +08:00
|
|
|
h3 + table,
|
|
|
|
h4 + table,
|
2012-01-07 19:45:24 +08:00
|
|
|
h2 + .row {
|
2011-10-18 14:45:35 +08:00
|
|
|
margin-top: 5px;
|
2011-10-18 05:17:29 +08:00
|
|
|
}
|
|
|
|
|
2011-12-10 06:34:38 +08:00
|
|
|
/* Example sites showcase */
|
2012-06-08 13:10:36 +08:00
|
|
|
.example-sites {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2011-12-10 06:34:38 +08:00
|
|
|
.example-sites img {
|
2012-01-25 11:19:50 +08:00
|
|
|
max-width: 100%;
|
2012-01-29 10:11:31 +08:00
|
|
|
margin: 0 auto;
|
2011-12-10 06:34:38 +08:00
|
|
|
}
|
|
|
|
|
2011-12-15 10:45:33 +08:00
|
|
|
.scrollspy-example {
|
|
|
|
height: 200px;
|
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-01-06 13:43:28 +08:00
|
|
|
/* Remove bottom margin on example forms in wells */
|
|
|
|
form.well {
|
2012-01-25 11:43:52 +08:00
|
|
|
padding: 14px;
|
2012-01-06 13:43:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Tighten up spacing */
|
|
|
|
.well hr {
|
|
|
|
margin: 18px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fake the :focus state to demo it */
|
|
|
|
.focused {
|
|
|
|
border-color: rgba(82,168,236,.8);
|
|
|
|
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
|
|
|
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
|
|
|
box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2012-01-07 16:47:53 +08:00
|
|
|
/* For input sizes, make them display block */
|
2012-01-30 16:39:44 +08:00
|
|
|
.docs-input-sizes select,
|
2012-01-07 16:47:53 +08:00
|
|
|
.docs-input-sizes input[type=text] {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
2012-01-06 13:43:28 +08:00
|
|
|
|
2012-01-05 17:34:14 +08:00
|
|
|
/* Icons
|
|
|
|
------------------------- */
|
2012-01-26 01:51:03 +08:00
|
|
|
.the-icons {
|
2012-02-12 14:34:41 +08:00
|
|
|
margin-left: 0;
|
|
|
|
list-style: none;
|
2012-01-26 01:51:03 +08:00
|
|
|
}
|
2012-01-31 15:24:35 +08:00
|
|
|
.the-icons i:hover {
|
2012-01-05 17:34:14 +08:00
|
|
|
background-color: rgba(255,0,0,.25);
|
|
|
|
}
|
2012-01-12 13:42:55 +08:00
|
|
|
|
2012-02-01 06:29:44 +08:00
|
|
|
/* Eaxmples page
|
|
|
|
------------------------- */
|
2012-06-12 13:33:16 +08:00
|
|
|
.bootstrap-examples p {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-02-01 06:29:44 +08:00
|
|
|
.bootstrap-examples .thumbnail {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
|
2012-06-05 11:57:58 +08:00
|
|
|
/* Docs examples
|
|
|
|
------------------------- */
|
|
|
|
.bs-docs-example {
|
|
|
|
position: relative;
|
|
|
|
margin: 15px 0;
|
|
|
|
padding: 39px 19px 14px;
|
|
|
|
background-color: #fff;
|
2012-06-05 12:08:31 +08:00
|
|
|
border: 1px solid #ddd;
|
2012-06-05 11:57:58 +08:00
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.bs-docs-example:after {
|
|
|
|
content: "Example";
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
padding: 3px 7px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
background-color: #f5f5f5;
|
2012-06-05 12:08:31 +08:00
|
|
|
border: 1px solid #ddd;
|
2012-06-05 11:57:58 +08:00
|
|
|
color: #9da0a4;
|
|
|
|
-webkit-border-radius: 4px 0 4px 0;
|
|
|
|
-moz-border-radius: 4px 0 4px 0;
|
|
|
|
border-radius: 4px 0 4px 0;
|
|
|
|
}
|
|
|
|
.bs-docs-example + .prettyprint {
|
|
|
|
margin-top: -20px;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
.bs-docs-example,
|
|
|
|
.bs-docs-example > p {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-06-06 10:53:54 +08:00
|
|
|
.bs-docs-example p {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
2012-06-05 11:57:58 +08:00
|
|
|
.bs-docs-example p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2012-06-11 06:12:02 +08:00
|
|
|
.bs-docs-example .table,
|
|
|
|
.bs-docs-example .progress,
|
|
|
|
.bs-docs-example .well,
|
2012-06-11 06:14:21 +08:00
|
|
|
.bs-docs-example .alert,
|
2012-06-11 07:46:46 +08:00
|
|
|
.bs-docs-example .hero-unit,
|
2012-06-11 11:39:00 +08:00
|
|
|
.bs-docs-example .pagination,
|
2012-06-11 12:24:13 +08:00
|
|
|
.bs-docs-example .navbar,
|
2012-06-12 12:48:41 +08:00
|
|
|
.bs-docs-example > .nav,
|
2012-06-12 11:20:51 +08:00
|
|
|
.bs-docs-example blockquote {
|
2012-06-08 01:20:52 +08:00
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2012-06-11 07:46:46 +08:00
|
|
|
.bs-docs-example .pagination {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2012-06-11 11:39:00 +08:00
|
|
|
.bs-navbar-top-example,
|
|
|
|
.bs-navbar-bottom-example {
|
|
|
|
z-index: 1;
|
|
|
|
padding: 0;
|
|
|
|
height: 90px;
|
|
|
|
}
|
|
|
|
.bs-navbar-top-example {
|
|
|
|
-webkit-border-radius: 0 0 4px 4px;
|
|
|
|
-moz-border-radius: 0 0 4px 4px;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
.bs-navbar-top-example:after {
|
|
|
|
top: auto;
|
|
|
|
bottom: -1px;
|
|
|
|
-webkit-border-radius: 0 4px 0 4px;
|
|
|
|
-moz-border-radius: 0 4px 0 4px;
|
|
|
|
border-radius: 0 4px 0 4px;
|
|
|
|
}
|
|
|
|
.bs-navbar-bottom-example {
|
|
|
|
-webkit-border-radius: 4px 4px 0 0;
|
|
|
|
-moz-border-radius: 4px 4px 0 0;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
.bs-navbar-bottom-example .navbar {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2012-06-08 01:20:52 +08:00
|
|
|
form.bs-docs-example {
|
|
|
|
padding-bottom: 19px;
|
|
|
|
}
|
2012-06-05 11:57:58 +08:00
|
|
|
.bs-docs-example .lead {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
2012-06-06 10:53:54 +08:00
|
|
|
.bs-docs-example li {
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
2012-06-05 11:57:58 +08:00
|
|
|
|
2012-02-22 00:24:18 +08:00
|
|
|
/* Responsive table
|
|
|
|
------------------------- */
|
|
|
|
.responsive-utilities th small {
|
|
|
|
display: block;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.responsive-utilities tbody th {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.responsive-utilities td {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.responsive-utilities td.is-visible {
|
|
|
|
color: #468847;
|
|
|
|
background-color: #dff0d8 !important;
|
|
|
|
}
|
|
|
|
.responsive-utilities td.is-hidden {
|
|
|
|
color: #ccc;
|
|
|
|
background-color: #f9f9f9 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive tests
|
|
|
|
------------------------- */
|
|
|
|
.responsive-utilities-test {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 0;
|
|
|
|
list-style: none;
|
|
|
|
overflow: hidden; /* clear floats */
|
|
|
|
}
|
|
|
|
.responsive-utilities-test li {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
width: 25%;
|
|
|
|
height: 43px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 43px;
|
|
|
|
color: #999;
|
|
|
|
text-align: center;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.responsive-utilities-test li + li {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.responsive-utilities-test span {
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
right: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.responsive-utilities-test span {
|
|
|
|
color: #468847;
|
|
|
|
background-color: #dff0d8;
|
|
|
|
border: 1px solid #d6e9c6;
|
|
|
|
}
|
|
|
|
|
2012-06-05 14:10:30 +08:00
|
|
|
|
2011-10-27 14:24:22 +08:00
|
|
|
|
2011-10-16 18:00:58 +08:00
|
|
|
/* Responsive Docs
|
|
|
|
-------------------------------------------------- */
|
2011-10-17 02:35:24 +08:00
|
|
|
@media (max-width: 480px) {
|
2011-10-17 10:12:33 +08:00
|
|
|
|
2011-12-11 17:58:06 +08:00
|
|
|
/* Reduce padding above jumbotron */
|
|
|
|
body {
|
|
|
|
padding-top: 70px;
|
|
|
|
}
|
|
|
|
|
2011-10-23 13:49:37 +08:00
|
|
|
/* Change up some type stuff */
|
2012-01-28 16:31:55 +08:00
|
|
|
h2 small {
|
|
|
|
display: block;
|
2011-10-27 12:04:14 +08:00
|
|
|
}
|
2011-10-17 10:12:33 +08:00
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* Downsize the jumbotrons */
|
2011-10-17 10:12:33 +08:00
|
|
|
.jumbotron h1 {
|
2011-10-23 13:49:37 +08:00
|
|
|
font-size: 45px;
|
2011-10-17 10:12:33 +08:00
|
|
|
}
|
|
|
|
.jumbotron p {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
2011-10-23 13:49:37 +08:00
|
|
|
.jumbotron .btn {
|
2011-10-27 12:04:14 +08:00
|
|
|
display: block;
|
2011-10-23 13:49:37 +08:00
|
|
|
font-size: 18px;
|
|
|
|
padding: 10px 14px;
|
2011-10-27 12:04:14 +08:00
|
|
|
margin: 0 auto 10px;
|
|
|
|
}
|
2012-06-25 11:26:48 +08:00
|
|
|
/* center align subhead text like the masthead */
|
|
|
|
.subhead h1,
|
|
|
|
.subhead p {
|
|
|
|
text-align: center;
|
2011-12-11 17:58:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* center example sites */
|
|
|
|
.example-sites {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2011-12-22 06:26:21 +08:00
|
|
|
.example-sites > li {
|
2011-12-11 17:58:06 +08:00
|
|
|
float: none;
|
|
|
|
display: block;
|
2012-02-01 05:16:11 +08:00
|
|
|
max-width: 280px;
|
2011-12-11 17:58:06 +08:00
|
|
|
margin: 0 auto 18px;
|
2012-01-29 10:11:31 +08:00
|
|
|
text-align: center;
|
2011-12-11 17:58:06 +08:00
|
|
|
}
|
2012-01-29 10:11:31 +08:00
|
|
|
.example-sites .thumbnail > img {
|
2011-12-22 06:41:46 +08:00
|
|
|
max-width: 270px;
|
|
|
|
}
|
2011-12-13 01:51:41 +08:00
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* Do our best to make tables work in narrow viewports */
|
2011-12-13 01:51:41 +08:00
|
|
|
table code {
|
|
|
|
white-space: normal;
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2012-01-28 16:39:22 +08:00
|
|
|
|
|
|
|
/* Modal example */
|
|
|
|
.modal-example .modal {
|
|
|
|
position: relative;
|
|
|
|
top: auto;
|
|
|
|
right: auto;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
|
|
|
}
|
2012-01-29 04:58:26 +08:00
|
|
|
|
2012-06-25 11:26:48 +08:00
|
|
|
/* Unfloat the back to top in footer to prevent odd text wrapping */
|
|
|
|
.footer .pull-right {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2011-10-30 09:11:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
2012-01-28 08:26:55 +08:00
|
|
|
/* Remove any padding from the body */
|
|
|
|
body {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2012-02-01 05:16:11 +08:00
|
|
|
/* Jumbotron buttons */
|
|
|
|
.jumbotron .btn {
|
|
|
|
margin-bottom: 10px;
|
2012-06-25 11:26:48 +08:00
|
|
|
}
|
2012-02-01 05:16:11 +08:00
|
|
|
|
2012-01-25 11:43:52 +08:00
|
|
|
/* Subnav */
|
2012-01-25 12:26:54 +08:00
|
|
|
.subnav {
|
2012-01-25 11:43:52 +08:00
|
|
|
position: static;
|
|
|
|
top: auto;
|
|
|
|
z-index: auto;
|
|
|
|
width: auto;
|
2012-01-25 12:26:54 +08:00
|
|
|
height: auto;
|
2012-01-25 15:35:34 +08:00
|
|
|
background: #fff; /* whole background property since we use a background-image for gradient */
|
2012-01-25 12:26:54 +08:00
|
|
|
-webkit-box-shadow: none;
|
|
|
|
-moz-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2012-01-25 15:35:34 +08:00
|
|
|
.subnav .nav > li {
|
|
|
|
float: none;
|
|
|
|
}
|
2012-01-28 16:23:30 +08:00
|
|
|
.subnav .nav > li > a {
|
2012-01-25 12:26:54 +08:00
|
|
|
border: 0;
|
|
|
|
}
|
2012-01-29 10:27:09 +08:00
|
|
|
.subnav .nav > li + li > a {
|
2012-01-25 12:26:54 +08:00
|
|
|
border-top: 1px solid #e5e5e5;
|
2012-01-25 11:43:52 +08:00
|
|
|
}
|
2012-01-30 09:03:05 +08:00
|
|
|
.subnav .nav > li:first-child > a,
|
|
|
|
.subnav .nav > li:first-child > a:hover {
|
|
|
|
-webkit-border-radius: 4px 4px 0 0;
|
|
|
|
-moz-border-radius: 4px 4px 0 0;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
|
2011-10-23 13:49:37 +08:00
|
|
|
/* Popovers */
|
|
|
|
.large-bird {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.popover-well .popover-wrapper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2011-10-27 12:04:14 +08:00
|
|
|
/* Space out the show-grid examples */
|
|
|
|
.show-grid [class*="span"] {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Unfloat the back to top link in footer */
|
2011-12-10 03:32:07 +08:00
|
|
|
.footer p {
|
|
|
|
margin-bottom: 9px;
|
|
|
|
}
|
2011-10-23 13:49:37 +08:00
|
|
|
|
2011-10-17 02:35:24 +08:00
|
|
|
}
|
2011-10-16 18:00:58 +08:00
|
|
|
|
2011-10-27 14:24:22 +08:00
|
|
|
|
2011-10-28 00:35:58 +08:00
|
|
|
@media (min-width: 480px) and (max-width: 768px) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-02-01 05:16:11 +08:00
|
|
|
@media (min-width: 768px) and (max-width: 980px) {
|
2011-10-23 06:49:42 +08:00
|
|
|
|
2012-01-28 08:26:55 +08:00
|
|
|
/* Remove any padding from the body */
|
|
|
|
body {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-01-29 14:03:14 +08:00
|
|
|
|
2012-02-01 05:16:11 +08:00
|
|
|
@media (max-width: 980px) {
|
2012-01-29 08:21:55 +08:00
|
|
|
|
2012-01-28 08:26:55 +08:00
|
|
|
/* Unfloat brand */
|
2012-06-25 11:26:48 +08:00
|
|
|
body > .navbar-fixed-top .brand {
|
2012-01-29 10:11:31 +08:00
|
|
|
float: left;
|
2012-01-28 08:26:55 +08:00
|
|
|
margin-left: 0;
|
2012-01-29 10:11:31 +08:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2011-10-16 18:00:58 +08:00
|
|
|
}
|
2012-01-28 08:26:55 +08:00
|
|
|
|
2012-02-01 05:16:11 +08:00
|
|
|
/* Inline-block quick links for more spacing */
|
|
|
|
.quick-links li {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2011-10-16 18:00:58 +08:00
|
|
|
}
|
2011-10-23 06:49:42 +08:00
|
|
|
|
2012-01-29 14:03:14 +08:00
|
|
|
|
2012-01-29 10:11:31 +08:00
|
|
|
/* LARGE DESKTOP SCREENS */
|
|
|
|
@media (min-width: 1210px) {
|
|
|
|
|
2012-06-08 05:01:03 +08:00
|
|
|
.bs-docs-container {
|
|
|
|
max-width: 970px;
|
|
|
|
}
|
|
|
|
|
2012-01-29 10:11:31 +08:00
|
|
|
/* Update subnav container */
|
|
|
|
.subnav-fixed .nav {
|
2012-06-10 03:58:55 +08:00
|
|
|
max-width: 970px; /* 2px less to account for left/right borders being removed when in fixed mode */
|
2012-01-29 10:11:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|