Skip to content

Commit

Permalink
Release v0.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaappletw committed Jul 20, 2019
1 parent d1152c8 commit 6f29234
Show file tree
Hide file tree
Showing 37 changed files with 814 additions and 714 deletions.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/bulma.sass
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@charset "utf-8"
/*! bulma.io v0.7.4 | MIT License | github.com/jgthms/bulma */
/*! bulma.io v0.7.5 | 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/layout/_all"
30 changes: 21 additions & 9 deletions app/assets/stylesheets/sass/base/generic.sass
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
$body-background-color: $white !default
$body-size: 16px !default
$body-min-width: 300px !default
$body-rendering: optimizeLegibility !default
$body-family: $family-primary !default
$body-overflow-x: hidden !default
$body-overflow-y: scroll !default

$body-color: $text !default
$body-font-size: 1em !default
$body-weight: $weight-normal !default
$body-line-height: 1.5 !default

Expand All @@ -11,21 +16,27 @@ $code-padding: 0.25em 0.5em 0.25em !default
$code-weight: normal !default
$code-size: 0.875em !default

$small-font-size: 0.875em !default

$hr-background-color: $background !default
$hr-height: 2px !default
$hr-margin: 1.5rem 0 !default

$strong-color: $text-strong !default
$strong-weight: $weight-bold !default

$pre-font-size: 0.875em !default
$pre-padding: 1.25rem 1.5rem !default
$pre-code-font-size: 1em !default

html
background-color: $body-background-color
font-size: $body-size
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
min-width: $body-min-width
overflow-x: $body-overflow-x
overflow-y: $body-overflow-y
text-rendering: $body-rendering
text-size-adjust: 100%

Expand Down Expand Up @@ -53,7 +64,7 @@ pre

body
color: $body-color
font-size: 1rem
font-size: $body-font-size
font-weight: $body-weight
line-height: $body-line-height

Expand Down Expand Up @@ -91,7 +102,7 @@ input[type="radio"]
vertical-align: baseline

small
font-size: 0.875em
font-size: $small-font-size

span
font-style: inherit
Expand All @@ -110,21 +121,22 @@ pre
+overflow-touch
background-color: $pre-background
color: $pre
font-size: 0.875em
font-size: $pre-font-size
overflow-x: auto
padding: 1.25rem 1.5rem
padding: $pre-padding
white-space: pre
word-wrap: normal
code
background-color: transparent
color: currentColor
font-size: 1em
font-size: $pre-code-font-size
padding: 0

table
td,
th
text-align: left
vertical-align: top
&:not([align])
text-align: left
th
color: $text-strong
5 changes: 5 additions & 0 deletions app/assets/stylesheets/sass/base/helpers.sass
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
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
Expand Down Expand Up @@ -274,3 +276,6 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'

.is-unselectable
@extend %unselectable

.is-relative
position: relative !important
3 changes: 2 additions & 1 deletion app/assets/stylesheets/sass/base/minireset.sass
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ table
td,
th
padding: 0
text-align: left
&:not([align])
text-align: left
15 changes: 10 additions & 5 deletions app/assets/stylesheets/sass/components/card.sass
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ $card-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default

$card-header-background-color: transparent !default
$card-header-color: $text-strong !default
$card-header-padding: 0.75rem !default
$card-header-shadow: 0 1px 2px rgba($black, 0.1) !default
$card-header-weight: $weight-bold !default

$card-content-background-color: transparent !default
$card-content-padding: 1.5rem !default

$card-footer-background-color: transparent !default
$card-footer-border-top: 1px solid $border !default
$card-footer-padding: 0.75rem !default

$card-media-margin: $block-spacing !default

.card
background-color: $card-background-color
Expand All @@ -31,7 +36,7 @@ $card-footer-border-top: 1px solid $border !default
display: flex
flex-grow: 1
font-weight: $card-header-weight
padding: 0.75rem
padding: $card-header-padding
&.is-centered
justify-content: center

Expand All @@ -40,15 +45,15 @@ $card-footer-border-top: 1px solid $border !default
cursor: pointer
display: flex
justify-content: center
padding: 0.75rem
padding: $card-header-padding

.card-image
display: block
position: relative

.card-content
background-color: $card-content-background-color
padding: 1.5rem
padding: $card-content-padding

.card-footer
background-color: $card-footer-background-color
Expand All @@ -63,12 +68,12 @@ $card-footer-border-top: 1px solid $border !default
flex-grow: 1
flex-shrink: 0
justify-content: center
padding: 0.75rem
padding: $card-footer-padding
&:not(:last-child)
border-right: $card-footer-border-top

// Combinations
.card
.media:not(:last-child)
margin-bottom: 0.75rem
margin-bottom: $card-media-margin
10 changes: 7 additions & 3 deletions app/assets/stylesheets/sass/components/dropdown.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
$dropdown-menu-min-width: 12rem !default

$dropdown-content-background-color: $white !default
$dropdown-content-arrow: $link !default
$dropdown-content-offset: 4px !default
$dropdown-content-padding-bottom: 0.5rem !default
$dropdown-content-padding-top: 0.5rem !default
$dropdown-content-radius: $radius !default
$dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
$dropdown-content-z: 20 !default
Expand Down Expand Up @@ -35,7 +39,7 @@ $dropdown-divider-background-color: $border !default
.dropdown-menu
display: none
left: 0
min-width: 12rem
min-width: $dropdown-menu-min-width
padding-top: $dropdown-content-offset
position: absolute
top: 100%
Expand All @@ -45,8 +49,8 @@ $dropdown-divider-background-color: $border !default
background-color: $dropdown-content-background-color
border-radius: $dropdown-content-radius
box-shadow: $dropdown-content-shadow
padding-bottom: 0.5rem
padding-top: 0.5rem
padding-bottom: $dropdown-content-padding-bottom
padding-top: $dropdown-content-padding-top

.dropdown-item
color: $dropdown-item-color
Expand Down
8 changes: 5 additions & 3 deletions app/assets/stylesheets/sass/components/level.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$level-item-spacing: ($block-spacing / 2) !default

.level
@extend %block
align-items: center
Expand All @@ -18,7 +20,7 @@
.level-item
&:not(:last-child)
margin-bottom: 0
margin-right: 0.75rem
margin-right: $level-item-spacing
&:not(.is-narrow)
flex-grow: 1
// Responsiveness
Expand All @@ -41,7 +43,7 @@
// Responsiveness
+mobile
&:not(:last-child)
margin-bottom: 0.75rem
margin-bottom: $level-item-spacing

.level-left,
.level-right
Expand All @@ -55,7 +57,7 @@
// Responsiveness
+tablet
&:not(:last-child)
margin-right: 0.75rem
margin-right: $level-item-spacing

.level-left
align-items: center
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/sass/components/list.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ $list-item-hover-background-color: $background !default
border-top-left-radius: $list-radius
border-top-right-radius: $list-radius
&:last-child
border-top-left-radius: $list-radius
border-top-right-radius: $list-radius
border-bottom-left-radius: $list-radius
border-bottom-right-radius: $list-radius
&:not(:last-child)
border-bottom: $list-item-border
&.is-active
Expand All @@ -36,4 +36,4 @@ $list-item-hover-background-color: $background !default

a.list-item
background-color: $list-item-hover-background-color
cursor: pointer
cursor: pointer
23 changes: 15 additions & 8 deletions app/assets/stylesheets/sass/components/menu.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ $menu-item-active-color: $link-invert !default
$menu-item-active-background-color: $link !default

$menu-list-border-left: 1px solid $border !default
$menu-list-line-height: 1.25 !default
$menu-list-link-padding: 0.5em 0.75em !default
$menu-nested-list-margin: 0.75em !default
$menu-nested-list-padding-left: 0.75em !default

$menu-label-color: $text-light !default
$menu-label-font-size: 0.75em !default
$menu-label-letter-spacing: 0.1em !default
$menu-label-spacing: 1em !default

.menu
font-size: $size-normal
Expand All @@ -20,12 +27,12 @@ $menu-label-color: $text-light !default
font-size: $size-large

.menu-list
line-height: 1.25
line-height: $menu-list-line-height
a
border-radius: $menu-item-radius
color: $menu-item-color
display: block
padding: 0.5em 0.75em
padding: $menu-list-link-padding
&:hover
background-color: $menu-item-hover-background-color
color: $menu-item-hover-color
Expand All @@ -36,15 +43,15 @@ $menu-label-color: $text-light !default
li
ul
border-left: $menu-list-border-left
margin: 0.75em
padding-left: 0.75em
margin: $menu-nested-list-margin
padding-left: $menu-nested-list-padding-left

.menu-label
color: $menu-label-color
font-size: 0.75em
letter-spacing: 0.1em
font-size: $menu-label-font-size
letter-spacing: $menu-label-letter-spacing
text-transform: uppercase
&:not(:first-child)
margin-top: 1em
margin-top: $menu-label-spacing
&:not(:last-child)
margin-bottom: 1em
margin-bottom: $menu-label-spacing
3 changes: 2 additions & 1 deletion app/assets/stylesheets/sass/components/message.sass
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $message-body-pre-background-color: $white !default
$message-body-pre-code-background-color: transparent !default

$message-header-body-border-width: 0 !default
$message-colors: $colors !default

.message
@extend %block
Expand All @@ -36,7 +37,7 @@ $message-header-body-border-width: 0 !default
&.is-large
font-size: $size-large
// Colors
@each $name, $pair in $colors
@each $name, $pair in $message-colors
$color: nth($pair, 1)
$color-invert: nth($pair, 2)
$color-lightning: max((100% - lightness($color)) - 2%, 0%)
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/sass/components/modal.sass
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ $modal-card-body-padding: 20px !default
border-top: $modal-card-foot-border-top
.button
&:not(:last-child)
margin-right: 10px
margin-right: 0.5em

.modal-card-body
+overflow-touch
Expand Down
Loading

0 comments on commit 6f29234

Please sign in to comment.