mere-blog-theme 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -9
  3. data/_includes/navbar.html +0 -1
  4. data/_layouts/homepage.html +2 -6
  5. data/node_modules/bulma/CHANGELOG.md +207 -2
  6. data/node_modules/bulma/LICENSE +1 -1
  7. data/node_modules/bulma/README.md +15 -9
  8. data/node_modules/bulma/bulma.sass +2 -1
  9. data/node_modules/bulma/css/bulma-rtl.css +11331 -0
  10. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  11. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  12. data/node_modules/bulma/css/bulma.css +6975 -6243
  13. data/node_modules/bulma/css/bulma.css.map +1 -1
  14. data/node_modules/bulma/css/bulma.min.css +1 -1
  15. data/node_modules/bulma/package.json +23 -19
  16. data/node_modules/bulma/sass/base/_all.sass +0 -1
  17. data/node_modules/bulma/sass/base/generic.sass +2 -2
  18. data/node_modules/bulma/sass/base/helpers.sass +1 -281
  19. data/node_modules/bulma/sass/base/minireset.sass +2 -8
  20. data/node_modules/bulma/sass/components/_all.sass +0 -1
  21. data/node_modules/bulma/sass/components/breadcrumb.sass +4 -4
  22. data/node_modules/bulma/sass/components/card.sass +6 -6
  23. data/node_modules/bulma/sass/components/dropdown.sass +8 -8
  24. data/node_modules/bulma/sass/components/level.sass +2 -2
  25. data/node_modules/bulma/sass/components/media.sass +14 -10
  26. data/node_modules/bulma/sass/components/menu.sass +2 -2
  27. data/node_modules/bulma/sass/components/message.sass +23 -11
  28. data/node_modules/bulma/sass/components/modal.sass +4 -4
  29. data/node_modules/bulma/sass/components/navbar.sass +24 -26
  30. data/node_modules/bulma/sass/components/pagination.sass +7 -6
  31. data/node_modules/bulma/sass/components/panel.sass +29 -13
  32. data/node_modules/bulma/sass/components/tabs.sass +36 -13
  33. data/node_modules/bulma/sass/elements/box.sass +4 -4
  34. data/node_modules/bulma/sass/elements/button.sass +46 -28
  35. data/node_modules/bulma/sass/elements/container.sass +5 -4
  36. data/node_modules/bulma/sass/elements/content.sass +5 -5
  37. data/node_modules/bulma/sass/elements/image.sass +2 -0
  38. data/node_modules/bulma/sass/elements/notification.sass +16 -3
  39. data/node_modules/bulma/sass/elements/progress.sass +1 -1
  40. data/node_modules/bulma/sass/elements/table.sass +9 -7
  41. data/node_modules/bulma/sass/elements/tag.sass +31 -16
  42. data/node_modules/bulma/sass/elements/title.sass +3 -3
  43. data/node_modules/bulma/sass/form/checkbox-radio.sass +1 -1
  44. data/node_modules/bulma/sass/form/file.sass +13 -13
  45. data/node_modules/bulma/sass/form/input-textarea.sass +10 -6
  46. data/node_modules/bulma/sass/form/select.sass +6 -6
  47. data/node_modules/bulma/sass/form/shared.sass +12 -12
  48. data/node_modules/bulma/sass/form/tools.sass +19 -11
  49. data/node_modules/bulma/sass/helpers/_all.sass +10 -0
  50. data/node_modules/bulma/sass/helpers/color.sass +37 -0
  51. data/node_modules/bulma/sass/helpers/float.sass +8 -0
  52. data/node_modules/bulma/sass/helpers/other.sass +8 -0
  53. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  54. data/node_modules/bulma/sass/helpers/position.sass +5 -0
  55. data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
  56. data/node_modules/bulma/sass/helpers/typography.sass +98 -0
  57. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  58. data/node_modules/bulma/sass/layout/footer.sass +1 -1
  59. data/node_modules/bulma/sass/layout/hero.sass +22 -20
  60. data/node_modules/bulma/sass/utilities/_all.sass +1 -1
  61. data/node_modules/bulma/sass/utilities/controls.sass +3 -3
  62. data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
  63. data/node_modules/bulma/sass/utilities/functions.sass +68 -15
  64. data/node_modules/bulma/sass/utilities/initial-variables.sass +5 -3
  65. data/node_modules/bulma/sass/utilities/mixins.sass +29 -5
  66. data/package-lock.json +3 -3
  67. data/package.json +1 -1
  68. metadata +16 -5
  69. data/node_modules/bulma/sass/components/list.sass +0 -39
  70. data/node_modules/bulma/sass/utilities/derived-variables.sass +0 -85
@@ -1,4 +1,4 @@
1
- $progress-bar-background-color: $border !default
1
+ $progress-bar-background-color: $border-light !default
2
2
  $progress-value-background-color: $text !default
3
3
  $progress-border-radius: $radius-rounded !default
4
4
 
@@ -1,7 +1,7 @@
1
- $table-color: $grey-darker !default
2
- $table-background-color: $white !default
1
+ $table-color: $text-strong !default
2
+ $table-background-color: $scheme-main !default
3
3
 
4
- $table-cell-border: 1px solid $grey-lighter !default
4
+ $table-cell-border: 1px solid $border !default
5
5
  $table-cell-border-width: 0 0 1px !default
6
6
  $table-cell-padding: 0.5em 0.75em !default
7
7
  $table-cell-heading-color: $text-strong !default
@@ -15,13 +15,13 @@ $table-head-background-color: transparent !default
15
15
  $table-body-background-color: transparent !default
16
16
  $table-foot-background-color: transparent !default
17
17
 
18
- $table-row-hover-background-color: $white-bis !default
18
+ $table-row-hover-background-color: $scheme-main-bis !default
19
19
 
20
20
  $table-row-active-background-color: $primary !default
21
21
  $table-row-active-color: $primary-invert !default
22
22
 
23
- $table-striped-row-even-background-color: $white-bis !default
24
- $table-striped-row-even-hover-background-color: $white-ter !default
23
+ $table-striped-row-even-background-color: $scheme-main-bis !default
24
+ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
25
 
26
26
  .table
27
27
  @extend %block
@@ -51,10 +51,12 @@ $table-striped-row-even-hover-background-color: $white-ter !default
51
51
  a,
52
52
  strong
53
53
  color: currentColor
54
+ &.is-vcentered
55
+ vertical-align: middle
54
56
  th
55
57
  color: $table-cell-heading-color
56
58
  &:not([align])
57
- text-align: left
59
+ text-align: inherit
58
60
  tr
59
61
  &.is-selected
60
62
  background-color: $table-row-active-background-color
@@ -11,7 +11,7 @@ $tag-delete-margin: 1px !default
11
11
  .tag
12
12
  margin-bottom: 0.5rem
13
13
  &:not(:last-child)
14
- margin-right: 0.5rem
14
+ +ltr-property("margin", 0.5rem)
15
15
  &:last-child
16
16
  margin-bottom: -0.5rem
17
17
  &:not(:last-child)
@@ -37,14 +37,22 @@ $tag-delete-margin: 1px !default
37
37
  margin-right: 0
38
38
  &.has-addons
39
39
  .tag
40
- margin-right: 0
40
+ +ltr-property("margin", 0)
41
41
  &:not(:first-child)
42
- margin-left: 0
43
- border-bottom-left-radius: 0
44
- border-top-left-radius: 0
42
+ +ltr-property("margin", 0, false)
43
+ +ltr
44
+ border-top-left-radius: 0
45
+ border-bottom-left-radius: 0
46
+ +rtl
47
+ border-top-right-radius: 0
48
+ border-bottom-right-radius: 0
45
49
  &:not(:last-child)
46
- border-bottom-right-radius: 0
47
- border-top-right-radius: 0
50
+ +ltr
51
+ border-top-right-radius: 0
52
+ border-bottom-right-radius: 0
53
+ +rtl
54
+ border-top-left-radius: 0
55
+ border-bottom-left-radius: 0
48
56
 
49
57
  .tag:not(body)
50
58
  align-items: center
@@ -60,8 +68,8 @@ $tag-delete-margin: 1px !default
60
68
  padding-right: 0.75em
61
69
  white-space: nowrap
62
70
  .delete
63
- margin-left: 0.25rem
64
- margin-right: -0.375rem
71
+ +ltr-property("margin", 0.25rem, false)
72
+ +ltr-property("margin", -0.375rem)
65
73
  // Colors
66
74
  @each $name, $pair in $colors
67
75
  $color: nth($pair, 1)
@@ -69,6 +77,13 @@ $tag-delete-margin: 1px !default
69
77
  &.is-#{$name}
70
78
  background-color: $color
71
79
  color: $color-invert
80
+ // If a light and dark colors are provided
81
+ @if length($pair) > 3
82
+ $color-light: nth($pair, 3)
83
+ $color-dark: nth($pair, 4)
84
+ &.is-light
85
+ background-color: $color-light
86
+ color: $color-dark
72
87
  // Sizes
73
88
  &.is-normal
74
89
  font-size: $size-small
@@ -78,17 +93,17 @@ $tag-delete-margin: 1px !default
78
93
  font-size: $size-medium
79
94
  .icon
80
95
  &:first-child:not(:last-child)
81
- margin-left: -0.375em
82
- margin-right: 0.1875em
96
+ +ltr-property("margin", -0.375em, false)
97
+ +ltr-property("margin", 0.1875em)
83
98
  &:last-child:not(:first-child)
84
- margin-left: 0.1875em
85
- margin-right: -0.375em
99
+ +ltr-property("margin", 0.1875em, false)
100
+ +ltr-property("margin", -0.375em)
86
101
  &:first-child:last-child
87
- margin-left: -0.375em
88
- margin-right: -0.375em
102
+ +ltr-property("margin", -0.375em, false)
103
+ +ltr-property("margin", -0.375em)
89
104
  // Modifiers
90
105
  &.is-delete
91
- margin-left: $tag-delete-margin
106
+ +ltr-property("margin", $tag-delete-margin, false)
92
107
  padding: 0
93
108
  position: relative
94
109
  width: 2em
@@ -1,4 +1,4 @@
1
- $title-color: $grey-darker !default
1
+ $title-color: $text-strong !default
2
2
  $title-family: false !default
3
3
  $title-size: $size-3 !default
4
4
  $title-weight: $weight-semibold !default
@@ -8,12 +8,12 @@ $title-strong-weight: inherit !default
8
8
  $title-sub-size: 0.75em !default
9
9
  $title-sup-size: 0.75em !default
10
10
 
11
- $subtitle-color: $grey-dark !default
11
+ $subtitle-color: $text !default
12
12
  $subtitle-family: false !default
13
13
  $subtitle-size: $size-5 !default
14
14
  $subtitle-weight: $weight-normal !default
15
15
  $subtitle-line-height: 1.25 !default
16
- $subtitle-strong-color: $grey-darker !default
16
+ $subtitle-strong-color: $text-strong !default
17
17
  $subtitle-strong-weight: $weight-semibold !default
18
18
  $subtitle-negative-margin: -1.25rem !default
19
19
 
@@ -18,4 +18,4 @@
18
18
  .radio
19
19
  @extend %checkbox-radio
20
20
  & + .radio
21
- margin-left: 0.5em
21
+ +ltr-property("margin", 0.5em, false)
@@ -1,10 +1,10 @@
1
1
  $file-border-color: $border !default
2
2
  $file-radius: $radius !default
3
3
 
4
- $file-cta-background-color: $white-ter !default
5
- $file-cta-color: $grey-dark !default
6
- $file-cta-hover-color: $grey-darker !default
7
- $file-cta-active-color: $grey-darker !default
4
+ $file-cta-background-color: $scheme-main-ter !default
5
+ $file-cta-color: $text !default
6
+ $file-cta-hover-color: $text-strong !default
7
+ $file-cta-active-color: $text-strong !default
8
8
 
9
9
  $file-name-border-color: $border !default
10
10
  $file-name-border-style: solid !default
@@ -29,19 +29,19 @@ $file-name-max-width: 16em !default
29
29
  &:hover,
30
30
  &.is-hovered
31
31
  .file-cta
32
- background-color: darken($color, 2.5%)
32
+ background-color: bulmaDarken($color, 2.5%)
33
33
  border-color: transparent
34
34
  color: $color-invert
35
35
  &:focus,
36
36
  &.is-focused
37
37
  .file-cta
38
38
  border-color: transparent
39
- box-shadow: 0 0 0.5em rgba($color, 0.25)
39
+ box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
40
40
  color: $color-invert
41
41
  &:active,
42
42
  &.is-active
43
43
  .file-cta
44
- background-color: darken($color, 5%)
44
+ background-color: bulmaDarken($color, 5%)
45
45
  border-color: transparent
46
46
  color: $color-invert
47
47
  // Sizes
@@ -125,16 +125,16 @@ $file-name-max-width: 16em !default
125
125
  position: relative
126
126
  &:hover
127
127
  .file-cta
128
- background-color: darken($file-cta-background-color, 2.5%)
128
+ background-color: bulmaDarken($file-cta-background-color, 2.5%)
129
129
  color: $file-cta-hover-color
130
130
  .file-name
131
- border-color: darken($file-name-border-color, 2.5%)
131
+ border-color: bulmaDarken($file-name-border-color, 2.5%)
132
132
  &:active
133
133
  .file-cta
134
- background-color: darken($file-cta-background-color, 5%)
134
+ background-color: bulmaDarken($file-cta-background-color, 5%)
135
135
  color: $file-cta-active-color
136
136
  .file-name
137
- border-color: darken($file-name-border-color, 5%)
137
+ border-color: bulmaDarken($file-name-border-color, 5%)
138
138
 
139
139
  .file-input
140
140
  height: 100%
@@ -166,7 +166,7 @@ $file-name-max-width: 16em !default
166
166
  display: block
167
167
  max-width: $file-name-max-width
168
168
  overflow: hidden
169
- text-align: left
169
+ text-align: inherit
170
170
  text-overflow: ellipsis
171
171
 
172
172
  .file-icon
@@ -174,7 +174,7 @@ $file-name-max-width: 16em !default
174
174
  display: flex
175
175
  height: 1em
176
176
  justify-content: center
177
- margin-right: 0.5em
177
+ +ltr-property("margin", 0.5em)
178
178
  width: 1em
179
179
  .fa
180
180
  font-size: 14px
@@ -1,3 +1,7 @@
1
+ $textarea-padding: $control-padding-horizontal !default
2
+ $textarea-max-height: 40em !default
3
+ $textarea-min-height: 8em !default
4
+
1
5
  %input-textarea
2
6
  @extend %input
3
7
  box-shadow: $input-shadow
@@ -14,7 +18,7 @@
14
18
  &.is-focused,
15
19
  &:active,
16
20
  &.is-active
17
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
21
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
18
22
  // Sizes
19
23
  &.is-small
20
24
  +control-small
@@ -34,8 +38,8 @@
34
38
  @extend %input-textarea
35
39
  &.is-rounded
36
40
  border-radius: $radius-rounded
37
- padding-left: 1em
38
- padding-right: 1em
41
+ padding-left: calc(#{$control-padding-horizontal} + 0.375em)
42
+ padding-right: calc(#{$control-padding-horizontal} + 0.375em)
39
43
  &.is-static
40
44
  background-color: transparent
41
45
  border-color: transparent
@@ -48,11 +52,11 @@
48
52
  display: block
49
53
  max-width: 100%
50
54
  min-width: 100%
51
- padding: 0.625em
55
+ padding: $textarea-padding
52
56
  resize: vertical
53
57
  &:not([rows])
54
- max-height: 600px
55
- min-height: 120px
58
+ max-height: $textarea-max-height
59
+ min-height: $textarea-min-height
56
60
  &[rows]
57
61
  height: initial
58
62
  // Modifiers
@@ -9,12 +9,12 @@
9
9
  &::after
10
10
  @extend %arrow
11
11
  border-color: $input-arrow
12
- right: 1.125em
12
+ +ltr-position(1.125em)
13
13
  z-index: 4
14
14
  &.is-rounded
15
15
  select
16
16
  border-radius: $radius-rounded
17
- padding-left: 1em
17
+ +ltr-property("padding", 1em, false)
18
18
  select
19
19
  @extend %input
20
20
  cursor: pointer
@@ -28,7 +28,7 @@
28
28
  fieldset[disabled] &:hover
29
29
  border-color: $input-disabled-border-color
30
30
  &:not([multiple])
31
- padding-right: 2.5em
31
+ +ltr-property("padding", 2.5em)
32
32
  &[multiple]
33
33
  height: auto
34
34
  padding: 0
@@ -48,12 +48,12 @@
48
48
  border-color: $color
49
49
  &:hover,
50
50
  &.is-hovered
51
- border-color: darken($color, 5%)
51
+ border-color: bulmaDarken($color, 5%)
52
52
  &:focus,
53
53
  &.is-focused,
54
54
  &:active,
55
55
  &.is-active
56
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
56
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
57
57
  // Sizes
58
58
  &.is-small
59
59
  +control-small
@@ -74,7 +74,7 @@
74
74
  @extend %loader
75
75
  margin-top: 0
76
76
  position: absolute
77
- right: 0.625em
77
+ +ltr-position(0.625em)
78
78
  top: 0.625em
79
79
  transform: none
80
80
  &.is-small:after
@@ -1,27 +1,27 @@
1
- $input-color: $grey-darker !default
2
- $input-background-color: $white !default
3
- $input-border-color: $grey-lighter !default
1
+ $input-color: $text-strong !default
2
+ $input-background-color: $scheme-main !default
3
+ $input-border-color: $border !default
4
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
5
+ $input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
6
+ $input-placeholder-color: bulmaRgba($input-color, 0.3) !default
7
7
 
8
- $input-hover-color: $grey-darker !default
9
- $input-hover-border-color: $grey-light !default
8
+ $input-hover-color: $text-strong !default
9
+ $input-hover-border-color: $border-hover !default
10
10
 
11
- $input-focus-color: $grey-darker !default
11
+ $input-focus-color: $text-strong !default
12
12
  $input-focus-border-color: $link !default
13
13
  $input-focus-box-shadow-size: 0 0 0 0.125em !default
14
- $input-focus-box-shadow-color: rgba($link, 0.25) !default
14
+ $input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
15
15
 
16
16
  $input-disabled-color: $text-light !default
17
17
  $input-disabled-background-color: $background !default
18
18
  $input-disabled-border-color: $background !default
19
- $input-disabled-placeholder-color: rgba($input-disabled-color, 0.3) !default
19
+ $input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
20
20
 
21
21
  $input-arrow: $link !default
22
22
 
23
- $input-icon-color: $grey-lighter !default
24
- $input-icon-active-color: $grey !default
23
+ $input-icon-color: $border !default
24
+ $input-icon-active-color: $text !default
25
25
 
26
26
  $input-radius: $radius !default
27
27
 
@@ -1,4 +1,4 @@
1
- $label-color: $grey-darker !default
1
+ $label-color: $text-strong !default
2
2
  $label-weight: $weight-bold !default
3
3
 
4
4
  $help-size: $size-small !default
@@ -38,7 +38,7 @@ $help-size: $size-small !default
38
38
  justify-content: flex-start
39
39
  .control
40
40
  &:not(:last-child)
41
- margin-right: -1px
41
+ +ltr-property("margin", -1px)
42
42
  &:not(:first-child):not(:last-child)
43
43
  .button,
44
44
  .input,
@@ -48,14 +48,22 @@ $help-size: $size-small !default
48
48
  .button,
49
49
  .input,
50
50
  .select select
51
- border-bottom-right-radius: 0
52
- border-top-right-radius: 0
51
+ +ltr
52
+ border-bottom-right-radius: 0
53
+ border-top-right-radius: 0
54
+ +rtl
55
+ border-bottom-left-radius: 0
56
+ border-top-left-radius: 0
53
57
  &:last-child:not(:only-child)
54
58
  .button,
55
59
  .input,
56
60
  .select select
57
- border-bottom-left-radius: 0
58
- border-top-left-radius: 0
61
+ +ltr
62
+ border-bottom-left-radius: 0
63
+ border-top-left-radius: 0
64
+ +rtl
65
+ border-bottom-right-radius: 0
66
+ border-top-right-radius: 0
59
67
  .button,
60
68
  .input,
61
69
  .select select
@@ -88,7 +96,7 @@ $help-size: $size-small !default
88
96
  flex-shrink: 0
89
97
  &:not(:last-child)
90
98
  margin-bottom: 0
91
- margin-right: 0.75rem
99
+ +ltr-property("margin", 0.75rem)
92
100
  &.is-expanded
93
101
  flex-grow: 1
94
102
  flex-shrink: 1
@@ -119,7 +127,7 @@ $help-size: $size-small !default
119
127
  flex-basis: 0
120
128
  flex-grow: 1
121
129
  flex-shrink: 0
122
- margin-right: 1.5rem
130
+ +ltr-property("margin", 1.5rem)
123
131
  text-align: right
124
132
  &.is-small
125
133
  font-size: $size-small
@@ -148,14 +156,14 @@ $help-size: $size-small !default
148
156
  &:not(.is-narrow)
149
157
  flex-grow: 1
150
158
  &:not(:last-child)
151
- margin-right: 0.75rem
159
+ +ltr-property("margin", 0.75rem)
152
160
 
153
161
  .control
154
162
  box-sizing: border-box
155
163
  clear: both
156
164
  font-size: $size-normal
157
165
  position: relative
158
- text-align: left
166
+ text-align: inherit
159
167
  // Modifiers
160
168
  &.has-icons-left,
161
169
  &.has-icons-right
@@ -194,7 +202,7 @@ $help-size: $size-small !default
194
202
  &::after
195
203
  @extend %loader
196
204
  position: absolute !important
197
- right: 0.625em
205
+ +ltr-position(0.625em)
198
206
  top: 0.625em
199
207
  z-index: 4
200
208
  &.is-small:after