mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
transitions mixin and global variable, add it to buttons
This commit is contained in:
Vendored
+3
@@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control {
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: .2rem;
|
border-radius: .2rem;
|
||||||
|
-webkit-transition: all .2s ease-in-out;
|
||||||
|
-o-transition: all .2s ease-in-out;
|
||||||
|
transition: all .2s ease-in-out;
|
||||||
}
|
}
|
||||||
.btn:focus,
|
.btn:focus,
|
||||||
.btn:active:focus,
|
.btn:active:focus,
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1272
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
@@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control {
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: .2rem;
|
border-radius: .2rem;
|
||||||
|
-webkit-transition: all .2s ease-in-out;
|
||||||
|
-o-transition: all .2s ease-in-out;
|
||||||
|
transition: all .2s ease-in-out;
|
||||||
}
|
}
|
||||||
.btn:focus,
|
.btn:focus,
|
||||||
.btn:active:focus,
|
.btn:active:focus,
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -19,6 +19,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
.transition(all .2s ease-in-out);
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&:active,
|
&:active,
|
||||||
|
|||||||
@@ -9,6 +9,10 @@
|
|||||||
box-shadow: @arguments;
|
box-shadow: @arguments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.transition(@transition) when (@enable-transitions = true) {
|
||||||
|
transition: @arguments;
|
||||||
|
}
|
||||||
|
|
||||||
.render-gradient(@start; @end) when (@enable-gradients = true) {
|
.render-gradient(@start; @end) when (@enable-gradients = true) {
|
||||||
#gradient > .vertical(@start-color: @start; @end-color: @end);
|
#gradient > .vertical(@start-color: @start; @end-color: @end);
|
||||||
background-color: @end;
|
background-color: @end;
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
@enable-rounded: true;
|
@enable-rounded: true;
|
||||||
@enable-shadows: true;
|
@enable-shadows: true;
|
||||||
@enable-gradients: true;
|
@enable-gradients: true;
|
||||||
|
@enable-transitions: true;
|
||||||
|
|
||||||
|
|
||||||
//== Typography
|
//== Typography
|
||||||
|
|||||||
Reference in New Issue
Block a user