Skip to content

Commit

Permalink
Release v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaappletw committed Oct 30, 2020
1 parent d33c1f6 commit a8bec77
Show file tree
Hide file tree
Showing 44 changed files with 629 additions and 527 deletions.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/bulma.sass
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@charset "utf-8"
/*! bulma.io v0.8.2 | MIT License | github.com/jgthms/bulma */
/*! bulma.io v0.9.0 | MIT License | github.com/jgthms/bulma */
@import "sass/utilities/_all"
@import "sass/base/_all"
@import "sass/elements/_all"
@import "sass/form/_all"
@import "sass/components/_all"
@import "sass/grid/_all"
@import "sass/helpers/_all"
@import "sass/layout/_all"
1 change: 0 additions & 1 deletion app/assets/stylesheets/sass/base/_all.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

@import "minireset.sass"
@import "generic.sass"
@import "helpers.sass"
2 changes: 1 addition & 1 deletion app/assets/stylesheets/sass/base/generic.sass
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ table
th
vertical-align: top
&:not([align])
text-align: left
text-align: inherit
th
color: $text-strong
282 changes: 1 addition & 281 deletions app/assets/stylesheets/sass/base/helpers.sass
Original file line number Diff line number Diff line change
@@ -1,281 +1 @@
// Float
.is-clearfix
+clearfix

.is-pulled-left
float: left !important

.is-pulled-right
float: right !important

// Overflow
.is-clipped
overflow: hidden !important

// Overlay
.is-overlay
@extend %overlay

// Typography
=typography-size($target:'')
@each $size in $sizes
$i: index($sizes, $size)
.is-size-#{$i}#{if($target == '', '', '-' + $target)}
font-size: $size !important

+typography-size()

+mobile
+typography-size('mobile')

+tablet
+typography-size('tablet')

+touch
+typography-size('touch')

+desktop
+typography-size('desktop')

+widescreen
+typography-size('widescreen')

+fullhd
+typography-size('fullhd')

$alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')

@each $alignment, $text-align in $alignments
.has-text-#{$alignment}
text-align: #{$text-align} !important

@each $alignment, $text-align in $alignments
+mobile
.has-text-#{$alignment}-mobile
text-align: #{$text-align} !important
+tablet
.has-text-#{$alignment}-tablet
text-align: #{$text-align} !important
+tablet-only
.has-text-#{$alignment}-tablet-only
text-align: #{$text-align} !important
+touch
.has-text-#{$alignment}-touch
text-align: #{$text-align} !important
+desktop
.has-text-#{$alignment}-desktop
text-align: #{$text-align} !important
+desktop-only
.has-text-#{$alignment}-desktop-only
text-align: #{$text-align} !important
+widescreen
.has-text-#{$alignment}-widescreen
text-align: #{$text-align} !important
+widescreen-only
.has-text-#{$alignment}-widescreen-only
text-align: #{$text-align} !important
+fullhd
.has-text-#{$alignment}-fullhd
text-align: #{$text-align} !important

.is-capitalized
text-transform: capitalize !important

.is-lowercase
text-transform: lowercase !important

.is-uppercase
text-transform: uppercase !important

.is-italic
font-style: italic !important

@each $name, $pair in $colors
$color: nth($pair, 1)
.has-text-#{$name}
color: $color !important
a.has-text-#{$name}
&:hover,
&:focus
color: bulmaDarken($color, 10%) !important
.has-background-#{$name}
background-color: $color !important

@each $name, $shade in $shades
.has-text-#{$name}
color: $shade !important
.has-background-#{$name}
background-color: $shade !important

.has-text-weight-light
font-weight: $weight-light !important
.has-text-weight-normal
font-weight: $weight-normal !important
.has-text-weight-medium
font-weight: $weight-medium !important
.has-text-weight-semibold
font-weight: $weight-semibold !important
.has-text-weight-bold
font-weight: $weight-bold !important

.is-family-primary
font-family: $family-primary !important

.is-family-secondary
font-family: $family-secondary !important

.is-family-sans-serif
font-family: $family-sans-serif !important

.is-family-monospace
font-family: $family-monospace !important

.is-family-code
font-family: $family-code !important

// Visibility
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'

@each $display in $displays
.is-#{$display}
display: #{$display} !important
+mobile
.is-#{$display}-mobile
display: #{$display} !important
+tablet
.is-#{$display}-tablet
display: #{$display} !important
+tablet-only
.is-#{$display}-tablet-only
display: #{$display} !important
+touch
.is-#{$display}-touch
display: #{$display} !important
+desktop
.is-#{$display}-desktop
display: #{$display} !important
+desktop-only
.is-#{$display}-desktop-only
display: #{$display} !important
+widescreen
.is-#{$display}-widescreen
display: #{$display} !important
+widescreen-only
.is-#{$display}-widescreen-only
display: #{$display} !important
+fullhd
.is-#{$display}-fullhd
display: #{$display} !important

.is-hidden
display: none !important

.is-sr-only
border: none !important
clip: rect(0, 0, 0, 0) !important
height: 0.01em !important
overflow: hidden !important
padding: 0 !important
position: absolute !important
white-space: nowrap !important
width: 0.01em !important

+mobile
.is-hidden-mobile
display: none !important

+tablet
.is-hidden-tablet
display: none !important

+tablet-only
.is-hidden-tablet-only
display: none !important

+touch
.is-hidden-touch
display: none !important

+desktop
.is-hidden-desktop
display: none !important

+desktop-only
.is-hidden-desktop-only
display: none !important

+widescreen
.is-hidden-widescreen
display: none !important

+widescreen-only
.is-hidden-widescreen-only
display: none !important

+fullhd
.is-hidden-fullhd
display: none !important

.is-invisible
visibility: hidden !important

+mobile
.is-invisible-mobile
visibility: hidden !important

+tablet
.is-invisible-tablet
visibility: hidden !important

+tablet-only
.is-invisible-tablet-only
visibility: hidden !important

+touch
.is-invisible-touch
visibility: hidden !important

+desktop
.is-invisible-desktop
visibility: hidden !important

+desktop-only
.is-invisible-desktop-only
visibility: hidden !important

+widescreen
.is-invisible-widescreen
visibility: hidden !important

+widescreen-only
.is-invisible-widescreen-only
visibility: hidden !important

+fullhd
.is-invisible-fullhd
visibility: hidden !important

// Other
.is-marginless
margin: 0 !important

.is-paddingless
padding: 0 !important

.is-radiusless
border-radius: 0 !important

.is-shadowless
box-shadow: none !important

.is-unselectable
@extend %unselectable

.is-relative
position: relative !important
@warn "The helpers.sass file is DEPRECATED. It has moved into its own /helpers folder. Please import sass/helpers/_all instead."
2 changes: 1 addition & 1 deletion app/assets/stylesheets/sass/base/minireset.sass
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ td,
th
padding: 0
&:not([align])
text-align: left
text-align: inherit
1 change: 0 additions & 1 deletion app/assets/stylesheets/sass/components/_all.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@import "card.sass"
@import "dropdown.sass"
@import "level.sass"
@import "list.sass"
@import "media.sass"
@import "menu.sass"
@import "message.sass"
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/sass/components/breadcrumb.sass
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $breadcrumb-item-separator-color: $border-hover !default
align-items: center
display: flex
&:first-child a
padding-left: 0
+ltr-property("padding", 0, false)
&.is-active
a
color: $breadcrumb-item-active-color
Expand All @@ -41,9 +41,9 @@ $breadcrumb-item-separator-color: $border-hover !default
justify-content: flex-start
.icon
&:first-child
margin-right: 0.5em
+ltr-property("margin", 0.5em)
&:last-child
margin-left: 0.5em
+ltr-property("margin", 0.5em, false)
// Alignment
&.is-centered
ol,
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/sass/components/card.sass
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ $card-media-margin: $block-spacing !default
justify-content: center
padding: $card-footer-padding
&:not(:last-child)
border-right: $card-footer-border-top
+ltr-property("border", $card-footer-border-top)

// Combinations
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/sass/components/dropdown.sass
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $dropdown-divider-background-color: $border-light !default

.dropdown-menu
display: none
left: 0
+ltr-position(0, false)
min-width: $dropdown-menu-min-width
padding-top: $dropdown-content-offset
position: absolute
Expand All @@ -62,8 +62,8 @@ $dropdown-divider-background-color: $border-light !default

a.dropdown-item,
button.dropdown-item
padding-right: 3rem
text-align: left
+ltr-property("padding", 3rem)
text-align: inherit
white-space: nowrap
width: 100%
&:hover
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/sass/components/level.sass
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $level-item-spacing: ($block-spacing / 2) !default
.level-item
&:not(:last-child)
margin-bottom: 0
margin-right: $level-item-spacing
+ltr-property("margin", $level-item-spacing)
&:not(.is-narrow)
flex-grow: 1
// Responsiveness
Expand Down Expand Up @@ -57,7 +57,7 @@ $level-item-spacing: ($block-spacing / 2) !default
// Responsiveness
+tablet
&:not(:last-child)
margin-right: $level-item-spacing
+ltr-property("margin", $level-item-spacing)

.level-left
align-items: center
Expand Down
Loading

0 comments on commit a8bec77

Please sign in to comment.