2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+1
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,
+4
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;
+1
View File
@@ -43,6 +43,7 @@
@enable-rounded: true;
@enable-shadows: true;
@enable-gradients: true;
@enable-transitions: true;
//== Typography