mere-blog-theme 0.4 → 1.0

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 (185) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +46 -22
  3. data/_includes/author-media.html +23 -20
  4. data/_includes/google-analytics.html +6 -3
  5. data/_includes/head.html +21 -11
  6. data/_includes/hero.html +12 -7
  7. data/_includes/navbar.html +19 -19
  8. data/_includes/pagination.html +41 -21
  9. data/_includes/post-item.html +18 -15
  10. data/_includes/social-buttons.html +25 -26
  11. data/_layouts/author.html +51 -38
  12. data/_layouts/default.html +21 -19
  13. data/_layouts/homepage.html +9 -12
  14. data/_layouts/post.html +29 -28
  15. data/_sass/_intro.scss +6 -4
  16. data/_sass/_layout.scss +29 -18
  17. data/_sass/_main.scss +17 -18
  18. data/_sass/syntax.scss +14 -6
  19. data/assets/css/app.scss +1 -1
  20. data/assets/js/app.js +9 -11
  21. data/node_modules/.package-lock.json +13 -0
  22. data/node_modules/bulma/LICENSE +1 -1
  23. data/node_modules/bulma/README.md +72 -57
  24. data/node_modules/bulma/bulma.scss +4 -0
  25. data/node_modules/bulma/css/bulma.css +18892 -8672
  26. data/node_modules/bulma/css/bulma.css.map +1 -1
  27. data/node_modules/bulma/css/bulma.min.css +3 -1
  28. data/node_modules/bulma/css/versions/bulma-no-dark-mode.css +19648 -0
  29. data/node_modules/bulma/css/versions/bulma-no-dark-mode.css.map +1 -0
  30. data/node_modules/bulma/css/versions/bulma-no-dark-mode.min.css +3 -0
  31. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.css +11136 -0
  32. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.css.map +1 -0
  33. data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.min.css +3 -0
  34. data/node_modules/bulma/css/versions/bulma-no-helpers.css +11136 -0
  35. data/node_modules/bulma/css/versions/bulma-no-helpers.css.map +1 -0
  36. data/node_modules/bulma/css/versions/bulma-no-helpers.min.css +3 -0
  37. data/node_modules/bulma/css/versions/bulma-prefixed.min.css +21551 -0
  38. data/node_modules/bulma/css/versions/bulma-prefixed.min.css.map +1 -0
  39. data/node_modules/bulma/css/versions/bulma-prefixed.min.min.css +3 -0
  40. data/node_modules/bulma/package.json +42 -62
  41. data/node_modules/bulma/sass/_index.scss +10 -0
  42. data/node_modules/bulma/sass/base/_index.scss +6 -0
  43. data/node_modules/bulma/sass/base/animations.scss +15 -0
  44. data/node_modules/bulma/sass/base/generic.scss +239 -0
  45. data/node_modules/bulma/sass/base/minireset.scss +92 -0
  46. data/node_modules/bulma/sass/base/skeleton.scss +114 -0
  47. data/node_modules/bulma/sass/components/_index.scss +13 -0
  48. data/node_modules/bulma/sass/components/breadcrumb.scss +139 -0
  49. data/node_modules/bulma/sass/components/card.scss +162 -0
  50. data/node_modules/bulma/sass/components/dropdown.scss +188 -0
  51. data/node_modules/bulma/sass/components/menu.scss +165 -0
  52. data/node_modules/bulma/sass/components/message.scss +183 -0
  53. data/node_modules/bulma/sass/components/modal.scss +164 -0
  54. data/node_modules/bulma/sass/components/navbar.scss +799 -0
  55. data/node_modules/bulma/sass/components/pagination.scss +379 -0
  56. data/node_modules/bulma/sass/components/panel.scss +218 -0
  57. data/node_modules/bulma/sass/components/tabs.scss +273 -0
  58. data/node_modules/bulma/sass/elements/_index.scss +16 -0
  59. data/node_modules/bulma/sass/elements/block.scss +6 -0
  60. data/node_modules/bulma/sass/elements/box.scss +59 -0
  61. data/node_modules/bulma/sass/elements/button.scss +647 -0
  62. data/node_modules/bulma/sass/elements/content.scss +289 -0
  63. data/node_modules/bulma/sass/elements/delete.scss +6 -0
  64. data/node_modules/bulma/sass/elements/icon.scss +67 -0
  65. data/node_modules/bulma/sass/elements/image.scss +62 -0
  66. data/node_modules/bulma/sass/elements/loader.scss +15 -0
  67. data/node_modules/bulma/sass/elements/notification.scss +105 -0
  68. data/node_modules/bulma/sass/elements/progress.scss +115 -0
  69. data/node_modules/bulma/sass/elements/table.scss +261 -0
  70. data/node_modules/bulma/sass/elements/tag.scss +219 -0
  71. data/node_modules/bulma/sass/elements/title.scss +128 -0
  72. data/node_modules/bulma/sass/form/_index.scss +9 -0
  73. data/node_modules/bulma/sass/form/checkbox-radio.scss +36 -0
  74. data/node_modules/bulma/sass/form/file.scss +330 -0
  75. data/node_modules/bulma/sass/form/input-textarea.scss +113 -0
  76. data/node_modules/bulma/sass/form/select.scss +144 -0
  77. data/node_modules/bulma/sass/form/shared.scss +176 -0
  78. data/node_modules/bulma/sass/form/tools.scss +352 -0
  79. data/node_modules/bulma/sass/grid/_index.scss +5 -0
  80. data/node_modules/bulma/sass/grid/columns.scss +961 -0
  81. data/node_modules/bulma/sass/grid/grid.scss +209 -0
  82. data/node_modules/bulma/sass/helpers/_index.scss +15 -0
  83. data/node_modules/bulma/sass/helpers/aspect-ratio.scss +10 -0
  84. data/node_modules/bulma/sass/helpers/border.scss +15 -0
  85. data/node_modules/bulma/sass/helpers/color.scss +344 -0
  86. data/node_modules/bulma/sass/helpers/flexbox.scss +62 -0
  87. data/node_modules/bulma/sass/helpers/float.scss +28 -0
  88. data/node_modules/bulma/sass/helpers/gap.scss +24 -0
  89. data/node_modules/bulma/sass/helpers/other.scss +19 -0
  90. data/node_modules/bulma/sass/helpers/overflow.scss +21 -0
  91. data/node_modules/bulma/sass/helpers/position.scss +19 -0
  92. data/node_modules/bulma/sass/helpers/spacing.scss +64 -0
  93. data/node_modules/bulma/sass/helpers/typography.scss +168 -0
  94. data/node_modules/bulma/sass/helpers/visibility.scss +221 -0
  95. data/node_modules/bulma/sass/layout/_index.scss +9 -0
  96. data/node_modules/bulma/sass/layout/container.scss +59 -0
  97. data/node_modules/bulma/sass/layout/footer.scss +23 -0
  98. data/node_modules/bulma/sass/layout/hero.scss +270 -0
  99. data/node_modules/bulma/sass/layout/level.scss +107 -0
  100. data/node_modules/bulma/sass/layout/media.scss +106 -0
  101. data/node_modules/bulma/sass/layout/section.scss +38 -0
  102. data/node_modules/bulma/sass/themes/_index.scss +35 -0
  103. data/node_modules/bulma/sass/themes/dark.scss +56 -0
  104. data/node_modules/bulma/sass/themes/light.scss +146 -0
  105. data/node_modules/bulma/sass/themes/setup.scss +174 -0
  106. data/node_modules/bulma/sass/utilities/_index.scss +7 -0
  107. data/node_modules/bulma/sass/utilities/controls.scss +85 -0
  108. data/node_modules/bulma/sass/utilities/css-variables.scss +426 -0
  109. data/node_modules/bulma/sass/utilities/derived-variables.scss +86 -106
  110. data/node_modules/bulma/sass/utilities/extends.scss +34 -0
  111. data/node_modules/bulma/sass/utilities/functions.scss +258 -0
  112. data/node_modules/bulma/sass/utilities/initial-variables.scss +155 -0
  113. data/node_modules/bulma/sass/utilities/mixins.scss +460 -0
  114. data/node_modules/bulma/versions/bulma-no-dark-mode.scss +20 -0
  115. data/node_modules/bulma/versions/bulma-no-helpers-prefixed.scss +13 -0
  116. data/node_modules/bulma/versions/bulma-no-helpers.scss +11 -0
  117. data/node_modules/bulma/versions/bulma-prefixed.scss +6 -0
  118. data/package-lock.json +14 -6
  119. data/package.json +1 -1
  120. metadata +116 -99
  121. data/node_modules/bulma/CHANGELOG.md +0 -1459
  122. data/node_modules/bulma/bulma.sass +0 -10
  123. data/node_modules/bulma/css/bulma-rtl.css +0 -11331
  124. data/node_modules/bulma/css/bulma-rtl.css.map +0 -1
  125. data/node_modules/bulma/css/bulma-rtl.min.css +0 -1
  126. data/node_modules/bulma/sass/base/_all.sass +0 -4
  127. data/node_modules/bulma/sass/base/generic.sass +0 -142
  128. data/node_modules/bulma/sass/base/helpers.sass +0 -1
  129. data/node_modules/bulma/sass/base/minireset.sass +0 -79
  130. data/node_modules/bulma/sass/components/_all.sass +0 -14
  131. data/node_modules/bulma/sass/components/breadcrumb.sass +0 -75
  132. data/node_modules/bulma/sass/components/card.sass +0 -79
  133. data/node_modules/bulma/sass/components/dropdown.sass +0 -81
  134. data/node_modules/bulma/sass/components/level.sass +0 -77
  135. data/node_modules/bulma/sass/components/media.sass +0 -52
  136. data/node_modules/bulma/sass/components/menu.sass +0 -57
  137. data/node_modules/bulma/sass/components/message.sass +0 -99
  138. data/node_modules/bulma/sass/components/modal.sass +0 -113
  139. data/node_modules/bulma/sass/components/navbar.sass +0 -441
  140. data/node_modules/bulma/sass/components/pagination.sass +0 -150
  141. data/node_modules/bulma/sass/components/panel.sass +0 -119
  142. data/node_modules/bulma/sass/components/tabs.sass +0 -174
  143. data/node_modules/bulma/sass/elements/_all.sass +0 -15
  144. data/node_modules/bulma/sass/elements/box.sass +0 -24
  145. data/node_modules/bulma/sass/elements/button.sass +0 -323
  146. data/node_modules/bulma/sass/elements/container.sass +0 -24
  147. data/node_modules/bulma/sass/elements/content.sass +0 -155
  148. data/node_modules/bulma/sass/elements/form.sass +0 -1
  149. data/node_modules/bulma/sass/elements/icon.sass +0 -21
  150. data/node_modules/bulma/sass/elements/image.sass +0 -71
  151. data/node_modules/bulma/sass/elements/notification.sass +0 -48
  152. data/node_modules/bulma/sass/elements/other.sass +0 -39
  153. data/node_modules/bulma/sass/elements/progress.sass +0 -67
  154. data/node_modules/bulma/sass/elements/table.sass +0 -129
  155. data/node_modules/bulma/sass/elements/tag.sass +0 -136
  156. data/node_modules/bulma/sass/elements/title.sass +0 -70
  157. data/node_modules/bulma/sass/form/_all.sass +0 -8
  158. data/node_modules/bulma/sass/form/checkbox-radio.sass +0 -21
  159. data/node_modules/bulma/sass/form/file.sass +0 -180
  160. data/node_modules/bulma/sass/form/input-textarea.sass +0 -64
  161. data/node_modules/bulma/sass/form/select.sass +0 -85
  162. data/node_modules/bulma/sass/form/shared.sass +0 -55
  163. data/node_modules/bulma/sass/form/tools.sass +0 -213
  164. data/node_modules/bulma/sass/grid/_all.sass +0 -4
  165. data/node_modules/bulma/sass/grid/columns.sass +0 -504
  166. data/node_modules/bulma/sass/grid/tiles.sass +0 -34
  167. data/node_modules/bulma/sass/helpers/_all.sass +0 -10
  168. data/node_modules/bulma/sass/helpers/color.sass +0 -37
  169. data/node_modules/bulma/sass/helpers/float.sass +0 -8
  170. data/node_modules/bulma/sass/helpers/other.sass +0 -8
  171. data/node_modules/bulma/sass/helpers/overflow.sass +0 -2
  172. data/node_modules/bulma/sass/helpers/position.sass +0 -5
  173. data/node_modules/bulma/sass/helpers/spacing.sass +0 -28
  174. data/node_modules/bulma/sass/helpers/typography.sass +0 -98
  175. data/node_modules/bulma/sass/helpers/visibility.sass +0 -122
  176. data/node_modules/bulma/sass/layout/_all.sass +0 -5
  177. data/node_modules/bulma/sass/layout/footer.sass +0 -9
  178. data/node_modules/bulma/sass/layout/hero.sass +0 -145
  179. data/node_modules/bulma/sass/layout/section.sass +0 -13
  180. data/node_modules/bulma/sass/utilities/_all.sass +0 -8
  181. data/node_modules/bulma/sass/utilities/animations.sass +0 -5
  182. data/node_modules/bulma/sass/utilities/controls.sass +0 -50
  183. data/node_modules/bulma/sass/utilities/functions.sass +0 -115
  184. data/node_modules/bulma/sass/utilities/initial-variables.sass +0 -78
  185. data/node_modules/bulma/sass/utilities/mixins.sass +0 -285
@@ -1,79 +0,0 @@
1
- /*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
2
- // Blocks
3
- html,
4
- body,
5
- p,
6
- ol,
7
- ul,
8
- li,
9
- dl,
10
- dt,
11
- dd,
12
- blockquote,
13
- figure,
14
- fieldset,
15
- legend,
16
- textarea,
17
- pre,
18
- iframe,
19
- hr,
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6
26
- margin: 0
27
- padding: 0
28
-
29
- // Headings
30
- h1,
31
- h2,
32
- h3,
33
- h4,
34
- h5,
35
- h6
36
- font-size: 100%
37
- font-weight: normal
38
-
39
- // List
40
- ul
41
- list-style: none
42
-
43
- // Form
44
- button,
45
- input,
46
- select,
47
- textarea
48
- margin: 0
49
-
50
- // Box sizing
51
- html
52
- box-sizing: border-box
53
-
54
- *
55
- &,
56
- &::before,
57
- &::after
58
- box-sizing: inherit
59
-
60
- // Media
61
- img,
62
- video
63
- height: auto
64
- max-width: 100%
65
-
66
- // Iframe
67
- iframe
68
- border: 0
69
-
70
- // Table
71
- table
72
- border-collapse: collapse
73
- border-spacing: 0
74
-
75
- td,
76
- th
77
- padding: 0
78
- &:not([align])
79
- text-align: inherit
@@ -1,14 +0,0 @@
1
- @charset "utf-8"
2
-
3
- @import "breadcrumb.sass"
4
- @import "card.sass"
5
- @import "dropdown.sass"
6
- @import "level.sass"
7
- @import "media.sass"
8
- @import "menu.sass"
9
- @import "message.sass"
10
- @import "modal.sass"
11
- @import "navbar.sass"
12
- @import "pagination.sass"
13
- @import "panel.sass"
14
- @import "tabs.sass"
@@ -1,75 +0,0 @@
1
- $breadcrumb-item-color: $link !default
2
- $breadcrumb-item-hover-color: $link-hover !default
3
- $breadcrumb-item-active-color: $text-strong !default
4
-
5
- $breadcrumb-item-padding-vertical: 0 !default
6
- $breadcrumb-item-padding-horizontal: 0.75em !default
7
-
8
- $breadcrumb-item-separator-color: $border-hover !default
9
-
10
- .breadcrumb
11
- @extend %block
12
- @extend %unselectable
13
- font-size: $size-normal
14
- white-space: nowrap
15
- a
16
- align-items: center
17
- color: $breadcrumb-item-color
18
- display: flex
19
- justify-content: center
20
- padding: $breadcrumb-item-padding-vertical $breadcrumb-item-padding-horizontal
21
- &:hover
22
- color: $breadcrumb-item-hover-color
23
- li
24
- align-items: center
25
- display: flex
26
- &:first-child a
27
- +ltr-property("padding", 0, false)
28
- &.is-active
29
- a
30
- color: $breadcrumb-item-active-color
31
- cursor: default
32
- pointer-events: none
33
- & + li::before
34
- color: $breadcrumb-item-separator-color
35
- content: "\0002f"
36
- ul,
37
- ol
38
- align-items: flex-start
39
- display: flex
40
- flex-wrap: wrap
41
- justify-content: flex-start
42
- .icon
43
- &:first-child
44
- +ltr-property("margin", 0.5em)
45
- &:last-child
46
- +ltr-property("margin", 0.5em, false)
47
- // Alignment
48
- &.is-centered
49
- ol,
50
- ul
51
- justify-content: center
52
- &.is-right
53
- ol,
54
- ul
55
- justify-content: flex-end
56
- // Sizes
57
- &.is-small
58
- font-size: $size-small
59
- &.is-medium
60
- font-size: $size-medium
61
- &.is-large
62
- font-size: $size-large
63
- // Styles
64
- &.has-arrow-separator
65
- li + li::before
66
- content: "\02192"
67
- &.has-bullet-separator
68
- li + li::before
69
- content: "\02022"
70
- &.has-dot-separator
71
- li + li::before
72
- content: "\000b7"
73
- &.has-succeeds-separator
74
- li + li::before
75
- content: "\0227B"
@@ -1,79 +0,0 @@
1
- $card-color: $text !default
2
- $card-background-color: $scheme-main !default
3
- $card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
4
-
5
- $card-header-background-color: transparent !default
6
- $card-header-color: $text-strong !default
7
- $card-header-padding: 0.75rem 1rem !default
8
- $card-header-shadow: 0 0.125em 0.25em rgba($scheme-invert, 0.1) !default
9
- $card-header-weight: $weight-bold !default
10
-
11
- $card-content-background-color: transparent !default
12
- $card-content-padding: 1.5rem !default
13
-
14
- $card-footer-background-color: transparent !default
15
- $card-footer-border-top: 1px solid $border-light !default
16
- $card-footer-padding: 0.75rem !default
17
-
18
- $card-media-margin: $block-spacing !default
19
-
20
- .card
21
- background-color: $card-background-color
22
- box-shadow: $card-shadow
23
- color: $card-color
24
- max-width: 100%
25
- position: relative
26
-
27
- .card-header
28
- background-color: $card-header-background-color
29
- align-items: stretch
30
- box-shadow: $card-header-shadow
31
- display: flex
32
-
33
- .card-header-title
34
- align-items: center
35
- color: $card-header-color
36
- display: flex
37
- flex-grow: 1
38
- font-weight: $card-header-weight
39
- padding: $card-header-padding
40
- &.is-centered
41
- justify-content: center
42
-
43
- .card-header-icon
44
- align-items: center
45
- cursor: pointer
46
- display: flex
47
- justify-content: center
48
- padding: $card-header-padding
49
-
50
- .card-image
51
- display: block
52
- position: relative
53
-
54
- .card-content
55
- background-color: $card-content-background-color
56
- padding: $card-content-padding
57
-
58
- .card-footer
59
- background-color: $card-footer-background-color
60
- border-top: $card-footer-border-top
61
- align-items: stretch
62
- display: flex
63
-
64
- .card-footer-item
65
- align-items: center
66
- display: flex
67
- flex-basis: 0
68
- flex-grow: 1
69
- flex-shrink: 0
70
- justify-content: center
71
- padding: $card-footer-padding
72
- &:not(:last-child)
73
- +ltr-property("border", $card-footer-border-top)
74
-
75
- // Combinations
76
-
77
- .card
78
- .media:not(:last-child)
79
- margin-bottom: $card-media-margin
@@ -1,81 +0,0 @@
1
- $dropdown-menu-min-width: 12rem !default
2
-
3
- $dropdown-content-background-color: $scheme-main !default
4
- $dropdown-content-arrow: $link !default
5
- $dropdown-content-offset: 4px !default
6
- $dropdown-content-padding-bottom: 0.5rem !default
7
- $dropdown-content-padding-top: 0.5rem !default
8
- $dropdown-content-radius: $radius !default
9
- $dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
10
- $dropdown-content-z: 20 !default
11
-
12
- $dropdown-item-color: $text !default
13
- $dropdown-item-hover-color: $scheme-invert !default
14
- $dropdown-item-hover-background-color: $background !default
15
- $dropdown-item-active-color: $link-invert !default
16
- $dropdown-item-active-background-color: $link !default
17
-
18
- $dropdown-divider-background-color: $border-light !default
19
-
20
- .dropdown
21
- display: inline-flex
22
- position: relative
23
- vertical-align: top
24
- &.is-active,
25
- &.is-hoverable:hover
26
- .dropdown-menu
27
- display: block
28
- &.is-right
29
- .dropdown-menu
30
- left: auto
31
- right: 0
32
- &.is-up
33
- .dropdown-menu
34
- bottom: 100%
35
- padding-bottom: $dropdown-content-offset
36
- padding-top: initial
37
- top: auto
38
-
39
- .dropdown-menu
40
- display: none
41
- +ltr-position(0, false)
42
- min-width: $dropdown-menu-min-width
43
- padding-top: $dropdown-content-offset
44
- position: absolute
45
- top: 100%
46
- z-index: $dropdown-content-z
47
-
48
- .dropdown-content
49
- background-color: $dropdown-content-background-color
50
- border-radius: $dropdown-content-radius
51
- box-shadow: $dropdown-content-shadow
52
- padding-bottom: $dropdown-content-padding-bottom
53
- padding-top: $dropdown-content-padding-top
54
-
55
- .dropdown-item
56
- color: $dropdown-item-color
57
- display: block
58
- font-size: 0.875rem
59
- line-height: 1.5
60
- padding: 0.375rem 1rem
61
- position: relative
62
-
63
- a.dropdown-item,
64
- button.dropdown-item
65
- +ltr-property("padding", 3rem)
66
- text-align: inherit
67
- white-space: nowrap
68
- width: 100%
69
- &:hover
70
- background-color: $dropdown-item-hover-background-color
71
- color: $dropdown-item-hover-color
72
- &.is-active
73
- background-color: $dropdown-item-active-background-color
74
- color: $dropdown-item-active-color
75
-
76
- .dropdown-divider
77
- background-color: $dropdown-divider-background-color
78
- border: none
79
- display: block
80
- height: 1px
81
- margin: 0.5rem 0
@@ -1,77 +0,0 @@
1
- $level-item-spacing: ($block-spacing / 2) !default
2
-
3
- .level
4
- @extend %block
5
- align-items: center
6
- justify-content: space-between
7
- code
8
- border-radius: $radius
9
- img
10
- display: inline-block
11
- vertical-align: top
12
- // Modifiers
13
- &.is-mobile
14
- display: flex
15
- .level-left,
16
- .level-right
17
- display: flex
18
- .level-left + .level-right
19
- margin-top: 0
20
- .level-item
21
- &:not(:last-child)
22
- margin-bottom: 0
23
- +ltr-property("margin", $level-item-spacing)
24
- &:not(.is-narrow)
25
- flex-grow: 1
26
- // Responsiveness
27
- +tablet
28
- display: flex
29
- & > .level-item
30
- &:not(.is-narrow)
31
- flex-grow: 1
32
-
33
- .level-item
34
- align-items: center
35
- display: flex
36
- flex-basis: auto
37
- flex-grow: 0
38
- flex-shrink: 0
39
- justify-content: center
40
- .title,
41
- .subtitle
42
- margin-bottom: 0
43
- // Responsiveness
44
- +mobile
45
- &:not(:last-child)
46
- margin-bottom: $level-item-spacing
47
-
48
- .level-left,
49
- .level-right
50
- flex-basis: auto
51
- flex-grow: 0
52
- flex-shrink: 0
53
- .level-item
54
- // Modifiers
55
- &.is-flexible
56
- flex-grow: 1
57
- // Responsiveness
58
- +tablet
59
- &:not(:last-child)
60
- +ltr-property("margin", $level-item-spacing)
61
-
62
- .level-left
63
- align-items: center
64
- justify-content: flex-start
65
- // Responsiveness
66
- +mobile
67
- & + .level-right
68
- margin-top: 1.5rem
69
- +tablet
70
- display: flex
71
-
72
- .level-right
73
- align-items: center
74
- justify-content: flex-end
75
- // Responsiveness
76
- +tablet
77
- display: flex
@@ -1,52 +0,0 @@
1
- $media-border-color: bulmaRgba($border, 0.5) !default
2
- $media-spacing: 1rem
3
- $media-spacing-large: 1.5rem
4
-
5
- .media
6
- align-items: flex-start
7
- display: flex
8
- text-align: inherit
9
- .content:not(:last-child)
10
- margin-bottom: 0.75rem
11
- .media
12
- border-top: 1px solid $media-border-color
13
- display: flex
14
- padding-top: 0.75rem
15
- .content:not(:last-child),
16
- .control:not(:last-child)
17
- margin-bottom: 0.5rem
18
- .media
19
- padding-top: 0.5rem
20
- & + .media
21
- margin-top: 0.5rem
22
- & + .media
23
- border-top: 1px solid $media-border-color
24
- margin-top: $media-spacing
25
- padding-top: $media-spacing
26
- // Sizes
27
- &.is-large
28
- & + .media
29
- margin-top: $media-spacing-large
30
- padding-top: $media-spacing-large
31
-
32
- .media-left,
33
- .media-right
34
- flex-basis: auto
35
- flex-grow: 0
36
- flex-shrink: 0
37
-
38
- .media-left
39
- +ltr-property("margin", $media-spacing)
40
-
41
- .media-right
42
- +ltr-property("margin", $media-spacing, false)
43
-
44
- .media-content
45
- flex-basis: auto
46
- flex-grow: 1
47
- flex-shrink: 1
48
- text-align: inherit
49
-
50
- +mobile
51
- .media-content
52
- overflow-x: auto
@@ -1,57 +0,0 @@
1
- $menu-item-color: $text !default
2
- $menu-item-radius: $radius-small !default
3
- $menu-item-hover-color: $text-strong !default
4
- $menu-item-hover-background-color: $background !default
5
- $menu-item-active-color: $link-invert !default
6
- $menu-item-active-background-color: $link !default
7
-
8
- $menu-list-border-left: 1px solid $border !default
9
- $menu-list-line-height: 1.25 !default
10
- $menu-list-link-padding: 0.5em 0.75em !default
11
- $menu-nested-list-margin: 0.75em !default
12
- $menu-nested-list-padding-left: 0.75em !default
13
-
14
- $menu-label-color: $text-light !default
15
- $menu-label-font-size: 0.75em !default
16
- $menu-label-letter-spacing: 0.1em !default
17
- $menu-label-spacing: 1em !default
18
-
19
- .menu
20
- font-size: $size-normal
21
- // Sizes
22
- &.is-small
23
- font-size: $size-small
24
- &.is-medium
25
- font-size: $size-medium
26
- &.is-large
27
- font-size: $size-large
28
-
29
- .menu-list
30
- line-height: $menu-list-line-height
31
- a
32
- border-radius: $menu-item-radius
33
- color: $menu-item-color
34
- display: block
35
- padding: $menu-list-link-padding
36
- &:hover
37
- background-color: $menu-item-hover-background-color
38
- color: $menu-item-hover-color
39
- // Modifiers
40
- &.is-active
41
- background-color: $menu-item-active-background-color
42
- color: $menu-item-active-color
43
- li
44
- ul
45
- +ltr-property("border", $menu-list-border-left, false)
46
- margin: $menu-nested-list-margin
47
- +ltr-property("padding", $menu-nested-list-padding-left, false)
48
-
49
- .menu-label
50
- color: $menu-label-color
51
- font-size: $menu-label-font-size
52
- letter-spacing: $menu-label-letter-spacing
53
- text-transform: uppercase
54
- &:not(:first-child)
55
- margin-top: $menu-label-spacing
56
- &:not(:last-child)
57
- margin-bottom: $menu-label-spacing
@@ -1,99 +0,0 @@
1
- $message-background-color: $background !default
2
- $message-radius: $radius !default
3
-
4
- $message-header-background-color: $text !default
5
- $message-header-color: $text-invert !default
6
- $message-header-weight: $weight-bold !default
7
- $message-header-padding: 0.75em 1em !default
8
- $message-header-radius: $radius !default
9
-
10
- $message-body-border-color: $border !default
11
- $message-body-border-width: 0 0 0 4px !default
12
- $message-body-color: $text !default
13
- $message-body-padding: 1.25em 1.5em !default
14
- $message-body-radius: $radius !default
15
-
16
- $message-body-pre-background-color: $scheme-main !default
17
- $message-body-pre-code-background-color: transparent !default
18
-
19
- $message-header-body-border-width: 0 !default
20
- $message-colors: $colors !default
21
-
22
- .message
23
- @extend %block
24
- background-color: $message-background-color
25
- border-radius: $message-radius
26
- font-size: $size-normal
27
- strong
28
- color: currentColor
29
- a:not(.button):not(.tag):not(.dropdown-item)
30
- color: currentColor
31
- text-decoration: underline
32
- // Sizes
33
- &.is-small
34
- font-size: $size-small
35
- &.is-medium
36
- font-size: $size-medium
37
- &.is-large
38
- font-size: $size-large
39
- // Colors
40
- @each $name, $components in $message-colors
41
- $color: nth($components, 1)
42
- $color-invert: nth($components, 2)
43
- $color-light: null
44
- $color-dark: null
45
-
46
- @if length($components) >= 3
47
- $color-light: nth($components, 3)
48
- @if length($components) >= 4
49
- $color-dark: nth($components, 4)
50
- @else
51
- $color-luminance: colorLuminance($color)
52
- $darken-percentage: $color-luminance * 70%
53
- $desaturate-percentage: $color-luminance * 30%
54
- $color-dark: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
55
- @else
56
- $color-lightning: max((100% - lightness($color)) - 2%, 0%)
57
- $color-light: lighten($color, $color-lightning)
58
-
59
- &.is-#{$name}
60
- background-color: $color-light
61
- .message-header
62
- background-color: $color
63
- color: $color-invert
64
- .message-body
65
- border-color: $color
66
- color: $color-dark
67
-
68
- .message-header
69
- align-items: center
70
- background-color: $message-header-background-color
71
- border-radius: $message-header-radius $message-header-radius 0 0
72
- color: $message-header-color
73
- display: flex
74
- font-weight: $message-header-weight
75
- justify-content: space-between
76
- line-height: 1.25
77
- padding: $message-header-padding
78
- position: relative
79
- .delete
80
- flex-grow: 0
81
- flex-shrink: 0
82
- +ltr-property("margin", 0.75em, false)
83
- & + .message-body
84
- border-width: $message-header-body-border-width
85
- border-top-left-radius: 0
86
- border-top-right-radius: 0
87
-
88
- .message-body
89
- border-color: $message-body-border-color
90
- border-radius: $message-body-radius
91
- border-style: solid
92
- border-width: $message-body-border-width
93
- color: $message-body-color
94
- padding: $message-body-padding
95
- code,
96
- pre
97
- background-color: $message-body-pre-background-color
98
- pre code
99
- background-color: $message-body-pre-code-background-color