prosecco 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +100 -0
  4. data/_includes/footer.html +1 -0
  5. data/_includes/head.html +8 -0
  6. data/_includes/header.html +11 -0
  7. data/_includes/nav.html +9 -0
  8. data/_includes/post_preview.html +17 -0
  9. data/_layouts/archive.html +32 -0
  10. data/_layouts/default.html +15 -0
  11. data/_layouts/home.html +43 -0
  12. data/_layouts/post.html +38 -0
  13. data/_sass/bulma.sass +10 -0
  14. data/_sass/sass/base/_all.sass +5 -0
  15. data/_sass/sass/base/generic.sass +143 -0
  16. data/_sass/sass/base/helpers.sass +1 -0
  17. data/_sass/sass/base/minireset.sass +79 -0
  18. data/_sass/sass/components/_all.sass +15 -0
  19. data/_sass/sass/components/breadcrumb.sass +75 -0
  20. data/_sass/sass/components/card.sass +83 -0
  21. data/_sass/sass/components/dropdown.sass +81 -0
  22. data/_sass/sass/components/level.sass +77 -0
  23. data/_sass/sass/components/media.sass +52 -0
  24. data/_sass/sass/components/menu.sass +57 -0
  25. data/_sass/sass/components/message.sass +99 -0
  26. data/_sass/sass/components/modal.sass +115 -0
  27. data/_sass/sass/components/navbar.sass +443 -0
  28. data/_sass/sass/components/pagination.sass +150 -0
  29. data/_sass/sass/components/panel.sass +119 -0
  30. data/_sass/sass/components/tabs.sass +174 -0
  31. data/_sass/sass/elements/_all.sass +16 -0
  32. data/_sass/sass/elements/box.sass +24 -0
  33. data/_sass/sass/elements/button.sass +325 -0
  34. data/_sass/sass/elements/container.sass +27 -0
  35. data/_sass/sass/elements/content.sass +155 -0
  36. data/_sass/sass/elements/form.sass +1 -0
  37. data/_sass/sass/elements/icon.sass +21 -0
  38. data/_sass/sass/elements/image.sass +71 -0
  39. data/_sass/sass/elements/notification.sass +50 -0
  40. data/_sass/sass/elements/other.sass +39 -0
  41. data/_sass/sass/elements/progress.sass +71 -0
  42. data/_sass/sass/elements/table.sass +131 -0
  43. data/_sass/sass/elements/tag.sass +138 -0
  44. data/_sass/sass/elements/title.sass +70 -0
  45. data/_sass/sass/form/_all.sass +9 -0
  46. data/_sass/sass/form/checkbox-radio.sass +22 -0
  47. data/_sass/sass/form/file.sass +182 -0
  48. data/_sass/sass/form/input-textarea.sass +66 -0
  49. data/_sass/sass/form/select.sass +87 -0
  50. data/_sass/sass/form/shared.sass +57 -0
  51. data/_sass/sass/form/tools.sass +215 -0
  52. data/_sass/sass/grid/_all.sass +5 -0
  53. data/_sass/sass/grid/columns.sass +504 -0
  54. data/_sass/sass/grid/tiles.sass +34 -0
  55. data/_sass/sass/helpers/_all.sass +12 -0
  56. data/_sass/sass/helpers/color.sass +37 -0
  57. data/_sass/sass/helpers/flexbox.sass +35 -0
  58. data/_sass/sass/helpers/float.sass +8 -0
  59. data/_sass/sass/helpers/other.sass +11 -0
  60. data/_sass/sass/helpers/overflow.sass +2 -0
  61. data/_sass/sass/helpers/position.sass +5 -0
  62. data/_sass/sass/helpers/spacing.sass +31 -0
  63. data/_sass/sass/helpers/typography.sass +98 -0
  64. data/_sass/sass/helpers/visibility.sass +122 -0
  65. data/_sass/sass/layout/_all.sass +6 -0
  66. data/_sass/sass/layout/footer.sass +9 -0
  67. data/_sass/sass/layout/hero.sass +147 -0
  68. data/_sass/sass/layout/section.sass +13 -0
  69. data/_sass/sass/utilities/_all.sass +9 -0
  70. data/_sass/sass/utilities/animations.sass +5 -0
  71. data/_sass/sass/utilities/controls.sass +50 -0
  72. data/_sass/sass/utilities/derived-variables.sass +107 -0
  73. data/_sass/sass/utilities/functions.sass +115 -0
  74. data/_sass/sass/utilities/initial-variables.sass +78 -0
  75. data/_sass/sass/utilities/mixins.sass +285 -0
  76. data/assets/css/markdown_styles.scss +41 -0
  77. data/assets/css/style.scss +7 -0
  78. data/assets/css/syntax.css +60 -0
  79. metadata +176 -0
@@ -0,0 +1 @@
1
+ @warn "The form.sass file is DEPRECATED. It has moved into its own /form folder. Please import sass/form/_all instead."
@@ -0,0 +1,21 @@
1
+ $icon-dimensions: 1.5rem !default
2
+ $icon-dimensions-small: 1rem !default
3
+ $icon-dimensions-medium: 2rem !default
4
+ $icon-dimensions-large: 3rem !default
5
+
6
+ .icon
7
+ align-items: center
8
+ display: inline-flex
9
+ justify-content: center
10
+ height: $icon-dimensions
11
+ width: $icon-dimensions
12
+ // Sizes
13
+ &.is-small
14
+ height: $icon-dimensions-small
15
+ width: $icon-dimensions-small
16
+ &.is-medium
17
+ height: $icon-dimensions-medium
18
+ width: $icon-dimensions-medium
19
+ &.is-large
20
+ height: $icon-dimensions-large
21
+ width: $icon-dimensions-large
@@ -0,0 +1,71 @@
1
+ $dimensions: 16 24 32 48 64 96 128 !default
2
+
3
+ .image
4
+ display: block
5
+ position: relative
6
+ img
7
+ display: block
8
+ height: auto
9
+ width: 100%
10
+ &.is-rounded
11
+ border-radius: $radius-rounded
12
+ &.is-fullwidth
13
+ width: 100%
14
+ // Ratio
15
+ &.is-square,
16
+ &.is-1by1,
17
+ &.is-5by4,
18
+ &.is-4by3,
19
+ &.is-3by2,
20
+ &.is-5by3,
21
+ &.is-16by9,
22
+ &.is-2by1,
23
+ &.is-3by1,
24
+ &.is-4by5,
25
+ &.is-3by4,
26
+ &.is-2by3,
27
+ &.is-3by5,
28
+ &.is-9by16,
29
+ &.is-1by2,
30
+ &.is-1by3
31
+ img,
32
+ .has-ratio
33
+ @extend %overlay
34
+ height: 100%
35
+ width: 100%
36
+ &.is-square,
37
+ &.is-1by1
38
+ padding-top: 100%
39
+ &.is-5by4
40
+ padding-top: 80%
41
+ &.is-4by3
42
+ padding-top: 75%
43
+ &.is-3by2
44
+ padding-top: 66.6666%
45
+ &.is-5by3
46
+ padding-top: 60%
47
+ &.is-16by9
48
+ padding-top: 56.25%
49
+ &.is-2by1
50
+ padding-top: 50%
51
+ &.is-3by1
52
+ padding-top: 33.3333%
53
+ &.is-4by5
54
+ padding-top: 125%
55
+ &.is-3by4
56
+ padding-top: 133.3333%
57
+ &.is-2by3
58
+ padding-top: 150%
59
+ &.is-3by5
60
+ padding-top: 166.6666%
61
+ &.is-9by16
62
+ padding-top: 177.7777%
63
+ &.is-1by2
64
+ padding-top: 200%
65
+ &.is-1by3
66
+ padding-top: 300%
67
+ // Sizes
68
+ @each $dimension in $dimensions
69
+ &.is-#{$dimension}x#{$dimension}
70
+ height: $dimension * 1px
71
+ width: $dimension * 1px
@@ -0,0 +1,50 @@
1
+ $notification-background-color: $background !default
2
+ $notification-code-background-color: $scheme-main !default
3
+ $notification-radius: $radius !default
4
+ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
5
+ $notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
6
+ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
7
+
8
+ $notification-colors: $colors !default
9
+
10
+ .notification
11
+ @extend %block
12
+ background-color: $notification-background-color
13
+ border-radius: $notification-radius
14
+ position: relative
15
+ +ltr
16
+ padding: $notification-padding-ltr
17
+ +rtl
18
+ padding: $notification-padding-rtl
19
+ a:not(.button):not(.dropdown-item)
20
+ color: currentColor
21
+ text-decoration: underline
22
+ strong
23
+ color: currentColor
24
+ code,
25
+ pre
26
+ background: $notification-code-background-color
27
+ pre code
28
+ background: transparent
29
+ & > .delete
30
+ +ltr-position(0.5rem)
31
+ position: absolute
32
+ top: 0.5rem
33
+ .title,
34
+ .subtitle,
35
+ .content
36
+ color: currentColor
37
+ // Colors
38
+ @each $name, $pair in $notification-colors
39
+ $color: nth($pair, 1)
40
+ $color-invert: nth($pair, 2)
41
+ &.is-#{$name}
42
+ background-color: $color
43
+ color: $color-invert
44
+ // If light and dark colors are provided
45
+ @if length($pair) >= 4
46
+ $color-light: nth($pair, 3)
47
+ $color-dark: nth($pair, 4)
48
+ &.is-light
49
+ background-color: $color-light
50
+ color: $color-dark
@@ -0,0 +1,39 @@
1
+ .block
2
+ @extend %block
3
+
4
+ .delete
5
+ @extend %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
+ @extend %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
+ @extend %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,71 @@
1
+ $progress-bar-background-color: $border-light !default
2
+ $progress-value-background-color: $text !default
3
+ $progress-border-radius: $radius-rounded !default
4
+
5
+ $progress-indeterminate-duration: 1.5s !default
6
+
7
+ $progress-colors: $colors !default
8
+
9
+ .progress
10
+ @extend %block
11
+ -moz-appearance: none
12
+ -webkit-appearance: none
13
+ border: none
14
+ border-radius: $progress-border-radius
15
+ display: block
16
+ height: $size-normal
17
+ overflow: hidden
18
+ padding: 0
19
+ width: 100%
20
+ &::-webkit-progress-bar
21
+ background-color: $progress-bar-background-color
22
+ &::-webkit-progress-value
23
+ background-color: $progress-value-background-color
24
+ &::-moz-progress-bar
25
+ background-color: $progress-value-background-color
26
+ &::-ms-fill
27
+ background-color: $progress-value-background-color
28
+ border: none
29
+ // Colors
30
+ @each $name, $pair in $progress-colors
31
+ $color: nth($pair, 1)
32
+ &.is-#{$name}
33
+ &::-webkit-progress-value
34
+ background-color: $color
35
+ &::-moz-progress-bar
36
+ background-color: $color
37
+ &::-ms-fill
38
+ background-color: $color
39
+ &:indeterminate
40
+ background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
41
+
42
+ &:indeterminate
43
+ animation-duration: $progress-indeterminate-duration
44
+ animation-iteration-count: infinite
45
+ animation-name: moveIndeterminate
46
+ animation-timing-function: linear
47
+ background-color: $progress-bar-background-color
48
+ background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
49
+ background-position: top left
50
+ background-repeat: no-repeat
51
+ background-size: 150% 150%
52
+ &::-webkit-progress-bar
53
+ background-color: transparent
54
+ &::-moz-progress-bar
55
+ background-color: transparent
56
+ &::-ms-fill
57
+ animation-name: none
58
+
59
+ // Sizes
60
+ &.is-small
61
+ height: $size-small
62
+ &.is-medium
63
+ height: $size-medium
64
+ &.is-large
65
+ height: $size-large
66
+
67
+ @keyframes moveIndeterminate
68
+ from
69
+ background-position: 200% 0
70
+ to
71
+ background-position: -200% 0
@@ -0,0 +1,131 @@
1
+ $table-color: $text-strong !default
2
+ $table-background-color: $scheme-main !default
3
+
4
+ $table-cell-border: 1px solid $border !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-head-background-color: transparent !default
15
+ $table-body-background-color: transparent !default
16
+ $table-foot-background-color: transparent !default
17
+
18
+ $table-row-hover-background-color: $scheme-main-bis !default
19
+
20
+ $table-row-active-background-color: $primary !default
21
+ $table-row-active-color: $primary-invert !default
22
+
23
+ $table-striped-row-even-background-color: $scheme-main-bis !default
24
+ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
+
26
+ $table-colors: $colors !default
27
+
28
+ .table
29
+ @extend %block
30
+ background-color: $table-background-color
31
+ color: $table-color
32
+ td,
33
+ th
34
+ border: $table-cell-border
35
+ border-width: $table-cell-border-width
36
+ padding: $table-cell-padding
37
+ vertical-align: top
38
+ // Colors
39
+ @each $name, $pair in $table-colors
40
+ $color: nth($pair, 1)
41
+ $color-invert: nth($pair, 2)
42
+ &.is-#{$name}
43
+ background-color: $color
44
+ border-color: $color
45
+ color: $color-invert
46
+ // Modifiers
47
+ &.is-narrow
48
+ white-space: nowrap
49
+ width: 1%
50
+ &.is-selected
51
+ background-color: $table-row-active-background-color
52
+ color: $table-row-active-color
53
+ a,
54
+ strong
55
+ color: currentColor
56
+ &.is-vcentered
57
+ vertical-align: middle
58
+ th
59
+ color: $table-cell-heading-color
60
+ &:not([align])
61
+ text-align: inherit
62
+ tr
63
+ &.is-selected
64
+ background-color: $table-row-active-background-color
65
+ color: $table-row-active-color
66
+ a,
67
+ strong
68
+ color: currentColor
69
+ td,
70
+ th
71
+ border-color: $table-row-active-color
72
+ color: currentColor
73
+ thead
74
+ background-color: $table-head-background-color
75
+ td,
76
+ th
77
+ border-width: $table-head-cell-border-width
78
+ color: $table-head-cell-color
79
+ tfoot
80
+ background-color: $table-foot-background-color
81
+ td,
82
+ th
83
+ border-width: $table-foot-cell-border-width
84
+ color: $table-foot-cell-color
85
+ tbody
86
+ background-color: $table-body-background-color
87
+ tr
88
+ &:last-child
89
+ td,
90
+ th
91
+ border-bottom-width: 0
92
+ // Modifiers
93
+ &.is-bordered
94
+ td,
95
+ th
96
+ border-width: 1px
97
+ tr
98
+ &:last-child
99
+ td,
100
+ th
101
+ border-bottom-width: 1px
102
+ &.is-fullwidth
103
+ width: 100%
104
+ &.is-hoverable
105
+ tbody
106
+ tr:not(.is-selected)
107
+ &:hover
108
+ background-color: $table-row-hover-background-color
109
+ &.is-striped
110
+ tbody
111
+ tr:not(.is-selected)
112
+ &:hover
113
+ background-color: $table-row-hover-background-color
114
+ &:nth-child(even)
115
+ background-color: $table-striped-row-even-hover-background-color
116
+ &.is-narrow
117
+ td,
118
+ th
119
+ padding: 0.25em 0.5em
120
+ &.is-striped
121
+ tbody
122
+ tr:not(.is-selected)
123
+ &:nth-child(even)
124
+ background-color: $table-striped-row-even-background-color
125
+
126
+ .table-container
127
+ @extend %block
128
+ +overflow-touch
129
+ overflow: auto
130
+ overflow-y: hidden
131
+ max-width: 100%
@@ -0,0 +1,138 @@
1
+ $tag-background-color: $background !default
2
+ $tag-color: $text !default
3
+ $tag-radius: $radius !default
4
+ $tag-delete-margin: 1px !default
5
+
6
+ $tag-colors: $colors !default
7
+
8
+ .tags
9
+ align-items: center
10
+ display: flex
11
+ flex-wrap: wrap
12
+ justify-content: flex-start
13
+ .tag
14
+ margin-bottom: 0.5rem
15
+ &:not(:last-child)
16
+ +ltr-property("margin", 0.5rem)
17
+ &:last-child
18
+ margin-bottom: -0.5rem
19
+ &:not(:last-child)
20
+ margin-bottom: 1rem
21
+ // Sizes
22
+ &.are-medium
23
+ .tag:not(.is-normal):not(.is-large)
24
+ font-size: $size-normal
25
+ &.are-large
26
+ .tag:not(.is-normal):not(.is-medium)
27
+ font-size: $size-medium
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
+ &.has-addons
41
+ .tag
42
+ +ltr-property("margin", 0)
43
+ &:not(:first-child)
44
+ +ltr-property("margin", 0, false)
45
+ +ltr
46
+ border-top-left-radius: 0
47
+ border-bottom-left-radius: 0
48
+ +rtl
49
+ border-top-right-radius: 0
50
+ border-bottom-right-radius: 0
51
+ &:not(:last-child)
52
+ +ltr
53
+ border-top-right-radius: 0
54
+ border-bottom-right-radius: 0
55
+ +rtl
56
+ border-top-left-radius: 0
57
+ border-bottom-left-radius: 0
58
+
59
+ .tag:not(body)
60
+ align-items: center
61
+ background-color: $tag-background-color
62
+ border-radius: $tag-radius
63
+ color: $tag-color
64
+ display: inline-flex
65
+ font-size: $size-small
66
+ height: 2em
67
+ justify-content: center
68
+ line-height: 1.5
69
+ padding-left: 0.75em
70
+ padding-right: 0.75em
71
+ white-space: nowrap
72
+ .delete
73
+ +ltr-property("margin", 0.25rem, false)
74
+ +ltr-property("margin", -0.375rem)
75
+ // Colors
76
+ @each $name, $pair in $tag-colors
77
+ $color: nth($pair, 1)
78
+ $color-invert: nth($pair, 2)
79
+ &.is-#{$name}
80
+ background-color: $color
81
+ color: $color-invert
82
+ // If a light and dark colors are provided
83
+ @if length($pair) > 3
84
+ $color-light: nth($pair, 3)
85
+ $color-dark: nth($pair, 4)
86
+ &.is-light
87
+ background-color: $color-light
88
+ color: $color-dark
89
+ // Sizes
90
+ &.is-normal
91
+ font-size: $size-small
92
+ &.is-medium
93
+ font-size: $size-normal
94
+ &.is-large
95
+ font-size: $size-medium
96
+ .icon
97
+ &:first-child:not(:last-child)
98
+ +ltr-property("margin", -0.375em, false)
99
+ +ltr-property("margin", 0.1875em)
100
+ &:last-child:not(:first-child)
101
+ +ltr-property("margin", 0.1875em, false)
102
+ +ltr-property("margin", -0.375em)
103
+ &:first-child:last-child
104
+ +ltr-property("margin", -0.375em, false)
105
+ +ltr-property("margin", -0.375em)
106
+ // Modifiers
107
+ &.is-delete
108
+ +ltr-property("margin", $tag-delete-margin, false)
109
+ padding: 0
110
+ position: relative
111
+ width: 2em
112
+ &::before,
113
+ &::after
114
+ background-color: currentColor
115
+ content: ""
116
+ display: block
117
+ left: 50%
118
+ position: absolute
119
+ top: 50%
120
+ transform: translateX(-50%) translateY(-50%) rotate(45deg)
121
+ transform-origin: center center
122
+ &::before
123
+ height: 1px
124
+ width: 50%
125
+ &::after
126
+ height: 50%
127
+ width: 1px
128
+ &:hover,
129
+ &:focus
130
+ background-color: darken($tag-background-color, 5%)
131
+ &:active
132
+ background-color: darken($tag-background-color, 10%)
133
+ &.is-rounded
134
+ border-radius: $radius-rounded
135
+
136
+ a.tag
137
+ &:hover
138
+ text-decoration: underline