intia-theme 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_main.scss +13 -11
  3. data/favicon.png +0 -0
  4. data/node_modules/bulma/CHANGELOG.md +1558 -0
  5. data/node_modules/bulma/LICENSE +21 -0
  6. data/node_modules/bulma/README.md +134 -0
  7. data/node_modules/bulma/bulma.sass +10 -0
  8. data/node_modules/bulma/css/bulma-rtl.css +11811 -0
  9. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  10. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  11. data/node_modules/bulma/css/bulma.css +11811 -0
  12. data/node_modules/bulma/css/bulma.css.map +1 -0
  13. data/node_modules/bulma/css/bulma.min.css +1 -0
  14. data/node_modules/bulma/package.json +82 -0
  15. data/node_modules/bulma/sass/base/_all.sass +6 -0
  16. data/node_modules/bulma/sass/base/animations.sass +5 -0
  17. data/node_modules/bulma/sass/base/generic.sass +145 -0
  18. data/node_modules/bulma/sass/base/helpers.sass +1 -0
  19. data/node_modules/bulma/sass/base/minireset.sass +79 -0
  20. data/node_modules/bulma/sass/components/_all.sass +15 -0
  21. data/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
  22. data/node_modules/bulma/sass/components/card.sass +103 -0
  23. data/node_modules/bulma/sass/components/dropdown.sass +83 -0
  24. data/node_modules/bulma/sass/components/level.sass +79 -0
  25. data/node_modules/bulma/sass/components/media.sass +59 -0
  26. data/node_modules/bulma/sass/components/menu.sass +59 -0
  27. data/node_modules/bulma/sass/components/message.sass +101 -0
  28. data/node_modules/bulma/sass/components/modal.sass +117 -0
  29. data/node_modules/bulma/sass/components/navbar.sass +446 -0
  30. data/node_modules/bulma/sass/components/pagination.sass +166 -0
  31. data/node_modules/bulma/sass/components/panel.sass +121 -0
  32. data/node_modules/bulma/sass/components/tabs.sass +176 -0
  33. data/node_modules/bulma/sass/elements/_all.sass +16 -0
  34. data/node_modules/bulma/sass/elements/box.sass +26 -0
  35. data/node_modules/bulma/sass/elements/button.sass +345 -0
  36. data/node_modules/bulma/sass/elements/container.sass +29 -0
  37. data/node_modules/bulma/sass/elements/content.sass +159 -0
  38. data/node_modules/bulma/sass/elements/form.sass +1 -0
  39. data/node_modules/bulma/sass/elements/icon.sass +46 -0
  40. data/node_modules/bulma/sass/elements/image.sass +73 -0
  41. data/node_modules/bulma/sass/elements/notification.sass +52 -0
  42. data/node_modules/bulma/sass/elements/other.sass +31 -0
  43. data/node_modules/bulma/sass/elements/progress.sass +73 -0
  44. data/node_modules/bulma/sass/elements/table.sass +133 -0
  45. data/node_modules/bulma/sass/elements/tag.sass +140 -0
  46. data/node_modules/bulma/sass/elements/title.sass +70 -0
  47. data/node_modules/bulma/sass/form/_all.sass +9 -0
  48. data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
  49. data/node_modules/bulma/sass/form/file.sass +184 -0
  50. data/node_modules/bulma/sass/form/input-textarea.sass +66 -0
  51. data/node_modules/bulma/sass/form/select.sass +87 -0
  52. data/node_modules/bulma/sass/form/shared.sass +60 -0
  53. data/node_modules/bulma/sass/form/tools.sass +215 -0
  54. data/node_modules/bulma/sass/grid/_all.sass +5 -0
  55. data/node_modules/bulma/sass/grid/columns.sass +513 -0
  56. data/node_modules/bulma/sass/grid/tiles.sass +36 -0
  57. data/node_modules/bulma/sass/helpers/_all.sass +12 -0
  58. data/node_modules/bulma/sass/helpers/color.sass +39 -0
  59. data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
  60. data/node_modules/bulma/sass/helpers/float.sass +10 -0
  61. data/node_modules/bulma/sass/helpers/other.sass +14 -0
  62. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  63. data/node_modules/bulma/sass/helpers/position.sass +7 -0
  64. data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
  65. data/node_modules/bulma/sass/helpers/typography.sass +103 -0
  66. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  67. data/node_modules/bulma/sass/layout/_all.sass +6 -0
  68. data/node_modules/bulma/sass/layout/footer.sass +11 -0
  69. data/node_modules/bulma/sass/layout/hero.sass +153 -0
  70. data/node_modules/bulma/sass/layout/section.sass +17 -0
  71. data/node_modules/bulma/sass/utilities/_all.sass +9 -0
  72. data/node_modules/bulma/sass/utilities/animations.sass +1 -0
  73. data/node_modules/bulma/sass/utilities/controls.sass +49 -0
  74. data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -0
  75. data/node_modules/bulma/sass/utilities/extends.sass +25 -0
  76. data/node_modules/bulma/sass/utilities/functions.sass +136 -0
  77. data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
  78. data/node_modules/bulma/sass/utilities/mixins.sass +280 -0
  79. data/node_modules/bulma-block-list/LICENSE.txt +21 -0
  80. data/node_modules/bulma-block-list/README.md +32 -0
  81. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
  82. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
  83. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
  84. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
  85. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
  86. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
  87. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
  88. data/node_modules/bulma-block-list/node_modules/bulma/package.json +80 -0
  89. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
  90. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
  91. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
  92. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
  93. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
  94. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  95. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
  96. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
  97. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
  98. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -0
  99. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
  100. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
  101. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
  102. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
  103. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
  104. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
  105. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
  106. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
  107. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
  108. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
  109. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
  110. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
  111. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
  112. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
  113. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
  114. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
  115. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
  116. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
  117. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
  118. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
  119. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
  120. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
  121. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
  122. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  123. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
  124. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
  125. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
  126. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
  127. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
  128. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
  129. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
  130. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
  131. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
  132. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
  133. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
  134. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
  135. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
  136. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
  137. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
  138. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
  139. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
  140. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
  141. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  142. data/node_modules/bulma-block-list/package.json +59 -0
  143. data/node_modules/bulma-block-list/src/block-list.scss +109 -0
  144. data/node_modules/bulma-block-list/src/demo.scss +3 -0
  145. data/node_modules/bulma-carousel/CHANGELOG.md +307 -0
  146. data/node_modules/bulma-carousel/LICENSE +21 -0
  147. data/node_modules/bulma-carousel/README.md +13 -0
  148. data/node_modules/bulma-carousel/dist/css/bulma-carousel.min.css +1 -0
  149. data/node_modules/bulma-carousel/dist/js/bulma-carousel.js +2371 -0
  150. data/node_modules/bulma-carousel/package.json +108 -0
  151. data/node_modules/bulma-carousel/src/demo/_data/events.yml +15 -0
  152. data/node_modules/bulma-carousel/src/demo/_data/getters.yml +26 -0
  153. data/node_modules/bulma-carousel/src/demo/_data/menu.yml +26 -0
  154. data/node_modules/bulma-carousel/src/demo/_data/methods.yml +57 -0
  155. data/node_modules/bulma-carousel/src/demo/_data/options.yml +79 -0
  156. data/node_modules/bulma-carousel/src/demo/_data/setters.yml +0 -0
  157. data/node_modules/bulma-carousel/src/demo/_data/tree.yml +30 -0
  158. data/node_modules/bulma-carousel/src/demo/_includes/anchor.html +3 -0
  159. data/node_modules/bulma-carousel/src/demo/_includes/breadcrumb.html +5 -0
  160. data/node_modules/bulma-carousel/src/demo/_includes/events.html +33 -0
  161. data/node_modules/bulma-carousel/src/demo/_includes/getters.html +28 -0
  162. data/node_modules/bulma-carousel/src/demo/_includes/head.html +22 -0
  163. data/node_modules/bulma-carousel/src/demo/_includes/menu.html +22 -0
  164. data/node_modules/bulma-carousel/src/demo/_includes/methods.html +49 -0
  165. data/node_modules/bulma-carousel/src/demo/_includes/options.html +33 -0
  166. data/node_modules/bulma-carousel/src/demo/_includes/setters.html +28 -0
  167. data/node_modules/bulma-carousel/src/demo/_includes/tree.html +25 -0
  168. data/node_modules/bulma-carousel/src/demo/_includes/variables.html +28 -0
  169. data/node_modules/bulma-carousel/src/demo/_layouts/default.html +47 -0
  170. data/node_modules/bulma-carousel/src/demo/assets/css/bulma-carousel.min.css +1 -0
  171. data/node_modules/bulma-carousel/src/demo/assets/css/documentation.min.css +1 -0
  172. data/node_modules/bulma-carousel/src/demo/assets/css/highlight.css +78 -0
  173. data/node_modules/bulma-carousel/src/demo/assets/images/1.jpg +0 -0
  174. data/node_modules/bulma-carousel/src/demo/assets/images/2.jpg +0 -0
  175. data/node_modules/bulma-carousel/src/demo/assets/images/3.jpg +0 -0
  176. data/node_modules/bulma-carousel/src/demo/assets/images/4.jpg +0 -0
  177. data/node_modules/bulma-carousel/src/demo/assets/images/5.jpg +0 -0
  178. data/node_modules/bulma-carousel/src/demo/assets/images/6.jpg +0 -0
  179. data/node_modules/bulma-carousel/src/demo/assets/images/left.svg +3 -0
  180. data/node_modules/bulma-carousel/src/demo/assets/images/right.svg +3 -0
  181. data/node_modules/bulma-carousel/src/demo/assets/js/bulma-carousel.min.js +1 -0
  182. data/node_modules/bulma-carousel/src/demo/assets/js/doc.js +111 -0
  183. data/node_modules/bulma-carousel/src/demo/assets/js/main.js +23 -0
  184. data/node_modules/bulma-carousel/src/demo/changelog.html +17 -0
  185. data/node_modules/bulma-carousel/src/demo/customization.html +78 -0
  186. data/node_modules/bulma-carousel/src/demo/demonstration/index.html +402 -0
  187. data/node_modules/bulma-carousel/src/demo/index.html +396 -0
  188. data/node_modules/bulma-carousel/src/js/components/Media.js +129 -0
  189. data/node_modules/bulma-carousel/src/js/components/autoplay.js +111 -0
  190. data/node_modules/bulma-carousel/src/js/components/breakpoint.js +91 -0
  191. data/node_modules/bulma-carousel/src/js/components/infinite.js +60 -0
  192. data/node_modules/bulma-carousel/src/js/components/loop.js +35 -0
  193. data/node_modules/bulma-carousel/src/js/components/navigation.js +107 -0
  194. data/node_modules/bulma-carousel/src/js/components/pagination.js +103 -0
  195. data/node_modules/bulma-carousel/src/js/components/swipe.js +106 -0
  196. data/node_modules/bulma-carousel/src/js/components/transitioner.js +74 -0
  197. data/node_modules/bulma-carousel/src/js/components/transitions/fade.js +90 -0
  198. data/node_modules/bulma-carousel/src/js/components/transitions/translate.js +98 -0
  199. data/node_modules/bulma-carousel/src/js/defaultOptions.js +50 -0
  200. data/node_modules/bulma-carousel/src/js/index.js +428 -0
  201. data/node_modules/bulma-carousel/src/js/templates/index.js +5 -0
  202. data/node_modules/bulma-carousel/src/js/templates/item.js +3 -0
  203. data/node_modules/bulma-carousel/src/js/templates/navigation.js +4 -0
  204. data/node_modules/bulma-carousel/src/js/templates/pagination-page.js +3 -0
  205. data/node_modules/bulma-carousel/src/js/templates/pagination.js +3 -0
  206. data/node_modules/bulma-carousel/src/js/utils/coordinate.js +98 -0
  207. data/node_modules/bulma-carousel/src/js/utils/css.js +84 -0
  208. data/node_modules/bulma-carousel/src/js/utils/detect-prefixes.js +50 -0
  209. data/node_modules/bulma-carousel/src/js/utils/detect-supportsPassive.js +16 -0
  210. data/node_modules/bulma-carousel/src/js/utils/device.js +17 -0
  211. data/node_modules/bulma-carousel/src/js/utils/dom.js +10 -0
  212. data/node_modules/bulma-carousel/src/js/utils/eventEmitter.js +19 -0
  213. data/node_modules/bulma-carousel/src/js/utils/events.js +65 -0
  214. data/node_modules/bulma-carousel/src/js/utils/index.js +16 -0
  215. data/node_modules/bulma-carousel/src/js/utils/type.js +21 -0
  216. data/node_modules/bulma-carousel/src/sass/index.sass +145 -0
  217. data/package-lock.json +32 -0
  218. data/package.json +10 -0
  219. metadata +217 -2
  220. data/_config.yml +0 -72
@@ -0,0 +1,81 @@
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
+ left: 0
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
+ padding-right: 3rem
66
+ text-align: left
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
@@ -0,0 +1,77 @@
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
+ margin-right: $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
+ margin-right: $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
@@ -0,0 +1,39 @@
1
+ $list-background-color: $scheme-main !default
2
+ $list-shadow: 0 2px 3px rgba($scheme-invert, 0.1), 0 0 0 1px rgba($scheme-invert, 0.1) !default
3
+ $list-radius: $radius !default
4
+
5
+ $list-item-border: 1px solid $border !default
6
+ $list-item-color: $text !default
7
+ $list-item-active-background-color: $link !default
8
+ $list-item-active-color: $link-invert !default
9
+ $list-item-hover-background-color: $background !default
10
+
11
+ .list
12
+ @extend %block
13
+ background-color: $list-background-color
14
+ border-radius: $list-radius
15
+ box-shadow: $list-shadow
16
+ // &.is-hoverable > .list-item:hover:not(.is-active)
17
+ // background-color: $list-item-hover-background-color
18
+ // cursor: pointer
19
+
20
+ .list-item
21
+ display: block
22
+ padding: 0.5em 1em
23
+ &:not(a)
24
+ color: $list-item-color
25
+ &:first-child
26
+ border-top-left-radius: $list-radius
27
+ border-top-right-radius: $list-radius
28
+ &:last-child
29
+ border-bottom-left-radius: $list-radius
30
+ border-bottom-right-radius: $list-radius
31
+ &:not(:last-child)
32
+ border-bottom: $list-item-border
33
+ &.is-active
34
+ background-color: $list-item-active-background-color
35
+ color: $list-item-active-color
36
+
37
+ a.list-item
38
+ background-color: $list-item-hover-background-color
39
+ cursor: pointer
@@ -0,0 +1,50 @@
1
+ $media-border-color: bulmaRgba($border, 0.5) !default
2
+
3
+ .media
4
+ align-items: flex-start
5
+ display: flex
6
+ text-align: left
7
+ .content:not(:last-child)
8
+ margin-bottom: 0.75rem
9
+ .media
10
+ border-top: 1px solid $media-border-color
11
+ display: flex
12
+ padding-top: 0.75rem
13
+ .content:not(:last-child),
14
+ .control:not(:last-child)
15
+ margin-bottom: 0.5rem
16
+ .media
17
+ padding-top: 0.5rem
18
+ & + .media
19
+ margin-top: 0.5rem
20
+ & + .media
21
+ border-top: 1px solid $media-border-color
22
+ margin-top: 1rem
23
+ padding-top: 1rem
24
+ // Sizes
25
+ &.is-large
26
+ & + .media
27
+ margin-top: 1.5rem
28
+ padding-top: 1.5rem
29
+
30
+ .media-left,
31
+ .media-right
32
+ flex-basis: auto
33
+ flex-grow: 0
34
+ flex-shrink: 0
35
+
36
+ .media-left
37
+ margin-right: 1rem
38
+
39
+ .media-right
40
+ margin-left: 1rem
41
+
42
+ .media-content
43
+ flex-basis: auto
44
+ flex-grow: 1
45
+ flex-shrink: 1
46
+ text-align: left
47
+
48
+ +mobile
49
+ .media-content
50
+ overflow-x: auto
@@ -0,0 +1,57 @@
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
+ border-left: $menu-list-border-left
46
+ margin: $menu-nested-list-margin
47
+ padding-left: $menu-nested-list-padding-left
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
@@ -0,0 +1,99 @@
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
+ margin-left: 0.75em
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
@@ -0,0 +1,113 @@
1
+ $modal-z: 40 !default
2
+
3
+ $modal-background-background-color: bulmaRgba($scheme-invert, 0.86) !default
4
+
5
+ $modal-content-width: 640px !default
6
+ $modal-content-margin-mobile: 20px !default
7
+ $modal-content-spacing-mobile: 160px !default
8
+ $modal-content-spacing-tablet: 40px !default
9
+
10
+ $modal-close-dimensions: 40px !default
11
+ $modal-close-right: 20px !default
12
+ $modal-close-top: 20px !default
13
+
14
+ $modal-card-spacing: 40px !default
15
+
16
+ $modal-card-head-background-color: $background !default
17
+ $modal-card-head-border-bottom: 1px solid $border !default
18
+ $modal-card-head-padding: 20px !default
19
+ $modal-card-head-radius: $radius-large !default
20
+
21
+ $modal-card-title-color: $text-strong !default
22
+ $modal-card-title-line-height: 1 !default
23
+ $modal-card-title-size: $size-4 !default
24
+
25
+ $modal-card-foot-radius: $radius-large !default
26
+ $modal-card-foot-border-top: 1px solid $border !default
27
+
28
+ $modal-card-body-background-color: $scheme-main !default
29
+ $modal-card-body-padding: 20px !default
30
+
31
+ .modal
32
+ @extend %overlay
33
+ align-items: center
34
+ display: none
35
+ flex-direction: column
36
+ justify-content: center
37
+ overflow: hidden
38
+ position: fixed
39
+ z-index: $modal-z
40
+ // Modifiers
41
+ &.is-active
42
+ display: flex
43
+
44
+ .modal-background
45
+ @extend %overlay
46
+ background-color: $modal-background-background-color
47
+
48
+ .modal-content,
49
+ .modal-card
50
+ margin: 0 $modal-content-margin-mobile
51
+ max-height: calc(100vh - #{$modal-content-spacing-mobile})
52
+ overflow: auto
53
+ position: relative
54
+ width: 100%
55
+ // Responsiveness
56
+ +tablet
57
+ margin: 0 auto
58
+ max-height: calc(100vh - #{$modal-content-spacing-tablet})
59
+ width: $modal-content-width
60
+
61
+ .modal-close
62
+ @extend %delete
63
+ background: none
64
+ height: $modal-close-dimensions
65
+ position: fixed
66
+ right: $modal-close-right
67
+ top: $modal-close-top
68
+ width: $modal-close-dimensions
69
+
70
+ .modal-card
71
+ display: flex
72
+ flex-direction: column
73
+ max-height: calc(100vh - #{$modal-card-spacing})
74
+ overflow: hidden
75
+ -ms-overflow-y: visible
76
+
77
+ .modal-card-head,
78
+ .modal-card-foot
79
+ align-items: center
80
+ background-color: $modal-card-head-background-color
81
+ display: flex
82
+ flex-shrink: 0
83
+ justify-content: flex-start
84
+ padding: $modal-card-head-padding
85
+ position: relative
86
+
87
+ .modal-card-head
88
+ border-bottom: $modal-card-head-border-bottom
89
+ border-top-left-radius: $modal-card-head-radius
90
+ border-top-right-radius: $modal-card-head-radius
91
+
92
+ .modal-card-title
93
+ color: $modal-card-title-color
94
+ flex-grow: 1
95
+ flex-shrink: 0
96
+ font-size: $modal-card-title-size
97
+ line-height: $modal-card-title-line-height
98
+
99
+ .modal-card-foot
100
+ border-bottom-left-radius: $modal-card-foot-radius
101
+ border-bottom-right-radius: $modal-card-foot-radius
102
+ border-top: $modal-card-foot-border-top
103
+ .button
104
+ &:not(:last-child)
105
+ margin-right: 0.5em
106
+
107
+ .modal-card-body
108
+ +overflow-touch
109
+ background-color: $modal-card-body-background-color
110
+ flex-grow: 1
111
+ flex-shrink: 1
112
+ overflow: auto
113
+ padding: $modal-card-body-padding