intia-theme 0.1.0 → 0.1.4

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