bulma-clean-theme 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +1 -1
  3. data/_includes/header.html +3 -3
  4. data/_includes/latest-posts.html +2 -2
  5. data/_includes/pagination.html +2 -2
  6. data/_layouts/blog.html +2 -2
  7. data/_layouts/default.html +1 -1
  8. data/_sass/_main.scss +7 -0
  9. data/assets/css/app.scss +2 -8
  10. data/node_modules/.yarn-integrity +1 -0
  11. data/node_modules/bulma/CHANGELOG.md +1135 -0
  12. data/node_modules/bulma/LICENSE +21 -0
  13. data/node_modules/bulma/README.md +112 -0
  14. data/node_modules/bulma/bulma.sass +8 -0
  15. data/node_modules/bulma/css/bulma.css +10289 -0
  16. data/node_modules/bulma/css/bulma.css.map +1 -0
  17. data/node_modules/bulma/css/bulma.min.css +1 -0
  18. data/node_modules/bulma/package.json +48 -0
  19. data/node_modules/bulma/sass/.DS_Store +0 -0
  20. data/node_modules/bulma/sass/base/_all.sass +5 -0
  21. data/node_modules/bulma/sass/base/generic.sass +127 -0
  22. data/node_modules/bulma/sass/base/helpers.sass +261 -0
  23. data/node_modules/bulma/sass/base/minireset.sass +79 -0
  24. data/node_modules/bulma/sass/components/_all.sass +15 -0
  25. data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  26. data/node_modules/bulma/sass/components/card.sass +74 -0
  27. data/node_modules/bulma/sass/components/dropdown.sass +77 -0
  28. data/node_modules/bulma/sass/components/level.sass +75 -0
  29. data/node_modules/bulma/sass/components/list.sass +39 -0
  30. data/node_modules/bulma/sass/components/media.sass +48 -0
  31. data/node_modules/bulma/sass/components/menu.sass +50 -0
  32. data/node_modules/bulma/sass/components/message.sass +86 -0
  33. data/node_modules/bulma/sass/components/modal.sass +113 -0
  34. data/node_modules/bulma/sass/components/navbar.sass +422 -0
  35. data/node_modules/bulma/sass/components/pagination.sass +144 -0
  36. data/node_modules/bulma/sass/components/panel.sass +101 -0
  37. data/node_modules/bulma/sass/components/tabs.sass +151 -0
  38. data/node_modules/bulma/sass/elements/_all.sass +16 -0
  39. data/node_modules/bulma/sass/elements/box.sass +24 -0
  40. data/node_modules/bulma/sass/elements/button.sass +255 -0
  41. data/node_modules/bulma/sass/elements/container.sass +25 -0
  42. data/node_modules/bulma/sass/elements/content.sass +151 -0
  43. data/node_modules/bulma/sass/elements/form.sass +630 -0
  44. data/node_modules/bulma/sass/elements/icon.sass +21 -0
  45. data/node_modules/bulma/sass/elements/image.sass +68 -0
  46. data/node_modules/bulma/sass/elements/notification.sass +35 -0
  47. data/node_modules/bulma/sass/elements/other.sass +39 -0
  48. data/node_modules/bulma/sass/elements/progress.sass +40 -0
  49. data/node_modules/bulma/sass/elements/table.sass +119 -0
  50. data/node_modules/bulma/sass/elements/tag.sass +111 -0
  51. data/node_modules/bulma/sass/elements/title.sass +64 -0
  52. data/node_modules/bulma/sass/grid/_all.sass +4 -0
  53. data/node_modules/bulma/sass/grid/columns.sass +504 -0
  54. data/node_modules/bulma/sass/grid/tiles.sass +32 -0
  55. data/node_modules/bulma/sass/layout/_all.sass +5 -0
  56. data/node_modules/bulma/sass/layout/footer.sass +5 -0
  57. data/node_modules/bulma/sass/layout/hero.sass +158 -0
  58. data/node_modules/bulma/sass/layout/section.sass +13 -0
  59. data/node_modules/bulma/sass/utilities/_all.sass +8 -0
  60. data/node_modules/bulma/sass/utilities/animations.sass +5 -0
  61. data/node_modules/bulma/sass/utilities/controls.sass +49 -0
  62. data/node_modules/bulma/sass/utilities/derived-variables.sass +84 -0
  63. data/node_modules/bulma/sass/utilities/functions.sass +62 -0
  64. data/node_modules/bulma/sass/utilities/initial-variables.sass +72 -0
  65. data/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  66. metadata +59 -2
@@ -0,0 +1,32 @@
1
+ .tile
2
+ align-items: stretch
3
+ display: block
4
+ flex-basis: 0
5
+ flex-grow: 1
6
+ flex-shrink: 1
7
+ min-height: min-content
8
+ // Modifiers
9
+ &.is-ancestor
10
+ margin-left: -0.75rem
11
+ margin-right: -0.75rem
12
+ margin-top: -0.75rem
13
+ &:last-child
14
+ margin-bottom: -0.75rem
15
+ &:not(:last-child)
16
+ margin-bottom: 0.75rem
17
+ &.is-child
18
+ margin: 0 !important
19
+ &.is-parent
20
+ padding: 0.75rem
21
+ &.is-vertical
22
+ flex-direction: column
23
+ & > .tile.is-child:not(:last-child)
24
+ margin-bottom: 1.5rem !important
25
+ // Responsiveness
26
+ +tablet
27
+ &:not(.is-child)
28
+ display: flex
29
+ @for $i from 1 through 12
30
+ &.is-#{$i}
31
+ flex: none
32
+ width: ($i / 12) * 100%
@@ -0,0 +1,5 @@
1
+ @charset "utf-8"
2
+
3
+ @import "hero.sass"
4
+ @import "section.sass"
5
+ @import "footer.sass"
@@ -0,0 +1,5 @@
1
+ $footer-background-color: $white-bis !default
2
+
3
+ .footer
4
+ background-color: $footer-background-color
5
+ padding: 3rem 1.5rem 6rem
@@ -0,0 +1,158 @@
1
+ // Main container
2
+
3
+ .hero
4
+ align-items: stretch
5
+ display: flex
6
+ flex-direction: column
7
+ justify-content: space-between
8
+ .navbar
9
+ background: none
10
+ .tabs
11
+ ul
12
+ border-bottom: none
13
+ // Colors
14
+ @each $name, $pair in $colors
15
+ $color: nth($pair, 1)
16
+ $color-invert: nth($pair, 2)
17
+ &.is-#{$name}
18
+ background-color: $color
19
+ color: $color-invert
20
+ a:not(.button):not(.dropdown-item):not(.tag),
21
+ strong
22
+ color: inherit
23
+ .title
24
+ color: $color-invert
25
+ .subtitle
26
+ color: rgba($color-invert, 0.9)
27
+ a:not(.button),
28
+ strong
29
+ color: $color-invert
30
+ .navbar-menu
31
+ +touch
32
+ background-color: $color
33
+ .navbar-item,
34
+ .navbar-link
35
+ color: rgba($color-invert, 0.7)
36
+ a.navbar-item,
37
+ .navbar-link
38
+ &:hover,
39
+ &.is-active
40
+ background-color: darken($color, 5%)
41
+ color: $color-invert
42
+ .tabs
43
+ a
44
+ color: $color-invert
45
+ opacity: 0.9
46
+ &:hover
47
+ opacity: 1
48
+ li
49
+ &.is-active a
50
+ opacity: 1
51
+ &.is-boxed,
52
+ &.is-toggle
53
+ a
54
+ color: $color-invert
55
+ &:hover
56
+ background-color: rgba($black, 0.1)
57
+ li.is-active a
58
+ &,
59
+ &:hover
60
+ background-color: $color-invert
61
+ border-color: $color-invert
62
+ color: $color
63
+ // Modifiers
64
+ &.is-bold
65
+ $gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
66
+ $gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
67
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
68
+ +mobile
69
+ .navbar-menu
70
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
71
+ // Responsiveness
72
+ // +mobile
73
+ // .nav-toggle
74
+ // span
75
+ // background-color: $color-invert
76
+ // &:hover
77
+ // background-color: rgba($black, 0.1)
78
+ // &.is-active
79
+ // span
80
+ // background-color: $color-invert
81
+ // .nav-menu
82
+ // .nav-item
83
+ // border-top-color: rgba($color-invert, 0.2)
84
+ // Sizes
85
+ &.is-small
86
+ .hero-body
87
+ padding-bottom: 1.5rem
88
+ padding-top: 1.5rem
89
+ &.is-medium
90
+ +tablet
91
+ .hero-body
92
+ padding-bottom: 9rem
93
+ padding-top: 9rem
94
+ &.is-large
95
+ +tablet
96
+ .hero-body
97
+ padding-bottom: 18rem
98
+ padding-top: 18rem
99
+ &.is-halfheight,
100
+ &.is-fullheight,
101
+ &.is-fullheight-with-navbar
102
+ .hero-body
103
+ align-items: center
104
+ display: flex
105
+ & > .container
106
+ flex-grow: 1
107
+ flex-shrink: 1
108
+ &.is-halfheight
109
+ min-height: 50vh
110
+ &.is-fullheight
111
+ min-height: 100vh
112
+ &.is-fullheight-with-navbar
113
+ min-height: calc(100vh - #{$navbar-height})
114
+
115
+ // Components
116
+
117
+ .hero-video
118
+ @extend %overlay
119
+ overflow: hidden
120
+ video
121
+ left: 50%
122
+ min-height: 100%
123
+ min-width: 100%
124
+ position: absolute
125
+ top: 50%
126
+ transform: translate3d(-50%, -50%, 0)
127
+ // Modifiers
128
+ &.is-transparent
129
+ opacity: 0.3
130
+ // Responsiveness
131
+ +mobile
132
+ display: none
133
+
134
+ .hero-buttons
135
+ margin-top: 1.5rem
136
+ // Responsiveness
137
+ +mobile
138
+ .button
139
+ display: flex
140
+ &:not(:last-child)
141
+ margin-bottom: 0.75rem
142
+ +tablet
143
+ display: flex
144
+ justify-content: center
145
+ .button:not(:last-child)
146
+ margin-right: 1.5rem
147
+
148
+ // Containers
149
+
150
+ .hero-head,
151
+ .hero-foot
152
+ flex-grow: 0
153
+ flex-shrink: 0
154
+
155
+ .hero-body
156
+ flex-grow: 1
157
+ flex-shrink: 0
158
+ padding: 3rem 1.5rem
@@ -0,0 +1,13 @@
1
+ $section-padding: 3rem 1.5rem !default
2
+ $section-padding-medium: 9rem 1.5rem !default
3
+ $section-padding-large: 18rem 1.5rem !default
4
+
5
+ .section
6
+ padding: $section-padding
7
+ // Responsiveness
8
+ +desktop
9
+ // Sizes
10
+ &.is-medium
11
+ padding: $section-padding-medium
12
+ &.is-large
13
+ padding: $section-padding-large
@@ -0,0 +1,8 @@
1
+ @charset "utf-8"
2
+
3
+ @import "initial-variables.sass"
4
+ @import "functions.sass"
5
+ @import "derived-variables.sass"
6
+ @import "animations.sass"
7
+ @import "mixins.sass"
8
+ @import "controls.sass"
@@ -0,0 +1,5 @@
1
+ @keyframes spinAround
2
+ from
3
+ transform: rotate(0deg)
4
+ to
5
+ transform: rotate(359deg)
@@ -0,0 +1,49 @@
1
+ $control-radius: $radius !default
2
+ $control-radius-small: $radius-small !default
3
+
4
+ $control-border-width: 1px !default
5
+
6
+ $control-height: 2.25em !default
7
+ $control-line-height: 1.5 !default
8
+
9
+ $control-padding-vertical: calc(0.375em - #{$control-border-width}) !default
10
+ $control-padding-horizontal: calc(0.625em - #{$control-border-width}) !default
11
+
12
+ =control
13
+ -moz-appearance: none
14
+ -webkit-appearance: none
15
+ align-items: center
16
+ border: $control-border-width solid transparent
17
+ border-radius: $control-radius
18
+ box-shadow: none
19
+ display: inline-flex
20
+ font-size: $size-normal
21
+ height: $control-height
22
+ justify-content: flex-start
23
+ line-height: $control-line-height
24
+ padding-bottom: $control-padding-vertical
25
+ padding-left: $control-padding-horizontal
26
+ padding-right: $control-padding-horizontal
27
+ padding-top: $control-padding-vertical
28
+ position: relative
29
+ vertical-align: top
30
+ // States
31
+ &:focus,
32
+ &.is-focused,
33
+ &:active,
34
+ &.is-active
35
+ outline: none
36
+ &[disabled]
37
+ cursor: not-allowed
38
+
39
+ %control
40
+ +control
41
+
42
+ // The controls sizes use mixins so they can be used at different breakpoints
43
+ =control-small
44
+ border-radius: $control-radius-small
45
+ font-size: $size-small
46
+ =control-medium
47
+ font-size: $size-medium
48
+ =control-large
49
+ font-size: $size-large
@@ -0,0 +1,84 @@
1
+ $primary: $turquoise !default
2
+
3
+ $info: $cyan !default
4
+ $success: $green !default
5
+ $warning: $yellow !default
6
+ $danger: $red !default
7
+
8
+ $light: $white-ter !default
9
+ $dark: $grey-darker !default
10
+
11
+ // Invert colors
12
+
13
+ $orange-invert: findColorInvert($orange) !default
14
+ $yellow-invert: findColorInvert($yellow) !default
15
+ $green-invert: findColorInvert($green) !default
16
+ $turquoise-invert: findColorInvert($turquoise) !default
17
+ $cyan-invert: findColorInvert($cyan) !default
18
+ $blue-invert: findColorInvert($blue) !default
19
+ $purple-invert: findColorInvert($purple) !default
20
+ $red-invert: findColorInvert($red) !default
21
+
22
+ $primary-invert: $turquoise-invert !default
23
+ $info-invert: $cyan-invert !default
24
+ $success-invert: $green-invert !default
25
+ $warning-invert: $yellow-invert !default
26
+ $danger-invert: $red-invert !default
27
+ $light-invert: $dark !default
28
+ $dark-invert: $light !default
29
+
30
+ // General colors
31
+
32
+ $background: $white-ter !default
33
+
34
+ $border: $grey-lighter !default
35
+ $border-hover: $grey-light !default
36
+
37
+ // Text colors
38
+
39
+ $text: $grey-dark !default
40
+ $text-invert: findColorInvert($text) !default
41
+ $text-light: $grey !default
42
+ $text-strong: $grey-darker !default
43
+
44
+ // Code colors
45
+
46
+ $code: $red !default
47
+ $code-background: $background !default
48
+
49
+ $pre: $text !default
50
+ $pre-background: $background !default
51
+
52
+ // Link colors
53
+
54
+ $link: $blue !default
55
+ $link-invert: $blue-invert !default
56
+ $link-visited: $purple !default
57
+
58
+ $link-hover: $grey-darker !default
59
+ $link-hover-border: $grey-light !default
60
+
61
+ $link-focus: $grey-darker !default
62
+ $link-focus-border: $blue !default
63
+
64
+ $link-active: $grey-darker !default
65
+ $link-active-border: $grey-dark !default
66
+
67
+ // Typography
68
+
69
+ $family-primary: $family-sans-serif !default
70
+ $family-code: $family-monospace !default
71
+
72
+ $size-small: $size-7 !default
73
+ $size-normal: $size-6 !default
74
+ $size-medium: $size-5 !default
75
+ $size-large: $size-4 !default
76
+
77
+ // Lists and maps
78
+ $custom-colors: null !default
79
+ $custom-shades: null !default
80
+
81
+ $colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "link": ($link, $link-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)), $custom-colors) !default
82
+ $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
83
+
84
+ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
@@ -0,0 +1,62 @@
1
+ @function mergeColorMaps($bulma-colors, $custom-colors)
2
+ // we return at least bulma hardcoded colors
3
+ $merged-colors: $bulma-colors
4
+
5
+ // we want a map as input
6
+ @if type-of($custom-colors) == 'map'
7
+ @each $name, $components in $custom-colors
8
+ // color name should be a string and colors pair a list with at least one element
9
+ @if type-of($name) == 'string' and (type-of($components) == 'list' or type-of($components) == 'color') and length($components) >= 1
10
+ $color-base: null
11
+
12
+ // the param can either be a single color
13
+ // or a list of 2 colors
14
+ @if type-of($components) == 'color'
15
+ $color-base: $components
16
+ @else if type-of($components) == 'list'
17
+ $color-base: nth($components, 1)
18
+
19
+ $color-invert: null
20
+ // is an inverted color provided in the list
21
+ @if length($components) > 1
22
+ $color-invert: nth($components, 2)
23
+
24
+ // we only want a color as base color
25
+ @if type-of($color-base) == 'color'
26
+ // if inverted color is not provided or is not a color we compute it
27
+ @if type-of($color-invert) != 'color'
28
+ $color-invert: findColorInvert($color-base)
29
+
30
+ // we merge this colors elements as map with bulma colors (we can override them this way, no multiple definition for the same name)
31
+ $merged-colors: map_merge($merged-colors, ($name: ($color-base, $color-invert)))
32
+
33
+ @return $merged-colors
34
+
35
+ @function powerNumber($number, $exp)
36
+ $value: 1
37
+ @if $exp > 0
38
+ @for $i from 1 through $exp
39
+ $value: $value * $number
40
+ @else if $exp < 0
41
+ @for $i from 1 through -$exp
42
+ $value: $value / $number
43
+ @return $value
44
+
45
+ @function colorLuminance($color)
46
+ $color-rgb: ('red': red($color),'green': green($color),'blue': blue($color))
47
+ @each $name, $value in $color-rgb
48
+ $adjusted: 0
49
+ $value: $value / 255
50
+ @if $value < 0.03928
51
+ $value: $value / 12.92
52
+ @else
53
+ $value: ($value + .055) / 1.055
54
+ $value: powerNumber($value, 2)
55
+ $color-rgb: map-merge($color-rgb, ($name: $value))
56
+ @return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
57
+
58
+ @function findColorInvert($color)
59
+ @if (colorLuminance($color) > 0.55)
60
+ @return rgba(#000, 0.7)
61
+ @else
62
+ @return #fff
@@ -0,0 +1,72 @@
1
+ // Colors
2
+
3
+ $black: hsl(0, 0%, 4%) !default
4
+ $black-bis: hsl(0, 0%, 7%) !default
5
+ $black-ter: hsl(0, 0%, 14%) !default
6
+
7
+ $grey-darker: hsl(0, 0%, 21%) !default
8
+ $grey-dark: hsl(0, 0%, 29%) !default
9
+ $grey: hsl(0, 0%, 48%) !default
10
+ $grey-light: hsl(0, 0%, 71%) !default
11
+ $grey-lighter: hsl(0, 0%, 86%) !default
12
+
13
+ $white-ter: hsl(0, 0%, 96%) !default
14
+ $white-bis: hsl(0, 0%, 98%) !default
15
+ $white: hsl(0, 0%, 100%) !default
16
+
17
+ $orange: hsl(14, 100%, 53%) !default
18
+ $yellow: hsl(48, 100%, 67%) !default
19
+ $green: hsl(141, 71%, 48%) !default
20
+ $turquoise: hsl(171, 100%, 41%) !default
21
+ $cyan: hsl(204, 86%, 53%) !default
22
+ $blue: hsl(217, 71%, 53%) !default
23
+ $purple: hsl(271, 100%, 71%) !default
24
+ $red: hsl(348, 100%, 61%) !default
25
+
26
+ // Typography
27
+
28
+ $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
29
+ $family-monospace: monospace !default
30
+ $render-mode: optimizeLegibility !default
31
+
32
+ $size-1: 3rem !default
33
+ $size-2: 2.5rem !default
34
+ $size-3: 2rem !default
35
+ $size-4: 1.5rem !default
36
+ $size-5: 1.25rem !default
37
+ $size-6: 1rem !default
38
+ $size-7: 0.75rem !default
39
+
40
+ $weight-light: 300 !default
41
+ $weight-normal: 400 !default
42
+ $weight-medium: 500 !default
43
+ $weight-semibold: 600 !default
44
+ $weight-bold: 700 !default
45
+
46
+ // Responsiveness
47
+
48
+ // The container horizontal gap, which acts as the offset for breakpoints
49
+ $gap: 64px !default
50
+ // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
51
+ $tablet: 769px !default
52
+ // 960px container + 4rem
53
+ $desktop: 960px + (2 * $gap) !default
54
+ // 1152px container + 4rem
55
+ $widescreen: 1152px + (2 * $gap) !default
56
+ $widescreen-enabled: true !default
57
+ // 1344px container + 4rem
58
+ $fullhd: 1344px + (2 * $gap) !default
59
+ $fullhd-enabled: true !default
60
+
61
+ // Miscellaneous
62
+
63
+ $easing: ease-out !default
64
+ $radius-small: 2px !default
65
+ $radius: 4px !default
66
+ $radius-large: 6px !default
67
+ $radius-rounded: 290486px !default
68
+ $speed: 86ms !default
69
+
70
+ // Flags
71
+
72
+ $variable-columns: true !default