mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Merge branch '3.0.0-wip' into bs3_makefile_separated_done
Conflicts: Makefile
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
## 2.3.1 (February 28, 2013)
|
||||||
|
|
||||||
|
Patch release for @fat's n00bery
|
||||||
|
|
||||||
|
- fix missing event type in dropdown
|
||||||
|
- fix delegated data-attrs for popover/tooltip
|
||||||
|
- make carousel actually pause when you click cycle
|
||||||
|
- fix jshint ref in makefile
|
||||||
|
- fix trying to remove backdrop when no backdrop
|
||||||
|
|
||||||
## 2.3.0 (February 7, 2013)
|
## 2.3.0 (February 7, 2013)
|
||||||
|
|
||||||
Minor release to add carousel indicators, improve tooltips, improve dev setup, and fix hella bugs.
|
Minor release to add carousel indicators, improve tooltips, improve dev setup, and fix hella bugs.
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ pygments: true
|
|||||||
permalink: pretty
|
permalink: pretty
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
auto: true
|
|
||||||
source: ./docs
|
source: ./docs
|
||||||
destination: ./_gh_pages
|
destination: ./_gh_pages
|
||||||
url: http://bootstrap.dev:9001
|
url: http://bootstrap.dev:9001
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- Footer
|
<!-- Footer
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<footer class="footer">
|
<footer class="bs-docs-footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="bs-docs-social">
|
<div class="bs-docs-social">
|
||||||
|
|||||||
@@ -14,9 +14,11 @@
|
|||||||
<!-- Bootstrap core CSS -->
|
<!-- Bootstrap core CSS -->
|
||||||
<link href="/assets/css/bootstrap.css" rel="stylesheet">
|
<link href="/assets/css/bootstrap.css" rel="stylesheet">
|
||||||
|
|
||||||
|
{% if page.layout == "default" %}
|
||||||
<!-- Documentation extras -->
|
<!-- Documentation extras -->
|
||||||
<link href="/assets/css/docs.css" rel="stylesheet">
|
<link href="/assets/css/docs.css" rel="stylesheet">
|
||||||
<link href="/assets/css/pygments-manni.css" rel="stylesheet">
|
<link href="/assets/css/pygments-manni.css" rel="stylesheet">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
<header class="bs-docs-jumbotron subhead">
|
|
||||||
<div class="container">
|
|
||||||
<h1>{{ page.title }}</h1>
|
|
||||||
<p class="lead">{{ page.description }}</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
{% endraw %}
|
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
<!-- Navbar
|
<!-- Navbar
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
<div class="navbar navbar-fixed-top bs-docs-navbar">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="brand" href="/">Bootstrap</a>
|
<a class="navbar-brand" href="/">Bootstrap</a>
|
||||||
<div class="nav-collapse collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li {% if page.title == "Bootstrap" %}class="active"{% endif %}>
|
<li {% if page.title == "Bootstrap" %}class="active"{% endif %}>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
<!-- Place anything custom after this. -->
|
<!-- Place anything custom after this. -->
|
||||||
</head>
|
</head>
|
||||||
<body data-spy="scroll" data-target=".bs-docs-sidebar">
|
<body class="bs-docs-body" data-spy="scroll" data-target=".bs-docs-sidebar">
|
||||||
|
|
||||||
<!-- Main navbar for all docs pages. -->
|
<!-- Main navbar for all docs pages. -->
|
||||||
{% include navbar.html %}
|
{% include navbar.html %}
|
||||||
@@ -20,4 +20,4 @@
|
|||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Vendored
+270
-194
@@ -1,18 +1,13 @@
|
|||||||
/*!
|
/*!
|
||||||
* Bootstrap v3.0.0
|
* Bootstrap v3.0.0
|
||||||
*
|
*
|
||||||
* Copyright 2012 Twitter, Inc
|
* Copyright 2013 Twitter, Inc
|
||||||
* Licensed under the Apache License v2.0
|
* Licensed under the Apache License v2.0
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Designed and built with all the love in the world by @mdo and @fat.
|
* Designed and built with all the love in the world by @mdo and @fat.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*@padding-large-input: 10px 14px; // 44px
|
|
||||||
// firefox hack since it doesn't accept custom line-height for inputs and automatically sets line-height as font-size + 4 px.
|
|
||||||
// input-large at 18 + 4 = 22, so I tried to compensate on padding.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
||||||
|
|
||||||
article,
|
article,
|
||||||
@@ -218,6 +213,58 @@ table {
|
|||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
* {
|
||||||
|
color: #000 !important;
|
||||||
|
text-shadow: none !important;
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
a,
|
||||||
|
a:visited {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
a[href]:after {
|
||||||
|
content: " (" attr(href) ")";
|
||||||
|
}
|
||||||
|
abbr[title]:after {
|
||||||
|
content: " (" attr(title) ")";
|
||||||
|
}
|
||||||
|
.ir a:after,
|
||||||
|
a[href^="javascript:"]:after,
|
||||||
|
a[href^="#"]:after {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
pre,
|
||||||
|
blockquote {
|
||||||
|
border: 1px solid #999;
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
thead {
|
||||||
|
display: table-header-group;
|
||||||
|
}
|
||||||
|
tr,
|
||||||
|
img {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
@page {
|
||||||
|
margin: 0.5cm;
|
||||||
|
}
|
||||||
|
p,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
orphans: 3;
|
||||||
|
widows: 3;
|
||||||
|
}
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
page-break-after: avoid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 62.5%;
|
font-size: 62.5%;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
@@ -283,58 +330,6 @@ img {
|
|||||||
border-radius: 500px;
|
border-radius: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
|
||||||
* {
|
|
||||||
color: #000 !important;
|
|
||||||
text-shadow: none !important;
|
|
||||||
background: transparent !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
a,
|
|
||||||
a:visited {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
a[href]:after {
|
|
||||||
content: " (" attr(href) ")";
|
|
||||||
}
|
|
||||||
abbr[title]:after {
|
|
||||||
content: " (" attr(title) ")";
|
|
||||||
}
|
|
||||||
.ir a:after,
|
|
||||||
a[href^="javascript:"]:after,
|
|
||||||
a[href^="#"]:after {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
pre,
|
|
||||||
blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
thead {
|
|
||||||
display: table-header-group;
|
|
||||||
}
|
|
||||||
tr,
|
|
||||||
img {
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
@page {
|
|
||||||
margin: 0.5cm;
|
|
||||||
}
|
|
||||||
p,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
page-break-after: avoid;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
@@ -975,11 +970,15 @@ th {
|
|||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
table td[class*="span"],
|
table col[class^="span"] {
|
||||||
table th[class*="span"] {
|
display: table-column;
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
table td[class^="span"],
|
||||||
|
table th[class^="span"] {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.table tbody tr.success > td {
|
.table tbody tr.success > td {
|
||||||
@@ -1135,10 +1134,6 @@ input[type="file"] {
|
|||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
|
||||||
border: 1px solid #cccccc;
|
|
||||||
}
|
|
||||||
|
|
||||||
select[multiple],
|
select[multiple],
|
||||||
select[size] {
|
select[size] {
|
||||||
height: auto;
|
height: auto;
|
||||||
@@ -1550,62 +1545,60 @@ select:focus:invalid:focus {
|
|||||||
border-left: 0;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn,
|
.input-group-btn {
|
||||||
.input-group-btn .btn {
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn > .btn {
|
.input-group-btn > .btn {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn > .btn + .btn {
|
.input-group-btn > .btn + .btn {
|
||||||
border-left: 0;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn.btn-group {
|
.input-group-btn > .btn:hover,
|
||||||
display: table-cell;
|
.input-group-btn > .btn:active {
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:first-child > .btn,
|
.input-group-btn:first-child > .btn:first-child,
|
||||||
.input-group-btn.btn-group:first-child > .btn {
|
.input-group-btn:first-child > .dropdown-toggle:first-child {
|
||||||
border-right: 0;
|
border-bottom-left-radius: 4px;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:first-child > .btn,
|
.input-group-btn:first-child > .btn:first-child.btn-large,
|
||||||
.input-group-btn.btn-group:first-child > .btn {
|
.input-group-btn:first-child > .dropdown-toggle:first-child.btn-large {
|
||||||
border-radius: 4px 0 0 4px;
|
border-bottom-left-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:first-child > .btn.btn-large,
|
.input-group-btn:first-child > .btn:first-child.btn-small,
|
||||||
.input-group-btn.btn-group:first-child > .btn.btn-large {
|
.input-group-btn:first-child > .dropdown-toggle:first-child.btn-small {
|
||||||
border-radius: 6px 0 0 6px;
|
border-bottom-left-radius: 3px;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:first-child > .btn.btn-small,
|
.input-group-btn:last-child > .btn:last-child,
|
||||||
.input-group-btn.btn-group:first-child > .btn.btn-small {
|
.input-group-btn:last-child > .dropdown-toggle {
|
||||||
border-radius: 3px 0 0 3px;
|
border-top-right-radius: 4px;
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:last-child > .btn,
|
.input-group-btn:last-child > .btn:last-child.btn-large,
|
||||||
.input-group-btn.btn-group:last-child > .btn:first-child {
|
.input-group-btn:last-child > .dropdown-toggle.btn-large {
|
||||||
border-left: 0;
|
border-top-right-radius: 6px;
|
||||||
|
border-bottom-right-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group-btn:last-child > .btn,
|
.input-group-btn:last-child > .btn:last-child.btn-small,
|
||||||
.input-group-btn.btn-group:last-child > .btn {
|
.input-group-btn:last-child > .dropdown-toggle.btn-small {
|
||||||
border-radius: 0 4px 4px 0;
|
border-top-right-radius: 3px;
|
||||||
}
|
border-bottom-right-radius: 3px;
|
||||||
|
|
||||||
.input-group-btn:last-child > .btn.btn-large,
|
|
||||||
.input-group-btn.btn-group:last-child > .btn.btn-large {
|
|
||||||
border-radius: 0 6px 6px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-group-btn:last-child > .btn.btn-small,
|
|
||||||
.input-group-btn.btn-group:last-child > .btn.btn-small {
|
|
||||||
border-radius: 0 3px 3px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
@@ -1646,6 +1639,7 @@ select:focus:invalid:focus {
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid #a7a9aa;
|
border: 1px solid #a7a9aa;
|
||||||
@@ -1694,26 +1688,12 @@ fieldset[disabled] .btn {
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-mini [class^="icon-"],
|
|
||||||
.btn-mini [class*=" icon-"] {
|
|
||||||
margin-top: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-mini {
|
.btn-mini {
|
||||||
padding: 0 6px;
|
padding: 0 6px;
|
||||||
font-size: 10.5px;
|
font-size: 10.5px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn [class^="glyphicon-"]::before {
|
|
||||||
vertical-align: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-small [class^="glyphicon-"]::before,
|
|
||||||
.btn-mini [class^="glyphicon-"]::before {
|
|
||||||
vertical-align: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -3006,6 +2986,7 @@ button.close {
|
|||||||
|
|
||||||
.nav > .disabled > a:hover,
|
.nav > .disabled > a:hover,
|
||||||
.nav > .disabled > a:focus {
|
.nav > .disabled > a:focus {
|
||||||
|
color: #999999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@@ -3034,6 +3015,26 @@ button.close {
|
|||||||
border-bottom: 1px solid #ffffff;
|
border-bottom: 1px solid #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabbable:before,
|
||||||
|
.tabbable:after {
|
||||||
|
display: table;
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbable:after {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content > .tab-pane,
|
||||||
|
.pill-content > .pill-pane {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-content > .active,
|
||||||
|
.pill-content > .active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Prevent IE8 from misplacing imgs
|
// Prevent IE8 from misplacing imgs
|
||||||
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
||||||
@@ -3093,7 +3094,7 @@ button.close {
|
|||||||
.nav li.dropdown.open a:hover .caret {
|
.nav li.dropdown.open a:hover .caret {
|
||||||
border-top-color: #fff;
|
border-top-color: #fff;
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
.opacity(100);
|
.opacity(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dropdowns in stacked tabs
|
// Dropdowns in stacked tabs
|
||||||
@@ -3101,30 +3102,11 @@ button.close {
|
|||||||
border-color: @grayLight;
|
border-color: @grayLight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Tabbable tabs
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
// Clear any floats
|
|
||||||
.tabbable {
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show/hide tabbable areas
|
|
||||||
.tab-content > .tab-pane,
|
|
||||||
.pill-content > .pill-pane {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.tab-content > .active,
|
|
||||||
.pill-content > .active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 15px;
|
position: relative;
|
||||||
|
padding: 10px 15px;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
@@ -3163,50 +3145,79 @@ button.close {
|
|||||||
background-color: #d5d5d5;
|
background-color: #d5d5d5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar .nav > .disabled > a,
|
||||||
|
.navbar .nav > .disabled > a:hover,
|
||||||
|
.navbar .nav > .disabled > a:focus {
|
||||||
|
color: #cccccc;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
position: static;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-top,
|
.navbar-fixed-top,
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
|
position: fixed;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1030;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .brand {
|
.navbar-fixed-top {
|
||||||
display: inline-block;
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-fixed-bottom {
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand {
|
||||||
|
display: block;
|
||||||
|
max-width: 200px;
|
||||||
padding: 7px 15px;
|
padding: 7px 15px;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .brand:hover,
|
.navbar-brand:hover,
|
||||||
.navbar .brand:focus {
|
.navbar-brand:focus {
|
||||||
color: #5e5e5e;
|
color: #5e5e5e;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-navbar {
|
.navbar-toggle {
|
||||||
float: right;
|
position: absolute;
|
||||||
padding: 10px 12px;
|
top: 10px;
|
||||||
background-color: #ddd;
|
right: 10px;
|
||||||
border: 0;
|
padding: 8px 12px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-navbar .icon-bar {
|
.navbar-toggle:hover,
|
||||||
|
.navbar-toggle:focus {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-toggle .icon-bar {
|
||||||
display: block;
|
display: block;
|
||||||
width: 20px;
|
width: 22px;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
background-color: #fff;
|
background-color: #ccc;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-navbar .icon-bar + .icon-bar {
|
.navbar-toggle .icon-bar + .icon-bar {
|
||||||
margin-top: 3px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .nav > .divider {
|
.navbar .nav > .divider {
|
||||||
@@ -3268,12 +3279,12 @@ button.close {
|
|||||||
background-color: #222222;
|
background-color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse .brand {
|
.navbar-inverse .navbar-brand {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse .brand:hover,
|
.navbar-inverse .navbar-brand:hover,
|
||||||
.navbar-inverse .brand:focus {
|
.navbar-inverse .navbar-brand:focus {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -3299,8 +3310,24 @@ button.close {
|
|||||||
background-color: #080808;
|
background-color: #080808;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse .btn-navbar {
|
.navbar-inverse .nav > .disabled > a,
|
||||||
background-color: #444;
|
.navbar-inverse .nav > .disabled > a:hover,
|
||||||
|
.navbar-inverse .nav > .disabled > a:focus {
|
||||||
|
color: #444444;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-inverse .navbar-toggle {
|
||||||
|
border-color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-inverse .navbar-toggle:hover,
|
||||||
|
.navbar-inverse .navbar-toggle:focus {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-inverse .navbar-toggle .icon-bar {
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse .nav > .divider {
|
.navbar-inverse .nav > .divider {
|
||||||
@@ -3337,11 +3364,11 @@ button.close {
|
|||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.navbar .brand {
|
.navbar-brand {
|
||||||
float: left;
|
float: left;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
margin-left: -15px;
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
.navbar .nav {
|
.navbar .nav {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -3371,20 +3398,10 @@ button.close {
|
|||||||
.navbar-inverse .nav > .divider {
|
.navbar-inverse .nav > .divider {
|
||||||
border-right-color: #2f2f2f;
|
border-right-color: #2f2f2f;
|
||||||
}
|
}
|
||||||
.navbar-fixed-top,
|
.navbar-toggle {
|
||||||
.navbar-fixed-bottom {
|
position: relative;
|
||||||
position: fixed;
|
top: auto;
|
||||||
right: 0;
|
left: auto;
|
||||||
left: 0;
|
|
||||||
z-index: 1030;
|
|
||||||
}
|
|
||||||
.navbar-fixed-top {
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.navbar-fixed-bottom {
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
.navbar .btn-navbar {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.nav-collapse.collapse {
|
.nav-collapse.collapse {
|
||||||
@@ -3465,9 +3482,19 @@ button.close {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-group > .btn {
|
.btn-group > .btn {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-group > .btn + btn {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-group > .btn:hover,
|
||||||
|
.btn-group > .btn:active {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-toolbar:before,
|
.btn-toolbar:before,
|
||||||
.btn-toolbar:after {
|
.btn-toolbar:after {
|
||||||
display: table;
|
display: table;
|
||||||
@@ -3494,10 +3521,6 @@ button.close {
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group > .btn + .btn {
|
|
||||||
margin-left: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group > .btn:first-child {
|
.btn-group > .btn:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
@@ -3564,28 +3587,28 @@ button.close {
|
|||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-group-vertical > .btn + .btn {
|
|
||||||
margin-top: 1px;
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn:first-child {
|
.btn-group-vertical .btn:first-child {
|
||||||
border-radius: 4px 4px 0 0;
|
border-radius: 0;
|
||||||
|
border-top-right-radius: 4px;
|
||||||
|
border-top-left-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn:last-child {
|
.btn-group-vertical .btn:last-child {
|
||||||
border-radius: 0 0 4px 4px;
|
border-radius: 0;
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn-large:first-child {
|
.btn-group-vertical .btn-large:first-child {
|
||||||
border-radius: 6px 6px 0 0;
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-vertical .btn-large:last-child {
|
.btn-group-vertical .btn-large:last-child {
|
||||||
border-radius: 0 0 6px 6px;
|
border-bottom-right-radius: 6px;
|
||||||
|
border-bottom-left-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-group-justified {
|
.btn-group-justified {
|
||||||
@@ -3663,7 +3686,7 @@ button.close {
|
|||||||
.pagination > .disabled > a:focus {
|
.pagination > .disabled > a:focus {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-color: transparent;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination > li:first-child > a,
|
.pagination > li:first-child > a,
|
||||||
@@ -3844,6 +3867,7 @@ button.close {
|
|||||||
|
|
||||||
.modal-backdrop.fade {
|
.modal-backdrop.fade {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
filter: alpha(opacity=0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-backdrop.fade.in {
|
.modal-backdrop.fade.in {
|
||||||
@@ -4268,7 +4292,59 @@ a.thumbnail:focus {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter {
|
.label {
|
||||||
|
padding: .25em .6em;
|
||||||
|
font-size: 75%;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 1;
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
vertical-align: middle;
|
||||||
|
background-color: #999999;
|
||||||
|
border-radius: .25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.label:hover,
|
||||||
|
a.label:focus {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-danger {
|
||||||
|
background-color: #d9534f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-danger[href] {
|
||||||
|
background-color: #c9302c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-warning {
|
||||||
|
background-color: #f0ad4e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-warning[href] {
|
||||||
|
background-color: #ec971f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-success {
|
||||||
|
background-color: #5cb85c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-success[href] {
|
||||||
|
background-color: #449d44;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-info {
|
||||||
|
background-color: #5bc0de;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-info[href] {
|
||||||
|
background-color: #31b0d5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
@@ -4283,33 +4359,33 @@ a.thumbnail:focus {
|
|||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter:empty {
|
.badge:empty {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.counter:hover,
|
a.badge:hover,
|
||||||
a.counter:focus {
|
a.badge:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn .counter {
|
.btn .badge {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-mini .counter {
|
.btn-mini .badge {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-list > .active > a > .counter,
|
.nav-list > .active > a > .badge,
|
||||||
.nav-pills > .active > a > .counter {
|
.nav-pills > .active > a > .badge {
|
||||||
color: #428bca;
|
color: #428bca;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-pills > li > a > .counter {
|
.nav-pills > li > a > .badge {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,13 +9,14 @@
|
|||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
padding-top: 54px;
|
||||||
position: relative; /* For scrollyspy */
|
position: relative; /* For scrollyspy */
|
||||||
/* We add the padding to the body for >768px only */
|
/* We add the padding to the body for >768px only */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
body > .container,
|
.bs-docs-body > .container,
|
||||||
.footer .container {
|
.bs-docs-footer .container {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
@@ -41,6 +42,22 @@ section > ul li {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Navbar
|
||||||
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
.bs-docs-navbar {
|
||||||
|
background-color: #fff;
|
||||||
|
border-bottom: 1px solid #ccc; /* IE8 */
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,.1);
|
||||||
|
}
|
||||||
|
.bs-docs-navbar .nav > .active > a,
|
||||||
|
.bs-docs-navbar .nav > .active > a:hover {
|
||||||
|
font-weight: 500;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Jumbotrons
|
/* Jumbotrons
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
@@ -106,23 +123,23 @@ section > ul li {
|
|||||||
/* Marketing section of Overview
|
/* Marketing section of Overview
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
.marketing {
|
.bs-docs-marketing {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #5a5a5a;
|
color: #5a5a5a;
|
||||||
}
|
}
|
||||||
.marketing h1 {
|
.bs-docs-marketing h1 {
|
||||||
margin: 60px 0 10px;
|
margin: 60px 0 10px;
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.marketing h2 {
|
.bs-docs-marketing h2 {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
.marketing p {
|
.bs-docs-marketing p {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
.marketing .marketing-byline {
|
.bs-docs-marketing .marketing-byline {
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@@ -242,6 +259,31 @@ section > ul li {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
.bs-docs-example-type .table td {
|
||||||
|
color: #999;
|
||||||
|
vertical-align: middle;
|
||||||
|
border-color: ;
|
||||||
|
}
|
||||||
|
.bs-docs-example-type .table td,
|
||||||
|
.bs-docs-example-type .table th {
|
||||||
|
padding: 15px 0;
|
||||||
|
border-color: #eee;
|
||||||
|
}
|
||||||
|
.bs-docs-example-type .table tr:first-child td,
|
||||||
|
.bs-docs-example-type .table tr:first-child th {
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
.bs-docs-example-type h1,
|
||||||
|
.bs-docs-example-type h2,
|
||||||
|
.bs-docs-example-type h3,
|
||||||
|
.bs-docs-example-type h4,
|
||||||
|
.bs-docs-example-type h5,
|
||||||
|
.bs-docs-example-type h6 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Navbar examples */
|
/* Navbar examples */
|
||||||
.bs-navbar-top-example,
|
.bs-navbar-top-example,
|
||||||
.bs-navbar-bottom-example {
|
.bs-navbar-bottom-example {
|
||||||
@@ -310,6 +352,11 @@ section > ul li {
|
|||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Example tabbable tabs */
|
||||||
|
.bs-docs-example-tabs .nav-tabs {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Example templates
|
/* Example templates
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
@@ -436,13 +483,13 @@ section > ul li {
|
|||||||
/* Footer
|
/* Footer
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
.footer {
|
.bs-docs-footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 30px 0;
|
padding: 30px 0;
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
border-top: 1px solid #e5e5e5;
|
border-top: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
.footer p {
|
.bs-docs-footer p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
@@ -545,6 +592,16 @@ input.focused {
|
|||||||
/* Responsive variations
|
/* Responsive variations
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
/* Hide code snippets on mobile devices */
|
||||||
|
@media screen and (max-width: 480px) {
|
||||||
|
.bs-docs-example {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
.highlight {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Tablets and up */
|
/* Tablets and up */
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
@@ -34,8 +34,8 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
// add tipsies to grid for scaffolding
|
// add tipsies to grid for scaffolding
|
||||||
if ($('#gridSystem').length) {
|
if ($('#grid-system').length) {
|
||||||
$('#gridSystem').tooltip({
|
$('#grid-system').tooltip({
|
||||||
selector: '.show-grid > [class*="span"]'
|
selector: '.show-grid > [class*="span"]'
|
||||||
, title: function () { return $(this).width() + 'px' }
|
, title: function () { return $(this).width() + 'px' }
|
||||||
})
|
})
|
||||||
|
|||||||
Vendored
+1
-1
@@ -75,7 +75,7 @@
|
|||||||
if (!e) this.paused = true
|
if (!e) this.paused = true
|
||||||
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
||||||
this.$element.trigger($.support.transition.end)
|
this.$element.trigger($.support.transition.end)
|
||||||
this.cycle()
|
this.cycle(true)
|
||||||
}
|
}
|
||||||
clearInterval(this.interval)
|
clearInterval(this.interval)
|
||||||
this.interval = null
|
this.interval = null
|
||||||
|
|||||||
Vendored
+1
-1
@@ -158,7 +158,7 @@
|
|||||||
$(document)
|
$(document)
|
||||||
.on('click.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api', clearMenus)
|
||||||
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('.dropdown-menu', function (e) { e.stopPropagation() })
|
.on('click.dropdown-menu', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -148,7 +148,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, removeBackdrop: function () {
|
, removeBackdrop: function () {
|
||||||
this.$backdrop.remove()
|
this.$backdrop && this.$backdrop.remove()
|
||||||
this.$backdrop = null
|
this.$backdrop = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+9
-1
@@ -80,7 +80,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, enter: function (e) {
|
, enter: function (e) {
|
||||||
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
var defaults = $.fn[this.type].defaults
|
||||||
|
, options = {}
|
||||||
|
, self
|
||||||
|
|
||||||
|
this._options && $.each(this._options, function (key, value) {
|
||||||
|
if (defaults[key] != value) options[key] = value
|
||||||
|
}, this)
|
||||||
|
|
||||||
|
self = $(e.currentTarget)[this.type](options).data(this.type)
|
||||||
|
|
||||||
if (!self.options.delay || !self.options.delay.show) return self.show()
|
if (!self.options.delay || !self.options.delay.show) return self.show()
|
||||||
|
|
||||||
|
|||||||
Vendored
+12
-4
@@ -336,7 +336,7 @@
|
|||||||
if (!e) this.paused = true
|
if (!e) this.paused = true
|
||||||
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
||||||
this.$element.trigger($.support.transition.end)
|
this.$element.trigger($.support.transition.end)
|
||||||
this.cycle()
|
this.cycle(true)
|
||||||
}
|
}
|
||||||
clearInterval(this.interval)
|
clearInterval(this.interval)
|
||||||
this.interval = null
|
this.interval = null
|
||||||
@@ -791,7 +791,7 @@
|
|||||||
$(document)
|
$(document)
|
||||||
.on('click.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api', clearMenus)
|
||||||
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('.dropdown-menu', function (e) { e.stopPropagation() })
|
.on('click.dropdown-menu', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
|
|
||||||
@@ -946,7 +946,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, removeBackdrop: function () {
|
, removeBackdrop: function () {
|
||||||
this.$backdrop.remove()
|
this.$backdrop && this.$backdrop.remove()
|
||||||
this.$backdrop = null
|
this.$backdrop = null
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1129,7 +1129,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, enter: function (e) {
|
, enter: function (e) {
|
||||||
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
var defaults = $.fn[this.type].defaults
|
||||||
|
, options = {}
|
||||||
|
, self
|
||||||
|
|
||||||
|
this._options && $.each(this._options, function (key, value) {
|
||||||
|
if (defaults[key] != value) options[key] = value
|
||||||
|
}, this)
|
||||||
|
|
||||||
|
self = $(e.currentTarget)[this.type](options).data(this.type)
|
||||||
|
|
||||||
if (!self.options.delay || !self.options.delay.show) return self.show()
|
if (!self.options.delay || !self.options.delay.show) return self.show()
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+125
-48
@@ -28,7 +28,8 @@ title: Components
|
|||||||
<li><a href="#navbar"><i class="glyphicon glyphicon-chevron-right"></i> Navbar</a></li>
|
<li><a href="#navbar"><i class="glyphicon glyphicon-chevron-right"></i> Navbar</a></li>
|
||||||
<li><a href="#breadcrumbs"><i class="glyphicon glyphicon-chevron-right"></i> Breadcrumbs</a></li>
|
<li><a href="#breadcrumbs"><i class="glyphicon glyphicon-chevron-right"></i> Breadcrumbs</a></li>
|
||||||
<li><a href="#pagination"><i class="glyphicon glyphicon-chevron-right"></i> Pagination</a></li>
|
<li><a href="#pagination"><i class="glyphicon glyphicon-chevron-right"></i> Pagination</a></li>
|
||||||
<li><a href="#counters"><i class="glyphicon glyphicon-chevron-right"></i> Counters</a></li>
|
<li><a href="#labels"><i class="glyphicon glyphicon-chevron-right"></i> Labels</a></li>
|
||||||
|
<li><a href="#badges"><i class="glyphicon glyphicon-chevron-right"></i> Badges</a></li>
|
||||||
<li><a href="#typography"><i class="glyphicon glyphicon-chevron-right"></i> Typography</a></li>
|
<li><a href="#typography"><i class="glyphicon glyphicon-chevron-right"></i> Typography</a></li>
|
||||||
<li><a href="#thumbnails"><i class="glyphicon glyphicon-chevron-right"></i> Thumbnails</a></li>
|
<li><a href="#thumbnails"><i class="glyphicon glyphicon-chevron-right"></i> Thumbnails</a></li>
|
||||||
<li><a href="#alerts"><i class="glyphicon glyphicon-chevron-right"></i> Alerts</a></li>
|
<li><a href="#alerts"><i class="glyphicon glyphicon-chevron-right"></i> Alerts</a></li>
|
||||||
@@ -765,7 +766,7 @@ title: Components
|
|||||||
<p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
|
<p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -775,7 +776,7 @@ title: Components
|
|||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -790,11 +791,11 @@ title: Components
|
|||||||
<p>A simple link to show your brand or project name only requires an anchor tag.</p>
|
<p>A simple link to show your brand or project name only requires an anchor tag.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3>Nav links</h3>
|
<h3>Nav links</h3>
|
||||||
@@ -804,7 +805,7 @@ title: Components
|
|||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li class="disabled"><a href="#">Disabled</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
@@ -812,22 +813,20 @@ title: Components
|
|||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li class="disabled"><a href="#">Disabled</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
<p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add the appropriate class to <code><li></code> elements between links. Dividers will be horizontal to start, but at resolutions above 768px they become vertical with the navigation.</p>
|
<p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add the appropriate class to <code><li></code> elements between links. Dividers will be horizontal to start, but at resolutions above 768px they become vertical with the navigation.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="navbar-inner">
|
<ul class="nav">
|
||||||
<ul class="nav">
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="divider"></li>
|
||||||
<li class="divider"></li>
|
<li><a href="#">Link</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li class="divider"></li>
|
||||||
<li class="divider"></li>
|
<li><a href="#">Link</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li class="divider"></li>
|
||||||
<li class="divider"></li>
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /example -->
|
</div><!-- /example -->
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
@@ -871,9 +870,9 @@ title: Components
|
|||||||
<h3>Fixed to top</h3>
|
<h3>Fixed to top</h3>
|
||||||
<p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code><body></code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
|
<p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code><body></code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
|
||||||
<div class="bs-docs-example bs-navbar-top-example">
|
<div class="bs-docs-example bs-navbar-top-example">
|
||||||
<div class="navbar navbar-fixed-top" style="position: absolute;">
|
<div class="navbar navbar-fixed-top" style="position: absolute; top: -1px;">
|
||||||
<div class="container" style="width: auto;">
|
<div class="container" style="width: auto;">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -891,9 +890,9 @@ title: Components
|
|||||||
<h3>Fixed to bottom</h3>
|
<h3>Fixed to bottom</h3>
|
||||||
<p>Add <code>.navbar-fixed-bottom</code> instead.</p>
|
<p>Add <code>.navbar-fixed-bottom</code> instead.</p>
|
||||||
<div class="bs-docs-example bs-navbar-bottom-example">
|
<div class="bs-docs-example bs-navbar-bottom-example">
|
||||||
<div class="navbar navbar-fixed-bottom" style="position: absolute;">
|
<div class="navbar navbar-fixed-bottom" style="position: absolute; bottom: -1px;">
|
||||||
<div class="container" style="width: auto;">
|
<div class="container" style="width: auto;">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -913,7 +912,7 @@ title: Components
|
|||||||
<div class="bs-docs-example bs-navbar-top-example">
|
<div class="bs-docs-example bs-navbar-top-example">
|
||||||
<div class="navbar navbar-static-top" style="margin: -1px -1px 0;">
|
<div class="navbar navbar-static-top" style="margin: -1px -1px 0;">
|
||||||
<div class="container" style="width: auto;">
|
<div class="container" style="width: auto;">
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -930,16 +929,16 @@ title: Components
|
|||||||
|
|
||||||
|
|
||||||
<h2>Responsive navbar</h2>
|
<h2>Responsive navbar</h2>
|
||||||
<p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
|
<p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.navbar-toggle</code>.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<div class="nav-collapse collapse navbar-responsive-collapse">
|
<div class="nav-collapse collapse navbar-responsive-collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
@@ -958,8 +957,8 @@ title: Components
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<form class="navbar-search pull-left" action="">
|
<form class="navbar-form pull-left" action="">
|
||||||
<input type="text" class="search-query span2" placeholder="Search">
|
<input type="text" class="span8" placeholder="Search">
|
||||||
</form>
|
</form>
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -983,15 +982,15 @@ title: Components
|
|||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
|
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Be sure to leave the brand out there if you want it shown -->
|
<!-- Be sure to leave the brand out there if you want it shown -->
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
|
|
||||||
<!-- Place everything within .navbar-collapse to hide it until above 768px -->
|
<!-- Place everything within .navbar-collapse to hide it until above 768px -->
|
||||||
<div class="nav-collapse collapse navbar-responsive-collapse">
|
<div class="nav-collapse collapse navbar-responsive-collapse">
|
||||||
@@ -1011,12 +1010,12 @@ title: Components
|
|||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="navbar navbar-inverse" style="position: static;">
|
<div class="navbar navbar-inverse" style="position: static;">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse">
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-inverse-collapse">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="navbar-brand" href="#">Title</a>
|
||||||
<div class="nav-collapse collapse navbar-inverse-collapse">
|
<div class="nav-collapse collapse navbar-inverse-collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
@@ -1035,8 +1034,8 @@ title: Components
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<form class="navbar-search pull-left" action="">
|
<form class="navbar-form pull-left" action="">
|
||||||
<input type="text" class="search-query span2" placeholder="Search">
|
<input type="text" class="span8" placeholder="Search">
|
||||||
</form>
|
</form>
|
||||||
<ul class="nav pull-right">
|
<ul class="nav pull-right">
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -1274,44 +1273,122 @@ title: Components
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Counters
|
<!-- Labels
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="counters">
|
<section id="labels">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Counters</h1>
|
<h1>Labels</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">Easily highlight new or unread items by adding a <code><span class="counter"></code> to links, Bootstrap navs, and more.</p>
|
<p class="lead"></p>
|
||||||
|
|
||||||
|
<h3>Example</h3>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<a href="#">Inbox <span class="counter">42</span></a>
|
<h1>Example heading <span class="label">New</span></h1>
|
||||||
|
<h2>Example heading <span class="label">New</span></h2>
|
||||||
|
<h3>Example heading <span class="label">New</span></h3>
|
||||||
|
<h4>Example heading <span class="label">New</span></h4>
|
||||||
|
<h5>Example heading <span class="label">New</span></h5>
|
||||||
|
<h6>Example heading <span class="label">New</span></h6>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<a href="#">Inbox <span class="counter">42</span></a>
|
<h3>Example heading <span class="label">New</span></h3>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h3>Available variations</h3>
|
||||||
|
<p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>
|
||||||
|
<table class="table table-bordered table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Labels</th>
|
||||||
|
<th>Markup</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span class="label">Default</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<code><span class="label">Default</span></code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span class="label label-success">Success</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<code><span class="label label-success">Success</span></code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span class="label label-warning">Warning</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<code><span class="label label-warning">Warning</span></code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span class="label label-danger">Danger</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<code><span class="label label-danger">Danger</span></code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<span class="label label-info">Info</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<code><span class="label label-info">Info</span></code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Badges
|
||||||
|
================================================== -->
|
||||||
|
<section id="badges">
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>Badges</h1>
|
||||||
|
</div>
|
||||||
|
<p class="lead">Easily highlight new or unread items by adding a <code><span class="badge"></code> to links, Bootstrap navs, and more.</p>
|
||||||
|
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<a href="#">Inbox <span class="badge">42</span></a>
|
||||||
|
</div>
|
||||||
|
{% highlight html linenos %}
|
||||||
|
<a href="#">Inbox <span class="badge">42</span></a>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h4>Self collapsing</h4>
|
<h4>Self collapsing</h4>
|
||||||
<p>When there are no new or unread items, counters will simply collapse (via CSS's <code>:empty</code> selector) provided no content exists within.</p>
|
<p>When there are no new or unread items, badges will simply collapse (via CSS's <code>:empty</code> selector) provided no content exists within.</p>
|
||||||
|
|
||||||
<h4>Adapts to active nav states</h4>
|
<h4>Adapts to active nav states</h4>
|
||||||
<p>Built-in styles are included for placing counters in active states in pill and list navigations.</p>
|
<p>Built-in styles are included for placing badges in active states in pill and list navigations.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
<li class="active"><a href="#">Home <span class="counter">42</span></a></li>
|
<li class="active"><a href="#">Home <span class="badge">42</span></a></li>
|
||||||
<li><a href="#">Profile</a></li>
|
<li><a href="#">Profile</a></li>
|
||||||
<li><a href="#">Messages <span class="counter">3</span></a></li>
|
<li><a href="#">Messages <span class="badge">3</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
<ul class="nav nav-list" style="max-width: 260px;">
|
<ul class="nav nav-list" style="max-width: 260px;">
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<span class="counter pull-right">42</span>
|
<span class="badge pull-right">42</span>
|
||||||
Home
|
Home
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#">Profile</a></li>
|
<li><a href="#">Profile</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<span class="counter pull-right">3</span>
|
<span class="badge pull-right">3</span>
|
||||||
Messages
|
Messages
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -1321,7 +1398,7 @@ title: Components
|
|||||||
<ul class="nav nav-list">
|
<ul class="nav nav-list">
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<span class="counter pull-right">42</span>
|
<span class="badge pull-right">42</span>
|
||||||
Home
|
Home
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -1380,7 +1457,7 @@ title: Components
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Thumbnails</h1>
|
<h1>Thumbnails</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">Extend Bootstrap's <a href="./css.html#gridSystem">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>
|
<p class="lead">Extend Bootstrap's <a href="./css/#gridsystem">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>
|
||||||
|
|
||||||
<h3>Default thumbnails</h3>
|
<h3>Default thumbnails</h3>
|
||||||
<p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
|
<p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
|
||||||
|
|||||||
+92
-79
@@ -23,7 +23,7 @@ title: CSS
|
|||||||
<li><a href="#global"><i class="glyphicon glyphicon-chevron-right"></i> Global settings</a></li>
|
<li><a href="#global"><i class="glyphicon glyphicon-chevron-right"></i> Global settings</a></li>
|
||||||
<li><a href="#typography"><i class="glyphicon glyphicon-chevron-right"></i> Typography</a></li>
|
<li><a href="#typography"><i class="glyphicon glyphicon-chevron-right"></i> Typography</a></li>
|
||||||
<li><a href="#code"><i class="glyphicon glyphicon-chevron-right"></i> Code</a></li>
|
<li><a href="#code"><i class="glyphicon glyphicon-chevron-right"></i> Code</a></li>
|
||||||
<li><a href="#gridSystem"><i class="glyphicon glyphicon-chevron-right"></i> Grid system</a></li>
|
<li><a href="#grid-system"><i class="glyphicon glyphicon-chevron-right"></i> Grid system</a></li>
|
||||||
<li><a href="#tables"><i class="glyphicon glyphicon-chevron-right"></i> Tables</a></li>
|
<li><a href="#tables"><i class="glyphicon glyphicon-chevron-right"></i> Tables</a></li>
|
||||||
<li><a href="#forms"><i class="glyphicon glyphicon-chevron-right"></i> Forms</a></li>
|
<li><a href="#forms"><i class="glyphicon glyphicon-chevron-right"></i> Forms</a></li>
|
||||||
<li><a href="#buttons"><i class="glyphicon glyphicon-chevron-right"></i> Buttons</a></li>
|
<li><a href="#buttons"><i class="glyphicon glyphicon-chevron-right"></i> Buttons</a></li>
|
||||||
@@ -90,7 +90,39 @@ title: CSS
|
|||||||
<!-- Headings -->
|
<!-- Headings -->
|
||||||
<h2 id="headings">Headings</h2>
|
<h2 id="headings">Headings</h2>
|
||||||
<p>All HTML headings, <code><h1></code> through <code><h6></code> are available.</p>
|
<p>All HTML headings, <code><h1></code> through <code><h6></code> are available.</p>
|
||||||
<div class="bs-docs-example">
|
|
||||||
|
<div class="bs-docs-example bs-docs-example-type">
|
||||||
|
<table class="table">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th><h1>Bootstrap heading</h1></th>
|
||||||
|
<td>Semibold 38px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><h2>Bootstrap heading</h2></th>
|
||||||
|
<td>Semibold 32px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><h3>Bootstrap heading</h3></th>
|
||||||
|
<td>Semibold 24px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><h4>Bootstrap heading</h4></th>
|
||||||
|
<td>Semibold 18px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><h5>Bootstrap heading</h5></th>
|
||||||
|
<td>Semibold 16px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><h6>Bootstrap heading</h6></th>
|
||||||
|
<td>Semibold 12px</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="bs-docs-example">
|
||||||
<h1>h1. Heading 1</h1>
|
<h1>h1. Heading 1</h1>
|
||||||
<h2>h2. Heading 2</h2>
|
<h2>h2. Heading 2</h2>
|
||||||
<h3>h3. Heading 3</h3>
|
<h3>h3. Heading 3</h3>
|
||||||
@@ -98,7 +130,7 @@ title: CSS
|
|||||||
<h5>h5. Heading 5</h5>
|
<h5>h5. Heading 5</h5>
|
||||||
<h6>h6. Heading 6</h6>
|
<h6>h6. Heading 6</h6>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<!-- Body copy -->
|
<!-- Body copy -->
|
||||||
<h2 id="body-copy">Body copy</h2>
|
<h2 id="body-copy">Body copy</h2>
|
||||||
<p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (10px by default).</p>
|
<p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (10px by default).</p>
|
||||||
@@ -130,7 +162,7 @@ title: CSS
|
|||||||
<h2 id="emphasis">Emphasis</h2>
|
<h2 id="emphasis">Emphasis</h2>
|
||||||
<p>Make use of HTML's default emphasis tags with lightweight styles.</p>
|
<p>Make use of HTML's default emphasis tags with lightweight styles.</p>
|
||||||
|
|
||||||
<h3><code><small></code></h3>
|
<h3>Small text</h3>
|
||||||
<p>For de-emphasizing inline or blocks of text, <small>use the small tag.</small></p>
|
<p>For de-emphasizing inline or blocks of text, <small>use the small tag.</small></p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p><small>This line of text is meant to be treated as fine print.</small></p>
|
<p><small>This line of text is meant to be treated as fine print.</small></p>
|
||||||
@@ -182,11 +214,10 @@ title: CSS
|
|||||||
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
<p class="muted">...</p>
|
||||||
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
<p class="text-warning">...</p>
|
||||||
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
<p class="text-error">...</p>
|
||||||
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
<p class="text-success">...</p>
|
||||||
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
@@ -194,8 +225,8 @@ title: CSS
|
|||||||
<h2 id="abbreviations">Abbreviations</h2>
|
<h2 id="abbreviations">Abbreviations</h2>
|
||||||
<p>Stylized implementation of HTML's <code><abbr></code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.</p>
|
<p>Stylized implementation of HTML's <code><abbr></code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.</p>
|
||||||
|
|
||||||
<h3><code><abbr></code></h3>
|
<h3>Basic abbreviation</h3>
|
||||||
<p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute.</p>
|
<p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute with the <code><abbr></code> element.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
|
<p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -203,7 +234,7 @@ title: CSS
|
|||||||
<abbr title="attribute">attr</abbr>
|
<abbr title="attribute">attr</abbr>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3><code><abbr class="initialism"></code></h3>
|
<h3>Initialism</h3>
|
||||||
<p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>
|
<p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
|
<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
|
||||||
@@ -215,10 +246,7 @@ title: CSS
|
|||||||
|
|
||||||
<!-- Addresses -->
|
<!-- Addresses -->
|
||||||
<h2 id="addresses">Addresses</h2>
|
<h2 id="addresses">Addresses</h2>
|
||||||
<p>Present contact information for the nearest ancestor or the entire body of work.</p>
|
<p>Present contact information for the nearest ancestor or the entire body of work. Preserve formatting by ending all lines with <code><br></code>.</p>
|
||||||
|
|
||||||
<h3><code><address></code></h3>
|
|
||||||
<p>Preserve formatting by ending all lines with <code><br></code>.</p>
|
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<address>
|
<address>
|
||||||
<strong>Twitter, Inc.</strong><br>
|
<strong>Twitter, Inc.</strong><br>
|
||||||
@@ -440,7 +468,7 @@ title: CSS
|
|||||||
|
|
||||||
<!-- Grid system
|
<!-- Grid system
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="gridSystem">
|
<section id="grid-system">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Grid system</h1>
|
<h1>Grid system</h1>
|
||||||
</div>
|
</div>
|
||||||
@@ -625,8 +653,8 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<h2>Optional classes</h2>
|
<h2>Optional classes</h2>
|
||||||
<p>Add any of the following classes to the <code>.table</code> base class.</p>
|
<p>Add any of the following classes to the <code>.table</code> base class.</p>
|
||||||
|
|
||||||
<h3><code>.table-striped</code></h3>
|
<h3>Striped</h3>
|
||||||
<p>Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE8).</p>
|
<p>Use <code>.table-striped</code> to add zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE8).</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -665,8 +693,8 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</table>
|
</table>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3><code>.table-bordered</code></h3>
|
<h3>Bordered</h3>
|
||||||
<p>Add borders and rounded corners to the table.</p>
|
<p>Add <code>.table-bordered</code> for borders and rounded corners.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -709,8 +737,8 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</table>
|
</table>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3><code>.table-hover</code></h3>
|
<h3>Hover rows</h3>
|
||||||
<p>Enable a hover state on table rows within a <code><tbody></code>.</p>
|
<p>Add <code>.table-hover</code> to enable a hover state on table rows within a <code><tbody></code>.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -749,8 +777,8 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
<h3><code>.table-condensed</code></h3>
|
<h3>Condensed</h3>
|
||||||
<p>Makes tables more compact by cutting cell padding in half.</p>
|
<p>Add <code>.table-condensed</code> to make tables more compact by cutting cell padding in half.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -1462,7 +1490,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<p></p>
|
<p></p>
|
||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="#">Action</a></li>
|
<li><a href="#">Action</a></li>
|
||||||
@@ -1477,7 +1505,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<br>
|
<br>
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<input type="text">
|
<input type="text">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="#">Action</a></li>
|
<li><a href="#">Action</a></li>
|
||||||
@@ -1491,7 +1519,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</form>
|
</form>
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="#">Action</a></li>
|
<li><a href="#">Action</a></li>
|
||||||
@@ -1506,7 +1534,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
|
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<input type="text">
|
<input type="text">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="#">Action</a></li>
|
<li><a href="#">Action</a></li>
|
||||||
@@ -1522,7 +1550,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
<h4>Segmented dropdown groups</h4>
|
<h4>Segmented dropdown groups</h4>
|
||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn" tabindex="-1">Action</button>
|
<button class="btn" tabindex="-1">Action</button>
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1">
|
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1">
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
@@ -1542,7 +1570,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
|
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<input type="text">
|
<input type="text">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<button class="btn" tabindex="-1">Action</button>
|
<button class="btn" tabindex="-1">Action</button>
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1">
|
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1">
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
@@ -1559,7 +1587,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</form>
|
</form>
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<div class="input-group span7">
|
<div class="input-group span7">
|
||||||
<div class="input-group-btn btn-group">
|
<div class="input-group-btn">
|
||||||
<!-- Button and dropdown menu -->
|
<!-- Button and dropdown menu -->
|
||||||
</div>
|
</div>
|
||||||
<input type="text">
|
<input type="text">
|
||||||
@@ -1722,52 +1750,37 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
|
|
||||||
<h2>Default buttons</h2>
|
<h2>Default buttons</h2>
|
||||||
<p>Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code><a></code> and <code><button></code> elements for the best rendering.</p>
|
<p>Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code><a></code> and <code><button></code> elements for the best rendering.</p>
|
||||||
<table class="table table-bordered table-striped">
|
<div class="bs-docs-example">
|
||||||
<thead>
|
<button type="button" class="btn btn-default">Default</button>
|
||||||
<tr>
|
<button type="button" class="btn btn-primary">Primary</button>
|
||||||
<th>Button</th>
|
<button type="button" class="btn btn-success">Success</button>
|
||||||
<th>class=""</th>
|
<button type="button" class="btn btn-info">Info</button>
|
||||||
<th>Description</th>
|
<button type="button" class="btn btn-warning">Warning</button>
|
||||||
</tr>
|
<button type="button" class="btn btn-danger">Danger</button>
|
||||||
</thead>
|
<button type="button" class="btn btn-link">Link</button>
|
||||||
<tbody>
|
</div>
|
||||||
<tr>
|
{% highlight html linenos %}
|
||||||
<td><button type="button" class="btn btn-default">Default</button></td>
|
<!-- Standard gray button with gradient -->
|
||||||
<td><code>btn</code></td>
|
<button type="button" class="btn btn-default">Default</button>
|
||||||
<td>Standard gray button with gradient</td>
|
|
||||||
</tr>
|
<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->
|
||||||
<tr>
|
<button type="button" class="btn btn-primary">Primary</button>
|
||||||
<td><button type="button" class="btn btn-primary">Primary</button></td>
|
|
||||||
<td><code>btn btn-primary</code></td>
|
<!-- Indicates a successful or positive action -->
|
||||||
<td>Provides extra visual weight and identifies the primary action in a set of buttons</td>
|
<button type="button" class="btn btn-success">Success</button>
|
||||||
</tr>
|
|
||||||
<tr>
|
<!-- Contextual button for informational alert messages -->
|
||||||
<td><button type="button" class="btn btn-success">Success</button></td>
|
<button type="button" class="btn btn-info">Info</button>
|
||||||
<td><code>btn btn-success</code></td>
|
|
||||||
<td>Indicates a successful or positive action</td>
|
<!-- Indicates caution should be taken with this action -->
|
||||||
</tr>
|
<button type="button" class="btn btn-warning">Warning</button>
|
||||||
<tr>
|
|
||||||
<td><button type="button" class="btn btn-info">Info</button></td>
|
<!-- Indicates a dangerous or potentially negative action -->
|
||||||
<td><code>btn btn-info</code></td>
|
<button type="button" class="btn btn-danger">Danger</button>
|
||||||
<td>Contextual button for informational alert messages</td>
|
|
||||||
</tr>
|
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->
|
||||||
<tr>
|
<button type="button" class="btn btn-link">Link</button>
|
||||||
<td><button type="button" class="btn btn-warning">Warning</button></td>
|
{% endhighlight %}
|
||||||
<td><code>btn btn-warning</code></td>
|
|
||||||
<td>Indicates caution should be taken with this action</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><button type="button" class="btn btn-danger">Danger</button></td>
|
|
||||||
<td><code>btn btn-danger</code></td>
|
|
||||||
<td>Indicates a dangerous or potentially negative action</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td><button type="button" class="btn btn-link">Link</button></td>
|
|
||||||
<td><code>btn btn-link</code></td>
|
|
||||||
<td>Deemphasize a button by making it look like a link while maintaining button behavior</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<h4>Cross browser compatibility</h4>
|
<h4>Cross browser compatibility</h4>
|
||||||
<p>IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.</p>
|
<p>IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.</p>
|
||||||
@@ -2215,7 +2228,7 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</div>
|
</div>
|
||||||
<p class="lead">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query.</p>
|
<p class="lead">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query.</p>
|
||||||
|
|
||||||
<table class="table table-bordered table-striped responsive-utilities">
|
<table class="table table-bordered table-striped responsive-utilities hidden-phone">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Class</th>
|
<th>Class</th>
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ title: Customize and download
|
|||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h3>Scaffolding</h3>
|
<h3>Scaffolding</h3>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="reset.less"> Normalize and reset</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="reset.less"> Normalize and reset</label>
|
||||||
|
<label class="checkbox"><input checked="checked" type="checkbox" value="print.less"> Print</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="scaffolding.less"> Body type and links</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="scaffolding.less"> Body type and links</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="grid.less"> Grid system</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="grid.less"> Grid system</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="layouts.less"> Layouts</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="layouts.less"> Layouts</label>
|
||||||
|
|||||||
@@ -0,0 +1,64 @@
|
|||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Grid template
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<style>
|
||||||
|
|
||||||
|
/* Show grid styles from docs.css
|
||||||
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
.show-grid {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.show-grid [class^="span"] {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
background-color: #eee;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
.show-grid [class*="span"]:hover {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>Grids</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2>Default grid columns</h2>
|
||||||
|
<div class="bs-docs-grid">
|
||||||
|
<div class="row show-grid">
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
<div class="span1">1</div>
|
||||||
|
</div>
|
||||||
|
<div class="row show-grid">
|
||||||
|
<div class="span4">4</div>
|
||||||
|
<div class="span4">4</div>
|
||||||
|
<div class="span4">4</div>
|
||||||
|
</div>
|
||||||
|
<div class="row show-grid">
|
||||||
|
<div class="span6">6</div>
|
||||||
|
<div class="span6">6</div>
|
||||||
|
</div>
|
||||||
|
<div class="row show-grid">
|
||||||
|
<div class="span12">12</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
@@ -12,7 +12,7 @@ title: Narrow page template
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Everything but the jumbotron gets side spacing for mobile-first views */
|
/* Everything but the jumbotron gets side spacing for mobile-first views */
|
||||||
.masthead,
|
.header,
|
||||||
.marketing,
|
.marketing,
|
||||||
.footer {
|
.footer {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
@@ -20,17 +20,24 @@ title: Narrow page template
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Custom page header */
|
/* Custom page header */
|
||||||
.masthead {
|
.header {
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
/* Make the masthead heading the same height as the navigation */
|
/* Make the masthead heading the same height as the navigation */
|
||||||
.masthead h3 {
|
.header h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
padding-bottom: 19px;
|
padding-bottom: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Custom page footer */
|
||||||
|
.footer {
|
||||||
|
padding-top: 19px;
|
||||||
|
color: #777;
|
||||||
|
border-top: 1px solid #e5e5e5;
|
||||||
|
}
|
||||||
|
|
||||||
/* Custom container */
|
/* Custom container */
|
||||||
.container-narrow {
|
.container-narrow {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -43,10 +50,7 @@ title: Narrow page template
|
|||||||
/* Main marketing message and sign up button */
|
/* Main marketing message and sign up button */
|
||||||
.jumbotron {
|
.jumbotron {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
border-bottom: 1px solid #e5e5e5;
|
||||||
.jumbotron h1 {
|
|
||||||
font-size: 72px;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
}
|
||||||
.jumbotron .btn {
|
.jumbotron .btn {
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
@@ -64,23 +68,27 @@ title: Narrow page template
|
|||||||
/* Responsive: Portrait tablets and up */
|
/* Responsive: Portrait tablets and up */
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
/* Remove the padding we set earlier */
|
/* Remove the padding we set earlier */
|
||||||
.masthead,
|
.header,
|
||||||
.marketing,
|
.marketing,
|
||||||
.footer {
|
.footer {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
/* Space out the masthead */
|
/* Space out the masthead */
|
||||||
.masthead {
|
.header {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
/* Remove the bottom border on the jumbotron for visual effect */
|
||||||
|
.jumbotron {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-narrow">
|
<div class="container-narrow">
|
||||||
<div class="masthead">
|
<div class="header">
|
||||||
<ul class="nav nav-pills pull-right">
|
<ul class="nav nav-pills pull-right">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">About</a></li>
|
<li><a href="#">About</a></li>
|
||||||
@@ -90,7 +98,7 @@ title: Narrow page template
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<h1>Super awesome marketing speak!</h1>
|
<h1>Jumbotron heading</h1>
|
||||||
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
||||||
<p><a class="btn btn-large btn-success" href="#">Sign up today</a></p>
|
<p><a class="btn btn-large btn-success" href="#">Sign up today</a></p>
|
||||||
</div>
|
</div>
|
||||||
@@ -119,8 +127,6 @@ title: Narrow page template
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>© Company 2013</p>
|
<p>© Company 2013</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Fixed navbar template
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jumbotron {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Fixed navbar -->
|
||||||
|
<div class="navbar navbar-fixed-top">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-brand" href="#">Project name</a>
|
||||||
|
<div class="nav-collapse collapse">
|
||||||
|
<ul class="nav">
|
||||||
|
<li class="active"><a href="#">Home</a></li>
|
||||||
|
<li><a href="#about">About</a></li>
|
||||||
|
<li><a href="#contact">Contact</a></li>
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li class="nav-header">Nav header</li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
<li><a href="#">One more separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li><a href="/examples/navbar/">Default</a></li>
|
||||||
|
<li><a href="/examples/navbar-static-top/">Static top</a></li>
|
||||||
|
<li class="active"><a href="/examples/navbar-fixed-top/">Fixed top</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!--/.nav-collapse -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<!-- Main component for a primary marketing message or call to action -->
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Navbar example</h1>
|
||||||
|
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
||||||
|
<p>
|
||||||
|
<a class="btn btn-large btn-primary" href="../../components/#navbar">View navbar docs »</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Static navbar template
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<style>
|
||||||
|
|
||||||
|
.jumbotron {
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Static navbar -->
|
||||||
|
<div class="navbar navbar-static-top">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-brand" href="#">Project name</a>
|
||||||
|
<div class="nav-collapse collapse">
|
||||||
|
<ul class="nav">
|
||||||
|
<li class="active"><a href="#">Home</a></li>
|
||||||
|
<li><a href="#about">About</a></li>
|
||||||
|
<li><a href="#contact">Contact</a></li>
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li class="nav-header">Nav header</li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
<li><a href="#">One more separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li><a href="/examples/navbar/">Default</a></li>
|
||||||
|
<li class="active"><a href="/examples/navbar-static-top/">Static top</a></li>
|
||||||
|
<li><a href="/examples/navbar-fixed-top/">Fixed top</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!--/.nav-collapse -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<!-- Main component for a primary marketing message or call to action -->
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Navbar example</h1>
|
||||||
|
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
||||||
|
<p>
|
||||||
|
<a class="btn btn-large btn-primary" href="../../components/#navbar">View navbar docs »</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
---
|
||||||
|
layout: example
|
||||||
|
title: Navbar template
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Custom styles for this template -->
|
||||||
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<!-- Static navbar -->
|
||||||
|
<div class="navbar">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
<span class="icon-bar"></span>
|
||||||
|
</a>
|
||||||
|
<a class="navbar-brand" href="#">Project name</a>
|
||||||
|
<div class="nav-collapse collapse">
|
||||||
|
<ul class="nav">
|
||||||
|
<li class="active"><a href="#">Home</a></li>
|
||||||
|
<li><a href="#about">About</a></li>
|
||||||
|
<li><a href="#contact">Contact</a></li>
|
||||||
|
<li class="dropdown">
|
||||||
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li class="nav-header">Nav header</li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
<li><a href="#">One more separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="nav pull-right">
|
||||||
|
<li class="active"><a href="/examples/navbar/">Default</a></li>
|
||||||
|
<li><a href="/examples/navbar-static-top/">Static top</a></li>
|
||||||
|
<li><a href="/examples/navbar-fixed-top/">Fixed top</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!--/.nav-collapse -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Main component for a primary marketing message or call to action -->
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Navbar example</h1>
|
||||||
|
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
||||||
|
<p>
|
||||||
|
<a class="btn btn-large btn-primary" href="../../components/#navbar">View navbar docs »</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
+1
-1
@@ -69,7 +69,7 @@ title: Gallery
|
|||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="http://www.gathercontent.com/" target="_blank">
|
<a class="thumbnail" href="http://www.gathercontent.com/" target="_blank">
|
||||||
<img src="assets/img/example-sites/example-gathercontent.jpg" alt="Gather Content">
|
<img src="/assets/img/example-sites/example-gathercontent.jpg" alt="Gather Content">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
|
|||||||
@@ -175,61 +175,91 @@ description: Overview of the project, its contents, and how to get started with
|
|||||||
<p class="lead">Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.</p>
|
<p class="lead">Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.</p>
|
||||||
<div class="row bs-docs-examples">
|
<div class="row bs-docs-examples">
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/starter-template/">
|
<a class="thumbnail" href="/examples/starter-template/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-starter.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-starter.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Starter template</h4>
|
<h4>Starter template</h4>
|
||||||
<p>A barebones HTML document with all the Bootstrap CSS and JavaScript included.</p>
|
<p>A barebones HTML document with all the Bootstrap CSS and JavaScript included.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/jumbotron/">
|
<a class="thumbnail" href="/examples/jumbotron/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-marketing.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-marketing.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Basic marketing site</h4>
|
<h4>Basic marketing site</h4>
|
||||||
<p>Featuring a hero unit for a primary message and three supporting elements.</p>
|
<p>Featuring a hero unit for a primary message and three supporting elements.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/jumbotron-narrow/">
|
<a class="thumbnail" href="/examples/jumbotron-narrow/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-jumbotron-narrow.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-jumbotron-narrow.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Narrow marketing</h4>
|
<h4>Narrow marketing</h4>
|
||||||
<p>Slim, lightweight marketing template for small projects or teams.</p>
|
<p>Slim, lightweight marketing template for small projects or teams.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/justified-nav/">
|
<a class="thumbnail" href="/examples/justified-nav/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-justified-nav.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-justified-nav.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Justified nav</h4>
|
<h4>Justified nav</h4>
|
||||||
<p>Marketing page with equal-width navigation links in a modified navbar.</p>
|
<p>Marketing page with equal-width navigation links in a modified navbar.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/signin/">
|
<a class="thumbnail" href="/examples/signin/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-signin.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-signin.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Sign in</h4>
|
<h4>Sign in</h4>
|
||||||
<p>Barebones sign in form with custom, larger form controls and a flexible layout.</p>
|
<p>Barebones sign in form with custom, larger form controls and a flexible layout.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/sticky-footer/">
|
<a class="thumbnail" href="/examples/sticky-footer/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Sticky footer</h4>
|
<h4>Sticky footer</h4>
|
||||||
<p>Pin a fixed-height footer to the bottom of the user's viewport.</p>
|
<p>Pin a fixed-height footer to the bottom of the user's viewport.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/sticky-footer-navbar/">
|
<a class="thumbnail" href="/examples/sticky-footer-navbar/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-sticky-footer-navbar.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-sticky-footer-navbar.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Sticky footer w/ navbar</h4>
|
<h4>Sticky footer w/ navbar</h4>
|
||||||
<p>Add a fixed navbar to the default sticky footer template.</p>
|
<p>Add a fixed navbar to the default sticky footer template.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<a class="thumbnail" href="/examples/carousel/">
|
<a class="thumbnail" href="/examples/carousel/" target="_blank">
|
||||||
<img src="/assets/img/examples/bootstrap-example-carousel.png" alt="">
|
<img src="/assets/img/examples/bootstrap-example-carousel.png" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Carousel jumbotron</h4>
|
<h4>Carousel jumbotron</h4>
|
||||||
<p>An interactive riff on the basic marketing site featuring a prominent carousel.</p>
|
<p>An interactive riff on the basic marketing site featuring a prominent carousel.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="span4">
|
||||||
|
<a class="thumbnail" href="/examples/navbar/" target="_blank">
|
||||||
|
<img src="/assets/img/examples/bootstrap-example-navbar.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Navbar</h4>
|
||||||
|
<p>Basic template for showcasing how the navbar works.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<a class="thumbnail" href="/examples/navbar-static-top/" target="_blank">
|
||||||
|
<img src="/assets/img/examples/bootstrap-example-navbar-static-top.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Static top navbar</h4>
|
||||||
|
<p>Basic template for showcasing the static navbar variation.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<a class="thumbnail" href="/examples/navbar-fixed-top/" target="_blank">
|
||||||
|
<img src="/assets/img/examples/bootstrap-example-navbar-fixed-top.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Fixed top navbar</h4>
|
||||||
|
<p>Basic template for showcasing the fixed navbar variation.</p>
|
||||||
|
</div>
|
||||||
|
<div class="span4">
|
||||||
|
<a class="thumbnail" href="/examples/grid/" target="_blank">
|
||||||
|
<img src="/assets/img/examples/bootstrap-example-.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Grid examples</h4>
|
||||||
|
<p></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -15,7 +15,7 @@ title: Bootstrap
|
|||||||
<a href="http://github.com/twitter/bootstrap" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
<a href="http://github.com/twitter/bootstrap" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="./getting-started.html#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
<a href="./getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
|
||||||
</li>
|
</li>
|
||||||
<li>Version 3.0.0</li>
|
<li>Version 3.0.0</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -24,7 +24,7 @@ title: Bootstrap
|
|||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="marketing">
|
<div class="bs-docs-marketing">
|
||||||
|
|
||||||
<h1>Introducing Bootstrap.</h1>
|
<h1>Introducing Bootstrap.</h1>
|
||||||
<p class="marketing-byline">Need reasons to love Bootstrap? Look no further.</p>
|
<p class="marketing-byline">Need reasons to love Bootstrap? Look no further.</p>
|
||||||
@@ -43,12 +43,12 @@ title: Bootstrap
|
|||||||
<div class="span4">
|
<div class="span4">
|
||||||
<img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png">
|
<img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png">
|
||||||
<h2>Packed with features.</h2>
|
<h2>Packed with features.</h2>
|
||||||
<p>A 12-column responsive <a href="./scaffolding.html#gridSystem">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.</p>
|
<p>A 12-column responsive <a href="./css/#grid-system">grid</a>, dozens of components, <a href="./javascript/">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize/">web-based Customizer</a> to make Bootstrap your own.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1>Built with Bootstrap.</h1>
|
<h1>Built with Bootstrap.</h1>
|
||||||
<p class="marketing-byline">For more sites built with Bootstrap, <a href="./gallery.html">visit the gallery</a> or <a href="./getting-started.html#examples">browse the examples</a>.</p>
|
<p class="marketing-byline">For more sites built with Bootstrap, <a href="./gallery/">visit the gallery</a> or <a href="./getting-started/#examples">browse the examples</a>.</p>
|
||||||
<div class="row bs-docs-gallery">
|
<div class="row bs-docs-gallery">
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<a class="thumbnail" href="http://delicious.com">
|
<a class="thumbnail" href="http://delicious.com">
|
||||||
|
|||||||
@@ -622,7 +622,7 @@ $('[data-spy="scroll"]').each(function () {
|
|||||||
|
|
||||||
<h2>Example tabs</h2>
|
<h2>Example tabs</h2>
|
||||||
<p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p>
|
<p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example bs-docs-example-tabs">
|
||||||
<ul id="myTab" class="nav nav-tabs">
|
<ul id="myTab" class="nav nav-tabs">
|
||||||
<li class="active"><a href="#home" data-toggle="tab">Home</a></li>
|
<li class="active"><a href="#home" data-toggle="tab">Home</a></li>
|
||||||
<li><a href="#profile" data-toggle="tab">Profile</a></li>
|
<li><a href="#profile" data-toggle="tab">Profile</a></li>
|
||||||
|
|||||||
Vendored
+1
-1
@@ -75,7 +75,7 @@
|
|||||||
if (!e) this.paused = true
|
if (!e) this.paused = true
|
||||||
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
||||||
this.$element.trigger($.support.transition.end)
|
this.$element.trigger($.support.transition.end)
|
||||||
this.cycle()
|
this.cycle(true)
|
||||||
}
|
}
|
||||||
clearInterval(this.interval)
|
clearInterval(this.interval)
|
||||||
this.interval = null
|
this.interval = null
|
||||||
|
|||||||
Vendored
+1
-1
@@ -158,7 +158,7 @@
|
|||||||
$(document)
|
$(document)
|
||||||
.on('click.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api', clearMenus)
|
||||||
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
.on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('.dropdown-menu', function (e) { e.stopPropagation() })
|
.on('click.dropdown-menu', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -148,7 +148,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, removeBackdrop: function () {
|
, removeBackdrop: function () {
|
||||||
this.$backdrop.remove()
|
this.$backdrop && this.$backdrop.remove()
|
||||||
this.$backdrop = null
|
this.$backdrop = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+9
-1
@@ -80,7 +80,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, enter: function (e) {
|
, enter: function (e) {
|
||||||
var self = $(e.currentTarget)[this.type](this._options).data(this.type)
|
var defaults = $.fn[this.type].defaults
|
||||||
|
, options = {}
|
||||||
|
, self
|
||||||
|
|
||||||
|
this._options && $.each(this._options, function (key, value) {
|
||||||
|
if (defaults[key] != value) options[key] = value
|
||||||
|
}, this)
|
||||||
|
|
||||||
|
self = $(e.currentTarget)[this.type](options).data(this.type)
|
||||||
|
|
||||||
if (!self.options.delay || !self.options.delay.show) return self.show()
|
if (!self.options.delay || !self.options.delay.show) return self.show()
|
||||||
|
|
||||||
|
|||||||
Vendored
+17
@@ -117,4 +117,21 @@ $(function () {
|
|||||||
})
|
})
|
||||||
.modal("toggle")
|
.modal("toggle")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
test("should allow modal close with 'backdrop:false'", function () {
|
||||||
|
stop()
|
||||||
|
$.support.transition = false
|
||||||
|
var div = $("<div>", { id: 'modal-test', "data-backdrop": false })
|
||||||
|
div
|
||||||
|
.bind("shown", function () {
|
||||||
|
ok($('#modal-test').is(":visible"), 'modal visible')
|
||||||
|
div.modal("hide")
|
||||||
|
})
|
||||||
|
.bind("hidden", function() {
|
||||||
|
ok(!$('#modal-test').is(":visible"), 'modal hidden')
|
||||||
|
div.remove()
|
||||||
|
start()
|
||||||
|
})
|
||||||
|
.modal("show")
|
||||||
|
})
|
||||||
})
|
})
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
//
|
//
|
||||||
// Labels and badges
|
// Badges
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Base classes
|
// Base classes
|
||||||
.counter {
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Hover state, but only for links
|
// Hover state, but only for links
|
||||||
a.counter {
|
a.badge {
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -36,23 +36,23 @@ a.counter {
|
|||||||
|
|
||||||
// Quick fix for labels/badges in buttons
|
// Quick fix for labels/badges in buttons
|
||||||
.btn {
|
.btn {
|
||||||
.counter {
|
.badge {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-mini {
|
.btn-mini {
|
||||||
.counter {
|
.badge {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Account for counters in navs
|
// Account for counters in navs
|
||||||
.nav-list > .active > a > .counter,
|
.nav-list > .active > a > .badge,
|
||||||
.nav-pills > .active > a > .counter {
|
.nav-pills > .active > a > .badge {
|
||||||
color: @link-color;
|
color: @link-color;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
.nav-pills > li > a > .counter {
|
.nav-pills > li > a > .badge {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
Vendored
+5
-3
@@ -1,7 +1,7 @@
|
|||||||
/*!
|
/*!
|
||||||
* Bootstrap v3.0.0
|
* Bootstrap v3.0.0
|
||||||
*
|
*
|
||||||
* Copyright 2012 Twitter, Inc
|
* Copyright 2013 Twitter, Inc
|
||||||
* Licensed under the Apache License v2.0
|
* Licensed under the Apache License v2.0
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
@@ -9,11 +9,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Core variables and mixins
|
// Core variables and mixins
|
||||||
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
|
@import "variables.less";
|
||||||
@import "mixins.less";
|
@import "mixins.less";
|
||||||
|
|
||||||
// Reset
|
// Reset
|
||||||
@import "normalize.less";
|
@import "normalize.less";
|
||||||
|
@import "print.less";
|
||||||
|
|
||||||
// Core CSS
|
// Core CSS
|
||||||
@import "scaffolding.less";
|
@import "scaffolding.less";
|
||||||
@@ -49,7 +50,8 @@
|
|||||||
@import "alerts.less";
|
@import "alerts.less";
|
||||||
@import "thumbnails.less";
|
@import "thumbnails.less";
|
||||||
@import "media.less";
|
@import "media.less";
|
||||||
@import "counters.less";
|
@import "labels.less";
|
||||||
|
@import "badges.less";
|
||||||
@import "progress-bars.less";
|
@import "progress-bars.less";
|
||||||
@import "accordion.less";
|
@import "accordion.less";
|
||||||
@import "carousel.less";
|
@import "carousel.less";
|
||||||
|
|||||||
+21
-22
@@ -16,7 +16,17 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle; // match .btn alignment given font-size hack above
|
vertical-align: middle; // match .btn alignment given font-size hack above
|
||||||
> .btn {
|
> .btn {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
|
// Prevent double borders when buttons are next to each other
|
||||||
|
+ btn {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
// Bring the "active" button to the front
|
||||||
|
&:hover,
|
||||||
|
&:active {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,32 +51,26 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.btn-group > .btn + .btn {
|
|
||||||
margin-left: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
|
||||||
.btn-group > .btn:first-child {
|
.btn-group > .btn:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
border-top-left-radius: @border-radius-base;
|
.border-left-radius(@border-radius-base);
|
||||||
border-bottom-left-radius: @border-radius-base;
|
|
||||||
}
|
}
|
||||||
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
||||||
.btn-group > .btn:last-child,
|
.btn-group > .btn:last-child,
|
||||||
.btn-group > .dropdown-toggle {
|
.btn-group > .dropdown-toggle {
|
||||||
border-top-right-radius: @border-radius-base;
|
.border-right-radius(@border-radius-base);
|
||||||
border-bottom-right-radius: @border-radius-base;
|
|
||||||
}
|
}
|
||||||
// Reset corners for large buttons
|
// Reset corners for large buttons
|
||||||
.btn-group > .btn.large:first-child {
|
.btn-group > .btn.large:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
border-top-left-radius: @border-radius-large;
|
.border-left-radius(@border-radius-large);
|
||||||
border-bottom-left-radius: @border-radius-large;
|
|
||||||
}
|
}
|
||||||
.btn-group > .btn.large:last-child,
|
.btn-group > .btn.large:last-child,
|
||||||
.btn-group > .large.dropdown-toggle {
|
.btn-group > .large.dropdown-toggle {
|
||||||
border-top-right-radius: @border-radius-large;
|
.border-right-radius(@border-radius-large);
|
||||||
border-bottom-right-radius: @border-radius-large;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// On active and open, don't show outline
|
// On active and open, don't show outline
|
||||||
@@ -119,29 +123,24 @@
|
|||||||
// Vertical button groups
|
// Vertical button groups
|
||||||
// ----------------------
|
// ----------------------
|
||||||
|
|
||||||
.btn-group-vertical {
|
|
||||||
}
|
|
||||||
.btn-group-vertical > .btn {
|
.btn-group-vertical > .btn {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
border-radius: 0;
|
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn + .btn {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-top: 1px;
|
|
||||||
}
|
|
||||||
.btn-group-vertical .btn:first-child {
|
.btn-group-vertical .btn:first-child {
|
||||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
border-radius: 0; // Needs to be here for specificity since we're not zeroing them out again
|
||||||
|
.border-top-radius(@border-radius-base);
|
||||||
}
|
}
|
||||||
.btn-group-vertical .btn:last-child {
|
.btn-group-vertical .btn:last-child {
|
||||||
border-radius: 0 0 @border-radius-base @border-radius-base;
|
border-radius: 0; // Needs to be here for specificity since we're not zeroing them out again
|
||||||
|
.border-bottom-radius(@border-radius-base);
|
||||||
}
|
}
|
||||||
.btn-group-vertical .btn-large:first-child {
|
.btn-group-vertical .btn-large:first-child {
|
||||||
border-radius: @border-radius-large @border-radius-large 0 0;
|
.border-top-radius(@border-radius-large);
|
||||||
}
|
}
|
||||||
.btn-group-vertical .btn-large:last-child {
|
.btn-group-vertical .btn-large:last-child {
|
||||||
border-radius: 0 0 @border-radius-large @border-radius-large;
|
.border-bottom-radius(@border-radius-large);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-9
@@ -19,6 +19,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid @btn-border;
|
border: 1px solid @btn-border;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
.tab-focus();
|
.tab-focus();
|
||||||
@@ -41,7 +42,7 @@
|
|||||||
&[disabled],
|
&[disabled],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
.opacity(65);
|
.opacity(.65);
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,10 +65,6 @@
|
|||||||
font-size: @font-size-small;
|
font-size: @font-size-small;
|
||||||
border-radius: @border-radius-small;
|
border-radius: @border-radius-small;
|
||||||
}
|
}
|
||||||
.btn-mini [class^="icon-"],
|
|
||||||
.btn-mini [class*=" icon-"] {
|
|
||||||
margin-top: -1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mini
|
// Mini
|
||||||
.btn-mini {
|
.btn-mini {
|
||||||
@@ -80,10 +77,7 @@
|
|||||||
// Icons in buttons
|
// Icons in buttons
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.btn [class^="glyphicon-"]::before { vertical-align: -2px; }
|
// TODO: figure this shit out
|
||||||
.btn-small [class^="glyphicon-"]::before,
|
|
||||||
.btn-mini [class^="glyphicon-"]::before { vertical-align: -1px; }
|
|
||||||
|
|
||||||
|
|
||||||
// Block button
|
// Block button
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|||||||
+2
-2
@@ -75,7 +75,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 15%;
|
width: 15%;
|
||||||
.opacity(50);
|
.opacity(.5);
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
.opacity(90);
|
.opacity(.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Toggles
|
// Toggles
|
||||||
|
|||||||
+2
-2
@@ -10,13 +10,13 @@
|
|||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
color: #000;
|
color: #000;
|
||||||
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
||||||
.opacity(20);
|
.opacity(.2);
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: #000;
|
color: #000;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.opacity(50);
|
.opacity(.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+27
-44
@@ -138,12 +138,6 @@ input[type="file"] {
|
|||||||
line-height: @input-height-base;
|
line-height: @input-height-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make select elements obey height by applying a border
|
|
||||||
// TODO: See if this can be part of the above selector stack
|
|
||||||
select {
|
|
||||||
border: 1px solid @input-border;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Make multiple select elements height not fixed
|
// Make multiple select elements height not fixed
|
||||||
select[multiple],
|
select[multiple],
|
||||||
select[size] {
|
select[size] {
|
||||||
@@ -231,7 +225,6 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Radios and checkboxes on same line
|
// Radios and checkboxes on same line
|
||||||
// TODO v3: Convert .inline to .control-inline
|
|
||||||
.radio-inline,
|
.radio-inline,
|
||||||
.checkbox-inline {
|
.checkbox-inline {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -510,52 +503,43 @@ select:focus:invalid {
|
|||||||
|
|
||||||
// Button input groups
|
// Button input groups
|
||||||
// -------------------------
|
// -------------------------
|
||||||
.input-group-btn,
|
.input-group-btn {
|
||||||
.input-group-btn .btn {
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.input-group-btn > .btn {
|
.input-group-btn > .btn {
|
||||||
|
position: relative;
|
||||||
float: left; // Collapse white-space
|
float: left; // Collapse white-space
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
+ .btn {
|
+ .btn {
|
||||||
border-left: 0;
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
// Bring the "active" button to the front
|
||||||
|
&:hover,
|
||||||
|
&:active {
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.input-group-btn.btn-group {
|
|
||||||
display: table-cell;
|
// Prepended buttons
|
||||||
}
|
.input-group-btn:first-child {
|
||||||
// Prepend
|
// Round the left corners only
|
||||||
.input-group-btn {
|
> .btn:first-child,
|
||||||
&:first-child > .btn,
|
> .dropdown-toggle:first-child {
|
||||||
&.btn-group:first-child > .btn {
|
.border-left-radius(@border-radius-base);
|
||||||
border-right: 0;
|
&.btn-large { .border-left-radius(@border-radius-large); }
|
||||||
}
|
&.btn-small { .border-left-radius(@border-radius-small); }
|
||||||
&:first-child > .btn,
|
|
||||||
&.btn-group:first-child > .btn {
|
|
||||||
border-radius: @border-radius-base 0 0 @border-radius-base;
|
|
||||||
&.btn-large {
|
|
||||||
border-radius:@border-radius-large 0 0 @border-radius-large;
|
|
||||||
}
|
|
||||||
&.btn-small {
|
|
||||||
border-radius:@border-radius-small 0 0 @border-radius-small;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Append
|
|
||||||
.input-group-btn {
|
// Appended buttons
|
||||||
&:last-child > .btn,
|
.input-group-btn:last-child {
|
||||||
&.btn-group:last-child > .btn:first-child {
|
// Round the right corners only
|
||||||
border-left: 0;
|
> .btn:last-child,
|
||||||
}
|
> .dropdown-toggle {
|
||||||
&:last-child > .btn,
|
.border-right-radius(@border-radius-base);
|
||||||
&.btn-group:last-child > .btn {
|
&.btn-large { .border-right-radius(@border-radius-large); }
|
||||||
border-radius: 0 @border-radius-base @border-radius-base 0;
|
&.btn-small { .border-right-radius(@border-radius-small); }
|
||||||
&.btn-large {
|
|
||||||
border-radius: 0 @border-radius-large @border-radius-large 0;
|
|
||||||
}
|
|
||||||
&.btn-small {
|
|
||||||
border-radius: 0 @border-radius-small @border-radius-small 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -564,7 +548,6 @@ select:focus:invalid {
|
|||||||
// Horizontal forms
|
// Horizontal forms
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
|
|
||||||
.form-horizontal {
|
.form-horizontal {
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
//
|
||||||
|
// Labels
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base classes
|
||||||
|
.label {
|
||||||
|
padding: .25em .6em;
|
||||||
|
font-size: 75%;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #fff;
|
||||||
|
line-height: 1;
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-align: center;
|
||||||
|
background-color: @grayLight;
|
||||||
|
border-radius: .25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hover state, but only for links
|
||||||
|
a.label {
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Colors
|
||||||
|
// Only give background-color difference to links (and to simplify, we don't qualifty with `a` but [href] attribute)
|
||||||
|
.label {
|
||||||
|
// Danger (red)
|
||||||
|
&-danger { background-color: @label-danger-background; }
|
||||||
|
&-danger[href] { background-color: darken(@label-danger-background, 10%); }
|
||||||
|
// Warnings (orange)
|
||||||
|
&-warning { background-color: @label-warning-background; }
|
||||||
|
&-warning[href] { background-color: darken(@label-warning-background, 10%); }
|
||||||
|
// Success (green)
|
||||||
|
&-success { background-color: @label-success-background; }
|
||||||
|
&-success[href] { background-color: darken(@label-success-background, 10%); }
|
||||||
|
// Info (turquoise)
|
||||||
|
&-info { background-color: @label-info-background; }
|
||||||
|
&-info[href] { background-color: darken(@label-info-background, 10%); }
|
||||||
|
}
|
||||||
|
|
||||||
+4
-2
@@ -291,8 +291,10 @@
|
|||||||
|
|
||||||
// Opacity
|
// Opacity
|
||||||
.opacity(@opacity) {
|
.opacity(@opacity) {
|
||||||
opacity: @opacity / 100;
|
opacity: @opacity;
|
||||||
filter: ~"alpha(opacity=@{opacity})"; // IE8
|
// IE8 filter
|
||||||
|
@opacity-ie: @opacity * 100;
|
||||||
|
filter: ~"alpha(opacity=@{opacity-ie})";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -67,8 +67,8 @@
|
|||||||
z-index: @zindex-modal-background - 10;
|
z-index: @zindex-modal-background - 10;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
// Fade for backdrop
|
// Fade for backdrop
|
||||||
&.fade { opacity: 0; }
|
&.fade { .opacity(0); }
|
||||||
&.fade.in { .opacity(50);}
|
&.fade.in { .opacity(.5); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Modal header
|
// Modal header
|
||||||
|
|||||||
+60
-31
@@ -4,7 +4,8 @@
|
|||||||
|
|
||||||
// Wrapper and base class
|
// Wrapper and base class
|
||||||
.navbar {
|
.navbar {
|
||||||
padding: 15px;
|
position: relative;
|
||||||
|
padding: 10px 15px;
|
||||||
background-color: @navbar-bg;
|
background-color: @navbar-bg;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
// Prevent floats from breaking the navbar
|
// Prevent floats from breaking the navbar
|
||||||
@@ -16,7 +17,8 @@
|
|||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
.nav {
|
.nav {
|
||||||
margin-top: 15px; // space out from .navbar .brand and .btn-navbar
|
// space out from .navbar .brand and .btn-navbar
|
||||||
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
.nav > li > a {
|
.nav > li > a {
|
||||||
padding-top: (@navbar-height - @line-height-base) / 2;
|
padding-top: (@navbar-height - @line-height-base) / 2;
|
||||||
@@ -35,6 +37,12 @@
|
|||||||
color: @navbar-link-color-active;
|
color: @navbar-link-color-active;
|
||||||
background-color: @navbar-link-bg-active;
|
background-color: @navbar-link-bg-active;
|
||||||
}
|
}
|
||||||
|
.nav > .disabled > a,
|
||||||
|
.nav > .disabled > a:hover,
|
||||||
|
.nav > .disabled > a:focus {
|
||||||
|
color: @navbar-link-color-disabled;
|
||||||
|
background-color: @navbar-link-bg-disabled;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -45,15 +53,20 @@
|
|||||||
|
|
||||||
// Static navbar
|
// Static navbar
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
position: static;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fixed navbars aren't fixed to start; that comes at >768px
|
// Fix the top/bottom navbars when screen real estate supports it
|
||||||
.navbar-fixed-top,
|
.navbar-fixed-top,
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
|
position: fixed;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: @zindex-navbar-fixed;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
.navbar-fixed-top { top: 0; }
|
||||||
|
.navbar-fixed-bottom { bottom: 0; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -62,13 +75,17 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Brand/project name
|
// Brand/project name
|
||||||
.navbar .brand {
|
.navbar-brand {
|
||||||
display: inline-block;
|
display: block;
|
||||||
|
max-width: 200px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
padding: 7px 15px;
|
padding: 7px 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
color: @navbar-brand-color;
|
color: @navbar-brand-color;
|
||||||
|
text-align: center;
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: @navbar-brand-color-hover;
|
color: @navbar-brand-color-hover;
|
||||||
@@ -78,23 +95,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Collapsible navbar toggle
|
// Collapsible navbar toggle
|
||||||
.btn-navbar {
|
.navbar-toggle {
|
||||||
float: right;
|
position: absolute;
|
||||||
padding: 10px 12px;
|
top: 10px;
|
||||||
background-color: #ddd;
|
right: 10px;
|
||||||
border: 0;
|
padding: 8px 12px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid #ddd;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
// Bars
|
// Bars
|
||||||
.icon-bar {
|
.icon-bar {
|
||||||
display: block;
|
display: block;
|
||||||
width: 20px;
|
width: 22px;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
background-color: #fff;
|
background-color: #ccc;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
}
|
}
|
||||||
.icon-bar + .icon-bar {
|
.icon-bar + .icon-bar {
|
||||||
margin-top: 3px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,7 +189,7 @@
|
|||||||
.navbar-inverse {
|
.navbar-inverse {
|
||||||
background-color: @navbar-inverse-bg;
|
background-color: @navbar-inverse-bg;
|
||||||
|
|
||||||
.brand {
|
.navbar-brand {
|
||||||
color: @navbar-inverse-brand-color;
|
color: @navbar-inverse-brand-color;
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
@@ -192,10 +216,23 @@
|
|||||||
color: @navbar-inverse-link-color-active;
|
color: @navbar-inverse-link-color-active;
|
||||||
background-color: @navbar-inverse-link-bg-active;
|
background-color: @navbar-inverse-link-bg-active;
|
||||||
}
|
}
|
||||||
|
.nav > .disabled > a,
|
||||||
|
.nav > .disabled > a:hover,
|
||||||
|
.nav > .disabled > a:focus {
|
||||||
|
color: @navbar-inverse-link-color-disabled;
|
||||||
|
background-color: @navbar-inverse-link-bg-disabled;
|
||||||
|
}
|
||||||
|
|
||||||
// Darken the responsive nav toggle
|
// Darken the responsive nav toggle
|
||||||
.btn-navbar {
|
.navbar-toggle {
|
||||||
background-color: #444;
|
border-color: #333;
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
.icon-bar {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Darken dividers
|
// Darken dividers
|
||||||
@@ -237,11 +274,11 @@
|
|||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.navbar .brand {
|
.navbar-brand {
|
||||||
float: left;
|
float: left;
|
||||||
padding-top: (@navbar-height - @line-height-base) / 2;
|
padding-top: (@navbar-height - @line-height-base) / 2;
|
||||||
padding-bottom: (@navbar-height - @line-height-base) / 2;
|
padding-bottom: (@navbar-height - @line-height-base) / 2;
|
||||||
margin-left: -15px;
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
.navbar .nav {
|
.navbar .nav {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -270,19 +307,11 @@
|
|||||||
border-right-color: lighten(@navbar-inverse-bg, 5%);
|
border-right-color: lighten(@navbar-inverse-bg, 5%);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fix the top/bottom navbars when screen real estate supports it
|
|
||||||
.navbar-fixed-top,
|
|
||||||
.navbar-fixed-bottom {
|
|
||||||
position: fixed;
|
|
||||||
right: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: @zindex-navbar-fixed;
|
|
||||||
}
|
|
||||||
.navbar-fixed-top { top: 0; }
|
|
||||||
.navbar-fixed-bottom { bottom: 0; }
|
|
||||||
|
|
||||||
// Required to make the collapsing navbar work on regular desktops
|
// Required to make the collapsing navbar work on regular desktops
|
||||||
.navbar .btn-navbar {
|
.navbar-toggle {
|
||||||
|
position: relative;
|
||||||
|
top: auto;
|
||||||
|
left: auto;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.nav-collapse.collapse {
|
.nav-collapse.collapse {
|
||||||
|
|||||||
+22
-21
@@ -156,6 +156,7 @@
|
|||||||
// Nuke hover effects
|
// Nuke hover effects
|
||||||
.nav > .disabled > a:hover,
|
.nav > .disabled > a:hover,
|
||||||
.nav > .disabled > a:focus {
|
.nav > .disabled > a:focus {
|
||||||
|
color: @grayLight;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
@@ -186,6 +187,26 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Tabbable tabs
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Clear any floats
|
||||||
|
.tabbable {
|
||||||
|
.clearfix();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show/hide tabbable areas
|
||||||
|
.tab-content > .tab-pane,
|
||||||
|
.pill-content > .pill-pane {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tab-content > .active,
|
||||||
|
.pill-content > .active {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Prevent IE8 from misplacing imgs
|
// Prevent IE8 from misplacing imgs
|
||||||
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
||||||
@@ -245,7 +266,7 @@
|
|||||||
.nav li.dropdown.open a:hover .caret {
|
.nav li.dropdown.open a:hover .caret {
|
||||||
border-top-color: #fff;
|
border-top-color: #fff;
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
.opacity(100);
|
.opacity(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dropdowns in stacked tabs
|
// Dropdowns in stacked tabs
|
||||||
@@ -253,24 +274,4 @@
|
|||||||
border-color: @grayLight;
|
border-color: @grayLight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Tabbable tabs
|
|
||||||
// -------------------------
|
|
||||||
|
|
||||||
// Clear any floats
|
|
||||||
.tabbable {
|
|
||||||
.clearfix();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show/hide tabbable areas
|
|
||||||
.tab-content > .tab-pane,
|
|
||||||
.pill-content > .pill-pane {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.tab-content > .active,
|
|
||||||
.pill-content > .active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
.pagination > .disabled > a:hover,
|
.pagination > .disabled > a:hover,
|
||||||
.pagination > .disabled > a:focus {
|
.pagination > .disabled > a:focus {
|
||||||
color: @grayLight;
|
color: @grayLight;
|
||||||
background-color: transparent;
|
background-color: @pagination-background;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.pagination > li:first-child > a,
|
.pagination > li:first-child > a,
|
||||||
|
|||||||
@@ -0,0 +1,69 @@
|
|||||||
|
//
|
||||||
|
// Basic print styles
|
||||||
|
// --------------------------------------------------
|
||||||
|
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
* {
|
||||||
|
text-shadow: none !important;
|
||||||
|
color: #000 !important; // Black prints faster: h5bp.com/s
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
a,
|
||||||
|
a:visited {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a[href]:after {
|
||||||
|
content: " (" attr(href) ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title]:after {
|
||||||
|
content: " (" attr(title) ")";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Don't show links for images, or javascript/internal links
|
||||||
|
.ir a:after,
|
||||||
|
a[href^="javascript:"]:after,
|
||||||
|
a[href^="#"]:after {
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
blockquote {
|
||||||
|
border: 1px solid #999;
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead {
|
||||||
|
display: table-header-group; // h5bp.com/t
|
||||||
|
}
|
||||||
|
|
||||||
|
tr,
|
||||||
|
img {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@page {
|
||||||
|
margin: 0.5cm;
|
||||||
|
}
|
||||||
|
|
||||||
|
p,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
orphans: 3;
|
||||||
|
widows: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
page-break-after: avoid;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -85,73 +85,3 @@ img {
|
|||||||
.img-circle {
|
.img-circle {
|
||||||
border-radius: 500px; // crank the border-radius so it works with most reasonably sized images
|
border-radius: 500px; // crank the border-radius so it works with most reasonably sized images
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Printing
|
|
||||||
// -------------------------
|
|
||||||
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
|
|
||||||
* {
|
|
||||||
text-shadow: none !important;
|
|
||||||
color: #000 !important; // Black prints faster: h5bp.com/s
|
|
||||||
background: transparent !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a,
|
|
||||||
a:visited {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
a[href]:after {
|
|
||||||
content: " (" attr(href) ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
abbr[title]:after {
|
|
||||||
content: " (" attr(title) ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Don't show links for images, or javascript/internal links
|
|
||||||
.ir a:after,
|
|
||||||
a[href^="javascript:"]:after,
|
|
||||||
a[href^="#"]:after {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
pre,
|
|
||||||
blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
thead {
|
|
||||||
display: table-header-group; // h5bp.com/t
|
|
||||||
}
|
|
||||||
|
|
||||||
tr,
|
|
||||||
img {
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@page {
|
|
||||||
margin: 0.5cm;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
page-break-after: avoid;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
+8
-5
@@ -177,12 +177,15 @@ th {
|
|||||||
// TABLE CELL SIZING
|
// TABLE CELL SIZING
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
// Reset default grid behavior
|
// Reset default table behavior
|
||||||
table td[class*="span"],
|
table col[class^="span"] {
|
||||||
table th[class*="span"] {
|
float: none;
|
||||||
|
display: table-column;
|
||||||
|
}
|
||||||
|
table td[class^="span"],
|
||||||
|
table th[class^="span"] {
|
||||||
|
float: none;
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
float: none; // undo default grid column styles
|
|
||||||
margin-left: 0; // undo default grid column styles
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TABLE BACKGROUNDS
|
// TABLE BACKGROUNDS
|
||||||
|
|||||||
@@ -1,210 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Buttons · Bootstrap</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<h2>Icons in buttons</h2>
|
|
||||||
<p>
|
|
||||||
<button class="btn btn-large" type="button">
|
|
||||||
Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-large" type="button">
|
|
||||||
<span class="glyphicon glyphicon-user"></span> Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-large" type="button">
|
|
||||||
<span class="glyphicon glyphicon-home"></span> Home
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-large" type="button">
|
|
||||||
<span class="glyphicon glyphicon-link"></span> Link
|
|
||||||
</button>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<button class="btn" type="button">
|
|
||||||
Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn" type="button">
|
|
||||||
<span class="glyphicon glyphicon-user"></span> Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn" type="button">
|
|
||||||
<span class="glyphicon glyphicon-home"></span> Home
|
|
||||||
</button>
|
|
||||||
<button class="btn" type="button">
|
|
||||||
<span class="glyphicon glyphicon-link"></span> Link
|
|
||||||
</button>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<button class="btn btn-small" type="button">
|
|
||||||
Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-small" type="button">
|
|
||||||
<span class="glyphicon glyphicon-user"></span> Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-small" type="button">
|
|
||||||
<span class="glyphicon glyphicon-home"></span> Home
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-small" type="button">
|
|
||||||
<span class="glyphicon glyphicon-link"></span> Link
|
|
||||||
</button>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<button class="btn btn-mini" type="button">
|
|
||||||
Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-mini" type="button">
|
|
||||||
<span class="glyphicon glyphicon-user"></span> Profile
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-mini" type="button">
|
|
||||||
<span class="glyphicon glyphicon-home"></span> Home
|
|
||||||
</button>
|
|
||||||
<button class="btn btn-mini" type="button">
|
|
||||||
<span class="glyphicon glyphicon-link"></span> Link
|
|
||||||
</button>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="btn-toolbar">
|
|
||||||
<div class="btn-group">
|
|
||||||
<a class="btn" href="#"><i class="glyphicon glyphicon-align-left"></i></a>
|
|
||||||
<a class="btn" href="#"><i class="glyphicon glyphicon-align-center"></i></a>
|
|
||||||
<a class="btn" href="#"><i class="glyphicon glyphicon-align-right"></i></a>
|
|
||||||
<a class="btn" href="#"><i class="glyphicon glyphicon-align-justify"></i></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Dropups</h2>
|
|
||||||
<div class="btn-toolbar">
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn">Dropup</button>
|
|
||||||
<button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-primary">Dropup</button>
|
|
||||||
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-danger">Dropup</button>
|
|
||||||
<button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-warning">Dropup</button>
|
|
||||||
<button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-success">Dropup</button>
|
|
||||||
<button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-info">Dropup</button>
|
|
||||||
<button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
<div class="btn-group dropup">
|
|
||||||
<button class="btn btn-inverse">Dropup</button>
|
|
||||||
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!-- /btn-group -->
|
|
||||||
</div><!-- /btn-toolbar -->
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../../docs/assets/js/jquery.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,128 +0,0 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap CSS Tests
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* Remove background image */
|
|
||||||
body {
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Space out subhead */
|
|
||||||
.subhead {
|
|
||||||
margin-bottom: 36px;
|
|
||||||
}
|
|
||||||
/*h4 {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
.type-test {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding: 0 20px 20px;
|
|
||||||
background: url(../../docs/assets/img/grid-baseline-20px.png);
|
|
||||||
}
|
|
||||||
.type-test h1,
|
|
||||||
.type-test h2,
|
|
||||||
.type-test h3,
|
|
||||||
.type-test h4,
|
|
||||||
.type-test h5,
|
|
||||||
.type-test h6 {
|
|
||||||
background-color: rgba(255,0,0,.2);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* colgroup tests */
|
|
||||||
.col1 {
|
|
||||||
background-color: rgba(255,0,0,.1);
|
|
||||||
}
|
|
||||||
.col2 {
|
|
||||||
background-color: rgba(0,255,0,.1);
|
|
||||||
}
|
|
||||||
.col3 {
|
|
||||||
background-color: rgba(0,0,255,.1);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Gradients */
|
|
||||||
|
|
||||||
[class^="gradient-"] {
|
|
||||||
width: 100%;
|
|
||||||
height: 400px;
|
|
||||||
margin: 20px 0;
|
|
||||||
-webkit-border-radius: 5px;
|
|
||||||
-moz-border-radius: 5px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-horizontal {
|
|
||||||
background-color: #333333;
|
|
||||||
background-image: -moz-linear-gradient(left, #555555, #333333);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#555555), to(#333333));
|
|
||||||
background-image: -webkit-linear-gradient(left, #555555, #333333);
|
|
||||||
background-image: -o-linear-gradient(left, #555555, #333333);
|
|
||||||
background-image: linear-gradient(to right, #555555, #333333);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff333333', GradientType=1);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-vertical {
|
|
||||||
background-color: #474747;
|
|
||||||
background-image: -moz-linear-gradient(top, #555555, #333333);
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#333333));
|
|
||||||
background-image: -webkit-linear-gradient(top, #555555, #333333);
|
|
||||||
background-image: -o-linear-gradient(top, #555555, #333333);
|
|
||||||
background-image: linear-gradient(to bottom, #555555, #333333);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff333333', GradientType=0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-directional {
|
|
||||||
background-color: #333333;
|
|
||||||
background-image: -moz-linear-gradient(45deg, #555555, #333333);
|
|
||||||
background-image: -webkit-linear-gradient(45deg, #555555, #333333);
|
|
||||||
background-image: -o-linear-gradient(45deg, #555555, #333333);
|
|
||||||
background-image: linear-gradient(45deg, #555555, #333333);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-vertical-three {
|
|
||||||
background-color: #8940a5;
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00b3ee), color-stop(50%, #7a43b6), to(#c3325f));
|
|
||||||
background-image: -webkit-linear-gradient(#00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: -moz-linear-gradient(top, #00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: -o-linear-gradient(#00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: linear-gradient(#00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff00b3ee', endColorstr='#ffc3325f', GradientType=0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-radial {
|
|
||||||
background-color: #333333;
|
|
||||||
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(#555555), to(#333333));
|
|
||||||
background-image: -webkit-radial-gradient(circle, #555555, #333333);
|
|
||||||
background-image: -moz-radial-gradient(circle, #555555, #333333);
|
|
||||||
background-image: -o-radial-gradient(circle, #555555, #333333);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-striped {
|
|
||||||
background-color: #555555;
|
|
||||||
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
|
||||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
|
||||||
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
|
||||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
|
||||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-horizontal-three {
|
|
||||||
background-color: #00b3ee;
|
|
||||||
background-image: -webkit-gradient(left, linear, 0 0, 0 100%, from(#00b3ee), color-stop(50%, #7a43b6), to(#c3325f));
|
|
||||||
background-image: -webkit-linear-gradient(left, #00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: -moz-linear-gradient(left, #00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: -o-linear-gradient(left, #00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-image: linear-gradient(to right, #00b3ee, #7a43b6 50%, #c3325f);
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00b3ee', endColorstr='#c3325f', GradientType=0);
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,60 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<form class="container">
|
|
||||||
|
|
||||||
<div class="page-header">
|
|
||||||
<h1>Fixed grid</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>Vertical alignment</h3>
|
|
||||||
<input type="text" class="span2" placeholder="span2">
|
|
||||||
<select class="span2"><option>span2</option></select>
|
|
||||||
<span class="uneditable-input span2">span1</span>
|
|
||||||
|
|
||||||
<h3>Width across elements</h3>
|
|
||||||
<div>
|
|
||||||
<input type="text" class="span2" placeholder="span2">
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<select class="span2"><option>span2</option></select>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<span class="uneditable-input span2">span2</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form> <!-- /container -->
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,199 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<form class="container">
|
|
||||||
|
|
||||||
<div class="page-header">
|
|
||||||
<h1>Form controls</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<div class="span4">
|
|
||||||
|
|
||||||
<label>Select</label>
|
|
||||||
<select>
|
|
||||||
<option>Select</option>
|
|
||||||
<option>Option 2</option>
|
|
||||||
<option>Option 3</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>textarea</label>
|
|
||||||
<textarea>Textarea</textarea>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>text</label>
|
|
||||||
<input type="text" value="Text input">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>password</label>
|
|
||||||
<input type="password" value="Password input">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>checkbox</label>
|
|
||||||
<input type="checkbox" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>radio</label>
|
|
||||||
<input type="radio" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>button</label>
|
|
||||||
<input type="button" value="Button">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>submit</label>
|
|
||||||
<input type="submit" value="Submit">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>reset</label>
|
|
||||||
<input type="reset" value="Reset">
|
|
||||||
|
|
||||||
</div><!-- /span4 -->
|
|
||||||
<div class="span4">
|
|
||||||
|
|
||||||
<label>file</label>
|
|
||||||
<input type="file" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>hidden</label>
|
|
||||||
<input type="hidden" value="hidden">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>image</label>
|
|
||||||
<input type="image" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>datetime</label>
|
|
||||||
<input type="datetime" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>datetime-local</label>
|
|
||||||
<input type="datetime-local" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>date</label>
|
|
||||||
<input type="date" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>month</label>
|
|
||||||
<input type="month" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>time</label>
|
|
||||||
<input type="time" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>week</label>
|
|
||||||
<input type="week" value="">
|
|
||||||
|
|
||||||
</div><!-- /span4 -->
|
|
||||||
<div class="span4">
|
|
||||||
|
|
||||||
<label>number</label>
|
|
||||||
<input type="number" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>range</label>
|
|
||||||
<input type="range" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>email</label>
|
|
||||||
<input type="email" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>url</label>
|
|
||||||
<input type="url" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>search</label>
|
|
||||||
<input type="search" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>tel</label>
|
|
||||||
<input type="tel" value="">
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<label>color</label>
|
|
||||||
<input type="color" value="">
|
|
||||||
|
|
||||||
</div><!-- /span4 -->
|
|
||||||
</div><!-- /row -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="page-header">
|
|
||||||
<h1>Form components</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<fieldset>
|
|
||||||
<legend>Legend</legend>
|
|
||||||
<label>Label name</label>
|
|
||||||
<input type="text" placeholder="Type something…">
|
|
||||||
<p class="help-block">Example block-level help text here.</p>
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox"> Check me out
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn">Submit</button>
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
|
|
||||||
</form> <!-- /container -->
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,108 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
<link href="../../docs/assets/css/docs.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
background-color: rgba(255,0,0,.1);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<form class="container">
|
|
||||||
|
|
||||||
<div class="page-header">
|
|
||||||
<h1>Grids</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Default grid columns</h2>
|
|
||||||
<div class="bs-docs-grid">
|
|
||||||
<div class="row show-grid">
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
<div class="span1">1</div>
|
|
||||||
</div>
|
|
||||||
<div class="row show-grid">
|
|
||||||
<div class="span4">4</div>
|
|
||||||
<div class="span4">4</div>
|
|
||||||
<div class="span4">4</div>
|
|
||||||
</div>
|
|
||||||
<div class="row show-grid">
|
|
||||||
<div class="span6">6</div>
|
|
||||||
<div class="span6">6</div>
|
|
||||||
</div>
|
|
||||||
<div class="row show-grid">
|
|
||||||
<div class="span12">12</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Inputs</h2>
|
|
||||||
<!-- <input type="text" class="span1" placeholder=".span1">
|
|
||||||
<input type="text" class="span2" placeholder=".span2">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
<input type="text" class="span5" placeholder=".span5">
|
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
<input type="text" class="span1" placeholder=".span1">
|
|
||||||
<input type="text" class="span2" placeholder=".span2">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
<input type="text" class="span5" placeholder=".span5">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="controls-row">
|
|
||||||
<input type="text" class="span1" placeholder=".span1">
|
|
||||||
<input type="text" class="span2" placeholder=".span2">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
<input type="text" class="span5" placeholder=".span5">
|
|
||||||
</div>
|
|
||||||
-->
|
|
||||||
<div class="controls-row">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
<input type="text" class="span4" placeholder=".span4">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</form> <!-- /container -->
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 60px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Fixed navbar -->
|
|
||||||
<div class="navbar navbar-fixed-top">
|
|
||||||
<div class="container">
|
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</a>
|
|
||||||
<a class="brand" href="#">Project name</a>
|
|
||||||
<div class="nav-collapse collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active"><a href="#">Home</a></li>
|
|
||||||
<li><a href="#about">About</a></li>
|
|
||||||
<li><a href="#contact">Contact</a></li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li class="nav-header">Nav header</li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
<li><a href="#">One more separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav pull-right">
|
|
||||||
<li><a href="./navbar.html">Default</a></li>
|
|
||||||
<li><a href="./navbar-static-top.html">Static top</a></li>
|
|
||||||
<li class="active"><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
|
||||||
<div class="hero-unit">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
|
||||||
<p>
|
|
||||||
<a class="btn btn-large btn-primary" href="../../docs/components.html#navbar">View navbar docs »</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../../docs/assets/js/jquery.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
.hero-unit {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<!-- Static navbar -->
|
|
||||||
<div class="navbar navbar-static-top">
|
|
||||||
<div class="container">
|
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</a>
|
|
||||||
<a class="brand" href="#">Project name</a>
|
|
||||||
<div class="nav-collapse collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active"><a href="#">Home</a></li>
|
|
||||||
<li><a href="#about">About</a></li>
|
|
||||||
<li><a href="#contact">Contact</a></li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li class="nav-header">Nav header</li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
<li><a href="#">One more separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav pull-right">
|
|
||||||
<li><a href="./navbar.html">Default</a></li>
|
|
||||||
<li class="active"><a href="./navbar-static-top.html">Static top</a></li>
|
|
||||||
<li><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
|
||||||
<div class="hero-unit">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
|
||||||
<p>
|
|
||||||
<a class="btn btn-large btn-primary" href="../../docs/components.html#navbar">View navbar docs »</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../../docs/assets/js/jquery.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../../docs/assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
padding-top: 0;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
.navbar {
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<link href="../../docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../docs/assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../docs/assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../docs/assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../../docs/assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
<link rel="shortcut icon" href="../../docs/assets/ico/favicon.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<!-- Static navbar -->
|
|
||||||
<div class="navbar">
|
|
||||||
<div class="container">
|
|
||||||
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</a>
|
|
||||||
<a class="brand" href="#">Project name</a>
|
|
||||||
<div class="nav-collapse collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active"><a href="#">Home</a></li>
|
|
||||||
<li><a href="#about">About</a></li>
|
|
||||||
<li><a href="#contact">Contact</a></li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
|
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li><a href="#">Action</a></li>
|
|
||||||
<li><a href="#">Another action</a></li>
|
|
||||||
<li><a href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li class="nav-header">Nav header</li>
|
|
||||||
<li><a href="#">Separated link</a></li>
|
|
||||||
<li><a href="#">One more separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav pull-right">
|
|
||||||
<li class="active"><a href="./navbar.html">Default</a></li>
|
|
||||||
<li><a href="./navbar-static-top.html">Static top</a></li>
|
|
||||||
<li><a href="./navbar-fixed-top.html">Fixed top</a></li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Main hero unit for a primary marketing message or call to action -->
|
|
||||||
<div class="hero-unit">
|
|
||||||
<h1>Navbar example</h1>
|
|
||||||
<p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
|
|
||||||
<p>
|
|
||||||
<a class="btn btn-large btn-primary" href="../../docs/components.html#navbar">View navbar docs »</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../../docs/assets/js/jquery.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../../docs/assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
.opacity(0);
|
.opacity(0);
|
||||||
|
|
||||||
&.in { .opacity(100); }
|
&.in { .opacity(1); }
|
||||||
&.top { margin-top: -3px; padding: 5px 0; }
|
&.top { margin-top: -3px; padding: 5px 0; }
|
||||||
&.right { margin-left: 3px; padding: 0 5px; }
|
&.right { margin-left: 3px; padding: 0 5px; }
|
||||||
&.bottom { margin-top: 3px; padding: 5px 0; }
|
&.bottom { margin-top: 3px; padding: 5px 0; }
|
||||||
|
|||||||
+14
-7
@@ -64,11 +64,6 @@
|
|||||||
@padding-small: 2px 10px; // 26px
|
@padding-small: 2px 10px; // 26px
|
||||||
@padding-mini: 0 6px; // 22px
|
@padding-mini: 0 6px; // 22px
|
||||||
|
|
||||||
/*@padding-large-input: 10px 14px; // 44px
|
|
||||||
// firefox hack since it doesn't accept custom line-height for inputs and automatically sets line-height as font-size + 4 px.
|
|
||||||
// input-large at 18 + 4 = 22, so I tried to compensate on padding.
|
|
||||||
*/
|
|
||||||
|
|
||||||
@border-radius-base: 4px;
|
@border-radius-base: 4px;
|
||||||
@border-radius-large: 6px;
|
@border-radius-large: 6px;
|
||||||
@border-radius-small: 3px;
|
@border-radius-small: 3px;
|
||||||
@@ -189,9 +184,11 @@
|
|||||||
// Navbar links
|
// Navbar links
|
||||||
@navbar-link-color: #777;
|
@navbar-link-color: #777;
|
||||||
@navbar-link-color-hover: #333;
|
@navbar-link-color-hover: #333;
|
||||||
@navbar-link-color-active: #555;
|
|
||||||
@navbar-link-bg-hover: transparent;
|
@navbar-link-bg-hover: transparent;
|
||||||
|
@navbar-link-color-active: #555;
|
||||||
@navbar-link-bg-active: darken(@navbar-bg, 10%);
|
@navbar-link-bg-active: darken(@navbar-bg, 10%);
|
||||||
|
@navbar-link-color-disabled: #ccc;
|
||||||
|
@navbar-link-bg-disabled: transparent;
|
||||||
|
|
||||||
// Inverted navbar
|
// Inverted navbar
|
||||||
@navbar-inverse-text: @grayLight;
|
@navbar-inverse-text: @grayLight;
|
||||||
@@ -205,9 +202,11 @@
|
|||||||
// Inverted navbar links
|
// Inverted navbar links
|
||||||
@navbar-inverse-link-color: @grayLight;
|
@navbar-inverse-link-color: @grayLight;
|
||||||
@navbar-inverse-link-color-hover: #fff;
|
@navbar-inverse-link-color-hover: #fff;
|
||||||
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
|
|
||||||
@navbar-inverse-link-bg-hover: transparent;
|
@navbar-inverse-link-bg-hover: transparent;
|
||||||
|
@navbar-inverse-link-color-active: @navbar-inverse-link-color-hover;
|
||||||
@navbar-inverse-link-bg-active: darken(@navbar-inverse-bg, 10%);
|
@navbar-inverse-link-bg-active: darken(@navbar-inverse-bg, 10%);
|
||||||
|
@navbar-inverse-link-color-disabled: #444;
|
||||||
|
@navbar-inverse-link-bg-disabled: transparent;
|
||||||
|
|
||||||
// Inverted navbar search
|
// Inverted navbar search
|
||||||
// Normal navbar needs no special styles or vars
|
// Normal navbar needs no special styles or vars
|
||||||
@@ -271,6 +270,14 @@
|
|||||||
@popover-arrow-outer-color: rgba(0,0,0,.25);
|
@popover-arrow-outer-color: rgba(0,0,0,.25);
|
||||||
|
|
||||||
|
|
||||||
|
// Labels
|
||||||
|
// -------------------------
|
||||||
|
@label-success-background: @brand-success;
|
||||||
|
@label-info-background: @brand-info;
|
||||||
|
@label-warning-background: @brand-warning;
|
||||||
|
@label-danger-background: @brand-danger;
|
||||||
|
|
||||||
|
|
||||||
// Modals
|
// Modals
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user