2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Merge branch 'master' into rtl_via_css_flip

This commit is contained in:
Mark Otto
2014-03-03 21:50:03 -08:00
33 changed files with 238 additions and 124 deletions
+18 -5
View File
@@ -62,7 +62,7 @@ module.exports = function (grunt) {
jscs: { jscs: {
options: { options: {
config: 'js/.jscs.json', config: 'js/.jscsrc'
}, },
grunt: { grunt: {
src: ['Gruntfile.js', 'grunt/*.js'] src: ['Gruntfile.js', 'grunt/*.js']
@@ -84,10 +84,18 @@ module.exports = function (grunt) {
}, },
src: [ src: [
'dist/css/bootstrap.css', 'dist/css/bootstrap.css',
'dist/css/bootstrap-theme.css', 'dist/css/bootstrap-theme.css'
'docs/assets/css/docs.css', ],
examples: [
'docs/examples/**/*.css' 'docs/examples/**/*.css'
] ],
docs: {
options: {
'ids': false,
'overqualified-elements': false
},
src: ['docs/assets/css/docs.css']
}
}, },
concat: { concat: {
@@ -237,6 +245,11 @@ module.exports = function (grunt) {
cwd: 'docs/examples/', cwd: 'docs/examples/',
src: ['**/*.css'], src: ['**/*.css'],
dest: 'docs/examples/' dest: 'docs/examples/'
},
docs: {
files: {
'docs/assets/css/docs.css': 'docs/assets/css/docs.css'
}
} }
}, },
@@ -389,7 +402,7 @@ module.exports = function (grunt) {
grunt.registerTask('dist-js', ['concat', 'uglify']); grunt.registerTask('dist-js', ['concat', 'uglify']);
// CSS distribution task. // CSS distribution task.
grunt.registerTask('dist-css', ['less', 'cssmin', 'csscomb', 'usebanner']); grunt.registerTask('dist-css', ['less', 'csscomb', 'cssmin', 'usebanner']);
// Docs distribution task. // Docs distribution task.
grunt.registerTask('dist-docs', 'copy:docs'); grunt.registerTask('dist-docs', 'copy:docs');
+1 -1
View File
@@ -11,7 +11,7 @@ destination: ./_gh_pages
host: 0.0.0.0 host: 0.0.0.0
port: 9001 port: 9001
baseurl: / baseurl: /
url: http://localhost:9001 url: http://getbootstrap.com
encoding: UTF-8 encoding: UTF-8
exclude: exclude:
+10
View File
@@ -1,6 +1,16 @@
{ {
"name": "bootstrap", "name": "bootstrap",
"version": "3.1.1", "version": "3.1.1",
"keywords": [
"css",
"js",
"less",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
],
"main": [ "main": [
"./dist/css/bootstrap.css", "./dist/css/bootstrap.css",
"./dist/js/bootstrap.js", "./dist/js/bootstrap.js",
+11 -2
View File
@@ -1,7 +1,16 @@
{ {
"name": "twbs/bootstrap", "name": "twbs/bootstrap",
"description": "Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.", "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"keywords": ["bootstrap", "css"], "keywords": [
"css",
"js",
"less",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
],
"homepage": "http://getbootstrap.com", "homepage": "http://getbootstrap.com",
"authors": [ "authors": [
{ {
+1 -1
View File
File diff suppressed because one or more lines are too long
+6
View File
@@ -2366,6 +2366,12 @@ input[type="button"].btn-block {
.collapse.in { .collapse.in {
display: block; display: block;
} }
tr.collapse.in {
display: table-row;
}
tbody.collapse.in {
display: table-row-group;
}
.collapsing { .collapsing {
position: relative; position: relative;
height: 0; height: 0;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1126,7 +1126,7 @@
<div class="row"> <div class="row">
<div class="bs-customizer-input"> <div class="bs-customizer-input">
<label for="input-@modal-inner-padding">@modal-inner-padding</label> <label for="input-@modal-inner-padding">@modal-inner-padding</label>
<input id="input-@modal-inner-padding" type="text" value="20px" data-var="@modal-inner-padding" class="form-control"/> <input id="input-@modal-inner-padding" type="text" value="15px" data-var="@modal-inner-padding" class="form-control"/>
<p class="help-block">Padding applied to the modal body</p> <p class="help-block">Padding applied to the modal body</p>
</div> </div>
<div class="bs-customizer-input"> <div class="bs-customizer-input">
+100 -70
View File
@@ -1,5 +1,3 @@
/*csslint ids: false, overqualified-elements: false, fallback-colors: false*/
/*! /*!
* Bootstrap Docs (http://getbootstrap.com) * Bootstrap Docs (http://getbootstrap.com)
* Copyright 2011-2014 Twitter, Inc. * Copyright 2011-2014 Twitter, Inc.
@@ -85,10 +83,10 @@ body {
display: block; display: block;
font-weight: 500; font-weight: 500;
color: #fff; color: #fff;
text-align: center;
cursor: default;
background-color: #563d7c; background-color: #563d7c;
border-radius: 15%; border-radius: 15%;
cursor: default;
text-align: center;
} }
.bs-docs-booticon-sm { .bs-docs-booticon-sm {
width: 30px; width: 30px;
@@ -128,8 +126,8 @@ body {
} }
.bs-docs-nav .navbar-brand, .bs-docs-nav .navbar-brand,
.bs-docs-nav .navbar-nav > li > a { .bs-docs-nav .navbar-nav > li > a {
color: #563d7c;
font-weight: 500; font-weight: 500;
color: #563d7c;
} }
.bs-docs-nav .navbar-nav > li > a:hover, .bs-docs-nav .navbar-nav > li > a:hover,
.bs-docs-nav .navbar-nav > .active > a, .bs-docs-nav .navbar-nav > .active > a,
@@ -165,8 +163,8 @@ body {
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;
} }
.bs-docs-footer-links { .bs-docs-footer-links {
margin-top: 20px;
padding-left: 0; padding-left: 0;
margin-top: 20px;
color: #999; color: #999;
} }
.bs-docs-footer-links li { .bs-docs-footer-links li {
@@ -196,14 +194,14 @@ body {
} }
.bs-docs-social-buttons { .bs-docs-social-buttons {
display: inline-block; display: inline-block;
margin-bottom: 0;
padding-left: 0; padding-left: 0;
margin-bottom: 0;
list-style: none; list-style: none;
} }
.bs-docs-social-buttons li { .bs-docs-social-buttons li {
display: inline-block; display: inline-block;
line-height: 1;
padding: 5px 8px; padding: 5px 8px;
line-height: 1;
} }
.bs-docs-social-buttons .twitter-follow-button { .bs-docs-social-buttons .twitter-follow-button {
width: 225px !important; width: 225px !important;
@@ -213,8 +211,8 @@ body {
} }
/* Style the GitHub buttons via CSS instead of inline attributes */ /* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn { .github-btn {
border: 0;
overflow: hidden; overflow: hidden;
border: 0;
} }
@@ -234,9 +232,9 @@ body {
text-shadow: 0 1px 0 rgba(0,0,0,.1); text-shadow: 0 1px 0 rgba(0,0,0,.1);
background-color: #6f5499; background-color: #6f5499;
background-image: -webkit-linear-gradient(top, #563d7c 0%, #6f5499 100%); background-image: -webkit-linear-gradient(top, #563d7c 0%, #6f5499 100%);
background-image: linear-gradient(to bottom, #563d7c 0%, #6f5499 100%); background-image: linear-gradient(to bottom, #563d7c 0%, #6f5499 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
background-repeat: repeat-x;
} }
/* Masthead (headings and download button) */ /* Masthead (headings and download button) */
@@ -345,10 +343,10 @@ body {
.carbonad { .carbonad {
width: auto !important; width: auto !important;
margin: 30px -30px -31px !important;
padding: 20px !important;
overflow: hidden; /* clearfix */
height: auto !important; height: auto !important;
padding: 20px !important;
margin: 30px -30px -31px !important;
overflow: hidden; /* clearfix */
font-size: 13px !important; font-size: 13px !important;
line-height: 16px !important; line-height: 16px !important;
text-align: left; text-align: left;
@@ -361,8 +359,8 @@ body {
} }
.carbonad-text, .carbonad-text,
.carbonad-tag { .carbonad-tag {
float: none !important;
display: block !important; display: block !important;
float: none !important;
width: auto !important; width: auto !important;
height: auto !important; height: auto !important;
margin-left: 145px !important; margin-left: 145px !important;
@@ -387,8 +385,8 @@ body {
.carbonad { .carbonad {
width: 330px !important; width: 330px !important;
margin: 20px auto !important; margin: 20px auto !important;
border-radius: 4px;
border-width: 1px !important; border-width: 1px !important;
border-radius: 4px;
} }
.bs-docs-masthead .carbonad { .bs-docs-masthead .carbonad {
margin: 50px auto 0 !important; margin: 50px auto 0 !important;
@@ -397,8 +395,8 @@ body {
@media (min-width: 768px) { @media (min-width: 768px) {
.carbonad { .carbonad {
margin-left: 0 !important;
margin-right: 0 !important; margin-right: 0 !important;
margin-left: 0 !important;
} }
} }
@@ -407,9 +405,9 @@ body {
position: absolute; position: absolute;
top: 0; top: 0;
right: 15px; /* 15px instead of 0 since box-sizing */ right: 15px; /* 15px instead of 0 since box-sizing */
margin: 0 !important;
padding: 15px !important;
width: 330px !important; width: 330px !important;
padding: 15px !important;
margin: 0 !important;
} }
.bs-docs-masthead .carbonad { .bs-docs-masthead .carbonad {
position: static; position: static;
@@ -439,19 +437,19 @@ body {
} }
.bs-docs-featurette-title { .bs-docs-featurette-title {
margin-bottom: 5px;
font-size: 30px; font-size: 30px;
font-weight: normal; font-weight: normal;
color: #333; color: #333;
margin-bottom: 5px;
} }
.half-rule { .half-rule {
width: 100px; width: 100px;
margin: 40px auto; margin: 40px auto;
} }
.bs-docs-featurette h3 { .bs-docs-featurette h3 {
margin-bottom: 5px;
font-weight: normal; font-weight: normal;
color: #333; color: #333;
margin-bottom: 5px;
} }
.bs-docs-featurette-img { .bs-docs-featurette-img {
display: block; display: block;
@@ -459,8 +457,8 @@ body {
color: #333; color: #333;
} }
.bs-docs-featurette-img:hover { .bs-docs-featurette-img:hover {
text-decoration: none;
color: #428bca; color: #428bca;
text-decoration: none;
} }
.bs-docs-featurette-img img { .bs-docs-featurette-img img {
display: block; display: block;
@@ -469,12 +467,12 @@ body {
/* Featured sites */ /* Featured sites */
.bs-docs-featured-sites { .bs-docs-featured-sites {
margin-left: -1px;
margin-right: -1px; margin-right: -1px;
margin-left: -1px;
} }
.bs-docs-featured-sites .col-sm-3 { .bs-docs-featured-sites .col-sm-3 {
padding-left: 1px;
padding-right: 1px; padding-right: 1px;
padding-left: 1px;
} }
@media (min-width: 480px) { @media (min-width: 480px) {
@@ -491,9 +489,9 @@ body {
font-size: 40px; font-size: 40px;
} }
.bs-docs-featurette .lead { .bs-docs-featurette .lead {
margin-left: auto;
margin-right: auto;
max-width: 80%; max-width: 80%;
margin-right: auto;
margin-left: auto;
} }
.bs-docs-featured-sites .col-sm-3:first-child img { .bs-docs-featured-sites .col-sm-3:first-child img {
border-top-left-radius: 4px; border-top-left-radius: 4px;
@@ -536,10 +534,10 @@ body {
/* All levels of nav */ /* All levels of nav */
.bs-docs-sidebar .nav > li > a { .bs-docs-sidebar .nav > li > a {
display: block; display: block;
padding: 4px 20px;
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
color: #999; color: #999;
padding: 4px 20px;
} }
.bs-docs-sidebar .nav > li > a:hover, .bs-docs-sidebar .nav > li > a:hover,
.bs-docs-sidebar .nav > li > a:focus { .bs-docs-sidebar .nav > li > a:focus {
@@ -578,23 +576,23 @@ body {
.bs-docs-sidebar .nav .nav > .active > a, .bs-docs-sidebar .nav .nav > .active > a,
.bs-docs-sidebar .nav .nav > .active:hover > a, .bs-docs-sidebar .nav .nav > .active:hover > a,
.bs-docs-sidebar .nav .nav > .active:focus > a { .bs-docs-sidebar .nav .nav > .active:focus > a {
font-weight: 500;
padding-left: 28px; padding-left: 28px;
font-weight: 500;
} }
/* Back to top (hidden on mobile) */ /* Back to top (hidden on mobile) */
.back-to-top { .back-to-top {
display: none; display: none;
padding: 4px 10px;
margin-top: 10px; margin-top: 10px;
margin-left: 10px; margin-left: 10px;
padding: 4px 10px;
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 500;
color: #999; color: #999;
} }
.back-to-top:hover { .back-to-top:hover {
text-decoration: none;
color: #563d7c; color: #563d7c;
text-decoration: none;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
@@ -650,8 +648,8 @@ body {
} }
h1[id] { h1[id] {
margin-top: 0;
padding-top: 20px; padding-top: 20px;
margin-top: 0;
} }
@@ -664,8 +662,8 @@ h1[id] {
/* Common styles for all types */ /* Common styles for all types */
.bs-callout { .bs-callout {
margin: 20px 0;
padding: 20px; padding: 20px;
margin: 20px 0;
border-left: 3px solid #eee; border-left: 3px solid #eee;
} }
.bs-callout h4 { .bs-callout h4 {
@@ -730,22 +728,50 @@ h1[id] {
} }
/* Framework colors */ /* Framework colors */
.color-swatches .gray-darker { background-color: #222; } .color-swatches .gray-darker {
.color-swatches .gray-dark { background-color: #333; } background-color: #222;
.color-swatches .gray { background-color: #555; } }
.color-swatches .gray-light { background-color: #999; } .color-swatches .gray-dark {
.color-swatches .gray-lighter { background-color: #eee; } background-color: #333;
.color-swatches .brand-primary { background-color: #428bca; } }
.color-swatches .brand-success { background-color: #5cb85c; } .color-swatches .gray {
.color-swatches .brand-warning { background-color: #f0ad4e; } background-color: #555;
.color-swatches .brand-danger { background-color: #d9534f; } }
.color-swatches .brand-info { background-color: #5bc0de; } .color-swatches .gray-light {
background-color: #999;
}
.color-swatches .gray-lighter {
background-color: #eee;
}
.color-swatches .brand-primary {
background-color: #428bca;
}
.color-swatches .brand-success {
background-color: #5cb85c;
}
.color-swatches .brand-warning {
background-color: #f0ad4e;
}
.color-swatches .brand-danger {
background-color: #d9534f;
}
.color-swatches .brand-info {
background-color: #5bc0de;
}
/* Docs colors */ /* Docs colors */
.color-swatches .bs-purple { background-color: #563d7c; } .color-swatches .bs-purple {
.color-swatches .bs-purple-light { background-color: #c7bfd3; } background-color: #563d7c;
.color-swatches .bs-purple-lighter { background-color: #e5e1ea; } }
.color-swatches .bs-gray { background-color: #f9f9f9; } .color-swatches .bs-purple-light {
background-color: #c7bfd3;
}
.color-swatches .bs-purple-lighter {
background-color: #e5e1ea;
}
.color-swatches .bs-gray {
background-color: #f9f9f9;
}
/* /*
@@ -755,8 +781,8 @@ h1[id] {
*/ */
.bs-team .team-member { .bs-team .team-member {
color: #555;
line-height: 32px; line-height: 32px;
color: #555;
} }
.bs-team .team-member:hover { .bs-team .team-member:hover {
color: #333; color: #333;
@@ -764,9 +790,9 @@ h1[id] {
} }
.bs-team .github-btn { .bs-team .github-btn {
float: right; float: right;
margin-top: 6px;
width: 180px; width: 180px;
height: 20px; height: 20px;
margin-top: 6px;
} }
.bs-team img { .bs-team img {
float: left; float: left;
@@ -808,14 +834,13 @@ h1[id] {
padding: 45px 15px 15px; padding: 45px 15px 15px;
margin: 0 -15px 15px; margin: 0 -15px 15px;
background-color: #fafafa; background-color: #fafafa;
box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
border-color: #e5e5e5 #eee #eee; border-color: #e5e5e5 #eee #eee;
border-style: solid; border-style: solid;
border-width: 1px 0; border-width: 1px 0;
box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
} }
/* Echo out a label for the example */ /* Echo out a label for the example */
.bs-example:after { .bs-example:after {
content: "Example";
position: absolute; position: absolute;
top: 15px; top: 15px;
left: 15px; left: 15px;
@@ -824,33 +849,34 @@ h1[id] {
color: #bbb; color: #bbb;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
content: "Example";
} }
/* Tweak display of the code snippets when following an example */ /* Tweak display of the code snippets when following an example */
.bs-example + .highlight { .bs-example + .highlight {
margin: -15px -15px 15px; margin: -15px -15px 15px;
border-radius: 0;
border-width: 0 0 1px; border-width: 0 0 1px;
border-radius: 0;
} }
/* Make the examples and snippets not full-width */ /* Make the examples and snippets not full-width */
@media (min-width: 768px) { @media (min-width: 768px) {
.bs-example { .bs-example {
margin-left: 0;
margin-right: 0; margin-right: 0;
margin-left: 0;
background-color: #fff; background-color: #fff;
border-width: 1px;
border-color: #ddd; border-color: #ddd;
border-width: 1px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
box-shadow: none; box-shadow: none;
} }
.bs-example + .highlight { .bs-example + .highlight {
margin-top: -16px; margin-top: -16px;
margin-left: 0;
margin-right: 0; margin-right: 0;
margin-left: 0;
border-width: 1px; border-width: 1px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
} }
} }
@@ -962,8 +988,8 @@ h1[id] {
.bs-navbar-top-example .navbar-fixed-top, .bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom { .bs-navbar-bottom-example .navbar-fixed-bottom {
position: relative; position: relative;
margin-left: 0;
margin-right: 0; margin-right: 0;
margin-left: 0;
} }
.bs-navbar-top-example { .bs-navbar-top-example {
padding-bottom: 45px; padding-bottom: 45px;
@@ -1016,15 +1042,15 @@ h1[id] {
position: relative; position: relative;
top: auto; top: auto;
right: auto; right: auto;
left: auto;
bottom: auto; bottom: auto;
left: auto;
z-index: 1; z-index: 1;
display: block; display: block;
} }
.bs-example-modal .modal-dialog { .bs-example-modal .modal-dialog {
left: auto; left: auto;
margin-left: auto;
margin-right: auto; margin-right: auto;
margin-left: auto;
} }
/* Example dropdowns */ /* Example dropdowns */
@@ -1087,9 +1113,9 @@ h1[id] {
padding: 0; padding: 0;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
white-space: nowrap;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
white-space: nowrap;
} }
.highlight pre code { .highlight pre code {
font-size: inherit; font-size: inherit;
@@ -1100,8 +1126,8 @@ h1[id] {
width: 22px; width: 22px;
padding-right: 5px; padding-right: 5px;
margin-right: 10px; margin-right: 10px;
text-align: right;
color: #bebec5; color: #bebec5;
text-align: right;
} }
@@ -1201,8 +1227,8 @@ h1[id] {
font-size: 10px; font-size: 10px;
line-height: 1.4; line-height: 1.4;
text-align: center; text-align: center;
border: 1px solid #fff;
background-color: #f9f9f9; background-color: #f9f9f9;
border: 1px solid #fff;
} }
.bs-glyphicons .glyphicon { .bs-glyphicons .glyphicon {
margin-top: 5px; margin-top: 5px;
@@ -1221,8 +1247,8 @@ h1[id] {
@media (min-width: 768px) { @media (min-width: 768px) {
.bs-glyphicons { .bs-glyphicons {
margin-left: 0;
margin-right: 0; margin-right: 0;
margin-left: 0;
} }
.bs-glyphicons li { .bs-glyphicons li {
width: 12.5%; width: 12.5%;
@@ -1251,9 +1277,9 @@ h1[id] {
color: #555; color: #555;
} }
.bs-customizer h2 { .bs-customizer h2 {
padding-top: 30px;
margin-top: 0; margin-top: 0;
margin-bottom: 5px; margin-bottom: 5px;
padding-top: 30px;
} }
.bs-customizer h3 { .bs-customizer h3 {
margin-bottom: 0; margin-bottom: 0;
@@ -1271,8 +1297,8 @@ h1[id] {
background-color: #fafafa; background-color: #fafafa;
} }
.bs-customizer .help-block { .bs-customizer .help-block {
font-size: 12px;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 12px;
} }
/* For the variables, use regular weight */ /* For the variables, use regular weight */
@@ -1283,8 +1309,8 @@ h1[id] {
.bs-customizer-input { .bs-customizer-input {
float: left; float: left;
width: 33.333333%; width: 33.333333%;
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
/* Downloads */ /* Downloads */
@@ -1296,14 +1322,14 @@ h1[id] {
.bs-customizer-alert { .bs-customizer-alert {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0;
right: 0; right: 0;
left: 0;
z-index: 1030; z-index: 1030;
padding: 15px 0; padding: 15px 0;
color: #fff; color: #fff;
background-color: #d9534f; background-color: #d9534f;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
border-bottom: 1px solid #b94441; border-bottom: 1px solid #b94441;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
} }
.bs-customizer-alert .close { .bs-customizer-alert .close {
margin-top: -4px; margin-top: -4px;
@@ -1361,8 +1387,8 @@ h1[id] {
margin-bottom: 0; margin-bottom: 0;
} }
.bs-brand-item .bs-docs-booticon { .bs-brand-item .bs-docs-booticon {
margin-left: auto;
margin-right: auto; margin-right: auto;
margin-left: auto;
} }
/* Make the icons stand out on what is/isn't okay */ /* Make the icons stand out on what is/isn't okay */
@@ -1374,8 +1400,12 @@ h1[id] {
color: #fff; color: #fff;
border-radius: 50%; border-radius: 50%;
} }
.bs-brand-item .glyphicon-ok { background-color: #5cb85c; } .bs-brand-item .glyphicon-ok {
.bs-brand-item .glyphicon-remove { background-color: #d9534f; } background-color: #5cb85c;
}
.bs-brand-item .glyphicon-remove {
background-color: #d9534f;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.bs-brand-item { .bs-brand-item {
+1 -1
View File
File diff suppressed because one or more lines are too long
+6 -6
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -5
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -84,6 +84,7 @@ body {
.masthead-nav > li > a:hover, .masthead-nav > li > a:hover,
.masthead-nav > li > a:focus { .masthead-nav > li > a:focus {
background-color: transparent; background-color: transparent;
border-bottom-color: #a9a9a9;
border-bottom-color: rgba(255,255,255,.25); border-bottom-color: rgba(255,255,255,.25);
} }
.masthead-nav > .active > a, .masthead-nav > .active > a,
@@ -71,7 +71,7 @@
<p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p> <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
</div> </div>
<div id="footer"> <div class="footer">
<div class="container"> <div class="container">
<p class="text-muted">Place sticky footer content here.</p> <p class="text-muted">Place sticky footer content here.</p>
</div> </div>
@@ -8,7 +8,7 @@ body {
/* Margin bottom by footer height */ /* Margin bottom by footer height */
margin-bottom: 60px; margin-bottom: 60px;
} }
#footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
@@ -29,7 +29,7 @@ body > .container {
margin: 20px 0; margin: 20px 0;
} }
#footer > .container { .footer > .container {
padding-right: 15px; padding-right: 15px;
padding-left: 15px; padding-left: 15px;
} }
+1 -1
View File
@@ -37,7 +37,7 @@
<p>Use <a href="../sticky-footer-navbar">the sticky footer with a fixed navbar</a> if need be, too.</p> <p>Use <a href="../sticky-footer-navbar">the sticky footer with a fixed navbar</a> if need be, too.</p>
</div> </div>
<div id="footer"> <div class="footer">
<div class="container"> <div class="container">
<p class="text-muted">Place sticky footer content here.</p> <p class="text-muted">Place sticky footer content here.</p>
</div> </div>
@@ -8,7 +8,7 @@ body {
/* Margin bottom by footer height */ /* Margin bottom by footer height */
margin-bottom: 60px; margin-bottom: 60px;
} }
#footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
+1 -1
View File
@@ -65,7 +65,7 @@ $.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Boot
{% endhighlight %} {% endhighlight %}
<h3 id="js-events">Events</h3> <h3 id="js-events">Events</h3>
<p>Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p> <p>Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is triggered on the completion of an action.</p>
<p>As of 3.0.0, all Bootstrap events are namespaced.</p> <p>As of 3.0.0, all Bootstrap events are namespaced.</p>
<p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p> <p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p>
{% highlight js %} {% highlight js %}
+1
View File
@@ -428,6 +428,7 @@ lead: "Guidance on how to upgrade from Bootstrap v2.x to v3.x with emphasis on m
<li>Typeahead has been dropped, in favor of using <a href="http://twitter.github.io/typeahead.js/">Twitter Typeahead</a>.</li> <li>Typeahead has been dropped, in favor of using <a href="http://twitter.github.io/typeahead.js/">Twitter Typeahead</a>.</li>
<li>Modal markup has changed significantly. The <code>.modal-header</code>, <code>.modal-body</code>, and <code>.modal-footer</code> sections are now wrapped in <code>.modal-content</code> and <code>.modal-dialog</code> for better mobile styling and behavior. Also, you should no longer apply <code>.hide</code> to <code>.modal</code> in your markup.</li> <li>Modal markup has changed significantly. The <code>.modal-header</code>, <code>.modal-body</code>, and <code>.modal-footer</code> sections are now wrapped in <code>.modal-content</code> and <code>.modal-dialog</code> for better mobile styling and behavior. Also, you should no longer apply <code>.hide</code> to <code>.modal</code> in your markup.</li>
<li>As of v3.1.0, the HTML loaded by the <code>remote</code> modal option is now injected into the <code>.modal-content</code> (from v3.0.0 to v3.0.3, into the <code>.modal</code>) instead of into the <code>.modal-body</code>. This allows you to also easily vary the header and footer of the modal, not just the modal body.</li> <li>As of v3.1.0, the HTML loaded by the <code>remote</code> modal option is now injected into the <code>.modal-content</code> (from v3.0.0 to v3.0.3, into the <code>.modal</code>) instead of into the <code>.modal-body</code>. This allows you to also easily vary the header and footer of the modal, not just the modal body.</li>
<li>The checkbox and radio features of the button.js plugin now both use <code>data-toggle="buttons"</code> instead of <code>data-toggle="buttons-checkbox"</code> or <code>data-toggle="buttons-radio"</code> in their markup.</li>
<li>JavaScript events are namespaced. For example, to handle the modal "show" event, use <code>'show.bs.modal'</code>. For tabs "shown" use <code>'shown.bs.tab'</code>, etc.</li> <li>JavaScript events are namespaced. For example, to handle the modal "show" event, use <code>'show.bs.modal'</code>. For tabs "shown" use <code>'shown.bs.tab'</code>, etc.</li>
</ul> </ul>
<p>For more information on upgrading to v3.0, and code snippets from the community, see <a href="http://bootply.com/">Bootply</a>.</p> <p>For more information on upgrading to v3.0, and code snippets from the community, see <a href="http://bootply.com/">Bootply</a>.</p>
+10
View File
@@ -0,0 +1,10 @@
---
layout: nil
---
# www.robotstxt.org/
# Allow crawling of all content
User-agent: *
Disallow:
Sitemap: {{ site.url }}/sitemap.xml
+22
View File
@@ -0,0 +1,22 @@
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.url }}/</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
{% for page in site.html_pages %}
{% if page.layout != "home" %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
</url>
{% endif %}
{% endfor %}
</urlset>
View File
+6 -4
View File
@@ -5,7 +5,7 @@
// Heads up! // Heads up!
// //
// We don't use the `.opacity()` mixin here since it causes a bug with text // We don't use the `.opacity()` mixin here since it causes a bug with text
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
.fade { .fade {
opacity: 0; opacity: 0;
@@ -17,10 +17,12 @@
.collapse { .collapse {
display: none; display: none;
&.in {
display: block; &.in { display: block; }
} tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
} }
.collapsing { .collapsing {
position: relative; position: relative;
height: 0; height: 0;
+6 -1
View File
@@ -243,6 +243,10 @@
-webkit-animation-direction: @direction; -webkit-animation-direction: @direction;
animation-direction: @direction; animation-direction: @direction;
} }
.animation-fill-mode(@fill-mode) {
-webkit-animation-fill-mode: @fill-mode;
animation-fill-mode: @fill-mode;
}
// Backface visibility // Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms. // Prevent browsers from flickering when using CSS 3D transforms.
@@ -372,7 +376,8 @@
// Retina images // Retina images
// //
// Short retina mixin for setting background-image and -size // Short retina mixin for setting background-image and -size. Note that the
// spelling of `min--moz-device-pixel-ratio` is intentional.
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
background-image: url("@{file-1x}"); background-image: url("@{file-1x}");
+17 -12
View File
@@ -1,10 +1,15 @@
{ {
"name": "bootstrap", "name": "bootstrap",
"description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development.", "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
"version": "3.1.1", "version": "3.1.1",
"keywords": [ "keywords": [
"bootstrap", "css",
"css" "less",
"mobile-first",
"responsive",
"front-end",
"framework",
"web"
], ],
"homepage": "http://getbootstrap.com", "homepage": "http://getbootstrap.com",
"author": "Twitter, Inc.", "author": "Twitter, Inc.",
@@ -26,29 +31,29 @@
}, },
"devDependencies": { "devDependencies": {
"btoa": "~1.1.1", "btoa": "~1.1.1",
"canonical-json": "~0.0.3", "canonical-json": "~0.0.4",
"grunt": "~0.4.2", "grunt": "~0.4.2",
"grunt-banner": "~0.2.0", "grunt-banner": "~0.2.1",
"grunt-contrib-clean": "~0.5.0", "grunt-contrib-clean": "~0.5.0",
"grunt-contrib-concat": "~0.3.0", "grunt-contrib-concat": "~0.3.0",
"grunt-contrib-connect": "~0.7.0", "grunt-contrib-connect": "~0.7.1",
"grunt-contrib-copy": "~0.5.0", "grunt-contrib-copy": "~0.5.0",
"grunt-contrib-csslint": "~0.2.0", "grunt-contrib-csslint": "~0.2.0",
"grunt-contrib-cssmin": "~0.8.0", "grunt-contrib-cssmin": "~0.9.0",
"grunt-contrib-jade": "~0.10.0", "grunt-contrib-jade": "~0.10.0",
"grunt-contrib-jshint": "~0.8.0", "grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-less": "~0.9.0", "grunt-contrib-less": "~0.10.0",
"grunt-contrib-qunit": "~0.4.0", "grunt-contrib-qunit": "~0.4.0",
"grunt-contrib-uglify": "~0.3.0", "grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.5.3", "grunt-contrib-watch": "~0.5.3",
"grunt-csscomb": "~2.0.1", "grunt-csscomb": "~2.0.1",
"grunt-exec": "~0.4.5", "grunt-exec": "~0.4.5",
"grunt-html-validation": "~0.1.13", "grunt-html-validation": "~0.1.13",
"grunt-jekyll": "~0.4.1", "grunt-jekyll": "~0.4.1",
"grunt-jscs-checker": "~0.3.0", "grunt-jscs-checker": "~0.4.0",
"grunt-saucelabs": "~5.0.0", "grunt-saucelabs": "~5.0.1",
"grunt-sed": "~0.1.1", "grunt-sed": "~0.1.1",
"load-grunt-tasks": "~0.3.0", "load-grunt-tasks": "~0.4.0",
"markdown": "~0.5.0", "markdown": "~0.5.0",
"css-flip": "~0.3.0" "css-flip": "~0.3.0"
}, },
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
boto==2.20.0 boto==2.25.0
+1 -1
View File
@@ -87,7 +87,7 @@ if __name__ == '__main__':
mode, friendly_name, dependencies_file, directory = argv mode, friendly_name, dependencies_file, directory = argv
conn = S3Connection() conn = S3Connection()
bucket = conn.lookup(BUCKET_NAME, validate=False) bucket = conn.lookup(BUCKET_NAME)
if bucket is None: if bucket is None:
raise SystemExit("Could not access bucket!") raise SystemExit("Could not access bucket!")