Commit 66f7062e authored by Mark Otto's avatar Mark Otto
Browse files

transitions mixin and global variable, add it to buttons

parent a1bd7634
48 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26437merge,!26197V4 dev xmr,!20778V4 dev,!20539Allow multiple modals,!18047#17986,!18988Blockquote border width,!20854Fixes 15534,!19272V4 dev xmr grunt html,!17218Issue 17066,!19581V4 fix popover,!18283Tether docs fix,!17229Include documentation for .navbar-static-top,!20493V4 dev display,!20636Fix docs for heading sizes,!19824blockquote-center,!22547Finished a new translation for bootstrap,!19534Docs 17264,!19533Npm deps,!22143Fix selectable disabled toggle radio buttons,!19084V4 rhythm,!18085Ie9 click comment,!22598test,!18829Add prefix to carousel classes,!18581Check getting started files for broken links - Issue 18568,!18067replace grunt-autoprefixer with gruntpostcss + autoprefixer,!20099V4.0.0 alpha.3,!20438V4 grid classes,!17307Vertical alignment on Bootstrap columns with equal height,!18477add utility color-contrast function,!18864Feature/navbar toggler support color schemes,!19602V4 palettes arun,!18311V4 dev xmr,!19448New pull request for testing,!19358XXL grid size,!19825.blockquote-center,!17508Fix usage of “its” and “it’s” (v4 docs),!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!19754Issue template,!19753Card img overlay padding,!19747Blockquote border width,!19580ExitStars,!18684Docs: change "Button" to "Go somewhere",!18661Docs: accessibility fix-up of collapsible content navbar, change site-wide main navbar,!17021v4
Showing with 16 additions and 1275 deletions
+16 -1275
...@@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control { ...@@ -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,
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2112,6 +2112,9 @@ select[multiple].form-group-lg .form-control { ...@@ -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,
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
...@@ -19,6 +19,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment