Skip to content

Commit

Permalink
Release v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaappletw committed Oct 30, 2020
1 parent 3c4e7af commit 4df2e1e
Show file tree
Hide file tree
Showing 32 changed files with 217 additions and 155 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/bulma.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@charset "utf-8"
/*! bulma.io v0.9.0 | MIT License | github.com/jgthms/bulma */
/*! bulma.io v0.9.1 | MIT License | github.com/jgthms/bulma */
@import "sass/utilities/_all"
@import "sass/base/_all"
@import "sass/elements/_all"
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/base/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Base */
@charset "utf-8"

@import "minireset.sass"
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/base/generic.sass
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ section
body,
button,
input,
optgroup,
select,
textarea
font-family: $body-family
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/components/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Components */
@charset "utf-8"

@import "breadcrumb.sass"
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/sass/components/card.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
$card-color: $text !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-radius: 0.25rem !default
$card-overflow: hidden !default

$card-header-background-color: transparent !default
$card-header-color: $text-strong !default
Expand All @@ -19,9 +21,11 @@ $card-media-margin: $block-spacing !default

.card
background-color: $card-background-color
border-radius: $card-radius
box-shadow: $card-shadow
color: $card-color
max-width: 100%
overflow: $card-overflow
position: relative

.card-header
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/components/modal.sass
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ $modal-card-foot-border-top: 1px solid $border !default
$modal-card-body-background-color: $scheme-main !default
$modal-card-body-padding: 20px !default

$modal-breakpoint: $tablet !default

.modal
@extend %overlay
align-items: center
Expand All @@ -53,7 +55,7 @@ $modal-card-body-padding: 20px !default
position: relative
width: 100%
// Responsiveness
+tablet
+from($modal-breakpoint)
margin: 0 auto
max-height: calc(100vh - #{$modal-content-spacing-tablet})
width: $modal-content-width
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/components/navbar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default

$navbar-breakpoint: $desktop !default

$navbar-colors: $colors !default

=navbar-fixed
left: 0
position: fixed
Expand All @@ -57,7 +59,7 @@ $navbar-breakpoint: $desktop !default
min-height: $navbar-height
position: relative
z-index: $navbar-z
@each $name, $pair in $colors
@each $name, $pair in $navbar-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/elements/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Elements */
@charset "utf-8"

@import "box.sass"
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/elements/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ $button-static-color: $text-light !default
$button-static-background-color: $scheme-main-ter !default
$button-static-border-color: $border !default

$button-colors: $colors !default

// The button sizes use mixins so they can be used at different breakpoints
=button-small
border-radius: $radius-small
Expand Down Expand Up @@ -115,7 +117,7 @@ $button-static-border-color: $border !default
background-color: transparent
border-color: transparent
box-shadow: none
@each $name, $pair in $colors
@each $name, $pair in $button-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
17 changes: 10 additions & 7 deletions app/assets/stylesheets/sass/elements/container.sass
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
$container-offset: (2 * $gap) !default
$container-max-width: $fullhd !default

.container
flex-grow: 1
margin: 0 auto
position: relative
width: auto
&.is-fluid
max-width: none
max-width: none !important
padding-left: $gap
padding-right: $gap
width: 100%
+desktop
max-width: $desktop - $container-offset
+until-widescreen
&.is-widescreen
max-width: $widescreen - $container-offset
&.is-widescreen:not(.is-max-desktop)
max-width: min($widescreen, $container-max-width) - $container-offset
+until-fullhd
&.is-fullhd
max-width: $fullhd - $container-offset
&.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen)
max-width: min($fullhd, $container-max-width) - $container-offset
+widescreen
max-width: $widescreen - $container-offset
&:not(.is-max-desktop)
max-width: min($widescreen, $container-max-width) - $container-offset
+fullhd
max-width: $fullhd - $container-offset
&:not(.is-max-desktop):not(.is-max-widescreen)
max-width: min($fullhd, $container-max-width) - $container-offset
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/elements/notification.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default

$notification-colors: $colors !default

.notification
@extend %block
background-color: $notification-background-color
Expand Down Expand Up @@ -33,7 +35,7 @@ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
.content
color: currentColor
// Colors
@each $name, $pair in $colors
@each $name, $pair in $notification-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
6 changes: 5 additions & 1 deletion app/assets/stylesheets/sass/elements/progress.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ $progress-border-radius: $radius-rounded !default

$progress-indeterminate-duration: 1.5s !default

$progress-colors: $colors !default

.progress
@extend %block
-moz-appearance: none
Expand All @@ -25,7 +27,7 @@ $progress-indeterminate-duration: 1.5s !default
background-color: $progress-value-background-color
border: none
// Colors
@each $name, $pair in $colors
@each $name, $pair in $progress-colors
$color: nth($pair, 1)
&.is-#{$name}
&::-webkit-progress-value
Expand All @@ -51,6 +53,8 @@ $progress-indeterminate-duration: 1.5s !default
background-color: transparent
&::-moz-progress-bar
background-color: transparent
&::-ms-fill
animation-name: none

// Sizes
&.is-small
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/elements/table.sass
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ $table-row-active-color: $primary-invert !default
$table-striped-row-even-background-color: $scheme-main-bis !default
$table-striped-row-even-hover-background-color: $scheme-main-ter !default

$table-colors: $colors !default

.table
@extend %block
background-color: $table-background-color
Expand All @@ -34,7 +36,7 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
padding: $table-cell-padding
vertical-align: top
// Colors
@each $name, $pair in $colors
@each $name, $pair in $table-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/elements/tag.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ $tag-color: $text !default
$tag-radius: $radius !default
$tag-delete-margin: 1px !default

$tag-colors: $colors !default

.tags
align-items: center
display: flex
Expand Down Expand Up @@ -71,7 +73,7 @@ $tag-delete-margin: 1px !default
+ltr-property("margin", 0.25rem, false)
+ltr-property("margin", -0.375rem)
// Colors
@each $name, $pair in $colors
@each $name, $pair in $tag-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/form/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Form */
@charset "utf-8"

@import "shared.sass"
Expand Down
3 changes: 2 additions & 1 deletion app/assets/stylesheets/sass/form/checkbox-radio.sass
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
&:hover
color: $input-hover-color
&[disabled],
fieldset[disabled] &
fieldset[disabled] &,
input[disabled]
color: $input-disabled-color
cursor: not-allowed

Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/form/file.sass
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ $file-name-border-style: solid !default
$file-name-border-width: 1px 1px 1px 0 !default
$file-name-max-width: 16em !default

$file-colors: $form-colors !default

.file
@extend %unselectable
align-items: stretch
display: flex
justify-content: flex-start
position: relative
// Colors
@each $name, $pair in $colors
@each $name, $pair in $file-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
&.is-#{$name}
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/form/input-textarea.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ $textarea-padding: $control-padding-horizontal !default
$textarea-max-height: 40em !default
$textarea-min-height: 8em !default

$textarea-colors: $form-colors !default

%input-textarea
@extend %input
box-shadow: $input-shadow
Expand All @@ -10,7 +12,7 @@ $textarea-min-height: 8em !default
&[readonly]
box-shadow: none
// Colors
@each $name, $pair in $colors
@each $name, $pair in $textarea-colors
$color: nth($pair, 1)
&.is-#{$name}
border-color: $color
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/form/select.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$select-colors: $form-colors !default

.select
display: inline-block
max-width: 100%
Expand Down Expand Up @@ -39,7 +41,7 @@
&::after
border-color: $input-hover-color
// Colors
@each $name, $pair in $colors
@each $name, $pair in $select-colors
$color: nth($pair, 1)
&.is-#{$name}
&:not(:hover)::after
Expand Down
2 changes: 2 additions & 0 deletions app/assets/stylesheets/sass/form/shared.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$form-colors: $colors !default

$input-color: $text-strong !default
$input-background-color: $scheme-main !default
$input-border-color: $border !default
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/sass/form/tools.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ $label-weight: $weight-bold !default

$help-size: $size-small !default

$label-colors: $form-colors !default

.label
color: $label-color
display: block
Expand All @@ -22,7 +24,7 @@ $help-size: $size-small !default
display: block
font-size: $help-size
margin-top: 0.25rem
@each $name, $pair in $colors
@each $name, $pair in $label-colors
$color: nth($pair, 1)
&.is-#{$name}
color: $color
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/grid/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Grid */
@charset "utf-8"

@import "columns.sass"
Expand Down
2 changes: 2 additions & 0 deletions app/assets/stylesheets/sass/helpers/_all.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* Bulma Helpers */
@charset "utf-8"

@import "color.sass"
@import "flexbox.sass"
@import "float.sass"
@import "other.sass"
@import "overflow.sass"
Expand Down
35 changes: 35 additions & 0 deletions app/assets/stylesheets/sass/helpers/flexbox.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
$flex-direction-values: row, row-reverse, column, column-reverse
@each $value in $flex-direction-values
.is-flex-direction-#{$value}
flex-direction: $value !important

$flex-wrap-values: nowrap, wrap, wrap-reverse
@each $value in $flex-wrap-values
.is-flex-wrap-#{$value}
flex-wrap: $value !important

$justify-content-values: flex-start, flex-end, center, space-between, space-around, space-evenly, start, end, left, right
@each $value in $justify-content-values
.is-justify-content-#{$value}
justify-content: $value !important

$align-content-values: flex-start, flex-end, center, space-between, space-around, space-evenly, stretch, start, end, baseline
@each $value in $align-content-values
.is-align-content-#{$value}
align-content: $value !important

$align-items-values: stretch, flex-start, flex-end, center, baseline, start, end, self-start, self-end
@each $value in $align-items-values
.is-align-items-#{$value}
align-items: $value !important

$align-self-values: auto, flex-start, flex-end, center, baseline, stretch
@each $value in $align-self-values
.is-align-self-#{$value}
align-self: $value !important

$flex-operators: grow, shrink
@each $operator in $flex-operators
@for $i from 0 through 5
.is-flex-#{$operator}-#{$i}
flex-#{$operator}: $i !important
3 changes: 3 additions & 0 deletions app/assets/stylesheets/sass/helpers/other.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
.is-shadowless
box-shadow: none !important

.is-clickable
cursor: pointer !important

.is-unselectable
@extend %unselectable
3 changes: 3 additions & 0 deletions app/assets/stylesheets/sass/helpers/spacing.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5

@each $property, $shortcut in $spacing-shortcuts
@each $name, $value in $spacing-values
// All directions
.#{$shortcut}-#{$name}
#{$property}: $value !important
// Cardinal directions
@each $direction, $suffix in $spacing-directions
.#{$shortcut}#{$suffix}-#{$name}
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/sass/layout/_all.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* Bulma Layout */
@charset "utf-8"

@import "hero.sass"
Expand Down
Loading

0 comments on commit 4df2e1e

Please sign in to comment.