mirror of https://github.com/ColorlibHQ/AdminLTE
Update Bootstrap less files to 3.3.5
parent
ef8624bff7
commit
226ba4f4ed
|
@ -10,6 +10,7 @@
|
||||||
@import "mixins/responsive-visibility.less";
|
@import "mixins/responsive-visibility.less";
|
||||||
@import "mixins/size.less";
|
@import "mixins/size.less";
|
||||||
@import "mixins/tab-focus.less";
|
@import "mixins/tab-focus.less";
|
||||||
|
@import "mixins/reset-text.less";
|
||||||
@import "mixins/text-emphasis.less";
|
@import "mixins/text-emphasis.less";
|
||||||
@import "mixins/text-overflow.less";
|
@import "mixins/text-overflow.less";
|
||||||
@import "mixins/vendor-prefixes.less";
|
@import "mixins/vendor-prefixes.less";
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
.bg-variant(@color) {
|
.bg-variant(@color) {
|
||||||
background-color: @color;
|
background-color: @color;
|
||||||
a&:hover {
|
a&:hover,
|
||||||
|
a&:focus {
|
||||||
background-color: darken(@color, 10%);
|
background-color: darken(@color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,15 +8,31 @@
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-color: @border;
|
border-color: @border;
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&.focus,
|
&.focus {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 10%);
|
||||||
|
border-color: darken(@border, 25%);
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 10%);
|
||||||
|
border-color: darken(@border, 12%);
|
||||||
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
.open > .dropdown-toggle& {
|
.open > .dropdown-toggle& {
|
||||||
color: @color;
|
color: @color;
|
||||||
background-color: darken(@background, 10%);
|
background-color: darken(@background, 10%);
|
||||||
border-color: darken(@border, 12%);
|
border-color: darken(@border, 12%);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&.focus {
|
||||||
|
color: @color;
|
||||||
|
background-color: darken(@background, 17%);
|
||||||
|
border-color: darken(@border, 25%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.active,
|
&.active,
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
// Creates a wrapper for a series of columns
|
// Creates a wrapper for a series of columns
|
||||||
.make-row(@gutter: @grid-gutter-width) {
|
.make-row(@gutter: @grid-gutter-width) {
|
||||||
margin-left: (@gutter / -2);
|
margin-left: ceil((@gutter / -2));
|
||||||
margin-right: (@gutter / -2);
|
margin-right: floor((@gutter / -2));
|
||||||
&:extend(.clearfix all);
|
&:extend(.clearfix all);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// CSS image replacement
|
// CSS image replacement
|
||||||
//
|
//
|
||||||
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
|
// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
|
||||||
// mixins being reused as classes with the same name, this doesn't hold up. As
|
// 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()`.
|
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
|
||||||
//
|
//
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
color: @color;
|
color: @color;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
|
|
||||||
a& {
|
a&,
|
||||||
|
button& {
|
||||||
color: @color;
|
color: @color;
|
||||||
|
|
||||||
.list-group-item-heading {
|
.list-group-item-heading {
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
// Pagination
|
// Pagination
|
||||||
|
|
||||||
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
|
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
||||||
> li {
|
> li {
|
||||||
> a,
|
> a,
|
||||||
> span {
|
> span {
|
||||||
padding: @padding-vertical @padding-horizontal;
|
padding: @padding-vertical @padding-horizontal;
|
||||||
font-size: @font-size;
|
font-size: @font-size;
|
||||||
|
line-height: @line-height;
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child {
|
||||||
> a,
|
> a,
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
.reset-text() {
|
||||||
|
font-family: @font-family-base;
|
||||||
|
// We deliberately do NOT reset font-size.
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
letter-spacing: normal;
|
||||||
|
line-break: auto;
|
||||||
|
line-height: @line-height-base;
|
||||||
|
text-align: left; // Fallback for where `start` is not supported
|
||||||
|
text-align: start;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: none;
|
||||||
|
text-transform: none;
|
||||||
|
white-space: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
|
@ -5,7 +5,7 @@
|
||||||
.responsive-visibility() {
|
.responsive-visibility() {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
table& {
|
table& {
|
||||||
display: table;
|
display: table !important;
|
||||||
}
|
}
|
||||||
tr& {
|
tr& {
|
||||||
display: table-row !important;
|
display: table-row !important;
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
.text-emphasis-variant(@color) {
|
.text-emphasis-variant(@color) {
|
||||||
color: @color;
|
color: @color;
|
||||||
a&:hover {
|
a&:hover,
|
||||||
|
a&:focus {
|
||||||
color: darken(@color, 10%);
|
color: darken(@color, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue