jekyll-theme-opentoolbox 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -31
  3. data/_includes/banner.html +4 -4
  4. data/_includes/callouts.html +8 -3
  5. data/_includes/contribute.html +19 -0
  6. data/_includes/credits.html +13 -0
  7. data/_includes/disqus.html +16 -16
  8. data/_includes/footer.html +6 -17
  9. data/_includes/gallery.html +24 -24
  10. data/_includes/google-analytics.html +7 -7
  11. data/_includes/header.html +11 -12
  12. data/_includes/icon.html +3 -0
  13. data/_includes/image-modal.html +18 -18
  14. data/_includes/important-message.html +5 -0
  15. data/_includes/latest-posts.html +14 -12
  16. data/_includes/menubar.html +20 -20
  17. data/_includes/notification.html +17 -16
  18. data/_includes/pagination.html +21 -23
  19. data/_includes/post-card.html +1 -1
  20. data/_includes/section-divider.html +5 -0
  21. data/_includes/showcase.html +1 -1
  22. data/_includes/simple_banner.html +11 -0
  23. data/_includes/sponsors.html +43 -41
  24. data/_includes/subscribe.html +15 -15
  25. data/_includes/tabs.html +18 -17
  26. data/_includes/tag.html +2 -2
  27. data/_includes/toc.html +82 -82
  28. data/_includes/vimeo.html +2 -2
  29. data/_includes/youtube.html +7 -7
  30. data/_layouts/base.html +2 -0
  31. data/_layouts/default.html +1 -1
  32. data/_layouts/page.html +10 -10
  33. data/_layouts/post.html +4 -2
  34. data/_layouts/resource.html +1 -1
  35. data/_sass/_external.scss +1 -0
  36. data/_sass/_layout.scss +48 -36
  37. data/_sass/_main.scss +45 -22
  38. data/_sass/_showcase.scss +12 -12
  39. data/_sass/{syntax.scss → _syntax.scss} +209 -209
  40. data/_sass/_variables.scss +125 -0
  41. data/_sass/highlight/_dark.scss +71 -0
  42. data/_sass/{_highlight.scss → highlight/_light.scss} +0 -0
  43. data/assets/css/app.scss +7 -146
  44. data/blog/index.html +4 -2
  45. data/node_modules/bulma-block-list/LICENSE.txt +21 -21
  46. data/node_modules/bulma-block-list/README.md +31 -31
  47. data/node_modules/bulma-block-list/docs/Gemfile +2 -2
  48. data/node_modules/bulma-block-list/docs/_config.yml +15 -15
  49. data/node_modules/bulma-block-list/docs/_data/menu.yaml +19 -19
  50. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +108 -108
  51. data/node_modules/bulma-block-list/docs/_sass/_main.scss +19 -19
  52. data/node_modules/bulma-block-list/docs/assets/css/app.scss +6 -6
  53. data/node_modules/bulma-block-list/docs/index.html +260 -260
  54. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -1390
  55. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -21
  56. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -130
  57. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -9
  58. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10854 -10854
  59. data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -77
  60. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -5
  61. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -142
  62. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -281
  63. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -79
  64. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -15
  65. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -75
  66. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -79
  67. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -81
  68. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -77
  69. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -39
  70. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -50
  71. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -57
  72. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -99
  73. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -113
  74. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -441
  75. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -150
  76. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -119
  77. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -151
  78. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -15
  79. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -24
  80. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -323
  81. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -24
  82. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -155
  83. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -1
  84. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -21
  85. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -71
  86. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -43
  87. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -39
  88. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -67
  89. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -127
  90. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -128
  91. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -70
  92. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -8
  93. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -21
  94. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -180
  95. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -64
  96. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -85
  97. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -55
  98. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -205
  99. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -4
  100. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -504
  101. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -34
  102. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -5
  103. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -9
  104. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -145
  105. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -13
  106. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -8
  107. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -5
  108. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -50
  109. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -106
  110. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -110
  111. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -77
  112. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -261
  113. data/node_modules/bulma-block-list/package.json +56 -56
  114. data/node_modules/bulma-block-list/src/block-list.scss +108 -108
  115. data/node_modules/bulma-block-list/src/demo.scss +2 -2
  116. data/node_modules/bulma/CHANGELOG.md +1558 -1558
  117. data/node_modules/bulma/LICENSE +21 -21
  118. data/node_modules/bulma/README.md +134 -134
  119. data/node_modules/bulma/bulma.sass +10 -10
  120. data/node_modules/bulma/css/bulma-rtl.css +11810 -11810
  121. data/node_modules/bulma/css/bulma.css +11810 -11810
  122. data/node_modules/bulma/package.json +81 -81
  123. data/node_modules/bulma/sass/base/_all.sass +6 -6
  124. data/node_modules/bulma/sass/base/animations.sass +5 -5
  125. data/node_modules/bulma/sass/base/generic.sass +145 -145
  126. data/node_modules/bulma/sass/base/helpers.sass +1 -1
  127. data/node_modules/bulma/sass/base/minireset.sass +79 -79
  128. data/node_modules/bulma/sass/components/_all.sass +15 -15
  129. data/node_modules/bulma/sass/components/breadcrumb.sass +77 -77
  130. data/node_modules/bulma/sass/components/card.sass +103 -103
  131. data/node_modules/bulma/sass/components/dropdown.sass +83 -83
  132. data/node_modules/bulma/sass/components/level.sass +79 -79
  133. data/node_modules/bulma/sass/components/media.sass +59 -59
  134. data/node_modules/bulma/sass/components/menu.sass +59 -59
  135. data/node_modules/bulma/sass/components/message.sass +101 -101
  136. data/node_modules/bulma/sass/components/modal.sass +117 -117
  137. data/node_modules/bulma/sass/components/navbar.sass +446 -446
  138. data/node_modules/bulma/sass/components/pagination.sass +166 -166
  139. data/node_modules/bulma/sass/components/panel.sass +121 -121
  140. data/node_modules/bulma/sass/components/tabs.sass +176 -176
  141. data/node_modules/bulma/sass/elements/_all.sass +16 -16
  142. data/node_modules/bulma/sass/elements/box.sass +26 -26
  143. data/node_modules/bulma/sass/elements/button.sass +345 -345
  144. data/node_modules/bulma/sass/elements/container.sass +29 -29
  145. data/node_modules/bulma/sass/elements/content.sass +159 -159
  146. data/node_modules/bulma/sass/elements/form.sass +1 -1
  147. data/node_modules/bulma/sass/elements/icon.sass +46 -46
  148. data/node_modules/bulma/sass/elements/image.sass +73 -73
  149. data/node_modules/bulma/sass/elements/notification.sass +52 -52
  150. data/node_modules/bulma/sass/elements/other.sass +31 -31
  151. data/node_modules/bulma/sass/elements/progress.sass +73 -73
  152. data/node_modules/bulma/sass/elements/table.sass +133 -133
  153. data/node_modules/bulma/sass/elements/tag.sass +140 -140
  154. data/node_modules/bulma/sass/elements/title.sass +70 -70
  155. data/node_modules/bulma/sass/form/_all.sass +9 -9
  156. data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -22
  157. data/node_modules/bulma/sass/form/file.sass +184 -184
  158. data/node_modules/bulma/sass/form/input-textarea.sass +66 -66
  159. data/node_modules/bulma/sass/form/select.sass +87 -87
  160. data/node_modules/bulma/sass/form/shared.sass +60 -60
  161. data/node_modules/bulma/sass/form/tools.sass +215 -215
  162. data/node_modules/bulma/sass/grid/_all.sass +5 -5
  163. data/node_modules/bulma/sass/grid/columns.sass +513 -513
  164. data/node_modules/bulma/sass/grid/tiles.sass +36 -36
  165. data/node_modules/bulma/sass/helpers/_all.sass +12 -12
  166. data/node_modules/bulma/sass/helpers/color.sass +39 -39
  167. data/node_modules/bulma/sass/helpers/flexbox.sass +35 -35
  168. data/node_modules/bulma/sass/helpers/float.sass +10 -10
  169. data/node_modules/bulma/sass/helpers/other.sass +14 -14
  170. data/node_modules/bulma/sass/helpers/overflow.sass +2 -2
  171. data/node_modules/bulma/sass/helpers/position.sass +7 -7
  172. data/node_modules/bulma/sass/helpers/spacing.sass +31 -31
  173. data/node_modules/bulma/sass/helpers/typography.sass +103 -103
  174. data/node_modules/bulma/sass/helpers/visibility.sass +122 -122
  175. data/node_modules/bulma/sass/layout/_all.sass +6 -6
  176. data/node_modules/bulma/sass/layout/footer.sass +11 -11
  177. data/node_modules/bulma/sass/layout/hero.sass +153 -153
  178. data/node_modules/bulma/sass/layout/section.sass +17 -17
  179. data/node_modules/bulma/sass/utilities/_all.sass +9 -9
  180. data/node_modules/bulma/sass/utilities/animations.sass +1 -1
  181. data/node_modules/bulma/sass/utilities/controls.sass +49 -49
  182. data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -114
  183. data/node_modules/bulma/sass/utilities/extends.sass +25 -25
  184. data/node_modules/bulma/sass/utilities/functions.sass +136 -136
  185. data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -78
  186. data/node_modules/bulma/sass/utilities/mixins.sass +280 -280
  187. data/package-lock.json +28 -28
  188. data/package.json +20 -20
  189. metadata +14 -7
  190. data/_includes/hero.html +0 -11
  191. data/_includes/join.html +0 -30
@@ -1,78 +1,78 @@
1
- // Colors
2
-
3
- $black: hsl(0, 0%, 4%) !default
4
- $black-bis: hsl(0, 0%, 7%) !default
5
- $black-ter: hsl(0, 0%, 14%) !default
6
-
7
- $grey-darker: hsl(0, 0%, 21%) !default
8
- $grey-dark: hsl(0, 0%, 29%) !default
9
- $grey: hsl(0, 0%, 48%) !default
10
- $grey-light: hsl(0, 0%, 71%) !default
11
- $grey-lighter: hsl(0, 0%, 86%) !default
12
- $grey-lightest: hsl(0, 0%, 93%) !default
13
-
14
- $white-ter: hsl(0, 0%, 96%) !default
15
- $white-bis: hsl(0, 0%, 98%) !default
16
- $white: hsl(0, 0%, 100%) !default
17
-
18
- $orange: hsl(14, 100%, 53%) !default
19
- $yellow: hsl(44, 100%, 77%) !default
20
- $green: hsl(153, 53%, 53%) !default
21
- $turquoise: hsl(171, 100%, 41%) !default
22
- $cyan: hsl(207, 61%, 53%) !default
23
- $blue: hsl(229, 53%, 53%) !default
24
- $purple: hsl(271, 100%, 71%) !default
25
- $red: hsl(348, 86%, 61%) !default
26
-
27
- // Typography
28
-
29
- $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
30
- $family-monospace: monospace !default
31
- $render-mode: optimizeLegibility !default
32
-
33
- $size-1: 3rem !default
34
- $size-2: 2.5rem !default
35
- $size-3: 2rem !default
36
- $size-4: 1.5rem !default
37
- $size-5: 1.25rem !default
38
- $size-6: 1rem !default
39
- $size-7: 0.75rem !default
40
-
41
- $weight-light: 300 !default
42
- $weight-normal: 400 !default
43
- $weight-medium: 500 !default
44
- $weight-semibold: 600 !default
45
- $weight-bold: 700 !default
46
-
47
- // Spacing
48
-
49
- $block-spacing: 1.5rem !default
50
-
51
- // Responsiveness
52
-
53
- // The container horizontal gap, which acts as the offset for breakpoints
54
- $gap: 32px !default
55
- // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
56
- $tablet: 769px !default
57
- // 960px container + 4rem
58
- $desktop: 960px + (2 * $gap) !default
59
- // 1152px container + 4rem
60
- $widescreen: 1152px + (2 * $gap) !default
61
- $widescreen-enabled: true !default
62
- // 1344px container + 4rem
63
- $fullhd: 1344px + (2 * $gap) !default
64
- $fullhd-enabled: true !default
65
-
66
- // Miscellaneous
67
-
68
- $easing: ease-out !default
69
- $radius-small: 2px !default
70
- $radius: 4px !default
71
- $radius-large: 6px !default
72
- $radius-rounded: 9999px !default
73
- $speed: 86ms !default
74
-
75
- // Flags
76
-
77
- $variable-columns: true !default
78
- $rtl: false !default
1
+ // Colors
2
+
3
+ $black: hsl(0, 0%, 4%) !default
4
+ $black-bis: hsl(0, 0%, 7%) !default
5
+ $black-ter: hsl(0, 0%, 14%) !default
6
+
7
+ $grey-darker: hsl(0, 0%, 21%) !default
8
+ $grey-dark: hsl(0, 0%, 29%) !default
9
+ $grey: hsl(0, 0%, 48%) !default
10
+ $grey-light: hsl(0, 0%, 71%) !default
11
+ $grey-lighter: hsl(0, 0%, 86%) !default
12
+ $grey-lightest: hsl(0, 0%, 93%) !default
13
+
14
+ $white-ter: hsl(0, 0%, 96%) !default
15
+ $white-bis: hsl(0, 0%, 98%) !default
16
+ $white: hsl(0, 0%, 100%) !default
17
+
18
+ $orange: hsl(14, 100%, 53%) !default
19
+ $yellow: hsl(44, 100%, 77%) !default
20
+ $green: hsl(153, 53%, 53%) !default
21
+ $turquoise: hsl(171, 100%, 41%) !default
22
+ $cyan: hsl(207, 61%, 53%) !default
23
+ $blue: hsl(229, 53%, 53%) !default
24
+ $purple: hsl(271, 100%, 71%) !default
25
+ $red: hsl(348, 86%, 61%) !default
26
+
27
+ // Typography
28
+
29
+ $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
30
+ $family-monospace: monospace !default
31
+ $render-mode: optimizeLegibility !default
32
+
33
+ $size-1: 3rem !default
34
+ $size-2: 2.5rem !default
35
+ $size-3: 2rem !default
36
+ $size-4: 1.5rem !default
37
+ $size-5: 1.25rem !default
38
+ $size-6: 1rem !default
39
+ $size-7: 0.75rem !default
40
+
41
+ $weight-light: 300 !default
42
+ $weight-normal: 400 !default
43
+ $weight-medium: 500 !default
44
+ $weight-semibold: 600 !default
45
+ $weight-bold: 700 !default
46
+
47
+ // Spacing
48
+
49
+ $block-spacing: 1.5rem !default
50
+
51
+ // Responsiveness
52
+
53
+ // The container horizontal gap, which acts as the offset for breakpoints
54
+ $gap: 32px !default
55
+ // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
56
+ $tablet: 769px !default
57
+ // 960px container + 4rem
58
+ $desktop: 960px + (2 * $gap) !default
59
+ // 1152px container + 4rem
60
+ $widescreen: 1152px + (2 * $gap) !default
61
+ $widescreen-enabled: true !default
62
+ // 1344px container + 4rem
63
+ $fullhd: 1344px + (2 * $gap) !default
64
+ $fullhd-enabled: true !default
65
+
66
+ // Miscellaneous
67
+
68
+ $easing: ease-out !default
69
+ $radius-small: 2px !default
70
+ $radius: 4px !default
71
+ $radius-large: 6px !default
72
+ $radius-rounded: 9999px !default
73
+ $speed: 86ms !default
74
+
75
+ // Flags
76
+
77
+ $variable-columns: true !default
78
+ $rtl: false !default
@@ -1,280 +1,280 @@
1
- @import "derived-variables"
2
-
3
- =clearfix
4
- &::after
5
- clear: both
6
- content: " "
7
- display: table
8
-
9
- =center($width, $height: 0)
10
- position: absolute
11
- @if $height != 0
12
- left: calc(50% - (#{$width} * 0.5))
13
- top: calc(50% - (#{$height} * 0.5))
14
- @else
15
- left: calc(50% - (#{$width} * 0.5))
16
- top: calc(50% - (#{$width} * 0.5))
17
-
18
- =fa($size, $dimensions)
19
- display: inline-block
20
- font-size: $size
21
- height: $dimensions
22
- line-height: $dimensions
23
- text-align: center
24
- vertical-align: top
25
- width: $dimensions
26
-
27
- =hamburger($dimensions)
28
- cursor: pointer
29
- display: block
30
- height: $dimensions
31
- position: relative
32
- width: $dimensions
33
- span
34
- background-color: currentColor
35
- display: block
36
- height: 1px
37
- left: calc(50% - 8px)
38
- position: absolute
39
- transform-origin: center
40
- transition-duration: $speed
41
- transition-property: background-color, opacity, transform
42
- transition-timing-function: $easing
43
- width: 16px
44
- &:nth-child(1)
45
- top: calc(50% - 6px)
46
- &:nth-child(2)
47
- top: calc(50% - 1px)
48
- &:nth-child(3)
49
- top: calc(50% + 4px)
50
- &:hover
51
- background-color: bulmaRgba(black, 0.05)
52
- // Modifers
53
- &.is-active
54
- span
55
- &:nth-child(1)
56
- transform: translateY(5px) rotate(45deg)
57
- &:nth-child(2)
58
- opacity: 0
59
- &:nth-child(3)
60
- transform: translateY(-5px) rotate(-45deg)
61
-
62
- =overflow-touch
63
- -webkit-overflow-scrolling: touch
64
-
65
- =placeholder
66
- $placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input'
67
- @each $placeholder in $placeholders
68
- &:#{$placeholder}-placeholder
69
- @content
70
-
71
- =reset
72
- -moz-appearance: none
73
- -webkit-appearance: none
74
- appearance: none
75
- background: none
76
- border: none
77
- color: currentColor
78
- font-family: inherit
79
- font-size: 1em
80
- margin: 0
81
- padding: 0
82
-
83
- // Responsiveness
84
-
85
- =from($device)
86
- @media screen and (min-width: $device)
87
- @content
88
-
89
- =until($device)
90
- @media screen and (max-width: $device - 1px)
91
- @content
92
-
93
- =mobile
94
- @media screen and (max-width: $tablet - 1px)
95
- @content
96
-
97
- =tablet
98
- @media screen and (min-width: $tablet), print
99
- @content
100
-
101
- =tablet-only
102
- @media screen and (min-width: $tablet) and (max-width: $desktop - 1px)
103
- @content
104
-
105
- =touch
106
- @media screen and (max-width: $desktop - 1px)
107
- @content
108
-
109
- =desktop
110
- @media screen and (min-width: $desktop)
111
- @content
112
-
113
- =desktop-only
114
- @if $widescreen-enabled
115
- @media screen and (min-width: $desktop) and (max-width: $widescreen - 1px)
116
- @content
117
-
118
- =until-widescreen
119
- @if $widescreen-enabled
120
- @media screen and (max-width: $widescreen - 1px)
121
- @content
122
-
123
- =widescreen
124
- @if $widescreen-enabled
125
- @media screen and (min-width: $widescreen)
126
- @content
127
-
128
- =widescreen-only
129
- @if $widescreen-enabled and $fullhd-enabled
130
- @media screen and (min-width: $widescreen) and (max-width: $fullhd - 1px)
131
- @content
132
-
133
- =until-fullhd
134
- @if $fullhd-enabled
135
- @media screen and (max-width: $fullhd - 1px)
136
- @content
137
-
138
- =fullhd
139
- @if $fullhd-enabled
140
- @media screen and (min-width: $fullhd)
141
- @content
142
-
143
- =ltr
144
- @if not $rtl
145
- @content
146
-
147
- =rtl
148
- @if $rtl
149
- @content
150
-
151
- =ltr-property($property, $spacing, $right: true)
152
- $normal: if($right, "right", "left")
153
- $opposite: if($right, "left", "right")
154
- @if $rtl
155
- #{$property}-#{$opposite}: $spacing
156
- @else
157
- #{$property}-#{$normal}: $spacing
158
-
159
- =ltr-position($spacing, $right: true)
160
- $normal: if($right, "right", "left")
161
- $opposite: if($right, "left", "right")
162
- @if $rtl
163
- #{$opposite}: $spacing
164
- @else
165
- #{$normal}: $spacing
166
-
167
- // Placeholders
168
-
169
- =unselectable
170
- -webkit-touch-callout: none
171
- -webkit-user-select: none
172
- -moz-user-select: none
173
- -ms-user-select: none
174
- user-select: none
175
-
176
- =arrow($color: transparent)
177
- border: 3px solid $color
178
- border-radius: 2px
179
- border-right: 0
180
- border-top: 0
181
- content: " "
182
- display: block
183
- height: 0.625em
184
- margin-top: -0.4375em
185
- pointer-events: none
186
- position: absolute
187
- top: 50%
188
- transform: rotate(-45deg)
189
- transform-origin: center
190
- width: 0.625em
191
-
192
- =block($spacing: $block-spacing)
193
- &:not(:last-child)
194
- margin-bottom: $spacing
195
-
196
- =delete
197
- +unselectable
198
- -moz-appearance: none
199
- -webkit-appearance: none
200
- background-color: bulmaRgba($scheme-invert, 0.2)
201
- border: none
202
- border-radius: $radius-rounded
203
- cursor: pointer
204
- pointer-events: auto
205
- display: inline-block
206
- flex-grow: 0
207
- flex-shrink: 0
208
- font-size: 0
209
- height: 20px
210
- max-height: 20px
211
- max-width: 20px
212
- min-height: 20px
213
- min-width: 20px
214
- outline: none
215
- position: relative
216
- vertical-align: top
217
- width: 20px
218
- &::before,
219
- &::after
220
- background-color: $scheme-main
221
- content: ""
222
- display: block
223
- left: 50%
224
- position: absolute
225
- top: 50%
226
- transform: translateX(-50%) translateY(-50%) rotate(45deg)
227
- transform-origin: center center
228
- &::before
229
- height: 2px
230
- width: 50%
231
- &::after
232
- height: 50%
233
- width: 2px
234
- &:hover,
235
- &:focus
236
- background-color: bulmaRgba($scheme-invert, 0.3)
237
- &:active
238
- background-color: bulmaRgba($scheme-invert, 0.4)
239
- // Sizes
240
- &.is-small
241
- height: 16px
242
- max-height: 16px
243
- max-width: 16px
244
- min-height: 16px
245
- min-width: 16px
246
- width: 16px
247
- &.is-medium
248
- height: 24px
249
- max-height: 24px
250
- max-width: 24px
251
- min-height: 24px
252
- min-width: 24px
253
- width: 24px
254
- &.is-large
255
- height: 32px
256
- max-height: 32px
257
- max-width: 32px
258
- min-height: 32px
259
- min-width: 32px
260
- width: 32px
261
-
262
- =loader
263
- animation: spinAround 500ms infinite linear
264
- border: 2px solid $grey-lighter
265
- border-radius: $radius-rounded
266
- border-right-color: transparent
267
- border-top-color: transparent
268
- content: ""
269
- display: block
270
- height: 1em
271
- position: relative
272
- width: 1em
273
-
274
- =overlay($offset: 0)
275
- bottom: $offset
276
- left: $offset
277
- position: absolute
278
- right: $offset
279
- top: $offset
280
-
1
+ @import "derived-variables"
2
+
3
+ =clearfix
4
+ &::after
5
+ clear: both
6
+ content: " "
7
+ display: table
8
+
9
+ =center($width, $height: 0)
10
+ position: absolute
11
+ @if $height != 0
12
+ left: calc(50% - (#{$width} * 0.5))
13
+ top: calc(50% - (#{$height} * 0.5))
14
+ @else
15
+ left: calc(50% - (#{$width} * 0.5))
16
+ top: calc(50% - (#{$width} * 0.5))
17
+
18
+ =fa($size, $dimensions)
19
+ display: inline-block
20
+ font-size: $size
21
+ height: $dimensions
22
+ line-height: $dimensions
23
+ text-align: center
24
+ vertical-align: top
25
+ width: $dimensions
26
+
27
+ =hamburger($dimensions)
28
+ cursor: pointer
29
+ display: block
30
+ height: $dimensions
31
+ position: relative
32
+ width: $dimensions
33
+ span
34
+ background-color: currentColor
35
+ display: block
36
+ height: 1px
37
+ left: calc(50% - 8px)
38
+ position: absolute
39
+ transform-origin: center
40
+ transition-duration: $speed
41
+ transition-property: background-color, opacity, transform
42
+ transition-timing-function: $easing
43
+ width: 16px
44
+ &:nth-child(1)
45
+ top: calc(50% - 6px)
46
+ &:nth-child(2)
47
+ top: calc(50% - 1px)
48
+ &:nth-child(3)
49
+ top: calc(50% + 4px)
50
+ &:hover
51
+ background-color: bulmaRgba(black, 0.05)
52
+ // Modifers
53
+ &.is-active
54
+ span
55
+ &:nth-child(1)
56
+ transform: translateY(5px) rotate(45deg)
57
+ &:nth-child(2)
58
+ opacity: 0
59
+ &:nth-child(3)
60
+ transform: translateY(-5px) rotate(-45deg)
61
+
62
+ =overflow-touch
63
+ -webkit-overflow-scrolling: touch
64
+
65
+ =placeholder
66
+ $placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input'
67
+ @each $placeholder in $placeholders
68
+ &:#{$placeholder}-placeholder
69
+ @content
70
+
71
+ =reset
72
+ -moz-appearance: none
73
+ -webkit-appearance: none
74
+ appearance: none
75
+ background: none
76
+ border: none
77
+ color: currentColor
78
+ font-family: inherit
79
+ font-size: 1em
80
+ margin: 0
81
+ padding: 0
82
+
83
+ // Responsiveness
84
+
85
+ =from($device)
86
+ @media screen and (min-width: $device)
87
+ @content
88
+
89
+ =until($device)
90
+ @media screen and (max-width: $device - 1px)
91
+ @content
92
+
93
+ =mobile
94
+ @media screen and (max-width: $tablet - 1px)
95
+ @content
96
+
97
+ =tablet
98
+ @media screen and (min-width: $tablet), print
99
+ @content
100
+
101
+ =tablet-only
102
+ @media screen and (min-width: $tablet) and (max-width: $desktop - 1px)
103
+ @content
104
+
105
+ =touch
106
+ @media screen and (max-width: $desktop - 1px)
107
+ @content
108
+
109
+ =desktop
110
+ @media screen and (min-width: $desktop)
111
+ @content
112
+
113
+ =desktop-only
114
+ @if $widescreen-enabled
115
+ @media screen and (min-width: $desktop) and (max-width: $widescreen - 1px)
116
+ @content
117
+
118
+ =until-widescreen
119
+ @if $widescreen-enabled
120
+ @media screen and (max-width: $widescreen - 1px)
121
+ @content
122
+
123
+ =widescreen
124
+ @if $widescreen-enabled
125
+ @media screen and (min-width: $widescreen)
126
+ @content
127
+
128
+ =widescreen-only
129
+ @if $widescreen-enabled and $fullhd-enabled
130
+ @media screen and (min-width: $widescreen) and (max-width: $fullhd - 1px)
131
+ @content
132
+
133
+ =until-fullhd
134
+ @if $fullhd-enabled
135
+ @media screen and (max-width: $fullhd - 1px)
136
+ @content
137
+
138
+ =fullhd
139
+ @if $fullhd-enabled
140
+ @media screen and (min-width: $fullhd)
141
+ @content
142
+
143
+ =ltr
144
+ @if not $rtl
145
+ @content
146
+
147
+ =rtl
148
+ @if $rtl
149
+ @content
150
+
151
+ =ltr-property($property, $spacing, $right: true)
152
+ $normal: if($right, "right", "left")
153
+ $opposite: if($right, "left", "right")
154
+ @if $rtl
155
+ #{$property}-#{$opposite}: $spacing
156
+ @else
157
+ #{$property}-#{$normal}: $spacing
158
+
159
+ =ltr-position($spacing, $right: true)
160
+ $normal: if($right, "right", "left")
161
+ $opposite: if($right, "left", "right")
162
+ @if $rtl
163
+ #{$opposite}: $spacing
164
+ @else
165
+ #{$normal}: $spacing
166
+
167
+ // Placeholders
168
+
169
+ =unselectable
170
+ -webkit-touch-callout: none
171
+ -webkit-user-select: none
172
+ -moz-user-select: none
173
+ -ms-user-select: none
174
+ user-select: none
175
+
176
+ =arrow($color: transparent)
177
+ border: 3px solid $color
178
+ border-radius: 2px
179
+ border-right: 0
180
+ border-top: 0
181
+ content: " "
182
+ display: block
183
+ height: 0.625em
184
+ margin-top: -0.4375em
185
+ pointer-events: none
186
+ position: absolute
187
+ top: 50%
188
+ transform: rotate(-45deg)
189
+ transform-origin: center
190
+ width: 0.625em
191
+
192
+ =block($spacing: $block-spacing)
193
+ &:not(:last-child)
194
+ margin-bottom: $spacing
195
+
196
+ =delete
197
+ +unselectable
198
+ -moz-appearance: none
199
+ -webkit-appearance: none
200
+ background-color: bulmaRgba($scheme-invert, 0.2)
201
+ border: none
202
+ border-radius: $radius-rounded
203
+ cursor: pointer
204
+ pointer-events: auto
205
+ display: inline-block
206
+ flex-grow: 0
207
+ flex-shrink: 0
208
+ font-size: 0
209
+ height: 20px
210
+ max-height: 20px
211
+ max-width: 20px
212
+ min-height: 20px
213
+ min-width: 20px
214
+ outline: none
215
+ position: relative
216
+ vertical-align: top
217
+ width: 20px
218
+ &::before,
219
+ &::after
220
+ background-color: $scheme-main
221
+ content: ""
222
+ display: block
223
+ left: 50%
224
+ position: absolute
225
+ top: 50%
226
+ transform: translateX(-50%) translateY(-50%) rotate(45deg)
227
+ transform-origin: center center
228
+ &::before
229
+ height: 2px
230
+ width: 50%
231
+ &::after
232
+ height: 50%
233
+ width: 2px
234
+ &:hover,
235
+ &:focus
236
+ background-color: bulmaRgba($scheme-invert, 0.3)
237
+ &:active
238
+ background-color: bulmaRgba($scheme-invert, 0.4)
239
+ // Sizes
240
+ &.is-small
241
+ height: 16px
242
+ max-height: 16px
243
+ max-width: 16px
244
+ min-height: 16px
245
+ min-width: 16px
246
+ width: 16px
247
+ &.is-medium
248
+ height: 24px
249
+ max-height: 24px
250
+ max-width: 24px
251
+ min-height: 24px
252
+ min-width: 24px
253
+ width: 24px
254
+ &.is-large
255
+ height: 32px
256
+ max-height: 32px
257
+ max-width: 32px
258
+ min-height: 32px
259
+ min-width: 32px
260
+ width: 32px
261
+
262
+ =loader
263
+ animation: spinAround 500ms infinite linear
264
+ border: 2px solid $grey-lighter
265
+ border-radius: $radius-rounded
266
+ border-right-color: transparent
267
+ border-top-color: transparent
268
+ content: ""
269
+ display: block
270
+ height: 1em
271
+ position: relative
272
+ width: 1em
273
+
274
+ =overlay($offset: 0)
275
+ bottom: $offset
276
+ left: $offset
277
+ position: absolute
278
+ right: $offset
279
+ top: $offset
280
+