jekyll-theme-opentoolbox 1.0.8 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +58 -31
  3. data/_includes/banner.html +4 -4
  4. data/_includes/callouts.html +10 -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 +7 -18
  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 +2 -2
  20. data/_includes/section-divider.html +5 -0
  21. data/_includes/setup.html +11 -0
  22. data/_includes/showcase.html +1 -1
  23. data/_includes/simple_banner.html +11 -0
  24. data/_includes/sponsors.html +43 -41
  25. data/_includes/subscribe.html +15 -5
  26. data/_includes/tabs.html +18 -17
  27. data/_includes/tag.html +2 -2
  28. data/_includes/toc.html +82 -82
  29. data/_includes/vimeo.html +2 -2
  30. data/_includes/youtube.html +7 -7
  31. data/_layouts/base.html +25 -0
  32. data/_layouts/blog.html +4 -3
  33. data/_layouts/default.html +34 -61
  34. data/_layouts/page.html +10 -10
  35. data/_layouts/post.html +50 -17
  36. data/_layouts/resource.html +1 -1
  37. data/_posts/2021-03-24-hello.md +1 -0
  38. data/_sass/_external.scss +1 -0
  39. data/_sass/_layout.scss +48 -36
  40. data/_sass/_main.scss +49 -22
  41. data/_sass/_showcase.scss +12 -12
  42. data/_sass/{syntax.scss → _syntax.scss} +209 -209
  43. data/_sass/_variables.scss +126 -0
  44. data/_sass/highlight/_dark.scss +71 -0
  45. data/_sass/highlight/_light.scss +259 -0
  46. data/assets/css/app.scss +8 -147
  47. data/blog/index.html +4 -2
  48. data/node_modules/bulma/CHANGELOG.md +1558 -1558
  49. data/node_modules/bulma/LICENSE +21 -21
  50. data/node_modules/bulma/README.md +134 -134
  51. data/node_modules/bulma/bulma.sass +10 -10
  52. data/node_modules/bulma/css/bulma-rtl.css +11810 -11810
  53. data/node_modules/bulma/css/bulma.css +11810 -11810
  54. data/node_modules/bulma/package.json +81 -81
  55. data/node_modules/bulma/sass/base/_all.sass +6 -6
  56. data/node_modules/bulma/sass/base/animations.sass +5 -5
  57. data/node_modules/bulma/sass/base/generic.sass +145 -145
  58. data/node_modules/bulma/sass/base/helpers.sass +1 -1
  59. data/node_modules/bulma/sass/base/minireset.sass +79 -79
  60. data/node_modules/bulma/sass/components/_all.sass +15 -15
  61. data/node_modules/bulma/sass/components/breadcrumb.sass +77 -77
  62. data/node_modules/bulma/sass/components/card.sass +103 -103
  63. data/node_modules/bulma/sass/components/dropdown.sass +83 -83
  64. data/node_modules/bulma/sass/components/level.sass +79 -79
  65. data/node_modules/bulma/sass/components/media.sass +59 -59
  66. data/node_modules/bulma/sass/components/menu.sass +59 -59
  67. data/node_modules/bulma/sass/components/message.sass +101 -101
  68. data/node_modules/bulma/sass/components/modal.sass +117 -117
  69. data/node_modules/bulma/sass/components/navbar.sass +446 -446
  70. data/node_modules/bulma/sass/components/pagination.sass +166 -166
  71. data/node_modules/bulma/sass/components/panel.sass +121 -121
  72. data/node_modules/bulma/sass/components/tabs.sass +176 -176
  73. data/node_modules/bulma/sass/elements/_all.sass +16 -16
  74. data/node_modules/bulma/sass/elements/box.sass +26 -26
  75. data/node_modules/bulma/sass/elements/button.sass +345 -345
  76. data/node_modules/bulma/sass/elements/container.sass +29 -29
  77. data/node_modules/bulma/sass/elements/content.sass +159 -159
  78. data/node_modules/bulma/sass/elements/form.sass +1 -1
  79. data/node_modules/bulma/sass/elements/icon.sass +46 -46
  80. data/node_modules/bulma/sass/elements/image.sass +73 -73
  81. data/node_modules/bulma/sass/elements/notification.sass +52 -52
  82. data/node_modules/bulma/sass/elements/other.sass +31 -31
  83. data/node_modules/bulma/sass/elements/progress.sass +73 -73
  84. data/node_modules/bulma/sass/elements/table.sass +133 -133
  85. data/node_modules/bulma/sass/elements/tag.sass +140 -140
  86. data/node_modules/bulma/sass/elements/title.sass +70 -70
  87. data/node_modules/bulma/sass/form/_all.sass +9 -9
  88. data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -22
  89. data/node_modules/bulma/sass/form/file.sass +184 -184
  90. data/node_modules/bulma/sass/form/input-textarea.sass +66 -66
  91. data/node_modules/bulma/sass/form/select.sass +87 -87
  92. data/node_modules/bulma/sass/form/shared.sass +60 -60
  93. data/node_modules/bulma/sass/form/tools.sass +215 -215
  94. data/node_modules/bulma/sass/grid/_all.sass +5 -5
  95. data/node_modules/bulma/sass/grid/columns.sass +513 -513
  96. data/node_modules/bulma/sass/grid/tiles.sass +36 -36
  97. data/node_modules/bulma/sass/helpers/_all.sass +12 -12
  98. data/node_modules/bulma/sass/helpers/color.sass +39 -39
  99. data/node_modules/bulma/sass/helpers/flexbox.sass +35 -35
  100. data/node_modules/bulma/sass/helpers/float.sass +10 -10
  101. data/node_modules/bulma/sass/helpers/other.sass +14 -14
  102. data/node_modules/bulma/sass/helpers/overflow.sass +2 -2
  103. data/node_modules/bulma/sass/helpers/position.sass +7 -7
  104. data/node_modules/bulma/sass/helpers/spacing.sass +31 -31
  105. data/node_modules/bulma/sass/helpers/typography.sass +103 -103
  106. data/node_modules/bulma/sass/helpers/visibility.sass +122 -122
  107. data/node_modules/bulma/sass/layout/_all.sass +6 -6
  108. data/node_modules/bulma/sass/layout/footer.sass +11 -11
  109. data/node_modules/bulma/sass/layout/hero.sass +153 -153
  110. data/node_modules/bulma/sass/layout/section.sass +17 -17
  111. data/node_modules/bulma/sass/utilities/_all.sass +9 -9
  112. data/node_modules/bulma/sass/utilities/animations.sass +1 -1
  113. data/node_modules/bulma/sass/utilities/controls.sass +49 -49
  114. data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -114
  115. data/node_modules/bulma/sass/utilities/extends.sass +25 -25
  116. data/node_modules/bulma/sass/utilities/functions.sass +136 -136
  117. data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -78
  118. data/node_modules/bulma/sass/utilities/mixins.sass +280 -280
  119. data/node_modules/bulma-block-list/LICENSE.txt +21 -21
  120. data/node_modules/bulma-block-list/README.md +31 -31
  121. data/node_modules/bulma-block-list/docs/Gemfile +2 -2
  122. data/node_modules/bulma-block-list/docs/_config.yml +15 -15
  123. data/node_modules/bulma-block-list/docs/_data/menu.yaml +19 -19
  124. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +108 -108
  125. data/node_modules/bulma-block-list/docs/_sass/_main.scss +19 -19
  126. data/node_modules/bulma-block-list/docs/assets/css/app.scss +6 -6
  127. data/node_modules/bulma-block-list/docs/index.html +260 -260
  128. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -1390
  129. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -21
  130. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -130
  131. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -9
  132. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10854 -10854
  133. data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -77
  134. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -5
  135. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -142
  136. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -281
  137. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -79
  138. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -15
  139. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -75
  140. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -79
  141. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -81
  142. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -77
  143. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -39
  144. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -50
  145. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -57
  146. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -99
  147. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -113
  148. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -441
  149. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -150
  150. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -119
  151. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -151
  152. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -15
  153. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -24
  154. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -323
  155. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -24
  156. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -155
  157. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -1
  158. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -21
  159. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -71
  160. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -43
  161. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -39
  162. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -67
  163. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -127
  164. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -128
  165. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -70
  166. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -8
  167. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -21
  168. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -180
  169. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -64
  170. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -85
  171. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -55
  172. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -205
  173. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -4
  174. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -504
  175. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -34
  176. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -5
  177. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -9
  178. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -145
  179. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -13
  180. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -8
  181. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -5
  182. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -50
  183. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -106
  184. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -110
  185. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -77
  186. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -261
  187. data/node_modules/bulma-block-list/package.json +56 -56
  188. data/node_modules/bulma-block-list/src/block-list.scss +108 -108
  189. data/node_modules/bulma-block-list/src/demo.scss +2 -2
  190. data/package-lock.json +28 -28
  191. data/package.json +20 -20
  192. metadata +16 -13
  193. data/_includes/hero.html +0 -11
  194. data/_includes/join.html +0 -30
  195. data/_includes/rating.html +0 -14
  196. data/_includes/review.html +0 -27
  197. data/_includes/share-buttons.html +0 -19
  198. data/_layouts/product-category.html +0 -42
  199. data/_layouts/product.html +0 -61
  200. data/_layouts/recipe.html +0 -98
  201. data/assets/css/highlight.css +0 -78
@@ -1,52 +1,52 @@
1
- @import "../utilities/mixins"
2
-
3
- $notification-background-color: $background !default
4
- $notification-code-background-color: $scheme-main !default
5
- $notification-radius: $radius !default
6
- $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
7
- $notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
8
- $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
9
-
10
- $notification-colors: $colors !default
11
-
12
- .notification
13
- @extend %block
14
- background-color: $notification-background-color
15
- border-radius: $notification-radius
16
- position: relative
17
- +ltr
18
- padding: $notification-padding-ltr
19
- +rtl
20
- padding: $notification-padding-rtl
21
- a:not(.button):not(.dropdown-item)
22
- color: currentColor
23
- text-decoration: underline
24
- strong
25
- color: currentColor
26
- code,
27
- pre
28
- background: $notification-code-background-color
29
- pre code
30
- background: transparent
31
- & > .delete
32
- +ltr-position(0.5rem)
33
- position: absolute
34
- top: 0.5rem
35
- .title,
36
- .subtitle,
37
- .content
38
- color: currentColor
39
- // Colors
40
- @each $name, $pair in $notification-colors
41
- $color: nth($pair, 1)
42
- $color-invert: nth($pair, 2)
43
- &.is-#{$name}
44
- background-color: $color
45
- color: $color-invert
46
- // If light and dark colors are provided
47
- @if length($pair) >= 4
48
- $color-light: nth($pair, 3)
49
- $color-dark: nth($pair, 4)
50
- &.is-light
51
- background-color: $color-light
52
- color: $color-dark
1
+ @import "../utilities/mixins"
2
+
3
+ $notification-background-color: $background !default
4
+ $notification-code-background-color: $scheme-main !default
5
+ $notification-radius: $radius !default
6
+ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
7
+ $notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
8
+ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
9
+
10
+ $notification-colors: $colors !default
11
+
12
+ .notification
13
+ @extend %block
14
+ background-color: $notification-background-color
15
+ border-radius: $notification-radius
16
+ position: relative
17
+ +ltr
18
+ padding: $notification-padding-ltr
19
+ +rtl
20
+ padding: $notification-padding-rtl
21
+ a:not(.button):not(.dropdown-item)
22
+ color: currentColor
23
+ text-decoration: underline
24
+ strong
25
+ color: currentColor
26
+ code,
27
+ pre
28
+ background: $notification-code-background-color
29
+ pre code
30
+ background: transparent
31
+ & > .delete
32
+ +ltr-position(0.5rem)
33
+ position: absolute
34
+ top: 0.5rem
35
+ .title,
36
+ .subtitle,
37
+ .content
38
+ color: currentColor
39
+ // Colors
40
+ @each $name, $pair in $notification-colors
41
+ $color: nth($pair, 1)
42
+ $color-invert: nth($pair, 2)
43
+ &.is-#{$name}
44
+ background-color: $color
45
+ color: $color-invert
46
+ // If light and dark colors are provided
47
+ @if length($pair) >= 4
48
+ $color-light: nth($pair, 3)
49
+ $color-dark: nth($pair, 4)
50
+ &.is-light
51
+ background-color: $color-light
52
+ color: $color-dark
@@ -1,31 +1,31 @@
1
- @import "../utilities/mixins"
2
-
3
- .block
4
- @extend %block
5
-
6
- .delete
7
- @extend %delete
8
-
9
- .heading
10
- display: block
11
- font-size: 11px
12
- letter-spacing: 1px
13
- margin-bottom: 5px
14
- text-transform: uppercase
15
-
16
- .loader
17
- @extend %loader
18
-
19
- .number
20
- align-items: center
21
- background-color: $background
22
- border-radius: $radius-rounded
23
- display: inline-flex
24
- font-size: $size-medium
25
- height: 2em
26
- justify-content: center
27
- margin-right: 1.5rem
28
- min-width: 2.5em
29
- padding: 0.25rem 0.5rem
30
- text-align: center
31
- vertical-align: top
1
+ @import "../utilities/mixins"
2
+
3
+ .block
4
+ @extend %block
5
+
6
+ .delete
7
+ @extend %delete
8
+
9
+ .heading
10
+ display: block
11
+ font-size: 11px
12
+ letter-spacing: 1px
13
+ margin-bottom: 5px
14
+ text-transform: uppercase
15
+
16
+ .loader
17
+ @extend %loader
18
+
19
+ .number
20
+ align-items: center
21
+ background-color: $background
22
+ border-radius: $radius-rounded
23
+ display: inline-flex
24
+ font-size: $size-medium
25
+ height: 2em
26
+ justify-content: center
27
+ margin-right: 1.5rem
28
+ min-width: 2.5em
29
+ padding: 0.25rem 0.5rem
30
+ text-align: center
31
+ vertical-align: top
@@ -1,73 +1,73 @@
1
- @import "../utilities/mixins"
2
-
3
- $progress-bar-background-color: $border-light !default
4
- $progress-value-background-color: $text !default
5
- $progress-border-radius: $radius-rounded !default
6
-
7
- $progress-indeterminate-duration: 1.5s !default
8
-
9
- $progress-colors: $colors !default
10
-
11
- .progress
12
- @extend %block
13
- -moz-appearance: none
14
- -webkit-appearance: none
15
- border: none
16
- border-radius: $progress-border-radius
17
- display: block
18
- height: $size-normal
19
- overflow: hidden
20
- padding: 0
21
- width: 100%
22
- &::-webkit-progress-bar
23
- background-color: $progress-bar-background-color
24
- &::-webkit-progress-value
25
- background-color: $progress-value-background-color
26
- &::-moz-progress-bar
27
- background-color: $progress-value-background-color
28
- &::-ms-fill
29
- background-color: $progress-value-background-color
30
- border: none
31
- // Colors
32
- @each $name, $pair in $progress-colors
33
- $color: nth($pair, 1)
34
- &.is-#{$name}
35
- &::-webkit-progress-value
36
- background-color: $color
37
- &::-moz-progress-bar
38
- background-color: $color
39
- &::-ms-fill
40
- background-color: $color
41
- &:indeterminate
42
- background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
43
-
44
- &:indeterminate
45
- animation-duration: $progress-indeterminate-duration
46
- animation-iteration-count: infinite
47
- animation-name: moveIndeterminate
48
- animation-timing-function: linear
49
- background-color: $progress-bar-background-color
50
- background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
51
- background-position: top left
52
- background-repeat: no-repeat
53
- background-size: 150% 150%
54
- &::-webkit-progress-bar
55
- background-color: transparent
56
- &::-moz-progress-bar
57
- background-color: transparent
58
- &::-ms-fill
59
- animation-name: none
60
-
61
- // Sizes
62
- &.is-small
63
- height: $size-small
64
- &.is-medium
65
- height: $size-medium
66
- &.is-large
67
- height: $size-large
68
-
69
- @keyframes moveIndeterminate
70
- from
71
- background-position: 200% 0
72
- to
73
- background-position: -200% 0
1
+ @import "../utilities/mixins"
2
+
3
+ $progress-bar-background-color: $border-light !default
4
+ $progress-value-background-color: $text !default
5
+ $progress-border-radius: $radius-rounded !default
6
+
7
+ $progress-indeterminate-duration: 1.5s !default
8
+
9
+ $progress-colors: $colors !default
10
+
11
+ .progress
12
+ @extend %block
13
+ -moz-appearance: none
14
+ -webkit-appearance: none
15
+ border: none
16
+ border-radius: $progress-border-radius
17
+ display: block
18
+ height: $size-normal
19
+ overflow: hidden
20
+ padding: 0
21
+ width: 100%
22
+ &::-webkit-progress-bar
23
+ background-color: $progress-bar-background-color
24
+ &::-webkit-progress-value
25
+ background-color: $progress-value-background-color
26
+ &::-moz-progress-bar
27
+ background-color: $progress-value-background-color
28
+ &::-ms-fill
29
+ background-color: $progress-value-background-color
30
+ border: none
31
+ // Colors
32
+ @each $name, $pair in $progress-colors
33
+ $color: nth($pair, 1)
34
+ &.is-#{$name}
35
+ &::-webkit-progress-value
36
+ background-color: $color
37
+ &::-moz-progress-bar
38
+ background-color: $color
39
+ &::-ms-fill
40
+ background-color: $color
41
+ &:indeterminate
42
+ background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
43
+
44
+ &:indeterminate
45
+ animation-duration: $progress-indeterminate-duration
46
+ animation-iteration-count: infinite
47
+ animation-name: moveIndeterminate
48
+ animation-timing-function: linear
49
+ background-color: $progress-bar-background-color
50
+ background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
51
+ background-position: top left
52
+ background-repeat: no-repeat
53
+ background-size: 150% 150%
54
+ &::-webkit-progress-bar
55
+ background-color: transparent
56
+ &::-moz-progress-bar
57
+ background-color: transparent
58
+ &::-ms-fill
59
+ animation-name: none
60
+
61
+ // Sizes
62
+ &.is-small
63
+ height: $size-small
64
+ &.is-medium
65
+ height: $size-medium
66
+ &.is-large
67
+ height: $size-large
68
+
69
+ @keyframes moveIndeterminate
70
+ from
71
+ background-position: 200% 0
72
+ to
73
+ background-position: -200% 0
@@ -1,133 +1,133 @@
1
- @import "../utilities/mixins"
2
-
3
- $table-color: $text-strong !default
4
- $table-background-color: $scheme-main !default
5
-
6
- $table-cell-border: 1px solid $border !default
7
- $table-cell-border-width: 0 0 1px !default
8
- $table-cell-padding: 0.5em 0.75em !default
9
- $table-cell-heading-color: $text-strong !default
10
-
11
- $table-head-cell-border-width: 0 0 2px !default
12
- $table-head-cell-color: $text-strong !default
13
- $table-foot-cell-border-width: 2px 0 0 !default
14
- $table-foot-cell-color: $text-strong !default
15
-
16
- $table-head-background-color: transparent !default
17
- $table-body-background-color: transparent !default
18
- $table-foot-background-color: transparent !default
19
-
20
- $table-row-hover-background-color: $scheme-main-bis !default
21
-
22
- $table-row-active-background-color: $primary !default
23
- $table-row-active-color: $primary-invert !default
24
-
25
- $table-striped-row-even-background-color: $scheme-main-bis !default
26
- $table-striped-row-even-hover-background-color: $scheme-main-ter !default
27
-
28
- $table-colors: $colors !default
29
-
30
- .table
31
- @extend %block
32
- background-color: $table-background-color
33
- color: $table-color
34
- td,
35
- th
36
- border: $table-cell-border
37
- border-width: $table-cell-border-width
38
- padding: $table-cell-padding
39
- vertical-align: top
40
- // Colors
41
- @each $name, $pair in $table-colors
42
- $color: nth($pair, 1)
43
- $color-invert: nth($pair, 2)
44
- &.is-#{$name}
45
- background-color: $color
46
- border-color: $color
47
- color: $color-invert
48
- // Modifiers
49
- &.is-narrow
50
- white-space: nowrap
51
- width: 1%
52
- &.is-selected
53
- background-color: $table-row-active-background-color
54
- color: $table-row-active-color
55
- a,
56
- strong
57
- color: currentColor
58
- &.is-vcentered
59
- vertical-align: middle
60
- th
61
- color: $table-cell-heading-color
62
- &:not([align])
63
- text-align: inherit
64
- tr
65
- &.is-selected
66
- background-color: $table-row-active-background-color
67
- color: $table-row-active-color
68
- a,
69
- strong
70
- color: currentColor
71
- td,
72
- th
73
- border-color: $table-row-active-color
74
- color: currentColor
75
- thead
76
- background-color: $table-head-background-color
77
- td,
78
- th
79
- border-width: $table-head-cell-border-width
80
- color: $table-head-cell-color
81
- tfoot
82
- background-color: $table-foot-background-color
83
- td,
84
- th
85
- border-width: $table-foot-cell-border-width
86
- color: $table-foot-cell-color
87
- tbody
88
- background-color: $table-body-background-color
89
- tr
90
- &:last-child
91
- td,
92
- th
93
- border-bottom-width: 0
94
- // Modifiers
95
- &.is-bordered
96
- td,
97
- th
98
- border-width: 1px
99
- tr
100
- &:last-child
101
- td,
102
- th
103
- border-bottom-width: 1px
104
- &.is-fullwidth
105
- width: 100%
106
- &.is-hoverable
107
- tbody
108
- tr:not(.is-selected)
109
- &:hover
110
- background-color: $table-row-hover-background-color
111
- &.is-striped
112
- tbody
113
- tr:not(.is-selected)
114
- &:hover
115
- background-color: $table-row-hover-background-color
116
- &:nth-child(even)
117
- background-color: $table-striped-row-even-hover-background-color
118
- &.is-narrow
119
- td,
120
- th
121
- padding: 0.25em 0.5em
122
- &.is-striped
123
- tbody
124
- tr:not(.is-selected)
125
- &:nth-child(even)
126
- background-color: $table-striped-row-even-background-color
127
-
128
- .table-container
129
- @extend %block
130
- +overflow-touch
131
- overflow: auto
132
- overflow-y: hidden
133
- max-width: 100%
1
+ @import "../utilities/mixins"
2
+
3
+ $table-color: $text-strong !default
4
+ $table-background-color: $scheme-main !default
5
+
6
+ $table-cell-border: 1px solid $border !default
7
+ $table-cell-border-width: 0 0 1px !default
8
+ $table-cell-padding: 0.5em 0.75em !default
9
+ $table-cell-heading-color: $text-strong !default
10
+
11
+ $table-head-cell-border-width: 0 0 2px !default
12
+ $table-head-cell-color: $text-strong !default
13
+ $table-foot-cell-border-width: 2px 0 0 !default
14
+ $table-foot-cell-color: $text-strong !default
15
+
16
+ $table-head-background-color: transparent !default
17
+ $table-body-background-color: transparent !default
18
+ $table-foot-background-color: transparent !default
19
+
20
+ $table-row-hover-background-color: $scheme-main-bis !default
21
+
22
+ $table-row-active-background-color: $primary !default
23
+ $table-row-active-color: $primary-invert !default
24
+
25
+ $table-striped-row-even-background-color: $scheme-main-bis !default
26
+ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
27
+
28
+ $table-colors: $colors !default
29
+
30
+ .table
31
+ @extend %block
32
+ background-color: $table-background-color
33
+ color: $table-color
34
+ td,
35
+ th
36
+ border: $table-cell-border
37
+ border-width: $table-cell-border-width
38
+ padding: $table-cell-padding
39
+ vertical-align: top
40
+ // Colors
41
+ @each $name, $pair in $table-colors
42
+ $color: nth($pair, 1)
43
+ $color-invert: nth($pair, 2)
44
+ &.is-#{$name}
45
+ background-color: $color
46
+ border-color: $color
47
+ color: $color-invert
48
+ // Modifiers
49
+ &.is-narrow
50
+ white-space: nowrap
51
+ width: 1%
52
+ &.is-selected
53
+ background-color: $table-row-active-background-color
54
+ color: $table-row-active-color
55
+ a,
56
+ strong
57
+ color: currentColor
58
+ &.is-vcentered
59
+ vertical-align: middle
60
+ th
61
+ color: $table-cell-heading-color
62
+ &:not([align])
63
+ text-align: inherit
64
+ tr
65
+ &.is-selected
66
+ background-color: $table-row-active-background-color
67
+ color: $table-row-active-color
68
+ a,
69
+ strong
70
+ color: currentColor
71
+ td,
72
+ th
73
+ border-color: $table-row-active-color
74
+ color: currentColor
75
+ thead
76
+ background-color: $table-head-background-color
77
+ td,
78
+ th
79
+ border-width: $table-head-cell-border-width
80
+ color: $table-head-cell-color
81
+ tfoot
82
+ background-color: $table-foot-background-color
83
+ td,
84
+ th
85
+ border-width: $table-foot-cell-border-width
86
+ color: $table-foot-cell-color
87
+ tbody
88
+ background-color: $table-body-background-color
89
+ tr
90
+ &:last-child
91
+ td,
92
+ th
93
+ border-bottom-width: 0
94
+ // Modifiers
95
+ &.is-bordered
96
+ td,
97
+ th
98
+ border-width: 1px
99
+ tr
100
+ &:last-child
101
+ td,
102
+ th
103
+ border-bottom-width: 1px
104
+ &.is-fullwidth
105
+ width: 100%
106
+ &.is-hoverable
107
+ tbody
108
+ tr:not(.is-selected)
109
+ &:hover
110
+ background-color: $table-row-hover-background-color
111
+ &.is-striped
112
+ tbody
113
+ tr:not(.is-selected)
114
+ &:hover
115
+ background-color: $table-row-hover-background-color
116
+ &:nth-child(even)
117
+ background-color: $table-striped-row-even-hover-background-color
118
+ &.is-narrow
119
+ td,
120
+ th
121
+ padding: 0.25em 0.5em
122
+ &.is-striped
123
+ tbody
124
+ tr:not(.is-selected)
125
+ &:nth-child(even)
126
+ background-color: $table-striped-row-even-background-color
127
+
128
+ .table-container
129
+ @extend %block
130
+ +overflow-touch
131
+ overflow: auto
132
+ overflow-y: hidden
133
+ max-width: 100%