mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
rearrange a few things; drop compiled theme file
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
box-shadow: @arguments;
|
||||
}
|
||||
|
||||
.render-gradient(@start; @end) when (@enable-gradients = true) {
|
||||
#gradient > .vertical(@start-color: @start; @end-color: @end);
|
||||
background-color: @end;
|
||||
}
|
||||
|
||||
|
||||
// Utilities
|
||||
@import "mixins/hide-text.less";
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
|
||||
.box-shadow(@shadow);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
@@ -21,7 +23,9 @@
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
// Remove the gradient for the pressed/active state
|
||||
background-image: none;
|
||||
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
|
||||
@@ -82,7 +82,7 @@ img {
|
||||
|
||||
// Rounded corners
|
||||
.img-rounded {
|
||||
border-radius: @border-radius-large;
|
||||
.border-radius(@border-radius-large);
|
||||
}
|
||||
|
||||
// Image thumbnails
|
||||
@@ -93,6 +93,7 @@ img {
|
||||
border: 1px solid @thumbnail-border;
|
||||
border-radius: @thumbnail-border-radius;
|
||||
transition: all .2s ease-in-out;
|
||||
.box-shadow(0 1px 2px rgba(0,0,0,.075));
|
||||
|
||||
// Keep them at most 100% wide
|
||||
.img-responsive(inline-block);
|
||||
|
||||
Reference in New Issue
Block a user