jekyll-bulma 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_sass/base/_all.sass +4 -3
- data/_sass/base/animations.sass +5 -0
- data/_sass/base/generic.sass +4 -1
- data/_sass/base/helpers.sass +1 -281
- data/_sass/base/minireset.sass +1 -1
- data/_sass/bulma.sass +2 -1
- data/_sass/components/_all.sass +13 -13
- data/_sass/components/breadcrumb.sass +5 -3
- data/_sass/components/card.sass +26 -2
- data/_sass/components/dropdown.sass +6 -4
- data/_sass/components/level.sass +5 -3
- data/_sass/components/media.sass +25 -16
- data/_sass/components/menu.sass +4 -2
- data/_sass/components/message.sass +3 -1
- data/_sass/components/modal.sass +8 -4
- data/_sass/components/navbar.sass +24 -21
- data/_sass/components/pagination.sass +19 -3
- data/_sass/components/panel.sass +7 -4
- data/_sass/components/tabs.sass +37 -12
- data/_sass/elements/_all.sass +13 -12
- data/_sass/elements/box.sass +3 -1
- data/_sass/elements/button.sass +43 -20
- data/_sass/elements/container.sass +12 -7
- data/_sass/elements/content.sass +9 -5
- data/_sass/elements/icon.sass +25 -0
- data/_sass/elements/image.sass +2 -0
- data/_sass/elements/notification.sass +19 -3
- data/_sass/elements/other.sass +2 -10
- data/_sass/elements/progress.sass +7 -1
- data/_sass/elements/table.sass +8 -2
- data/_sass/elements/tag.sass +29 -17
- data/_sass/elements/title.sass +2 -2
- data/_sass/form/_all.sass +7 -6
- data/_sass/form/checkbox-radio.sass +3 -2
- data/_sass/form/file.sass +14 -10
- data/_sass/form/input-textarea.sass +4 -2
- data/_sass/form/select.sass +9 -7
- data/_sass/form/shared.sass +8 -3
- data/_sass/form/tools.sass +21 -11
- data/_sass/grid/_all.sass +3 -2
- data/_sass/grid/columns.sass +93 -84
- data/_sass/grid/tiles.sass +3 -1
- data/_sass/helpers/_all.sass +12 -0
- data/_sass/helpers/color.sass +39 -0
- data/_sass/helpers/flexbox.sass +35 -0
- data/_sass/helpers/float.sass +10 -0
- data/_sass/helpers/other.sass +14 -0
- data/_sass/helpers/overflow.sass +2 -0
- data/_sass/helpers/position.sass +7 -0
- data/_sass/helpers/spacing.sass +31 -0
- data/_sass/helpers/typography.sass +103 -0
- data/_sass/helpers/visibility.sass +122 -0
- data/_sass/jekyll-bulma.code-workspace +8 -0
- data/_sass/layout/_all.sass +4 -3
- data/_sass/layout/footer.sass +2 -0
- data/_sass/layout/hero.sass +31 -21
- data/_sass/layout/section.sass +6 -2
- data/_sass/utilities/_all.sass +7 -6
- data/_sass/utilities/animations.sass +1 -5
- data/_sass/utilities/controls.sass +2 -3
- data/_sass/utilities/derived-variables.sass +9 -1
- data/_sass/utilities/extends.sass +25 -0
- data/_sass/utilities/functions.sass +42 -4
- data/_sass/utilities/initial-variables.sass +6 -5
- data/_sass/utilities/mixins.sass +46 -27
- metadata +16 -4
- data/_sass/components/list.sass +0 -39
@@ -0,0 +1,122 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
4
|
+
|
5
|
+
@each $display in $displays
|
6
|
+
.is-#{$display}
|
7
|
+
display: #{$display} !important
|
8
|
+
+mobile
|
9
|
+
.is-#{$display}-mobile
|
10
|
+
display: #{$display} !important
|
11
|
+
+tablet
|
12
|
+
.is-#{$display}-tablet
|
13
|
+
display: #{$display} !important
|
14
|
+
+tablet-only
|
15
|
+
.is-#{$display}-tablet-only
|
16
|
+
display: #{$display} !important
|
17
|
+
+touch
|
18
|
+
.is-#{$display}-touch
|
19
|
+
display: #{$display} !important
|
20
|
+
+desktop
|
21
|
+
.is-#{$display}-desktop
|
22
|
+
display: #{$display} !important
|
23
|
+
+desktop-only
|
24
|
+
.is-#{$display}-desktop-only
|
25
|
+
display: #{$display} !important
|
26
|
+
+widescreen
|
27
|
+
.is-#{$display}-widescreen
|
28
|
+
display: #{$display} !important
|
29
|
+
+widescreen-only
|
30
|
+
.is-#{$display}-widescreen-only
|
31
|
+
display: #{$display} !important
|
32
|
+
+fullhd
|
33
|
+
.is-#{$display}-fullhd
|
34
|
+
display: #{$display} !important
|
35
|
+
|
36
|
+
.is-hidden
|
37
|
+
display: none !important
|
38
|
+
|
39
|
+
.is-sr-only
|
40
|
+
border: none !important
|
41
|
+
clip: rect(0, 0, 0, 0) !important
|
42
|
+
height: 0.01em !important
|
43
|
+
overflow: hidden !important
|
44
|
+
padding: 0 !important
|
45
|
+
position: absolute !important
|
46
|
+
white-space: nowrap !important
|
47
|
+
width: 0.01em !important
|
48
|
+
|
49
|
+
+mobile
|
50
|
+
.is-hidden-mobile
|
51
|
+
display: none !important
|
52
|
+
|
53
|
+
+tablet
|
54
|
+
.is-hidden-tablet
|
55
|
+
display: none !important
|
56
|
+
|
57
|
+
+tablet-only
|
58
|
+
.is-hidden-tablet-only
|
59
|
+
display: none !important
|
60
|
+
|
61
|
+
+touch
|
62
|
+
.is-hidden-touch
|
63
|
+
display: none !important
|
64
|
+
|
65
|
+
+desktop
|
66
|
+
.is-hidden-desktop
|
67
|
+
display: none !important
|
68
|
+
|
69
|
+
+desktop-only
|
70
|
+
.is-hidden-desktop-only
|
71
|
+
display: none !important
|
72
|
+
|
73
|
+
+widescreen
|
74
|
+
.is-hidden-widescreen
|
75
|
+
display: none !important
|
76
|
+
|
77
|
+
+widescreen-only
|
78
|
+
.is-hidden-widescreen-only
|
79
|
+
display: none !important
|
80
|
+
|
81
|
+
+fullhd
|
82
|
+
.is-hidden-fullhd
|
83
|
+
display: none !important
|
84
|
+
|
85
|
+
.is-invisible
|
86
|
+
visibility: hidden !important
|
87
|
+
|
88
|
+
+mobile
|
89
|
+
.is-invisible-mobile
|
90
|
+
visibility: hidden !important
|
91
|
+
|
92
|
+
+tablet
|
93
|
+
.is-invisible-tablet
|
94
|
+
visibility: hidden !important
|
95
|
+
|
96
|
+
+tablet-only
|
97
|
+
.is-invisible-tablet-only
|
98
|
+
visibility: hidden !important
|
99
|
+
|
100
|
+
+touch
|
101
|
+
.is-invisible-touch
|
102
|
+
visibility: hidden !important
|
103
|
+
|
104
|
+
+desktop
|
105
|
+
.is-invisible-desktop
|
106
|
+
visibility: hidden !important
|
107
|
+
|
108
|
+
+desktop-only
|
109
|
+
.is-invisible-desktop-only
|
110
|
+
visibility: hidden !important
|
111
|
+
|
112
|
+
+widescreen
|
113
|
+
.is-invisible-widescreen
|
114
|
+
visibility: hidden !important
|
115
|
+
|
116
|
+
+widescreen-only
|
117
|
+
.is-invisible-widescreen-only
|
118
|
+
visibility: hidden !important
|
119
|
+
|
120
|
+
+fullhd
|
121
|
+
.is-invisible-fullhd
|
122
|
+
visibility: hidden !important
|
data/_sass/layout/_all.sass
CHANGED
data/_sass/layout/footer.sass
CHANGED
data/_sass/layout/hero.sass
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
-
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$hero-body-padding: 3rem 1.5rem !default
|
4
|
+
$hero-body-padding-tablet: 3rem 3rem !default
|
5
|
+
$hero-body-padding-small: 1.5rem !default
|
6
|
+
$hero-body-padding-medium: 9rem 4.5rem !default
|
7
|
+
$hero-body-padding-large: 18rem 6rem !default
|
8
|
+
|
9
|
+
$hero-colors: $colors !default
|
2
10
|
|
11
|
+
// Main container
|
3
12
|
.hero
|
4
13
|
align-items: stretch
|
5
14
|
display: flex
|
@@ -11,7 +20,7 @@
|
|
11
20
|
ul
|
12
21
|
border-bottom: none
|
13
22
|
// Colors
|
14
|
-
@each $name, $pair in $colors
|
23
|
+
@each $name, $pair in $hero-colors
|
15
24
|
$color: nth($pair, 1)
|
16
25
|
$color-invert: nth($pair, 2)
|
17
26
|
&.is-#{$name}
|
@@ -23,7 +32,7 @@
|
|
23
32
|
.title
|
24
33
|
color: $color-invert
|
25
34
|
.subtitle
|
26
|
-
color:
|
35
|
+
color: bulmaRgba($color-invert, 0.9)
|
27
36
|
a:not(.button),
|
28
37
|
strong
|
29
38
|
color: $color-invert
|
@@ -32,12 +41,12 @@
|
|
32
41
|
background-color: $color
|
33
42
|
.navbar-item,
|
34
43
|
.navbar-link
|
35
|
-
color:
|
44
|
+
color: bulmaRgba($color-invert, 0.7)
|
36
45
|
a.navbar-item,
|
37
46
|
.navbar-link
|
38
47
|
&:hover,
|
39
48
|
&.is-active
|
40
|
-
background-color:
|
49
|
+
background-color: bulmaDarken($color, 5%)
|
41
50
|
color: $color-invert
|
42
51
|
.tabs
|
43
52
|
a
|
@@ -47,13 +56,14 @@
|
|
47
56
|
opacity: 1
|
48
57
|
li
|
49
58
|
&.is-active a
|
59
|
+
color: $color !important
|
50
60
|
opacity: 1
|
51
61
|
&.is-boxed,
|
52
62
|
&.is-toggle
|
53
63
|
a
|
54
64
|
color: $color-invert
|
55
65
|
&:hover
|
56
|
-
background-color:
|
66
|
+
background-color: bulmaRgba($scheme-invert, 0.1)
|
57
67
|
li.is-active a
|
58
68
|
&,
|
59
69
|
&:hover
|
@@ -61,28 +71,26 @@
|
|
61
71
|
border-color: $color-invert
|
62
72
|
color: $color
|
63
73
|
// Modifiers
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
74
|
+
@if type-of($color) == 'color'
|
75
|
+
&.is-bold
|
76
|
+
$gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
|
77
|
+
$gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
|
78
|
+
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
|
79
|
+
+mobile
|
80
|
+
.navbar-menu
|
81
|
+
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
|
71
82
|
// Sizes
|
72
83
|
&.is-small
|
73
84
|
.hero-body
|
74
|
-
padding
|
75
|
-
padding-top: 1.5rem
|
85
|
+
padding: $hero-body-padding-small
|
76
86
|
&.is-medium
|
77
87
|
+tablet
|
78
88
|
.hero-body
|
79
|
-
padding
|
80
|
-
padding-top: 9rem
|
89
|
+
padding: $hero-body-padding-medium
|
81
90
|
&.is-large
|
82
91
|
+tablet
|
83
92
|
.hero-body
|
84
|
-
padding
|
85
|
-
padding-top: 18rem
|
93
|
+
padding: $hero-body-padding-large
|
86
94
|
&.is-halfheight,
|
87
95
|
&.is-fullheight,
|
88
96
|
&.is-fullheight-with-navbar
|
@@ -128,7 +136,7 @@
|
|
128
136
|
display: flex
|
129
137
|
justify-content: center
|
130
138
|
.button:not(:last-child)
|
131
|
-
margin
|
139
|
+
+ltr-property("margin", 1.5rem)
|
132
140
|
|
133
141
|
// Containers
|
134
142
|
|
@@ -140,4 +148,6 @@
|
|
140
148
|
.hero-body
|
141
149
|
flex-grow: 1
|
142
150
|
flex-shrink: 0
|
143
|
-
padding:
|
151
|
+
padding: $hero-body-padding
|
152
|
+
+tablet
|
153
|
+
padding: $hero-body-padding-tablet
|
data/_sass/layout/section.sass
CHANGED
@@ -1,11 +1,15 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$section-padding: 3rem 1.5rem !default
|
2
|
-
$section-padding-
|
3
|
-
$section-padding-
|
4
|
+
$section-padding-desktop: 3rem 3rem !default
|
5
|
+
$section-padding-medium: 9rem 4.5rem !default
|
6
|
+
$section-padding-large: 18rem 6rem !default
|
4
7
|
|
5
8
|
.section
|
6
9
|
padding: $section-padding
|
7
10
|
// Responsiveness
|
8
11
|
+desktop
|
12
|
+
padding: $section-padding-desktop
|
9
13
|
// Sizes
|
10
14
|
&.is-medium
|
11
15
|
padding: $section-padding-medium
|
data/_sass/utilities/_all.sass
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
/* Bulma Utilities */
|
1
2
|
@charset "utf-8"
|
2
3
|
|
3
|
-
@import "initial-variables
|
4
|
-
@import "functions
|
5
|
-
@import "derived-variables
|
6
|
-
@import "
|
7
|
-
@import "
|
8
|
-
@import "
|
4
|
+
@import "initial-variables"
|
5
|
+
@import "functions"
|
6
|
+
@import "derived-variables"
|
7
|
+
@import "mixins"
|
8
|
+
@import "controls"
|
9
|
+
@import "extends"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "derived-variables"
|
2
|
+
|
1
3
|
$control-radius: $radius !default
|
2
4
|
$control-radius-small: $radius-small !default
|
3
5
|
|
@@ -37,9 +39,6 @@ $control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default
|
|
37
39
|
fieldset[disabled] &
|
38
40
|
cursor: not-allowed
|
39
41
|
|
40
|
-
%control
|
41
|
-
+control
|
42
|
-
|
43
42
|
// The controls sizes use mixins so they can be used at different breakpoints
|
44
43
|
=control-small
|
45
44
|
border-radius: $control-radius-small
|
@@ -1,3 +1,6 @@
|
|
1
|
+
@import "initial-variables"
|
2
|
+
@import "functions"
|
3
|
+
|
1
4
|
$primary: $turquoise !default
|
2
5
|
|
3
6
|
$info: $cyan !default
|
@@ -62,7 +65,7 @@ $text-strong: $grey-darker !default
|
|
62
65
|
|
63
66
|
// Code colors
|
64
67
|
|
65
|
-
$code: $red !default
|
68
|
+
$code: darken($red, 15%) !default
|
66
69
|
$code-background: $background !default
|
67
70
|
|
68
71
|
$pre: $text !default
|
@@ -96,11 +99,16 @@ $size-normal: $size-6 !default
|
|
96
99
|
$size-medium: $size-5 !default
|
97
100
|
$size-large: $size-4 !default
|
98
101
|
|
102
|
+
// Effects
|
103
|
+
|
104
|
+
$shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
105
|
+
|
99
106
|
// Lists and maps
|
100
107
|
$custom-colors: null !default
|
101
108
|
$custom-shades: null !default
|
102
109
|
|
103
110
|
$colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default
|
111
|
+
|
104
112
|
$shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis), $custom-shades) !default
|
105
113
|
|
106
114
|
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
|
@@ -58,18 +58,20 @@
|
|
58
58
|
$value: $value * $number
|
59
59
|
@else if $exp < 0
|
60
60
|
@for $i from 1 through -$exp
|
61
|
-
$value: $value
|
61
|
+
$value: divide($value, $number)
|
62
62
|
@return $value
|
63
63
|
|
64
64
|
@function colorLuminance($color)
|
65
|
+
@if type-of($color) != 'color'
|
66
|
+
@return 0.55
|
65
67
|
$color-rgb: ('red': red($color),'green': green($color),'blue': blue($color))
|
66
68
|
@each $name, $value in $color-rgb
|
67
69
|
$adjusted: 0
|
68
|
-
$value: $value
|
70
|
+
$value: divide($value, 255)
|
69
71
|
@if $value < 0.03928
|
70
|
-
$value: $value
|
72
|
+
$value: divide($value, 12.92)
|
71
73
|
@else
|
72
|
-
$value: ($value + .055)
|
74
|
+
$value: divide(($value + .055), 1.055)
|
73
75
|
$value: powerNumber($value, 2)
|
74
76
|
$color-rgb: map-merge($color-rgb, ($name: $value))
|
75
77
|
@return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
|
@@ -96,3 +98,39 @@
|
|
96
98
|
$target-l: round($base-l + ($luminance-delta * 53))
|
97
99
|
@return change-color($color, $lightness: max($base-l, $target-l))
|
98
100
|
@return $text-strong
|
101
|
+
|
102
|
+
@function bulmaRgba($color, $alpha)
|
103
|
+
@if type-of($color) != 'color'
|
104
|
+
@return $color
|
105
|
+
@return rgba($color, $alpha)
|
106
|
+
|
107
|
+
@function bulmaDarken($color, $amount)
|
108
|
+
@if type-of($color) != 'color'
|
109
|
+
@return $color
|
110
|
+
@return darken($color, $amount)
|
111
|
+
|
112
|
+
@function bulmaLighten($color, $amount)
|
113
|
+
@if type-of($color) != 'color'
|
114
|
+
@return $color
|
115
|
+
@return lighten($color, $amount)
|
116
|
+
|
117
|
+
// Custom divide function by @mdo from https://github.com/twbs/bootstrap/pull/34245
|
118
|
+
// Replaces old slash division deprecated in Dart Sass
|
119
|
+
@function divide($dividend, $divisor, $precision: 10)
|
120
|
+
$sign: if($dividend > 0 and $divisor > 0, 1, -1)
|
121
|
+
$dividend: abs($dividend)
|
122
|
+
$divisor: abs($divisor)
|
123
|
+
$quotient: 0
|
124
|
+
$remainder: $dividend
|
125
|
+
@if $dividend == 0
|
126
|
+
@return 0
|
127
|
+
@if $divisor == 0
|
128
|
+
@error "Cannot divide by 0"
|
129
|
+
@if $divisor == 1
|
130
|
+
@return $dividend
|
131
|
+
@while $remainder >= $divisor
|
132
|
+
$quotient: $quotient + 1
|
133
|
+
$remainder: $remainder - $divisor
|
134
|
+
@if $remainder > 0 and $precision > 0
|
135
|
+
$remainder: divide($remainder * 10, $divisor, $precision - 1) * .1
|
136
|
+
@return ($quotient + $remainder) * $sign
|
@@ -16,11 +16,11 @@ $white-bis: hsl(0, 0%, 98%) !default
|
|
16
16
|
$white: hsl(0, 0%, 100%) !default
|
17
17
|
|
18
18
|
$orange: hsl(14, 100%, 53%) !default
|
19
|
-
$yellow: hsl(
|
20
|
-
$green: hsl(
|
19
|
+
$yellow: hsl(44, 100%, 77%) !default
|
20
|
+
$green: hsl(153, 53%, 53%) !default
|
21
21
|
$turquoise: hsl(171, 100%, 41%) !default
|
22
|
-
$cyan: hsl(
|
23
|
-
$blue: hsl(
|
22
|
+
$cyan: hsl(207, 61%, 53%) !default
|
23
|
+
$blue: hsl(229, 53%, 53%) !default
|
24
24
|
$purple: hsl(271, 100%, 71%) !default
|
25
25
|
$red: hsl(348, 86%, 61%) !default
|
26
26
|
|
@@ -69,9 +69,10 @@ $easing: ease-out !default
|
|
69
69
|
$radius-small: 2px !default
|
70
70
|
$radius: 4px !default
|
71
71
|
$radius-large: 6px !default
|
72
|
-
$radius-rounded:
|
72
|
+
$radius-rounded: 9999px !default
|
73
73
|
$speed: 86ms !default
|
74
74
|
|
75
75
|
// Flags
|
76
76
|
|
77
77
|
$variable-columns: true !default
|
78
|
+
$rtl: false !default
|
data/_sass/utilities/mixins.sass
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
@import "
|
1
|
+
@import "derived-variables"
|
2
2
|
|
3
3
|
=clearfix
|
4
4
|
&::after
|
@@ -9,11 +9,11 @@
|
|
9
9
|
=center($width, $height: 0)
|
10
10
|
position: absolute
|
11
11
|
@if $height != 0
|
12
|
-
left: calc(50% - (#{$width}
|
13
|
-
top: calc(50% - (#{$height}
|
12
|
+
left: calc(50% - (#{$width} * 0.5))
|
13
|
+
top: calc(50% - (#{$height} * 0.5))
|
14
14
|
@else
|
15
|
-
left: calc(50% - (#{$width}
|
16
|
-
top: calc(50% - (#{$width}
|
15
|
+
left: calc(50% - (#{$width} * 0.5))
|
16
|
+
top: calc(50% - (#{$width} * 0.5))
|
17
17
|
|
18
18
|
=fa($size, $dimensions)
|
19
19
|
display: inline-block
|
@@ -48,7 +48,7 @@
|
|
48
48
|
&:nth-child(3)
|
49
49
|
top: calc(50% + 4px)
|
50
50
|
&:hover
|
51
|
-
background-color:
|
51
|
+
background-color: bulmaRgba(black, 0.05)
|
52
52
|
// Modifers
|
53
53
|
&.is-active
|
54
54
|
span
|
@@ -68,6 +68,18 @@
|
|
68
68
|
&:#{$placeholder}-placeholder
|
69
69
|
@content
|
70
70
|
|
71
|
+
=reset
|
72
|
+
-moz-appearance: none
|
73
|
+
-webkit-appearance: none
|
74
|
+
appearance: none
|
75
|
+
background: none
|
76
|
+
border: none
|
77
|
+
color: currentColor
|
78
|
+
font-family: inherit
|
79
|
+
font-size: 1em
|
80
|
+
margin: 0
|
81
|
+
padding: 0
|
82
|
+
|
71
83
|
// Responsiveness
|
72
84
|
|
73
85
|
=from($device)
|
@@ -128,6 +140,30 @@
|
|
128
140
|
@media screen and (min-width: $fullhd)
|
129
141
|
@content
|
130
142
|
|
143
|
+
=ltr
|
144
|
+
@if not $rtl
|
145
|
+
@content
|
146
|
+
|
147
|
+
=rtl
|
148
|
+
@if $rtl
|
149
|
+
@content
|
150
|
+
|
151
|
+
=ltr-property($property, $spacing, $right: true)
|
152
|
+
$normal: if($right, "right", "left")
|
153
|
+
$opposite: if($right, "left", "right")
|
154
|
+
@if $rtl
|
155
|
+
#{$property}-#{$opposite}: $spacing
|
156
|
+
@else
|
157
|
+
#{$property}-#{$normal}: $spacing
|
158
|
+
|
159
|
+
=ltr-position($spacing, $right: true)
|
160
|
+
$normal: if($right, "right", "left")
|
161
|
+
$opposite: if($right, "left", "right")
|
162
|
+
@if $rtl
|
163
|
+
#{$opposite}: $spacing
|
164
|
+
@else
|
165
|
+
#{$normal}: $spacing
|
166
|
+
|
131
167
|
// Placeholders
|
132
168
|
|
133
169
|
=unselectable
|
@@ -137,9 +173,6 @@
|
|
137
173
|
-ms-user-select: none
|
138
174
|
user-select: none
|
139
175
|
|
140
|
-
%unselectable
|
141
|
-
+unselectable
|
142
|
-
|
143
176
|
=arrow($color: transparent)
|
144
177
|
border: 3px solid $color
|
145
178
|
border-radius: 2px
|
@@ -156,21 +189,15 @@
|
|
156
189
|
transform-origin: center
|
157
190
|
width: 0.625em
|
158
191
|
|
159
|
-
%arrow
|
160
|
-
+arrow
|
161
|
-
|
162
192
|
=block($spacing: $block-spacing)
|
163
193
|
&:not(:last-child)
|
164
194
|
margin-bottom: $spacing
|
165
195
|
|
166
|
-
%block
|
167
|
-
+block
|
168
|
-
|
169
196
|
=delete
|
170
|
-
|
197
|
+
+unselectable
|
171
198
|
-moz-appearance: none
|
172
199
|
-webkit-appearance: none
|
173
|
-
background-color:
|
200
|
+
background-color: bulmaRgba($scheme-invert, 0.2)
|
174
201
|
border: none
|
175
202
|
border-radius: $radius-rounded
|
176
203
|
cursor: pointer
|
@@ -206,9 +233,9 @@
|
|
206
233
|
width: 2px
|
207
234
|
&:hover,
|
208
235
|
&:focus
|
209
|
-
background-color:
|
236
|
+
background-color: bulmaRgba($scheme-invert, 0.3)
|
210
237
|
&:active
|
211
|
-
background-color:
|
238
|
+
background-color: bulmaRgba($scheme-invert, 0.4)
|
212
239
|
// Sizes
|
213
240
|
&.is-small
|
214
241
|
height: 16px
|
@@ -232,9 +259,6 @@
|
|
232
259
|
min-width: 32px
|
233
260
|
width: 32px
|
234
261
|
|
235
|
-
%delete
|
236
|
-
+delete
|
237
|
-
|
238
262
|
=loader
|
239
263
|
animation: spinAround 500ms infinite linear
|
240
264
|
border: 2px solid $grey-lighter
|
@@ -247,9 +271,6 @@
|
|
247
271
|
position: relative
|
248
272
|
width: 1em
|
249
273
|
|
250
|
-
%loader
|
251
|
-
+loader
|
252
|
-
|
253
274
|
=overlay($offset: 0)
|
254
275
|
bottom: $offset
|
255
276
|
left: $offset
|
@@ -257,5 +278,3 @@
|
|
257
278
|
right: $offset
|
258
279
|
top: $offset
|
259
280
|
|
260
|
-
%overlay
|
261
|
-
+overlay
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bulma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Haslinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- _sass/_presets.scss
|
73
73
|
- _sass/_syntax-highlighting.scss
|
74
74
|
- _sass/base/_all.sass
|
75
|
+
- _sass/base/animations.sass
|
75
76
|
- _sass/base/generic.sass
|
76
77
|
- _sass/base/helpers.sass
|
77
78
|
- _sass/base/minireset.sass
|
@@ -81,7 +82,6 @@ files:
|
|
81
82
|
- _sass/components/card.sass
|
82
83
|
- _sass/components/dropdown.sass
|
83
84
|
- _sass/components/level.sass
|
84
|
-
- _sass/components/list.sass
|
85
85
|
- _sass/components/media.sass
|
86
86
|
- _sass/components/menu.sass
|
87
87
|
- _sass/components/message.sass
|
@@ -114,6 +114,17 @@ files:
|
|
114
114
|
- _sass/grid/_all.sass
|
115
115
|
- _sass/grid/columns.sass
|
116
116
|
- _sass/grid/tiles.sass
|
117
|
+
- _sass/helpers/_all.sass
|
118
|
+
- _sass/helpers/color.sass
|
119
|
+
- _sass/helpers/flexbox.sass
|
120
|
+
- _sass/helpers/float.sass
|
121
|
+
- _sass/helpers/other.sass
|
122
|
+
- _sass/helpers/overflow.sass
|
123
|
+
- _sass/helpers/position.sass
|
124
|
+
- _sass/helpers/spacing.sass
|
125
|
+
- _sass/helpers/typography.sass
|
126
|
+
- _sass/helpers/visibility.sass
|
127
|
+
- _sass/jekyll-bulma.code-workspace
|
117
128
|
- _sass/layout/_all.sass
|
118
129
|
- _sass/layout/footer.sass
|
119
130
|
- _sass/layout/hero.sass
|
@@ -136,6 +147,7 @@ files:
|
|
136
147
|
- _sass/utilities/animations.sass
|
137
148
|
- _sass/utilities/controls.sass
|
138
149
|
- _sass/utilities/derived-variables.sass
|
150
|
+
- _sass/utilities/extends.sass
|
139
151
|
- _sass/utilities/functions.sass
|
140
152
|
- _sass/utilities/initial-variables.sass
|
141
153
|
- _sass/utilities/mixins.sass
|
@@ -177,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
189
|
- !ruby/object:Gem::Version
|
178
190
|
version: '0'
|
179
191
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.3.7
|
181
193
|
signing_key:
|
182
194
|
specification_version: 4
|
183
195
|
summary: Bulma + LineAwesome + Theme = jekyll-bulma
|