1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss/_mixins.scss

60 lines
1.3 KiB
SCSS
Raw Normal View History

2014-12-02 17:02:35 -05:00
// Toggles
//
2015-01-01 03:02:21 -05:00
// Used in conjunction with global variables to enable certain theme features.
2014-12-02 17:02:35 -05:00
@mixin box-shadow($shadow...) {
@if $enable-shadows {
box-shadow: $shadow;
}
}
@mixin transition($transition...) {
@if $enable-transitions {
@if length($transition) == 0 {
transition: $transition-base;
} @else {
transition: $transition;
}
2014-12-02 17:02:35 -05:00
}
}
// Utilities
@import "mixins/breakpoints";
@import "mixins/hover";
2014-12-02 17:02:35 -05:00
@import "mixins/image";
@import "mixins/badge";
2014-12-02 17:02:35 -05:00
@import "mixins/resize";
@import "mixins/screen-reader";
2014-12-02 17:02:35 -05:00
@import "mixins/size";
@import "mixins/tab-focus";
2015-06-19 02:56:43 -04:00
@import "mixins/reset-text";
2014-12-02 17:02:35 -05:00
@import "mixins/text-emphasis";
2015-09-06 07:40:19 -04:00
@import "mixins/text-hide";
@import "mixins/text-truncate";
@import "mixins/transforms";
2016-08-02 12:01:26 -04:00
@import "mixins/visibility";
2014-12-02 17:02:35 -05:00
// // Components
@import "mixins/alert";
@import "mixins/buttons";
@import "mixins/cards";
2014-12-02 17:02:35 -05:00
@import "mixins/pagination";
@import "mixins/lists";
2014-12-02 17:02:35 -05:00
@import "mixins/list-group";
@import "mixins/nav-divider";
@import "mixins/forms";
@import "mixins/progress";
@import "mixins/table-row";
// // Skins
@import "mixins/background-variant";
@import "mixins/border-radius";
@import "mixins/gradients";
// // Layout
@import "mixins/clearfix";
// @import "mixins/navbar-align";
@import "mixins/grid-framework";
@import "mixins/grid";
@import "mixins/float";