mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Use imports everywhere
This commit is contained in:
parent
a9a48d1512
commit
a6130bf160
File diff suppressed because it is too large
Load Diff
@ -3,3 +3,4 @@
|
|||||||
|
|
||||||
@import "minireset.sass"
|
@import "minireset.sass"
|
||||||
@import "generic.sass"
|
@import "generic.sass"
|
||||||
|
@import "animations.sass"
|
||||||
|
5
sass/base/animations.sass
Normal file
5
sass/base/animations.sass
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@keyframes spinAround
|
||||||
|
from
|
||||||
|
transform: rotate(0deg)
|
||||||
|
to
|
||||||
|
transform: rotate(359deg)
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$body-background-color: $scheme-main !default
|
$body-background-color: $scheme-main !default
|
||||||
$body-size: 16px !default
|
$body-size: 16px !default
|
||||||
$body-min-width: 300px !default
|
$body-min-width: 300px !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$breadcrumb-item-color: $link !default
|
$breadcrumb-item-color: $link !default
|
||||||
$breadcrumb-item-hover-color: $link-hover !default
|
$breadcrumb-item-hover-color: $link-hover !default
|
||||||
$breadcrumb-item-active-color: $text-strong !default
|
$breadcrumb-item-active-color: $text-strong !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$card-color: $text !default
|
$card-color: $text !default
|
||||||
$card-background-color: $scheme-main !default
|
$card-background-color: $scheme-main !default
|
||||||
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$dropdown-menu-min-width: 12rem !default
|
$dropdown-menu-min-width: 12rem !default
|
||||||
|
|
||||||
$dropdown-content-background-color: $scheme-main !default
|
$dropdown-content-background-color: $scheme-main !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$level-item-spacing: ($block-spacing / 2) !default
|
$level-item-spacing: ($block-spacing / 2) !default
|
||||||
|
|
||||||
.level
|
.level
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$media-border-color: bulmaRgba($border, 0.5) !default
|
$media-border-color: bulmaRgba($border, 0.5) !default
|
||||||
$media-border-size: 1px !default
|
$media-border-size: 1px !default
|
||||||
$media-spacing: 1rem !default
|
$media-spacing: 1rem !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$menu-item-color: $text !default
|
$menu-item-color: $text !default
|
||||||
$menu-item-radius: $radius-small !default
|
$menu-item-radius: $radius-small !default
|
||||||
$menu-item-hover-color: $text-strong !default
|
$menu-item-hover-color: $text-strong !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$message-background-color: $background !default
|
$message-background-color: $background !default
|
||||||
$message-radius: $radius !default
|
$message-radius: $radius !default
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$modal-z: 40 !default
|
$modal-z: 40 !default
|
||||||
|
|
||||||
$modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
|
$modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$navbar-background-color: $scheme-main !default
|
$navbar-background-color: $scheme-main !default
|
||||||
$navbar-box-shadow-size: 0 2px 0 0 !default
|
$navbar-box-shadow-size: 0 2px 0 0 !default
|
||||||
$navbar-box-shadow-color: $background !default
|
$navbar-box-shadow-color: $background !default
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
@import "../utilities/controls"
|
||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$pagination-color: $text-strong !default
|
$pagination-color: $text-strong !default
|
||||||
$pagination-border-color: $border !default
|
$pagination-border-color: $border !default
|
||||||
$pagination-margin: -0.25rem !default
|
$pagination-margin: -0.25rem !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$panel-margin: $block-spacing !default
|
$panel-margin: $block-spacing !default
|
||||||
$panel-item-border: 1px solid $border-light !default
|
$panel-item-border: 1px solid $border-light !default
|
||||||
$panel-radius: $radius-large !default
|
$panel-radius: $radius-large !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$tabs-border-bottom-color: $border !default
|
$tabs-border-bottom-color: $border !default
|
||||||
$tabs-border-bottom-style: solid !default
|
$tabs-border-bottom-style: solid !default
|
||||||
$tabs-border-bottom-width: 1px !default
|
$tabs-border-bottom-width: 1px !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$box-color: $text !default
|
$box-color: $text !default
|
||||||
$box-background-color: $scheme-main !default
|
$box-background-color: $scheme-main !default
|
||||||
$box-radius: $radius-large !default
|
$box-radius: $radius-large !default
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
@import "../utilities/controls"
|
||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$button-color: $text-strong !default
|
$button-color: $text-strong !default
|
||||||
$button-background-color: $scheme-main !default
|
$button-background-color: $scheme-main !default
|
||||||
$button-family: false !default
|
$button-family: false !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$container-offset: (2 * $gap) !default
|
$container-offset: (2 * $gap) !default
|
||||||
$container-max-width: $fullhd !default
|
$container-max-width: $fullhd !default
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$content-heading-color: $text-strong !default
|
$content-heading-color: $text-strong !default
|
||||||
$content-heading-weight: $weight-semibold !default
|
$content-heading-weight: $weight-semibold !default
|
||||||
$content-heading-line-height: 1.125 !default
|
$content-heading-line-height: 1.125 !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$dimensions: 16 24 32 48 64 96 128 !default
|
$dimensions: 16 24 32 48 64 96 128 !default
|
||||||
|
|
||||||
.image
|
.image
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$notification-background-color: $background !default
|
$notification-background-color: $background !default
|
||||||
$notification-code-background-color: $scheme-main !default
|
$notification-code-background-color: $scheme-main !default
|
||||||
$notification-radius: $radius !default
|
$notification-radius: $radius !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
.block
|
.block
|
||||||
@extend %block
|
@extend %block
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$progress-bar-background-color: $border-light !default
|
$progress-bar-background-color: $border-light !default
|
||||||
$progress-value-background-color: $text !default
|
$progress-value-background-color: $text !default
|
||||||
$progress-border-radius: $radius-rounded !default
|
$progress-border-radius: $radius-rounded !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$table-color: $text-strong !default
|
$table-color: $text-strong !default
|
||||||
$table-background-color: $scheme-main !default
|
$table-background-color: $scheme-main !default
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$tag-background-color: $background !default
|
$tag-background-color: $background !default
|
||||||
$tag-color: $text !default
|
$tag-color: $text !default
|
||||||
$tag-radius: $radius !default
|
$tag-radius: $radius !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$title-color: $text-strong !default
|
$title-color: $text-strong !default
|
||||||
$title-family: false !default
|
$title-family: false !default
|
||||||
$title-size: $size-3 !default
|
$title-size: $size-3 !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared"
|
||||||
|
|
||||||
%checkbox-radio
|
%checkbox-radio
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared"
|
||||||
|
|
||||||
$file-border-color: $border !default
|
$file-border-color: $border !default
|
||||||
$file-radius: $radius !default
|
$file-radius: $radius !default
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared"
|
||||||
|
|
||||||
$textarea-padding: $control-padding-horizontal !default
|
$textarea-padding: $control-padding-horizontal !default
|
||||||
$textarea-max-height: 40em !default
|
$textarea-max-height: 40em !default
|
||||||
$textarea-min-height: 8em !default
|
$textarea-min-height: 8em !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared"
|
||||||
|
|
||||||
$select-colors: $form-colors !default
|
$select-colors: $form-colors !default
|
||||||
|
|
||||||
.select
|
.select
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
@import "../utilities/controls"
|
||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$form-colors: $colors !default
|
$form-colors: $colors !default
|
||||||
|
|
||||||
$input-color: $text-strong !default
|
$input-color: $text-strong !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared"
|
||||||
|
|
||||||
$label-color: $text-strong !default
|
$label-color: $text-strong !default
|
||||||
$label-weight: $weight-bold !default
|
$label-weight: $weight-bold !default
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$column-gap: 0.75rem !default
|
$column-gap: 0.75rem !default
|
||||||
|
|
||||||
.column
|
.column
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$tile-spacing: 0.75rem !default
|
$tile-spacing: 0.75rem !default
|
||||||
|
|
||||||
.tile
|
.tile
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/derived-variables"
|
||||||
|
|
||||||
@each $name, $pair in $colors
|
@each $name, $pair in $colors
|
||||||
$color: nth($pair, 1)
|
$color: nth($pair, 1)
|
||||||
.has-text-#{$name}
|
.has-text-#{$name}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
.is-clearfix
|
.is-clearfix
|
||||||
+clearfix
|
+clearfix
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
.is-radiusless
|
.is-radiusless
|
||||||
border-radius: 0 !important
|
border-radius: 0 !important
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
.is-overlay
|
.is-overlay
|
||||||
@extend %overlay
|
@extend %overlay
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
=typography-size($target:'')
|
=typography-size($target:'')
|
||||||
@each $size in $sizes
|
@each $size in $sizes
|
||||||
$i: index($sizes, $size)
|
$i: index($sizes, $size)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/derived-variables"
|
||||||
|
|
||||||
$footer-background-color: $scheme-main-bis !default
|
$footer-background-color: $scheme-main-bis !default
|
||||||
$footer-color: false !default
|
$footer-color: false !default
|
||||||
$footer-padding: 3rem 1.5rem 6rem !default
|
$footer-padding: 3rem 1.5rem 6rem !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$hero-body-padding: 3rem 1.5rem !default
|
$hero-body-padding: 3rem 1.5rem !default
|
||||||
$hero-body-padding-small: 1.5rem !default
|
$hero-body-padding-small: 1.5rem !default
|
||||||
$hero-body-padding-medium: 9rem 1.5rem !default
|
$hero-body-padding-medium: 9rem 1.5rem !default
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "../utilities/mixins"
|
||||||
|
|
||||||
$section-padding: 3rem 1.5rem !default
|
$section-padding: 3rem 1.5rem !default
|
||||||
$section-padding-medium: 9rem 1.5rem !default
|
$section-padding-medium: 9rem 1.5rem !default
|
||||||
$section-padding-large: 18rem 1.5rem !default
|
$section-padding-large: 18rem 1.5rem !default
|
||||||
|
@ -4,6 +4,5 @@
|
|||||||
@import "initial-variables.sass"
|
@import "initial-variables.sass"
|
||||||
@import "functions.sass"
|
@import "functions.sass"
|
||||||
@import "derived-variables.sass"
|
@import "derived-variables.sass"
|
||||||
@import "animations.sass"
|
|
||||||
@import "mixins.sass"
|
@import "mixins.sass"
|
||||||
@import "controls.sass"
|
@import "controls.sass"
|
||||||
|
@ -1,5 +1 @@
|
|||||||
@keyframes spinAround
|
@warn "The animations.sass file has MOVED. It is now in the /base folder. Please import sass/base/animations instead."
|
||||||
from
|
|
||||||
transform: rotate(0deg)
|
|
||||||
to
|
|
||||||
transform: rotate(359deg)
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "derived-variables.sass"
|
||||||
|
|
||||||
$control-radius: $radius !default
|
$control-radius: $radius !default
|
||||||
$control-radius-small: $radius-small !default
|
$control-radius-small: $radius-small !default
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
@import "initial-variables.sass"
|
||||||
|
@import "functions.sass"
|
||||||
|
|
||||||
$primary: $turquoise !default
|
$primary: $turquoise !default
|
||||||
|
|
||||||
$info: $cyan !default
|
$info: $cyan !default
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@import "initial-variables"
|
@import "derived-variables"
|
||||||
|
|
||||||
=clearfix
|
=clearfix
|
||||||
&::after
|
&::after
|
||||||
|
Loading…
Reference in New Issue
Block a user