0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/scss/_mixins.scss

61 lines
1.3 KiB
SCSS
Raw Normal View History

2014-12-02 23:02:35 +01:00
// Toggles
//
2015-01-01 09:02:21 +01:00
// Used in conjunction with global variables to enable certain theme features.
2014-12-02 23:02:35 +01:00
@mixin border-radius($radius: $border-radius) {
2014-12-02 23:02:35 +01:00
@if $enable-rounded {
border-radius: $radius;
}
}
@mixin box-shadow($shadow...) {
@if $enable-shadows {
box-shadow: $shadow;
}
}
@mixin transition($transition...) {
@if $enable-transitions {
transition: $transition;
}
}
// Utilities
@import "mixins/breakpoints";
2014-12-02 23:02:35 +01:00
@import "mixins/hide-text";
@import "mixins/hover";
2014-12-02 23:02:35 +01:00
@import "mixins/image";
@import "mixins/label";
@import "mixins/reset-filter";
@import "mixins/resize";
@import "mixins/responsive-visibility";
@import "mixins/screen-reader";
2014-12-02 23:02:35 +01:00
@import "mixins/size";
@import "mixins/tab-focus";
2015-06-19 08:56:43 +02:00
@import "mixins/reset-text";
2014-12-02 23:02:35 +01:00
@import "mixins/text-emphasis";
@import "mixins/text-truncate";
2014-12-02 23:02:35 +01:00
// // Components
@import "mixins/alert";
@import "mixins/buttons";
@import "mixins/pagination";
@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/center-block";
// @import "mixins/navbar-align";
@import "mixins/grid-framework";
@import "mixins/grid";
2014-12-16 21:29:47 +01:00
@import "mixins/pulls";