From 57fe8ac84cda0f6e361b0d6a29e86c3adf87f83d Mon Sep 17 00:00:00 2001 From: Marios Zindilis Date: Sun, 15 Jan 2017 17:14:25 +0000 Subject: [PATCH 01/13] Fixed minor typo --- docs/getting-started/accessibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/accessibility.md b/docs/getting-started/accessibility.md index c1fe73dc01..33619eb1ea 100644 --- a/docs/getting-started/accessibility.md +++ b/docs/getting-started/accessibility.md @@ -48,7 +48,7 @@ Note that this bug will also affect any other in-page links your site may be usi When nesting headings (`

` - `

`), your primary document header should be an `

`. Subsequent headings should make logical use of `

` - `

` such that screen readers can construct a table of contents for your pages. -Learn more at [HTML CodeSniffer](https://squizlabs.github.io/HTML_CodeSniffer/Standards/Section508/) and [Penn State's Accessability](http://accessibility.psu.edu/headings/). +Learn more at [HTML CodeSniffer](https://squizlabs.github.io/HTML_CodeSniffer/Standards/Section508/) and [Penn State's Accessibility](http://accessibility.psu.edu/headings/). ## Additional resources From fc82352594ba94ed415003acf79b727b86917d6a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 9 Jan 2017 21:23:38 -0800 Subject: [PATCH 02/13] fixes #21625, closes #21539 don't set focus styles on the anchor, just set hover styles --- scss/_reboot.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 557829f25c..266ed78194 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -164,7 +164,7 @@ a { color: $link-color; text-decoration: $link-decoration; - @include hover-focus { + @include hover { color: $link-hover-color; text-decoration: $link-hover-decoration; } From d7af46359b14340265e02243e2f0a9d8aa1fce50 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Tue, 10 Jan 2017 20:36:50 +0900 Subject: [PATCH 03/13] Remove filter: alpha(opacity = 0); Not needed (and all other old IE filter attributes have been removed from the CSS. This was the only one remaining --- scss/_custom-forms.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index ef2aab3544..3bc02a2397 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -208,7 +208,6 @@ max-width: 100%; height: $custom-file-height; margin: 0; - filter: alpha(opacity = 0); opacity: 0; &:focus ~ .custom-file-control { From 1d0f527249ffcad217c47701dab1c7872e85fb34 Mon Sep 17 00:00:00 2001 From: Pierre-Denis Vanduynslager Date: Mon, 16 Jan 2017 00:33:32 -0500 Subject: [PATCH 04/13] Add alert divider (
) example in docs (#21673) * Add alert divider (
)example in docs *
=>
per @vsn4ik suggestion --- docs/components/alerts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/components/alerts.md b/docs/components/alerts.md index da72e322e5..dae4ec7d36 100644 --- a/docs/components/alerts.md +++ b/docs/components/alerts.md @@ -55,12 +55,13 @@ Use the `.alert-link` utility class to quickly provide matching colored links wi ### Additional content -Alerts can also contain additional HTML elements like headings and paragraphs. +Alerts can also contain additional HTML elements like headings, paragraphs and dividers. {% example html %} {% endexample %} From a3bc607c1080df2d0bbca03c613aa9e992acb722 Mon Sep 17 00:00:00 2001 From: Pierre-Denis Vanduynslager Date: Mon, 16 Jan 2017 00:35:18 -0500 Subject: [PATCH 05/13] Remove unused scss variables (#21579) * Remove unused scss variables * Remove unnecessary space * Remove $zindex-navbar from docs * Re-add $progress-box-shadow --- docs/layout/overview.md | 1 - scss/_variables.scss | 22 ---------------------- 2 files changed, 23 deletions(-) diff --git a/docs/layout/overview.md b/docs/layout/overview.md index 736b9ed12d..04aa2c9ada 100644 --- a/docs/layout/overview.md +++ b/docs/layout/overview.md @@ -169,7 +169,6 @@ We don't encourage customization of these values; should you change one, you lik ```scss $zindex-dropdown-backdrop: 990 !default; -$zindex-navbar: 1000 !default; $zindex-dropdown: 1000 !default; $zindex-fixed: 1030 !default; $zindex-sticky: 1030 !default; diff --git a/scss/_variables.scss b/scss/_variables.scss index 36dc429c8a..0f4c56f93b 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -183,9 +183,6 @@ $sizes: ( $body-bg: $white !default; $body-color: $gray-dark !default; -$inverse-bg: $gray-dark !default; -$inverse-color: $gray-lighter !default; - // Links // @@ -245,7 +242,6 @@ $grid-gutter-widths: ( // Font, line-height, and color for body text, headings, and more. $font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default; -$font-family-serif: Georgia, "Times New Roman", Times, serif !default; $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; $font-family-base: $font-family-sans-serif !default; @@ -291,8 +287,6 @@ $small-font-size: 80% !default; $text-muted: $gray-light !default; -$abbr-border-color: $gray-light !default; - $blockquote-small-color: $gray-light !default; $blockquote-font-size: ($font-size-base * 1.25) !default; $blockquote-border-color: $gray-lighter !default; @@ -400,7 +394,6 @@ $btn-padding-x-lg: 1.5rem !default; $btn-padding-y-lg: .75rem !default; $btn-block-spacing-y: .5rem !default; -$btn-toolbar-margin: .5rem !default; // Allows for customizing button radius independently from global border radius $btn-border-radius: $border-radius !default; @@ -469,7 +462,6 @@ $custom-control-spacer-x: 1rem !default; $custom-control-spacer-y: .25rem !default; $custom-control-indicator-size: 1rem !default; -$custom-control-indicator-margin-y: (($line-height-base * 1rem) - $custom-control-indicator-size) / -2 !default; $custom-control-indicator-bg: #ddd !default; $custom-control-indicator-bg-size: 50% 50% !default; $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default; @@ -517,7 +509,6 @@ $custom-select-border-radius: $border-radius !default; $custom-select-focus-border-color: lighten($brand-primary, 25%) !default; $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default; -$custom-select-sm-padding-y: .2rem !default; $custom-select-sm-font-size: 75% !default; $custom-file-height: 2.5rem !default; @@ -589,7 +580,6 @@ $dropdown-header-color: $gray-light !default; // of components dependent on the z-axis and are designed to all work together. $zindex-dropdown-backdrop: 990 !default; -$zindex-navbar: 1000 !default; $zindex-dropdown: 1000 !default; $zindex-fixed: 1030 !default; $zindex-sticky: 1030 !default; @@ -598,15 +588,11 @@ $zindex-modal: 1050 !default; $zindex-popover: 1060 !default; $zindex-tooltip: 1070 !default; - // Navbar -$navbar-border-radius: $border-radius !default; $navbar-padding-x: $spacer !default; $navbar-padding-y: ($spacer / 2) !default; -$navbar-brand-padding-y: .25rem !default; - $navbar-toggler-padding-x: .75rem !default; $navbar-toggler-padding-y: .25rem !default; $navbar-toggler-font-size: $font-size-lg !default; @@ -628,10 +614,7 @@ $navbar-light-toggler-border: rgba($black,.1) !default; // Navs -$nav-item-margin: .2rem !default; -$nav-item-inline-spacer: 1rem !default; $nav-link-padding: .5em 1em !default; -$nav-link-hover-bg: $gray-lighter !default; $nav-disabled-link-color: $gray-light !default; $nav-tabs-border-color: #ddd !default; @@ -641,8 +624,6 @@ $nav-tabs-link-hover-border-color: $gray-lighter !default; $nav-tabs-active-link-hover-color: $gray !default; $nav-tabs-active-link-hover-bg: $body-bg !default; $nav-tabs-active-link-hover-border-color: #ddd !default; -$nav-tabs-justified-link-border-color: #ddd !default; -$nav-tabs-justified-active-link-border-color: $body-bg !default; $nav-pills-border-radius: $border-radius !default; $nav-pills-active-link-color: $component-active-color !default; @@ -943,7 +924,6 @@ $close-font-weight: $font-weight-bold !default; $close-color: $black !default; $close-text-shadow: 0 1px 0 $white !default; - // Code $code-font-size: 90% !default; @@ -955,7 +935,5 @@ $code-bg: $gray-lightest !default; $kbd-color: $white !default; $kbd-bg: $gray-dark !default; -$pre-bg: $gray-lightest !default; $pre-color: $gray-dark !default; -$pre-border-color: #ccc !default; $pre-scrollable-max-height: 340px !default; From d6a5439a8cc7cb3f916efb36bf785bdbd836858d Mon Sep 17 00:00:00 2001 From: Pierre-Denis Vanduynslager Date: Mon, 16 Jan 2017 00:36:15 -0500 Subject: [PATCH 06/13] Remove list-group-item-heading and list-group-item-text (#21653) --- scss/_list-group.scss | 23 ----------------------- scss/_variables.scss | 3 --- scss/mixins/_list-group.scss | 4 ---- 3 files changed, 30 deletions(-) diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ec813c807e..bb8a8d1031 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -22,10 +22,6 @@ color: $list-group-link-color; text-align: inherit; // For `