aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-11-06 22:12:24 -0600
committerMark Otto <[email protected]>2017-11-06 22:12:24 -0600
commitb942dac3ef0cb98a70bd2b7b7b3210c61dd3a7be (patch)
tree9a54d4e35c219eb61a31701e9e9d96ba9f684d99
parentde754fdc32529c7d964cf0dd44b088ebdbdbc019 (diff)
parentccc95d0c96e45d3c6fdcff2e5c52e71e7547405c (diff)
downloadbootstrap-b942dac3ef0cb98a70bd2b7b7b3210c61dd3a7be.tar.xz
bootstrap-b942dac3ef0cb98a70bd2b7b7b3210c61dd3a7be.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
-rw-r--r--_includes/docs-navbar.html2
-rw-r--r--assets/scss/_buttons.scss14
-rw-r--r--assets/scss/_variables.scss16
-rw-r--r--docs/4.0/getting-started/download.md4
-rw-r--r--index.html2
-rw-r--r--scss/_custom-forms.scss3
6 files changed, 20 insertions, 21 deletions
diff --git a/_includes/docs-navbar.html b/_includes/docs-navbar.html
index 6000c35b8..eb4be1474 100644
--- a/_includes/docs-navbar.html
+++ b/_includes/docs-navbar.html
@@ -59,5 +59,5 @@
</li>
</ul>
- <a class="btn btn-bd-yellow d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="{{ site.download.source }}">Download</a>
+ <a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3" href="{{ site.download.source }}">Download</a>
</header>
diff --git a/assets/scss/_buttons.scss b/assets/scss/_buttons.scss
index 82027459f..9be5f3cfe 100644
--- a/assets/scss/_buttons.scss
+++ b/assets/scss/_buttons.scss
@@ -2,7 +2,7 @@
//
// Custom buttons for the docs.
-.btn-bd-purple {
+.btn-bd-primary {
font-weight: 500;
color: $bd-purple-bright;
border-color: $bd-purple-bright;
@@ -15,15 +15,15 @@
}
}
-.btn-bd-yellow {
+.btn-bd-download {
font-weight: 500;
- color: $bd-yellow;
- border-color: $bd-yellow;
+ color: $bd-download;
+ border-color: $bd-download;
&:hover,
&:active {
- color: $bd-graphite;
- background-color: $bd-yellow;
- border-color: $bd-yellow;
+ color: $bd-dark;
+ background-color: $bd-download;
+ border-color: $bd-download;
}
}
diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss
index e3aed2e82..b60a21368 100644
--- a/assets/scss/_variables.scss
+++ b/assets/scss/_variables.scss
@@ -1,9 +1,9 @@
// Local docs variables
-$bd-purple: #563d7c;
-$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%);
-$bd-purple-light: #cdbfe3;
-$bd-graphite: #2a2730;
-$bd-yellow: #ffe484;
-$bd-danger: #d9534f;
-$bd-warning: #f0ad4e;
-$bd-info: #5bc0de;
+$bd-purple: #563d7c !default;
+$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%) !default;
+$bd-purple-light: lighten(saturate($bd-purple, 5%), 45%) !default;
+$bd-dark: #2a2730 !default;
+$bd-download: #ffe484 !default;
+$bd-info: #5bc0de !default;
+$bd-warning: #f0ad4e !default;
+$bd-danger: #d9534f !default;
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index c93d6dc34..de40145f7 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -15,7 +15,7 @@ Download ready-to-use compiled code for **Bootstrap v{{ site.current_version}}**
This doesn't include documentation, source files, or any optional JavaScript dependencies (jQuery and Popper.js).
-<a href="{{ site.download.dist }}" class="btn btn-bd-purple" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download</a>
+<a href="{{ site.download.dist }}" class="btn btn-bd-primary" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download</a>
## Source files
@@ -26,7 +26,7 @@ Compile Bootstrap with your own asset pipeline by downloading our source Sass, J
Should you require [build tools]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/build-tools/#tooling-setup), they are included for developing Bootstrap and its docs, but they're likely unsuitable for your own purposes.
-<a href="{{ site.download.source }}" class="btn btn-bd-purple" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
+<a href="{{ site.download.source }}" class="btn btn-bd-primary" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
## Bootstrap CDN
diff --git a/index.html b/index.html
index 62fdc71d1..54b069fd9 100644
--- a/index.html
+++ b/index.html
@@ -17,7 +17,7 @@ layout: home
Bootstrap is an open source toolkit for developing with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with our Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful plugins built on jQuery.
</p>
<div class="d-flex flex-column flex-md-row lead mb-3">
- <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/" class="btn btn-lg btn-bd-purple mb-3 mb-md-0 mr-md-3" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');">Get started</a>
+ <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/introduction/" class="btn btn-lg btn-bd-primary mb-3 mb-md-0 mr-md-3" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');">Get started</a>
<a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/" class="btn btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download</a>
</div>
<p class="text-muted mb-0">
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index 643dab6ff..455a20886 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -215,7 +215,6 @@
top: 0;
right: 0;
left: 0;
- z-index: 5;
height: $custom-file-height;
padding: $custom-file-padding-y $custom-file-padding-x;
line-height: $custom-file-line-height;
@@ -238,7 +237,7 @@
top: -$custom-file-border-width;
right: -$custom-file-border-width;
bottom: -$custom-file-border-width;
- z-index: 6;
+ z-index: 1;
display: block;
height: $custom-file-height;
padding: $custom-file-padding-y $custom-file-padding-x;