bulma-clean-theme 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -0
  3. data/_includes/footer-scripts.html +1 -0
  4. data/_includes/head-scripts.html +1 -0
  5. data/_includes/head.html +1 -0
  6. data/_layouts/default.html +4 -1
  7. data/node_modules/.yarn-integrity +1 -1
  8. data/node_modules/bulma/CHANGELOG.md +93 -1
  9. data/node_modules/bulma/README.md +6 -1
  10. data/node_modules/bulma/bulma.sass +2 -1
  11. data/node_modules/bulma/css/bulma.css +1898 -1824
  12. data/node_modules/bulma/css/bulma.css.map +1 -1
  13. data/node_modules/bulma/css/bulma.min.css +1 -1
  14. data/node_modules/bulma/package.json +27 -52
  15. data/node_modules/bulma/sass/base/generic.sass +21 -9
  16. data/node_modules/bulma/sass/base/helpers.sass +5 -0
  17. data/node_modules/bulma/sass/base/minireset.sass +2 -1
  18. data/node_modules/bulma/sass/components/card.sass +10 -5
  19. data/node_modules/bulma/sass/components/dropdown.sass +7 -3
  20. data/node_modules/bulma/sass/components/level.sass +5 -3
  21. data/node_modules/bulma/sass/components/list.sass +3 -3
  22. data/node_modules/bulma/sass/components/menu.sass +15 -8
  23. data/node_modules/bulma/sass/components/message.sass +2 -1
  24. data/node_modules/bulma/sass/components/modal.sass +1 -1
  25. data/node_modules/bulma/sass/components/navbar.sass +16 -1
  26. data/node_modules/bulma/sass/components/pagination.sass +9 -4
  27. data/node_modules/bulma/sass/components/panel.sass +4 -2
  28. data/node_modules/bulma/sass/elements/_all.sass +0 -1
  29. data/node_modules/bulma/sass/elements/button.sass +33 -3
  30. data/node_modules/bulma/sass/elements/container.sass +9 -11
  31. data/node_modules/bulma/sass/elements/content.sass +5 -1
  32. data/node_modules/bulma/sass/elements/form.sass +1 -602
  33. data/node_modules/bulma/sass/elements/progress.sass +15 -13
  34. data/node_modules/bulma/sass/elements/table.sass +2 -1
  35. data/node_modules/bulma/sass/elements/tag.sass +0 -9
  36. data/node_modules/bulma/sass/elements/title.sass +6 -0
  37. data/node_modules/bulma/sass/form/_all.sass +8 -0
  38. data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  39. data/node_modules/bulma/sass/form/file.sass +180 -0
  40. data/node_modules/bulma/sass/form/input-textarea.sass +60 -0
  41. data/node_modules/bulma/sass/form/select.sass +85 -0
  42. data/node_modules/bulma/sass/form/shared.sass +55 -0
  43. data/node_modules/bulma/sass/form/tools.sass +205 -0
  44. data/node_modules/bulma/sass/grid/tiles.sass +8 -6
  45. data/node_modules/bulma/sass/layout/footer.sass +3 -0
  46. data/node_modules/bulma/sass/layout/hero.sass +1 -14
  47. data/node_modules/bulma/sass/utilities/initial-variables.sass +5 -1
  48. data/node_modules/bulma/sass/utilities/mixins.sass +2 -2
  49. metadata +11 -2
@@ -0,0 +1,55 @@
1
+ $input-color: $grey-darker !default
2
+ $input-background-color: $white !default
3
+ $input-border-color: $grey-lighter !default
4
+ $input-height: $control-height !default
5
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1) !default
6
+ $input-placeholder-color: rgba($input-color, 0.3) !default
7
+
8
+ $input-hover-color: $grey-darker !default
9
+ $input-hover-border-color: $grey-light !default
10
+
11
+ $input-focus-color: $grey-darker !default
12
+ $input-focus-border-color: $link !default
13
+ $input-focus-box-shadow-size: 0 0 0 0.125em !default
14
+ $input-focus-box-shadow-color: rgba($link, 0.25) !default
15
+
16
+ $input-disabled-color: $text-light !default
17
+ $input-disabled-background-color: $background !default
18
+ $input-disabled-border-color: $background !default
19
+ $input-disabled-placeholder-color: rgba($input-disabled-color, 0.3) !default
20
+
21
+ $input-arrow: $link !default
22
+
23
+ $input-icon-color: $grey-lighter !default
24
+ $input-icon-active-color: $grey !default
25
+
26
+ $input-radius: $radius !default
27
+
28
+ =input
29
+ @extend %control
30
+ background-color: $input-background-color
31
+ border-color: $input-border-color
32
+ border-radius: $input-radius
33
+ color: $input-color
34
+ +placeholder
35
+ color: $input-placeholder-color
36
+ &:hover,
37
+ &.is-hovered
38
+ border-color: $input-hover-border-color
39
+ &:focus,
40
+ &.is-focused,
41
+ &:active,
42
+ &.is-active
43
+ border-color: $input-focus-border-color
44
+ box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color
45
+ &[disabled],
46
+ fieldset[disabled] &
47
+ background-color: $input-disabled-background-color
48
+ border-color: $input-disabled-border-color
49
+ box-shadow: none
50
+ color: $input-disabled-color
51
+ +placeholder
52
+ color: $input-disabled-placeholder-color
53
+
54
+ %input
55
+ +input
@@ -0,0 +1,205 @@
1
+ $label-color: $grey-darker !default
2
+ $label-weight: $weight-bold !default
3
+
4
+ $help-size: $size-small !default
5
+
6
+ .label
7
+ color: $label-color
8
+ display: block
9
+ font-size: $size-normal
10
+ font-weight: $label-weight
11
+ &:not(:last-child)
12
+ margin-bottom: 0.5em
13
+ // Sizes
14
+ &.is-small
15
+ font-size: $size-small
16
+ &.is-medium
17
+ font-size: $size-medium
18
+ &.is-large
19
+ font-size: $size-large
20
+
21
+ .help
22
+ display: block
23
+ font-size: $help-size
24
+ margin-top: 0.25rem
25
+ @each $name, $pair in $colors
26
+ $color: nth($pair, 1)
27
+ &.is-#{$name}
28
+ color: $color
29
+
30
+ // Containers
31
+
32
+ .field
33
+ &:not(:last-child)
34
+ margin-bottom: 0.75rem
35
+ // Modifiers
36
+ &.has-addons
37
+ display: flex
38
+ justify-content: flex-start
39
+ .control
40
+ &:not(:last-child)
41
+ margin-right: -1px
42
+ &:not(:first-child):not(:last-child)
43
+ .button,
44
+ .input,
45
+ .select select
46
+ border-radius: 0
47
+ &:first-child:not(:only-child)
48
+ .button,
49
+ .input,
50
+ .select select
51
+ border-bottom-right-radius: 0
52
+ border-top-right-radius: 0
53
+ &:last-child:not(:only-child)
54
+ .button,
55
+ .input,
56
+ .select select
57
+ border-bottom-left-radius: 0
58
+ border-top-left-radius: 0
59
+ .button,
60
+ .input,
61
+ .select select
62
+ &:not([disabled])
63
+ &:hover,
64
+ &.is-hovered
65
+ z-index: 2
66
+ &:focus,
67
+ &.is-focused,
68
+ &:active,
69
+ &.is-active
70
+ z-index: 3
71
+ &:hover
72
+ z-index: 4
73
+ &.is-expanded
74
+ flex-grow: 1
75
+ flex-shrink: 1
76
+ &.has-addons-centered
77
+ justify-content: center
78
+ &.has-addons-right
79
+ justify-content: flex-end
80
+ &.has-addons-fullwidth
81
+ .control
82
+ flex-grow: 1
83
+ flex-shrink: 0
84
+ &.is-grouped
85
+ display: flex
86
+ justify-content: flex-start
87
+ & > .control
88
+ flex-shrink: 0
89
+ &:not(:last-child)
90
+ margin-bottom: 0
91
+ margin-right: 0.75rem
92
+ &.is-expanded
93
+ flex-grow: 1
94
+ flex-shrink: 1
95
+ &.is-grouped-centered
96
+ justify-content: center
97
+ &.is-grouped-right
98
+ justify-content: flex-end
99
+ &.is-grouped-multiline
100
+ flex-wrap: wrap
101
+ & > .control
102
+ &:last-child,
103
+ &:not(:last-child)
104
+ margin-bottom: 0.75rem
105
+ &:last-child
106
+ margin-bottom: -0.75rem
107
+ &:not(:last-child)
108
+ margin-bottom: 0
109
+ &.is-horizontal
110
+ +tablet
111
+ display: flex
112
+
113
+ .field-label
114
+ .label
115
+ font-size: inherit
116
+ +mobile
117
+ margin-bottom: 0.5rem
118
+ +tablet
119
+ flex-basis: 0
120
+ flex-grow: 1
121
+ flex-shrink: 0
122
+ margin-right: 1.5rem
123
+ text-align: right
124
+ &.is-small
125
+ font-size: $size-small
126
+ padding-top: 0.375em
127
+ &.is-normal
128
+ padding-top: 0.375em
129
+ &.is-medium
130
+ font-size: $size-medium
131
+ padding-top: 0.375em
132
+ &.is-large
133
+ font-size: $size-large
134
+ padding-top: 0.375em
135
+
136
+ .field-body
137
+ .field .field
138
+ margin-bottom: 0
139
+ +tablet
140
+ display: flex
141
+ flex-basis: 0
142
+ flex-grow: 5
143
+ flex-shrink: 1
144
+ .field
145
+ margin-bottom: 0
146
+ & > .field
147
+ flex-shrink: 1
148
+ &:not(.is-narrow)
149
+ flex-grow: 1
150
+ &:not(:last-child)
151
+ margin-right: 0.75rem
152
+
153
+ .control
154
+ box-sizing: border-box
155
+ clear: both
156
+ font-size: $size-normal
157
+ position: relative
158
+ text-align: left
159
+ // Modifiers
160
+ &.has-icons-left,
161
+ &.has-icons-right
162
+ .input,
163
+ .select
164
+ &:focus
165
+ & ~ .icon
166
+ color: $input-icon-active-color
167
+ &.is-small ~ .icon
168
+ font-size: $size-small
169
+ &.is-medium ~ .icon
170
+ font-size: $size-medium
171
+ &.is-large ~ .icon
172
+ font-size: $size-large
173
+ .icon
174
+ color: $input-icon-color
175
+ height: $input-height
176
+ pointer-events: none
177
+ position: absolute
178
+ top: 0
179
+ width: $input-height
180
+ z-index: 4
181
+ &.has-icons-left
182
+ .input,
183
+ .select select
184
+ padding-left: $input-height
185
+ .icon.is-left
186
+ left: 0
187
+ &.has-icons-right
188
+ .input,
189
+ .select select
190
+ padding-right: $input-height
191
+ .icon.is-right
192
+ right: 0
193
+ &.is-loading
194
+ &::after
195
+ @extend %loader
196
+ position: absolute !important
197
+ right: 0.625em
198
+ top: 0.625em
199
+ z-index: 4
200
+ &.is-small:after
201
+ font-size: $size-small
202
+ &.is-medium:after
203
+ font-size: $size-medium
204
+ &.is-large:after
205
+ font-size: $size-large
@@ -1,3 +1,5 @@
1
+ $tile-spacing: 0.75rem !default
2
+
1
3
  .tile
2
4
  align-items: stretch
3
5
  display: block
@@ -7,17 +9,17 @@
7
9
  min-height: min-content
8
10
  // Modifiers
9
11
  &.is-ancestor
10
- margin-left: -0.75rem
11
- margin-right: -0.75rem
12
- margin-top: -0.75rem
12
+ margin-left: $tile-spacing * -1
13
+ margin-right: $tile-spacing * -1
14
+ margin-top: $tile-spacing * -1
13
15
  &:last-child
14
- margin-bottom: -0.75rem
16
+ margin-bottom: $tile-spacing * -1
15
17
  &:not(:last-child)
16
- margin-bottom: 0.75rem
18
+ margin-bottom: $tile-spacing
17
19
  &.is-child
18
20
  margin: 0 !important
19
21
  &.is-parent
20
- padding: 0.75rem
22
+ padding: $tile-spacing
21
23
  &.is-vertical
22
24
  flex-direction: column
23
25
  & > .tile.is-child:not(:last-child)
@@ -1,6 +1,9 @@
1
1
  $footer-background-color: $white-bis !default
2
+ $footer-color: false !default
2
3
  $footer-padding: 3rem 1.5rem 6rem !default
3
4
 
4
5
  .footer
5
6
  background-color: $footer-background-color
6
7
  padding: $footer-padding
8
+ @if $footer-color
9
+ color: $footer-color
@@ -17,7 +17,7 @@
17
17
  &.is-#{$name}
18
18
  background-color: $color
19
19
  color: $color-invert
20
- a:not(.button):not(.dropdown-item):not(.tag),
20
+ a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current),
21
21
  strong
22
22
  color: inherit
23
23
  .title
@@ -68,19 +68,6 @@
68
68
  +mobile
69
69
  .navbar-menu
70
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
71
  // Sizes
85
72
  &.is-small
86
73
  .hero-body
@@ -43,10 +43,14 @@ $weight-medium: 500 !default
43
43
  $weight-semibold: 600 !default
44
44
  $weight-bold: 700 !default
45
45
 
46
+ // Spacing
47
+
48
+ $block-spacing: 1.5rem !default
49
+
46
50
  // Responsiveness
47
51
 
48
52
  // The container horizontal gap, which acts as the offset for breakpoints
49
- $gap: 64px !default
53
+ $gap: 32px !default
50
54
  // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
51
55
  $tablet: 769px !default
52
56
  // 960px container + 4rem
@@ -159,9 +159,9 @@
159
159
  %arrow
160
160
  +arrow
161
161
 
162
- =block
162
+ =block($spacing: $block-spacing)
163
163
  &:not(:last-child)
164
- margin-bottom: 1.5rem
164
+ margin-bottom: $spacing
165
165
 
166
166
  %block
167
167
  +block
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-clean-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrisrhymes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-28 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -145,8 +145,10 @@ extra_rdoc_files: []
145
145
  files:
146
146
  - LICENSE.txt
147
147
  - README.md
148
+ - _includes/footer-scripts.html
148
149
  - _includes/footer.html
149
150
  - _includes/google-analytics.html
151
+ - _includes/head-scripts.html
150
152
  - _includes/head.html
151
153
  - _includes/header.html
152
154
  - _includes/hero.html
@@ -214,6 +216,13 @@ files:
214
216
  - node_modules/bulma/sass/elements/table.sass
215
217
  - node_modules/bulma/sass/elements/tag.sass
216
218
  - node_modules/bulma/sass/elements/title.sass
219
+ - node_modules/bulma/sass/form/_all.sass
220
+ - node_modules/bulma/sass/form/checkbox-radio.sass
221
+ - node_modules/bulma/sass/form/file.sass
222
+ - node_modules/bulma/sass/form/input-textarea.sass
223
+ - node_modules/bulma/sass/form/select.sass
224
+ - node_modules/bulma/sass/form/shared.sass
225
+ - node_modules/bulma/sass/form/tools.sass
217
226
  - node_modules/bulma/sass/grid/_all.sass
218
227
  - node_modules/bulma/sass/grid/columns.sass
219
228
  - node_modules/bulma/sass/grid/tiles.sass