jekyll-bulma 0.0.1

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.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +39 -0
  4. data/_layouts/default.html +1 -0
  5. data/_layouts/page.html +5 -0
  6. data/_layouts/post.html +5 -0
  7. data/_sass/base/_all.sass +5 -0
  8. data/_sass/base/generic.sass +127 -0
  9. data/_sass/base/helpers.sass +251 -0
  10. data/_sass/base/minireset.sass +79 -0
  11. data/_sass/bulma.sass +8 -0
  12. data/_sass/components/_all.sass +14 -0
  13. data/_sass/components/breadcrumb.sass +75 -0
  14. data/_sass/components/card.sass +74 -0
  15. data/_sass/components/dropdown.sass +74 -0
  16. data/_sass/components/level.sass +75 -0
  17. data/_sass/components/media.sass +44 -0
  18. data/_sass/components/menu.sass +50 -0
  19. data/_sass/components/message.sass +86 -0
  20. data/_sass/components/modal.sass +111 -0
  21. data/_sass/components/navbar.sass +414 -0
  22. data/_sass/components/pagination.sass +143 -0
  23. data/_sass/components/panel.sass +101 -0
  24. data/_sass/components/tabs.sass +151 -0
  25. data/_sass/elements/_all.sass +16 -0
  26. data/_sass/elements/box.sass +24 -0
  27. data/_sass/elements/button.sass +255 -0
  28. data/_sass/elements/container.sass +25 -0
  29. data/_sass/elements/content.sass +141 -0
  30. data/_sass/elements/form.sass +625 -0
  31. data/_sass/elements/icon.sass +21 -0
  32. data/_sass/elements/image.sass +68 -0
  33. data/_sass/elements/notification.sass +35 -0
  34. data/_sass/elements/other.sass +39 -0
  35. data/_sass/elements/progress.sass +40 -0
  36. data/_sass/elements/table.sass +117 -0
  37. data/_sass/elements/tag.sass +111 -0
  38. data/_sass/elements/title.sass +64 -0
  39. data/_sass/grid/_all.sass +4 -0
  40. data/_sass/grid/columns.sass +477 -0
  41. data/_sass/grid/tiles.sass +32 -0
  42. data/_sass/layout/_all.sass +5 -0
  43. data/_sass/layout/footer.sass +5 -0
  44. data/_sass/layout/hero.sass +155 -0
  45. data/_sass/layout/section.sass +13 -0
  46. data/_sass/utilities/_all.sass +8 -0
  47. data/_sass/utilities/animations.sass +5 -0
  48. data/_sass/utilities/controls.sass +46 -0
  49. data/_sass/utilities/derived-variables.sass +84 -0
  50. data/_sass/utilities/functions.sass +62 -0
  51. data/_sass/utilities/initial-variables.sass +72 -0
  52. data/_sass/utilities/mixins.sass +266 -0
  53. data/assets/main.scss +14 -0
  54. metadata +138 -0
@@ -0,0 +1,35 @@
1
+ $notification-background-color: $background !default
2
+ $notification-radius: $radius !default
3
+ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
4
+
5
+ .notification
6
+ +block
7
+ background-color: $notification-background-color
8
+ border-radius: $notification-radius
9
+ padding: $notification-padding
10
+ position: relative
11
+ a:not(.button)
12
+ color: currentColor
13
+ text-decoration: underline
14
+ strong
15
+ color: currentColor
16
+ code,
17
+ pre
18
+ background: $white
19
+ pre code
20
+ background: transparent
21
+ & > .delete
22
+ position: absolute
23
+ right: 0.5rem
24
+ top: 0.5rem
25
+ .title,
26
+ .subtitle,
27
+ .content
28
+ color: currentColor
29
+ // Colors
30
+ @each $name, $pair in $colors
31
+ $color: nth($pair, 1)
32
+ $color-invert: nth($pair, 2)
33
+ &.is-#{$name}
34
+ background-color: $color
35
+ color: $color-invert
@@ -0,0 +1,39 @@
1
+ .block
2
+ +block
3
+
4
+ .delete
5
+ +delete
6
+
7
+ .heading
8
+ display: block
9
+ font-size: 11px
10
+ letter-spacing: 1px
11
+ margin-bottom: 5px
12
+ text-transform: uppercase
13
+
14
+ .highlight
15
+ +block
16
+ font-weight: $weight-normal
17
+ max-width: 100%
18
+ overflow: hidden
19
+ padding: 0
20
+ pre
21
+ overflow: auto
22
+ max-width: 100%
23
+
24
+ .loader
25
+ +loader
26
+
27
+ .number
28
+ align-items: center
29
+ background-color: $background
30
+ border-radius: $radius-rounded
31
+ display: inline-flex
32
+ font-size: $size-medium
33
+ height: 2em
34
+ justify-content: center
35
+ margin-right: 1.5rem
36
+ min-width: 2.5em
37
+ padding: 0.25rem 0.5rem
38
+ text-align: center
39
+ vertical-align: top
@@ -0,0 +1,40 @@
1
+ $progress-bar-background-color: $border !default
2
+ $progress-value-background-color: $text !default
3
+
4
+ .progress
5
+ +block
6
+ -moz-appearance: none
7
+ -webkit-appearance: none
8
+ border: none
9
+ border-radius: $radius-rounded
10
+ display: block
11
+ height: $size-normal
12
+ overflow: hidden
13
+ padding: 0
14
+ width: 100%
15
+ &::-webkit-progress-bar
16
+ background-color: $progress-bar-background-color
17
+ &::-webkit-progress-value
18
+ background-color: $progress-value-background-color
19
+ &::-moz-progress-bar
20
+ background-color: $progress-value-background-color
21
+ &::-ms-fill
22
+ background-color: $progress-value-background-color
23
+ border: none
24
+ // Colors
25
+ @each $name, $pair in $colors
26
+ $color: nth($pair, 1)
27
+ &.is-#{$name}
28
+ &::-webkit-progress-value
29
+ background-color: $color
30
+ &::-moz-progress-bar
31
+ background-color: $color
32
+ &::-ms-fill
33
+ background-color: $color
34
+ // Sizes
35
+ &.is-small
36
+ height: $size-small
37
+ &.is-medium
38
+ height: $size-medium
39
+ &.is-large
40
+ height: $size-large
@@ -0,0 +1,117 @@
1
+ $table-color: $grey-darker !default
2
+ $table-background-color: $white !default
3
+
4
+ $table-cell-border: 1px solid $grey-lighter !default
5
+ $table-cell-border-width: 0 0 1px !default
6
+ $table-cell-padding: 0.5em 0.75em !default
7
+ $table-cell-heading-color: $text-strong !default
8
+
9
+ $table-head-cell-border-width: 0 0 2px !default
10
+ $table-head-cell-color: $text-strong !default
11
+ $table-foot-cell-border-width: 2px 0 0 !default
12
+ $table-foot-cell-color: $text-strong !default
13
+
14
+ $table-row-hover-background-color: $white-bis !default
15
+
16
+ $table-row-active-background-color: $primary !default
17
+ $table-row-active-color: $primary-invert !default
18
+
19
+ $table-striped-row-even-background-color: $white-bis !default
20
+ $table-striped-row-even-hover-background-color: $white-ter !default
21
+
22
+ .table
23
+ +block
24
+ background-color: $table-background-color
25
+ color: $table-color
26
+ td,
27
+ th
28
+ border: $table-cell-border
29
+ border-width: $table-cell-border-width
30
+ padding: $table-cell-padding
31
+ vertical-align: top
32
+ // Colors
33
+ @each $name, $pair in $colors
34
+ $color: nth($pair, 1)
35
+ $color-invert: nth($pair, 2)
36
+ &.is-#{$name}
37
+ background-color: $color
38
+ border-color: $color
39
+ color: $color-invert
40
+ // Modifiers
41
+ &.is-narrow
42
+ white-space: nowrap
43
+ width: 1%
44
+ &.is-selected
45
+ background-color: $table-row-active-background-color
46
+ color: $table-row-active-color
47
+ a,
48
+ strong
49
+ color: currentColor
50
+ th
51
+ color: $table-cell-heading-color
52
+ text-align: left
53
+ tr
54
+ &.is-selected
55
+ background-color: $table-row-active-background-color
56
+ color: $table-row-active-color
57
+ a,
58
+ strong
59
+ color: currentColor
60
+ td,
61
+ th
62
+ border-color: $table-row-active-color
63
+ color: currentColor
64
+ thead
65
+ td,
66
+ th
67
+ border-width: $table-head-cell-border-width
68
+ color: $table-head-cell-color
69
+ tfoot
70
+ td,
71
+ th
72
+ border-width: $table-foot-cell-border-width
73
+ color: $table-foot-cell-color
74
+ tbody
75
+ tr
76
+ &:last-child
77
+ td,
78
+ th
79
+ border-bottom-width: 0
80
+ // Modifiers
81
+ &.is-bordered
82
+ td,
83
+ th
84
+ border-width: 1px
85
+ tr
86
+ &:last-child
87
+ td,
88
+ th
89
+ border-bottom-width: 1px
90
+ &.is-fullwidth
91
+ width: 100%
92
+ &.is-hoverable
93
+ tbody
94
+ tr:not(.is-selected)
95
+ &:hover
96
+ background-color: $table-row-hover-background-color
97
+ &.is-striped
98
+ tbody
99
+ tr:not(.is-selected)
100
+ &:hover
101
+ background-color: $table-striped-row-even-hover-background-color
102
+ &.is-narrow
103
+ td,
104
+ th
105
+ padding: 0.25em 0.5em
106
+ &.is-striped
107
+ tbody
108
+ tr:not(.is-selected)
109
+ &:nth-child(even)
110
+ background-color: $table-striped-row-even-background-color
111
+
112
+ .table-container
113
+ +block
114
+ +overflow-touch
115
+ overflow: auto
116
+ overflow-y: hidden
117
+ max-width: 100%
@@ -0,0 +1,111 @@
1
+ $tag-background-color: $background !default
2
+ $tag-color: $text !default
3
+ $tag-radius: $radius !default
4
+ $tag-delete-margin: 1px !default
5
+
6
+ .tags
7
+ align-items: center
8
+ display: flex
9
+ flex-wrap: wrap
10
+ justify-content: flex-start
11
+ .tag
12
+ margin-bottom: 0.5rem
13
+ &:not(:last-child)
14
+ margin-right: 0.5rem
15
+ &:last-child
16
+ margin-bottom: -0.5rem
17
+ &:not(:last-child)
18
+ margin-bottom: 1rem
19
+ &.has-addons
20
+ .tag
21
+ margin-right: 0
22
+ &:not(:first-child)
23
+ border-bottom-left-radius: 0
24
+ border-top-left-radius: 0
25
+ &:not(:last-child)
26
+ border-bottom-right-radius: 0
27
+ border-top-right-radius: 0
28
+ &.is-centered
29
+ justify-content: center
30
+ .tag
31
+ margin-right: 0.25rem
32
+ margin-left: 0.25rem
33
+ &.is-right
34
+ justify-content: flex-end
35
+ .tag
36
+ &:not(:first-child)
37
+ margin-left: 0.5rem
38
+ &:not(:last-child)
39
+ margin-right: 0
40
+
41
+ .tag:not(body)
42
+ align-items: center
43
+ background-color: $tag-background-color
44
+ border-radius: $tag-radius
45
+ color: $tag-color
46
+ display: inline-flex
47
+ font-size: $size-small
48
+ height: 2em
49
+ justify-content: center
50
+ line-height: 1.5
51
+ padding-left: 0.75em
52
+ padding-right: 0.75em
53
+ white-space: nowrap
54
+ .delete
55
+ margin-left: 0.25rem
56
+ margin-right: -0.375rem
57
+ // Colors
58
+ @each $name, $pair in $colors
59
+ $color: nth($pair, 1)
60
+ $color-invert: nth($pair, 2)
61
+ &.is-#{$name}
62
+ background-color: $color
63
+ color: $color-invert
64
+ // Sizes
65
+ &.is-medium
66
+ font-size: $size-normal
67
+ &.is-large
68
+ font-size: $size-medium
69
+ .icon
70
+ &:first-child:not(:last-child)
71
+ margin-left: -0.375em
72
+ margin-right: 0.1875em
73
+ &:last-child:not(:first-child)
74
+ margin-left: 0.1875em
75
+ margin-right: -0.375em
76
+ &:first-child:last-child
77
+ margin-left: -0.375em
78
+ margin-right: -0.375em
79
+ // Modifiers
80
+ &.is-delete
81
+ margin-left: $tag-delete-margin
82
+ padding: 0
83
+ position: relative
84
+ width: 2em
85
+ &::before,
86
+ &::after
87
+ background-color: currentColor
88
+ content: ""
89
+ display: block
90
+ left: 50%
91
+ position: absolute
92
+ top: 50%
93
+ transform: translateX(-50%) translateY(-50%) rotate(45deg)
94
+ transform-origin: center center
95
+ &::before
96
+ height: 1px
97
+ width: 50%
98
+ &::after
99
+ height: 50%
100
+ width: 1px
101
+ &:hover,
102
+ &:focus
103
+ background-color: darken($tag-background-color, 5%)
104
+ &:active
105
+ background-color: darken($tag-background-color, 10%)
106
+ &.is-rounded
107
+ border-radius: $radius-rounded
108
+
109
+ a.tag
110
+ &:hover
111
+ text-decoration: underline
@@ -0,0 +1,64 @@
1
+ $title-color: $grey-darker !default
2
+ $title-size: $size-3 !default
3
+ $title-weight: $weight-semibold !default
4
+ $title-line-height: 1.125 !default
5
+ $title-strong-color: inherit !default
6
+ $title-strong-weight: inherit !default
7
+ $title-sub-size: 0.75em !default
8
+ $title-sup-size: 0.75em !default
9
+
10
+ $subtitle-color: $grey-dark !default
11
+ $subtitle-size: $size-5 !default
12
+ $subtitle-weight: $weight-normal !default
13
+ $subtitle-line-height: 1.25 !default
14
+ $subtitle-strong-color: $grey-darker !default
15
+ $subtitle-strong-weight: $weight-semibold !default
16
+ $subtitle-negative-margin: -1.25rem !default
17
+
18
+ .title,
19
+ .subtitle
20
+ +block
21
+ word-break: break-word
22
+ em,
23
+ span
24
+ font-weight: inherit
25
+ sub
26
+ font-size: $title-sub-size
27
+ sup
28
+ font-size: $title-sup-size
29
+ .tag
30
+ vertical-align: middle
31
+
32
+ .title
33
+ color: $title-color
34
+ font-size: $title-size
35
+ font-weight: $title-weight
36
+ line-height: $title-line-height
37
+ strong
38
+ color: $title-strong-color
39
+ font-weight: $title-strong-weight
40
+ & + .highlight
41
+ margin-top: -0.75rem
42
+ &:not(.is-spaced) + .subtitle
43
+ margin-top: $subtitle-negative-margin
44
+ // Sizes
45
+ @each $size in $sizes
46
+ $i: index($sizes, $size)
47
+ &.is-#{$i}
48
+ font-size: $size
49
+
50
+ .subtitle
51
+ color: $subtitle-color
52
+ font-size: $subtitle-size
53
+ font-weight: $subtitle-weight
54
+ line-height: $subtitle-line-height
55
+ strong
56
+ color: $subtitle-strong-color
57
+ font-weight: $subtitle-strong-weight
58
+ &:not(.is-spaced) + .title
59
+ margin-top: $subtitle-negative-margin
60
+ // Sizes
61
+ @each $size in $sizes
62
+ $i: index($sizes, $size)
63
+ &.is-#{$i}
64
+ font-size: $size
@@ -0,0 +1,4 @@
1
+ @charset "utf-8"
2
+
3
+ @import "columns.sass"
4
+ @import "tiles.sass"