Merge pull request #706 from dev-ggallon/feature/bootstrap_less

Update Bootstrap less files to 3.3.5
pull/712/head
Abdullah Almsaeed 2015-09-27 11:16:59 -04:00
commit 9157e62294
12 changed files with 250 additions and 51 deletions

1
build/bootstrap-less/mixins.less Normal file → Executable file
View File

@ -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";

3
build/bootstrap-less/mixins/background-variant.less Normal file → Executable file
View File

@ -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%);
} }
} }

20
build/bootstrap-less/mixins/buttons.less Normal file → Executable file
View File

@ -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,

4
build/bootstrap-less/mixins/grid.less Normal file → Executable file
View File

@ -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);
} }

2
build/bootstrap-less/mixins/hide-text.less Normal file → Executable file
View File

@ -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()`.
// //

3
build/bootstrap-less/mixins/list-group.less Normal file → Executable file
View File

@ -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 {

3
build/bootstrap-less/mixins/pagination.less Normal file → Executable file
View File

@ -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,

View File

@ -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;
}

View File

@ -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;

3
build/bootstrap-less/mixins/text-emphasis.less Normal file → Executable file
View File

@ -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%);
} }
} }

240
dist/css/AdminLTE.css vendored
View File

@ -3443,9 +3443,17 @@ table.text-center th {
background-color: #d87a68; background-color: #d87a68;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-adn:hover,
.btn-adn:focus, .btn-adn:focus,
.btn-adn.focus, .btn-adn.focus {
color: #ffffff;
background-color: #ce563f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-adn:hover {
color: #ffffff;
background-color: #ce563f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-adn:active, .btn-adn:active,
.btn-adn.active, .btn-adn.active,
.open > .dropdown-toggle.btn-adn { .open > .dropdown-toggle.btn-adn {
@ -3467,9 +3475,17 @@ table.text-center th {
background-color: #205081; background-color: #205081;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-bitbucket:hover,
.btn-bitbucket:focus, .btn-bitbucket:focus,
.btn-bitbucket.focus, .btn-bitbucket.focus {
color: #ffffff;
background-color: #163758;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-bitbucket:hover {
color: #ffffff;
background-color: #163758;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-bitbucket:active, .btn-bitbucket:active,
.btn-bitbucket.active, .btn-bitbucket.active,
.open > .dropdown-toggle.btn-bitbucket { .open > .dropdown-toggle.btn-bitbucket {
@ -3491,9 +3507,17 @@ table.text-center th {
background-color: #1087dd; background-color: #1087dd;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-dropbox:hover,
.btn-dropbox:focus, .btn-dropbox:focus,
.btn-dropbox.focus, .btn-dropbox.focus {
color: #ffffff;
background-color: #0d6aad;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-dropbox:hover {
color: #ffffff;
background-color: #0d6aad;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-dropbox:active, .btn-dropbox:active,
.btn-dropbox.active, .btn-dropbox.active,
.open > .dropdown-toggle.btn-dropbox { .open > .dropdown-toggle.btn-dropbox {
@ -3515,9 +3539,17 @@ table.text-center th {
background-color: #3b5998; background-color: #3b5998;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-facebook:hover,
.btn-facebook:focus, .btn-facebook:focus,
.btn-facebook.focus, .btn-facebook.focus {
color: #ffffff;
background-color: #2d4373;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-facebook:hover {
color: #ffffff;
background-color: #2d4373;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-facebook:active, .btn-facebook:active,
.btn-facebook.active, .btn-facebook.active,
.open > .dropdown-toggle.btn-facebook { .open > .dropdown-toggle.btn-facebook {
@ -3539,9 +3571,17 @@ table.text-center th {
background-color: #ff0084; background-color: #ff0084;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-flickr:hover,
.btn-flickr:focus, .btn-flickr:focus,
.btn-flickr.focus, .btn-flickr.focus {
color: #ffffff;
background-color: #cc006a;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-flickr:hover {
color: #ffffff;
background-color: #cc006a;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-flickr:active, .btn-flickr:active,
.btn-flickr.active, .btn-flickr.active,
.open > .dropdown-toggle.btn-flickr { .open > .dropdown-toggle.btn-flickr {
@ -3563,9 +3603,17 @@ table.text-center th {
background-color: #f94877; background-color: #f94877;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-foursquare:hover,
.btn-foursquare:focus, .btn-foursquare:focus,
.btn-foursquare.focus, .btn-foursquare.focus {
color: #ffffff;
background-color: #f71752;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-foursquare:hover {
color: #ffffff;
background-color: #f71752;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-foursquare:active, .btn-foursquare:active,
.btn-foursquare.active, .btn-foursquare.active,
.open > .dropdown-toggle.btn-foursquare { .open > .dropdown-toggle.btn-foursquare {
@ -3587,9 +3635,17 @@ table.text-center th {
background-color: #444444; background-color: #444444;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-github:hover,
.btn-github:focus, .btn-github:focus,
.btn-github.focus, .btn-github.focus {
color: #ffffff;
background-color: #2b2b2b;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-github:hover {
color: #ffffff;
background-color: #2b2b2b;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-github:active, .btn-github:active,
.btn-github.active, .btn-github.active,
.open > .dropdown-toggle.btn-github { .open > .dropdown-toggle.btn-github {
@ -3611,9 +3667,17 @@ table.text-center th {
background-color: #dd4b39; background-color: #dd4b39;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-google:hover,
.btn-google:focus, .btn-google:focus,
.btn-google.focus, .btn-google.focus {
color: #ffffff;
background-color: #c23321;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-google:hover {
color: #ffffff;
background-color: #c23321;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-google:active, .btn-google:active,
.btn-google.active, .btn-google.active,
.open > .dropdown-toggle.btn-google { .open > .dropdown-toggle.btn-google {
@ -3635,9 +3699,17 @@ table.text-center th {
background-color: #3f729b; background-color: #3f729b;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-instagram:hover,
.btn-instagram:focus, .btn-instagram:focus,
.btn-instagram.focus, .btn-instagram.focus {
color: #ffffff;
background-color: #305777;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-instagram:hover {
color: #ffffff;
background-color: #305777;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-instagram:active, .btn-instagram:active,
.btn-instagram.active, .btn-instagram.active,
.open > .dropdown-toggle.btn-instagram { .open > .dropdown-toggle.btn-instagram {
@ -3659,9 +3731,17 @@ table.text-center th {
background-color: #007bb6; background-color: #007bb6;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-linkedin:hover,
.btn-linkedin:focus, .btn-linkedin:focus,
.btn-linkedin.focus, .btn-linkedin.focus {
color: #ffffff;
background-color: #005983;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-linkedin:hover {
color: #ffffff;
background-color: #005983;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-linkedin:active, .btn-linkedin:active,
.btn-linkedin.active, .btn-linkedin.active,
.open > .dropdown-toggle.btn-linkedin { .open > .dropdown-toggle.btn-linkedin {
@ -3683,9 +3763,17 @@ table.text-center th {
background-color: #2672ec; background-color: #2672ec;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-microsoft:hover,
.btn-microsoft:focus, .btn-microsoft:focus,
.btn-microsoft.focus, .btn-microsoft.focus {
color: #ffffff;
background-color: #125acd;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-microsoft:hover {
color: #ffffff;
background-color: #125acd;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-microsoft:active, .btn-microsoft:active,
.btn-microsoft.active, .btn-microsoft.active,
.open > .dropdown-toggle.btn-microsoft { .open > .dropdown-toggle.btn-microsoft {
@ -3707,9 +3795,17 @@ table.text-center th {
background-color: #f7931e; background-color: #f7931e;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-openid:hover,
.btn-openid:focus, .btn-openid:focus,
.btn-openid.focus, .btn-openid.focus {
color: #ffffff;
background-color: #da7908;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-openid:hover {
color: #ffffff;
background-color: #da7908;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-openid:active, .btn-openid:active,
.btn-openid.active, .btn-openid.active,
.open > .dropdown-toggle.btn-openid { .open > .dropdown-toggle.btn-openid {
@ -3731,9 +3827,17 @@ table.text-center th {
background-color: #cb2027; background-color: #cb2027;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-pinterest:hover,
.btn-pinterest:focus, .btn-pinterest:focus,
.btn-pinterest.focus, .btn-pinterest.focus {
color: #ffffff;
background-color: #9f191f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-pinterest:hover {
color: #ffffff;
background-color: #9f191f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-pinterest:active, .btn-pinterest:active,
.btn-pinterest.active, .btn-pinterest.active,
.open > .dropdown-toggle.btn-pinterest { .open > .dropdown-toggle.btn-pinterest {
@ -3755,9 +3859,17 @@ table.text-center th {
background-color: #eff7ff; background-color: #eff7ff;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-reddit:hover,
.btn-reddit:focus, .btn-reddit:focus,
.btn-reddit.focus, .btn-reddit.focus {
color: #000000;
background-color: #bcddff;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-reddit:hover {
color: #000000;
background-color: #bcddff;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-reddit:active, .btn-reddit:active,
.btn-reddit.active, .btn-reddit.active,
.open > .dropdown-toggle.btn-reddit { .open > .dropdown-toggle.btn-reddit {
@ -3779,9 +3891,17 @@ table.text-center th {
background-color: #ff5500; background-color: #ff5500;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-soundcloud:hover,
.btn-soundcloud:focus, .btn-soundcloud:focus,
.btn-soundcloud.focus, .btn-soundcloud.focus {
color: #ffffff;
background-color: #cc4400;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-soundcloud:hover {
color: #ffffff;
background-color: #cc4400;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-soundcloud:active, .btn-soundcloud:active,
.btn-soundcloud.active, .btn-soundcloud.active,
.open > .dropdown-toggle.btn-soundcloud { .open > .dropdown-toggle.btn-soundcloud {
@ -3803,9 +3923,17 @@ table.text-center th {
background-color: #2c4762; background-color: #2c4762;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-tumblr:hover,
.btn-tumblr:focus, .btn-tumblr:focus,
.btn-tumblr.focus, .btn-tumblr.focus {
color: #ffffff;
background-color: #1c2d3f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-tumblr:hover {
color: #ffffff;
background-color: #1c2d3f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-tumblr:active, .btn-tumblr:active,
.btn-tumblr.active, .btn-tumblr.active,
.open > .dropdown-toggle.btn-tumblr { .open > .dropdown-toggle.btn-tumblr {
@ -3827,9 +3955,17 @@ table.text-center th {
background-color: #55acee; background-color: #55acee;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-twitter:hover,
.btn-twitter:focus, .btn-twitter:focus,
.btn-twitter.focus, .btn-twitter.focus {
color: #ffffff;
background-color: #2795e9;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-twitter:hover {
color: #ffffff;
background-color: #2795e9;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-twitter:active, .btn-twitter:active,
.btn-twitter.active, .btn-twitter.active,
.open > .dropdown-toggle.btn-twitter { .open > .dropdown-toggle.btn-twitter {
@ -3851,9 +3987,17 @@ table.text-center th {
background-color: #1ab7ea; background-color: #1ab7ea;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-vimeo:hover,
.btn-vimeo:focus, .btn-vimeo:focus,
.btn-vimeo.focus, .btn-vimeo.focus {
color: #ffffff;
background-color: #1295bf;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-vimeo:hover {
color: #ffffff;
background-color: #1295bf;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-vimeo:active, .btn-vimeo:active,
.btn-vimeo.active, .btn-vimeo.active,
.open > .dropdown-toggle.btn-vimeo { .open > .dropdown-toggle.btn-vimeo {
@ -3875,9 +4019,17 @@ table.text-center th {
background-color: #587ea3; background-color: #587ea3;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-vk:hover,
.btn-vk:focus, .btn-vk:focus,
.btn-vk.focus, .btn-vk.focus {
color: #ffffff;
background-color: #466482;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-vk:hover {
color: #ffffff;
background-color: #466482;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-vk:active, .btn-vk:active,
.btn-vk.active, .btn-vk.active,
.open > .dropdown-toggle.btn-vk { .open > .dropdown-toggle.btn-vk {
@ -3899,9 +4051,17 @@ table.text-center th {
background-color: #720e9e; background-color: #720e9e;
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
} }
.btn-yahoo:hover,
.btn-yahoo:focus, .btn-yahoo:focus,
.btn-yahoo.focus, .btn-yahoo.focus {
color: #ffffff;
background-color: #500a6f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-yahoo:hover {
color: #ffffff;
background-color: #500a6f;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-yahoo:active, .btn-yahoo:active,
.btn-yahoo.active, .btn-yahoo.active,
.open > .dropdown-toggle.btn-yahoo { .open > .dropdown-toggle.btn-yahoo {

File diff suppressed because one or more lines are too long