Commit 02fe0ecc authored by Mark Otto's avatar Mark Otto

Drop deprecated code from Less files

parent a0d8c62f
...@@ -651,41 +651,26 @@ blockquote ul:last-child, ...@@ -651,41 +651,26 @@ blockquote ul:last-child,
blockquote ol:last-child { blockquote ol:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
blockquote footer, blockquote footer {
blockquote small,
blockquote .small {
display: block; display: block;
font-size: 80%; font-size: 80%;
line-height: 1.5; line-height: 1.5;
color: #818a91; color: #818a91;
} }
blockquote footer:before, blockquote footer:before {
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0'; content: '\2014 \00A0';
} }
.blockquote-reverse, .blockquote-reverse {
blockquote.pull-right {
padding-right: 15px; padding-right: 15px;
padding-left: 0; padding-left: 0;
text-align: right; text-align: right;
border-right: 5px solid #eceeef; border-right: 5px solid #eceeef;
border-left: 0; border-left: 0;
} }
.blockquote-reverse footer:before, .blockquote-reverse footer:before {
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before {
content: ''; content: '';
} }
.blockquote-reverse footer:after, .blockquote-reverse footer:after {
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014'; content: '\00A0 \2014';
} }
blockquote:before, blockquote:before,
...@@ -3050,12 +3035,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn { ...@@ -3050,12 +3035,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
background-color: #eceeef; background-color: #eceeef;
border-color: #027de7; border-color: #027de7;
} }
.nav .nav-divider {
height: 1px;
margin: 11px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.nav-tabs { .nav-tabs {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
...@@ -4132,11 +4111,9 @@ a.list-group-item.active > .badge, ...@@ -4132,11 +4111,9 @@ a.list-group-item.active > .badge,
.alert > p + p { .alert > p + p {
margin-top: 5px; margin-top: 5px;
} }
.alert-dismissable,
.alert-dismissible { .alert-dismissible {
padding-right: 35px; padding-right: 35px;
} }
.alert-dismissable .close,
.alert-dismissible .close { .alert-dismissible .close {
position: relative; position: relative;
top: -2px; top: -2px;
...@@ -5200,9 +5177,6 @@ button.close { ...@@ -5200,9 +5177,6 @@ button.close {
.pull-left { .pull-left {
float: left !important; float: left !important;
} }
.hide {
display: none !important;
}
.show { .show {
display: block !important; display: block !important;
} }
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -651,41 +651,26 @@ blockquote ul:last-child, ...@@ -651,41 +651,26 @@ blockquote ul:last-child,
blockquote ol:last-child { blockquote ol:last-child {
margin-bottom: 0; margin-bottom: 0;
} }
blockquote footer, blockquote footer {
blockquote small,
blockquote .small {
display: block; display: block;
font-size: 80%; font-size: 80%;
line-height: 1.5; line-height: 1.5;
color: #818a91; color: #818a91;
} }
blockquote footer:before, blockquote footer:before {
blockquote small:before,
blockquote .small:before {
content: '\2014 \00A0'; content: '\2014 \00A0';
} }
.blockquote-reverse, .blockquote-reverse {
blockquote.pull-right {
padding-right: 15px; padding-right: 15px;
padding-left: 0; padding-left: 0;
text-align: right; text-align: right;
border-right: 5px solid #eceeef; border-right: 5px solid #eceeef;
border-left: 0; border-left: 0;
} }
.blockquote-reverse footer:before, .blockquote-reverse footer:before {
blockquote.pull-right footer:before,
.blockquote-reverse small:before,
blockquote.pull-right small:before,
.blockquote-reverse .small:before,
blockquote.pull-right .small:before {
content: ''; content: '';
} }
.blockquote-reverse footer:after, .blockquote-reverse footer:after {
blockquote.pull-right footer:after,
.blockquote-reverse small:after,
blockquote.pull-right small:after,
.blockquote-reverse .small:after,
blockquote.pull-right .small:after {
content: '\00A0 \2014'; content: '\00A0 \2014';
} }
blockquote:before, blockquote:before,
...@@ -3050,12 +3035,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn { ...@@ -3050,12 +3035,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
background-color: #eceeef; background-color: #eceeef;
border-color: #027de7; border-color: #027de7;
} }
.nav .nav-divider {
height: 1px;
margin: 11px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.nav-tabs { .nav-tabs {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
...@@ -4132,11 +4111,9 @@ a.list-group-item.active > .badge, ...@@ -4132,11 +4111,9 @@ a.list-group-item.active > .badge,
.alert > p + p { .alert > p + p {
margin-top: 5px; margin-top: 5px;
} }
.alert-dismissable,
.alert-dismissible { .alert-dismissible {
padding-right: 35px; padding-right: 35px;
} }
.alert-dismissable .close,
.alert-dismissible .close { .alert-dismissible .close {
position: relative; position: relative;
top: -2px; top: -2px;
...@@ -5200,9 +5177,6 @@ button.close { ...@@ -5200,9 +5177,6 @@ button.close {
.pull-left { .pull-left {
float: left !important; float: left !important;
} }
.hide {
display: none !important;
}
.show { .show {
display: block !important; display: block !important;
} }
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
// //
// Expand the right padding and account for the close button's positioning. // Expand the right padding and account for the close button's positioning.
.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
.alert-dismissible { .alert-dismissible {
padding-right: (@alert-padding + 20); padding-right: (@alert-padding + 20);
......
// CSS image replacement // CSS image replacement
// .text-hide() {
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
//
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
// Deprecated as of v3.0.1 (will be removed in v4)
.hide-text() {
font: ~"0/0" a; font: ~"0/0" a;
color: transparent; color: transparent;
text-shadow: none; text-shadow: none;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
} }
// New mixin to use as of v3.0.1
.text-hide() {
.hide-text();
}
...@@ -106,15 +106,6 @@ ...@@ -106,15 +106,6 @@
border-color: @link-color; border-color: @link-color;
} }
} }
// Nav dividers (deprecated with v3.0.1)
//
// This should have been removed in v3 with the dropping of `.nav-list`, but
// we missed it. We don't currently support this anywhere, but in the interest
// of maintaining backward compatibility in case you use it, it's deprecated.
.nav-divider {
.nav-divider();
}
} }
......
...@@ -251,11 +251,7 @@ blockquote { ...@@ -251,11 +251,7 @@ blockquote {
} }
} }
// Note: Deprecated small and .small as of v3.1.0 footer {
// Context: https://github.com/twbs/bootstrap/issues/11660
footer,
small,
.small {
display: block; display: block;
font-size: 80%; // back to default font-size font-size: 80%; // back to default font-size
line-height: @line-height-base; line-height: @line-height-base;
...@@ -268,10 +264,7 @@ blockquote { ...@@ -268,10 +264,7 @@ blockquote {
} }
// Opposite alignment of blockquote // Opposite alignment of blockquote
// .blockquote-reverse {
// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.
.blockquote-reverse,
blockquote.pull-right {
padding-right: 15px; padding-right: 15px;
padding-left: 0; padding-left: 0;
border-right: 5px solid @blockquote-border-color; border-right: 5px solid @blockquote-border-color;
...@@ -279,9 +272,7 @@ blockquote.pull-right { ...@@ -279,9 +272,7 @@ blockquote.pull-right {
text-align: right; text-align: right;
// Account for citation // Account for citation
footer, footer {
small,
.small {
&:before { content: ''; } &:before { content: ''; }
&:after { &:after {
content: '\00A0 \2014'; // nbsp, em dash content: '\00A0 \2014'; // nbsp, em dash
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
// Toggling content // Toggling content
// ------------------------- // -------------------------
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
.hide {
display: none !important;
}
.show { .show {
display: block !important; display: block !important;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment