2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined

This commit is contained in:
Mark Otto
2017-05-31 09:09:55 -07:00
13 changed files with 55 additions and 43 deletions
+4 -2
View File
@@ -5,6 +5,7 @@ GEM
public_suffix (~> 2.0, >= 2.0.2) public_suffix (~> 2.0, >= 2.0.2)
colorator (1.1.0) colorator (1.1.0)
ffi (1.9.18) ffi (1.9.18)
ffi (1.9.18-x64-mingw32)
forwardable-extended (2.6.0) forwardable-extended (2.6.0)
jekyll (3.4.3) jekyll (3.4.3)
addressable (~> 2.4) addressable (~> 2.4)
@@ -45,13 +46,14 @@ GEM
ffi (>= 0.5.0) ffi (>= 0.5.0)
rouge (1.11.1) rouge (1.11.1)
safe_yaml (1.0.4) safe_yaml (1.0.4)
sass (3.4.23) sass (3.4.24)
scss_lint (0.53.0) scss_lint (0.53.0)
rake (>= 0.9, < 13) rake (>= 0.9, < 13)
sass (~> 3.4.20) sass (~> 3.4.20)
PLATFORMS PLATFORMS
ruby ruby
x64-mingw32
DEPENDENCIES DEPENDENCIES
jekyll (~> 3.4.3) jekyll (~> 3.4.3)
@@ -61,4 +63,4 @@ DEPENDENCIES
scss_lint (~> 0.53.0) scss_lint (~> 0.53.0)
BUNDLED WITH BUNDLED WITH
1.14.6 1.15.0
+17 -18
View File
@@ -64,8 +64,7 @@
} }
.bd-links { .bd-links {
margin-right: -15px; margin: 1rem -15px;
margin-left: -15px;
// Override collapse behaviors // Override collapse behaviors
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
@@ -75,8 +74,10 @@
.bd-search { .bd-search {
position: relative; // To contain the Algolia search position: relative; // To contain the Algolia search
padding-top: 1rem; padding: 1rem 15px;
padding-bottom: 1rem; margin-right: -15px;
margin-left: -15px;
border-bottom: 1px solid rgba(0,0,0,.05);
.form-control:focus { .form-control:focus {
border-color: $bd-purple-bright; border-color: $bd-purple-bright;
@@ -95,27 +96,26 @@
.bd-toc-link { .bd-toc-link {
display: block; display: block;
padding: .75rem 1.5rem; padding: .25rem 1.5rem;
font-weight: 500; font-weight: 500;
color: $gray; color: rgba(0,0,0,.65);
&:hover { &:hover {
color: $brand-primary; color: rgba(0,0,0,.85);
text-decoration: none; text-decoration: none;
background-color: rgba(0,0,0,.01);
} }
} }
.bd-toc-item { .bd-toc-item {
border-bottom: 1px solid rgba(0,0,0,.05);
&:first-child {
border-top: 1px solid rgba(0,0,0,.05);
}
&.active { &.active {
margin-bottom: 1rem;
&:not(:first-child) {
margin-top: 1rem;
}
> .bd-toc-link { > .bd-toc-link {
color: $gray-dark; color: rgba(0,0,0,.85);
&:hover { &:hover {
background-color: transparent; background-color: transparent;
@@ -124,7 +124,6 @@
> .bd-sidenav { > .bd-sidenav {
display: block; display: block;
padding-bottom: .75rem;
} }
} }
} }
@@ -138,7 +137,7 @@
} }
.bd-sidebar .nav > li > a:hover { .bd-sidebar .nav > li > a:hover {
color: $brand-primary; color: rgba(0,0,0,.85);
text-decoration: none; text-decoration: none;
background-color: transparent; background-color: transparent;
} }
@@ -146,6 +145,6 @@
.bd-sidebar .nav > .active > a, .bd-sidebar .nav > .active > a,
.bd-sidebar .nav > .active:hover > a { .bd-sidebar .nav > .active:hover > a {
font-weight: 500; font-weight: 500;
color: $gray-dark; color: rgba(0,0,0,.85);
background-color: transparent; background-color: transparent;
} }
+5
View File
@@ -243,6 +243,7 @@ html {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-1 { .col-1 {
@@ -506,6 +507,7 @@ html {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-sm-1 { .col-sm-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -724,6 +726,7 @@ html {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-md-1 { .col-md-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -942,6 +945,7 @@ html {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-lg-1 { .col-lg-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -1160,6 +1164,7 @@ html {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-xl-1 { .col-xl-1 {
-webkit-box-flex: 0; -webkit-box-flex: 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
File diff suppressed because one or more lines are too long
+5
View File
@@ -856,6 +856,7 @@ pre code {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-1 { .col-1 {
@@ -1119,6 +1120,7 @@ pre code {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-sm-1 { .col-sm-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -1337,6 +1339,7 @@ pre code {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-md-1 { .col-md-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -1555,6 +1558,7 @@ pre code {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-lg-1 { .col-lg-1 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@@ -1773,6 +1777,7 @@ pre code {
-ms-flex: 0 0 auto; -ms-flex: 0 0 auto;
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none;
} }
.col-xl-1 { .col-xl-1 {
-webkit-box-flex: 0; -webkit-box-flex: 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
+3 -3
View File
@@ -1,12 +1,12 @@
/*! /*!
* QUnit 2.2.0 * QUnit 2.3.2
* https://qunitjs.com/ * https://qunitjs.com/
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
* Released under the MIT license * Released under the MIT license
* https://jquery.org/license * https://jquery.org/license
* *
* Date: 2017-03-11T16:19Z * Date: 2017-04-18T02:19Z
*/ */
/** Font Family and Sizes */ /** Font Family and Sizes */
@@ -236,7 +236,7 @@
} }
#qunit-tests.hidepass li.running, #qunit-tests.hidepass li.running,
#qunit-tests.hidepass li.pass { #qunit-tests.hidepass li.pass:not(.todo) {
visibility: hidden; visibility: hidden;
position: absolute; position: absolute;
width: 0; width: 0;
+6 -6
View File
@@ -1,12 +1,12 @@
/*! /*!
* QUnit 2.2.0 * QUnit 2.3.2
* https://qunitjs.com/ * https://qunitjs.com/
* *
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
* Released under the MIT license * Released under the MIT license
* https://jquery.org/license * https://jquery.org/license
* *
* Date: 2017-03-11T16:19Z * Date: 2017-04-18T02:19Z
*/ */
(function (global$1) { (function (global$1) {
'use strict'; 'use strict';
@@ -21,12 +21,12 @@
var document = window && window.document; var document = window && window.document;
var navigator = window && window.navigator; var navigator = window && window.navigator;
var sessionStorage = function () { var localSessionStorage = function () {
var x = "qunit-test-string"; var x = "qunit-test-string";
try { try {
sessionStorage.setItem(x, x); global$1.sessionStorage.setItem(x, x);
sessionStorage.removeItem(x); global$1.sessionStorage.removeItem(x);
return sessionStorage; return global$1.sessionStorage;
} catch (e) { } catch (e) {
return undefined; return undefined;
} }
+8 -8
View File
@@ -73,25 +73,25 @@
"popper.js": "^1.9.9" "popper.js": "^1.9.9"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.7.7", "autoprefixer": "^7.1.1",
"babel-cli": "^6.24.1", "babel-cli": "^6.24.1",
"babel-eslint": "^7.2.2", "babel-eslint": "^7.2.3",
"babel-plugin-transform-es2015-modules-strip": "^0.1.1", "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
"babel-preset-es2015": "^7.0.0-alpha.7", "babel-preset-es2015": "^7.0.0-alpha.7",
"clean-css-cli": "^4.0.12", "clean-css-cli": "^4.1.3",
"eslint": "^3.19.0", "eslint": "^3.19.0",
"htmllint-cli": "^0.0.6", "htmllint-cli": "^0.0.6",
"node-sass": "^4.5.2", "node-sass": "^4.5.3",
"nodemon": "^1.11.0", "nodemon": "^1.11.0",
"npm-run-all": "^4.0.2", "npm-run-all": "^4.0.2",
"phantomjs-prebuilt": "^2.1.14", "phantomjs-prebuilt": "^2.1.14",
"postcss-cli": "^3.1.1", "postcss-cli": "^4.0.0",
"postcss-flexbugs-fixes": "^2.1.1", "postcss-flexbugs-fixes": "^3.0.0",
"qunit-phantomjs-runner": "^2.3.0", "qunit-phantomjs-runner": "^2.3.0",
"qunitjs": "^2.3.1", "qunitjs": "^2.3.2",
"shelljs": "^0.7.7", "shelljs": "^0.7.7",
"shx": "^0.2.2", "shx": "^0.2.2",
"uglify-js": "^2.8.22" "uglify-js": "^3.0.13"
}, },
"engines": { "engines": {
"node": ">=4" "node": ">=4"
+1
View File
@@ -37,6 +37,7 @@
.col#{$infix}-auto { .col#{$infix}-auto {
flex: 0 0 auto; flex: 0 0 auto;
width: auto; width: auto;
max-width: none; // Reset earlier grid tiers
} }
@for $i from 1 through $columns { @for $i from 1 through $columns {