2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

docs for 3.3.2

This commit is contained in:
Mark Otto
2015-01-19 09:10:41 -08:00
parent 8fbe58032f
commit 0d8c85d8f9
55 changed files with 4375 additions and 2612 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+44 -17
View File
@@ -89,6 +89,26 @@ body {
}
/*
* Fancy skip link
*
* Make it look a bit less "bare bones"
*/
#skippy {
display: block;
padding: 1em;
color: #fff;
background-color: #6f5499;
outline: 0;
}
#skippy .skiplink-text {
padding: .5em;
outline: 1px dotted;
}
/*
* Main navigation
*
@@ -137,14 +157,13 @@ body {
padding-top: 40px;
padding-bottom: 40px;
margin-top: 100px;
color: #777;
color: #767676;
text-align: center;
border-top: 1px solid #e5e5e5;
}
.bs-docs-footer-links {
padding-left: 0;
margin-top: 20px;
color: #999;
}
.bs-docs-footer-links li {
display: inline;
@@ -555,7 +574,7 @@ body {
padding: 4px 20px;
font-size: 13px;
font-weight: 500;
color: #999;
color: #767676;
}
.bs-docs-sidebar .nav > li > a:hover,
.bs-docs-sidebar .nav > li > a:focus {
@@ -710,22 +729,22 @@ h1[id] {
/* Variations */
.bs-callout-danger {
border-left-color: #d9534f;
border-left-color: #ce4844;
}
.bs-callout-danger h4 {
color: #d9534f;
color: #ce4844;
}
.bs-callout-warning {
border-left-color: #f0ad4e;
border-left-color: #aa6708;
}
.bs-callout-warning h4 {
color: #f0ad4e;
color: #aa6708;
}
.bs-callout-info {
border-left-color: #5bc0de;
border-left-color: #1b809e;
}
.bs-callout-info h4 {
color: #5bc0de;
color: #1b809e;
}
@@ -956,7 +975,7 @@ h1[id] {
/* Typography */
.bs-example-type .table .type-info {
color: #999;
color: #767676;
vertical-align: middle;
}
.bs-example-type .table td {
@@ -1147,6 +1166,16 @@ h1[id] {
overflow: auto;
}
/* Simple collapse example */
#collapseExample .well {
margin-bottom: 0;
}
/* Don't wrap event names in Events tables in JS plugin docs */
.bs-events-table > thead > tr > th:first-child,
.bs-events-table > tbody > tr > td:first-child {
white-space: nowrap;
}
/*
* Code snippets
@@ -1402,10 +1431,12 @@ h1[id] {
border: 2px dashed #eee;
border-radius: 4px;
}
.bs-dropzone h2 {
margin-top: 0;
.bs-dropzone .import-header {
margin-bottom: 5px;
}
.bs-dropzone .glyphicon-download-alt {
font-size: 40px;
}
.bs-dropzone hr {
width: 100px;
}
@@ -1450,10 +1481,6 @@ h1[id] {
color: #fff;
background-color: #563d7c;
}
.bs-brand-item .svg {
width: 144px;
height: 144px;
}
/* Heading content within */
.bs-brand-item h1,
@@ -1513,7 +1540,7 @@ h1[id] {
display: block;
padding: 5px 8px;
font-size: 12px;
color: #777;
color: #767676;
cursor: pointer;
background-color: #fff;
border: 1px solid #e1e1e8;
+11 -11
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
+15 -9
View File
@@ -11,7 +11,7 @@
window.onload = function () { // wait for load in a dumb way because B-0
'use strict';
var cw = '/*!\n' +
' * Bootstrap v3.3.1 (http://getbootstrap.com)\n' +
' * Bootstrap v3.3.2 (http://getbootstrap.com)\n' +
' * Copyright 2011-' + new Date().getFullYear() + ' Twitter, Inc.\n' +
' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' +
' */\n\n'
@@ -24,7 +24,8 @@ window.onload = function () { // wait for load in a dumb way because B-0
'<div class="container">' +
'<a href="#bsCustomizerAlert" data-dismiss="alert" class="close pull-right" aria-label="Close" role="button"><span aria-hidden="true">&times;</span></a>' +
'<p class="bs-customizer-alert-text"><span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span><span class="sr-only">Warning:</span>' + msg + '</p>' +
(err.extract ? '<pre class="bs-customizer-alert-extract">' + err.extract.join('\n') + '</pre>' : '') +
(err.message ? $('<p></p>').text('Error: ' + err.message)[0].outerHTML : '') +
(err.extract ? $('<pre class="bs-customizer-alert-extract"></pre>').text(err.extract.join('\n'))[0].outerHTML : '') +
'</div>' +
'</div>').appendTo('body').alert()
throw err
@@ -38,7 +39,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
function showCallout(msg, showUpTop) {
var callout = $('<div class="bs-callout bs-callout-danger">' +
'<h4>Attention!</h4>' +
'<h4>Attention!</h4>' +
'<p>' + msg + '</p>' +
'</div>')
@@ -258,12 +259,17 @@ window.onload = function () { // wait for load in a dumb way because B-0
filename: baseFilename + '.css'
})
parser.parse(lessSource, function (err, tree) {
if (err) {
return promise.reject(err)
parser.parse(lessSource, function (parseErr, tree) {
if (parseErr) {
return promise.reject(parseErr)
}
try {
intoResult[baseFilename + '.css'] = cw + tree.toCSS()
intoResult[baseFilename + '.min.css'] = cw + tree.toCSS({ compress: true })
}
catch (compileErr) {
return promise.reject(compileErr)
}
intoResult[baseFilename + '.css'] = cw + tree.toCSS()
intoResult[baseFilename + '.min.css'] = cw + tree.toCSS({ compress: true })
promise.resolve()
})
@@ -306,7 +312,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
}
promise.resolve(result)
}).fail(function (err) {
showError('<strong>Ruh roh!</strong> Could not parse less files.', err)
showError('<strong>Ruh roh!</strong> Problem parsing or compiling Less files.', err)
promise.reject()
})
+2779 -1800
View File
File diff suppressed because one or more lines are too long