0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

transitions mixin and global variable, add it to buttons

This commit is contained in:
Mark Otto 2014-07-13 13:31:07 -07:00
parent a1bd7634d7
commit 66f7062e81
11 changed files with 18 additions and 1277 deletions

View File

@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control {
background-image: none;
border: 1px solid transparent;
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:active:focus,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control {
background-image: none;
border: 1px solid transparent;
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:active:focus,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,7 @@
white-space: nowrap;
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
user-select: none;
.transition(all .2s ease-in-out);
&,
&:active,

View File

@ -9,6 +9,10 @@
box-shadow: @arguments;
}
.transition(@transition) when (@enable-transitions = true) {
transition: @arguments;
}
.render-gradient(@start; @end) when (@enable-gradients = true) {
#gradient > .vertical(@start-color: @start; @end-color: @end);
background-color: @end;

View File

@ -43,6 +43,7 @@
@enable-rounded: true;
@enable-shadows: true;
@enable-gradients: true;
@enable-transitions: true;
//== Typography