2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

Merge branch 'master' into pr/15278

Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
This commit is contained in:
Mark Otto
2015-01-18 12:24:29 -08:00
141 changed files with 1995 additions and 1604 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+34 -16
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,7 +157,7 @@ body {
padding-top: 40px;
padding-bottom: 40px;
margin-top: 100px;
color: #777;
color: #767676;
text-align: center;
border-top: 1px solid #e5e5e5;
}
@@ -554,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 {
@@ -709,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;
}
@@ -955,7 +975,7 @@ h1[id] {
/* Typography */
.bs-example-type .table .type-info {
color: #999;
color: #767676;
vertical-align: middle;
}
.bs-example-type .table td {
@@ -1411,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;
}
@@ -1459,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,
@@ -1522,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;
+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
+4 -4
View File
File diff suppressed because one or more lines are too long
+14 -8
View File
@@ -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()
})