diff options
Diffstat (limited to 'scss/_mixins.scss')
-rw-r--r-- | scss/_mixins.scss | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/scss/_mixins.scss b/scss/_mixins.scss new file mode 100644 index 0000000000..9d3d289c43 --- /dev/null +++ b/scss/_mixins.scss @@ -0,0 +1,59 @@ +// Mixins +// -------------------------------------------------- + +// Toggles +// +// Used in conjuntion with global variables to enable certain theme features. + +@mixin border-radius($radius: $border-radius-base) { + @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/media-queries"; +@import "mixins/hide-text"; +@import "mixins/image"; +@import "mixins/label"; +@import "mixins/reset-filter"; +@import "mixins/resize"; +@import "mixins/responsive-visibility"; +@import "mixins/size"; +@import "mixins/tab-focus"; +@import "mixins/text-emphasis"; +@import "mixins/text-overflow"; + +// // 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"; |