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,39 +1,39 @@
1
- .block
2
- @extend %block
3
-
4
- .delete
5
- @extend %delete
6
-
7
- .heading
8
- display: block
9
- font-size: 11px
10
- letter-spacing: 1px
11
- margin-bottom: 5px
12
- text-transform: uppercase
13
-
14
- .highlight
15
- @extend %block
16
- font-weight: $weight-normal
17
- max-width: 100%
18
- overflow: hidden
19
- padding: 0
20
- pre
21
- overflow: auto
22
- max-width: 100%
23
-
24
- .loader
25
- @extend %loader
26
-
27
- .number
28
- align-items: center
29
- background-color: $background
30
- border-radius: $radius-rounded
31
- display: inline-flex
32
- font-size: $size-medium
33
- height: 2em
34
- justify-content: center
35
- margin-right: 1.5rem
36
- min-width: 2.5em
37
- padding: 0.25rem 0.5rem
38
- text-align: center
39
- vertical-align: top
1
+ .block
2
+ @extend %block
3
+
4
+ .delete
5
+ @extend %delete
6
+
7
+ .heading
8
+ display: block
9
+ font-size: 11px
10
+ letter-spacing: 1px
11
+ margin-bottom: 5px
12
+ text-transform: uppercase
13
+
14
+ .highlight
15
+ @extend %block
16
+ font-weight: $weight-normal
17
+ max-width: 100%
18
+ overflow: hidden
19
+ padding: 0
20
+ pre
21
+ overflow: auto
22
+ max-width: 100%
23
+
24
+ .loader
25
+ @extend %loader
26
+
27
+ .number
28
+ align-items: center
29
+ background-color: $background
30
+ border-radius: $radius-rounded
31
+ display: inline-flex
32
+ font-size: $size-medium
33
+ height: 2em
34
+ justify-content: center
35
+ margin-right: 1.5rem
36
+ min-width: 2.5em
37
+ padding: 0.25rem 0.5rem
38
+ text-align: center
39
+ vertical-align: top
@@ -1,67 +1,67 @@
1
- $progress-bar-background-color: $border-light !default
2
- $progress-value-background-color: $text !default
3
- $progress-border-radius: $radius-rounded !default
4
-
5
- $progress-indeterminate-duration: 1.5s !default
6
-
7
- .progress
8
- @extend %block
9
- -moz-appearance: none
10
- -webkit-appearance: none
11
- border: none
12
- border-radius: $progress-border-radius
13
- display: block
14
- height: $size-normal
15
- overflow: hidden
16
- padding: 0
17
- width: 100%
18
- &::-webkit-progress-bar
19
- background-color: $progress-bar-background-color
20
- &::-webkit-progress-value
21
- background-color: $progress-value-background-color
22
- &::-moz-progress-bar
23
- background-color: $progress-value-background-color
24
- &::-ms-fill
25
- background-color: $progress-value-background-color
26
- border: none
27
- // Colors
28
- @each $name, $pair in $colors
29
- $color: nth($pair, 1)
30
- &.is-#{$name}
31
- &::-webkit-progress-value
32
- background-color: $color
33
- &::-moz-progress-bar
34
- background-color: $color
35
- &::-ms-fill
36
- background-color: $color
37
- &:indeterminate
38
- background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
39
-
40
- &:indeterminate
41
- animation-duration: $progress-indeterminate-duration
42
- animation-iteration-count: infinite
43
- animation-name: moveIndeterminate
44
- animation-timing-function: linear
45
- background-color: $progress-bar-background-color
46
- background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
47
- background-position: top left
48
- background-repeat: no-repeat
49
- background-size: 150% 150%
50
- &::-webkit-progress-bar
51
- background-color: transparent
52
- &::-moz-progress-bar
53
- background-color: transparent
54
-
55
- // Sizes
56
- &.is-small
57
- height: $size-small
58
- &.is-medium
59
- height: $size-medium
60
- &.is-large
61
- height: $size-large
62
-
63
- @keyframes moveIndeterminate
64
- from
65
- background-position: 200% 0
66
- to
67
- background-position: -200% 0
1
+ $progress-bar-background-color: $border-light !default
2
+ $progress-value-background-color: $text !default
3
+ $progress-border-radius: $radius-rounded !default
4
+
5
+ $progress-indeterminate-duration: 1.5s !default
6
+
7
+ .progress
8
+ @extend %block
9
+ -moz-appearance: none
10
+ -webkit-appearance: none
11
+ border: none
12
+ border-radius: $progress-border-radius
13
+ display: block
14
+ height: $size-normal
15
+ overflow: hidden
16
+ padding: 0
17
+ width: 100%
18
+ &::-webkit-progress-bar
19
+ background-color: $progress-bar-background-color
20
+ &::-webkit-progress-value
21
+ background-color: $progress-value-background-color
22
+ &::-moz-progress-bar
23
+ background-color: $progress-value-background-color
24
+ &::-ms-fill
25
+ background-color: $progress-value-background-color
26
+ border: none
27
+ // Colors
28
+ @each $name, $pair in $colors
29
+ $color: nth($pair, 1)
30
+ &.is-#{$name}
31
+ &::-webkit-progress-value
32
+ background-color: $color
33
+ &::-moz-progress-bar
34
+ background-color: $color
35
+ &::-ms-fill
36
+ background-color: $color
37
+ &:indeterminate
38
+ background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
39
+
40
+ &:indeterminate
41
+ animation-duration: $progress-indeterminate-duration
42
+ animation-iteration-count: infinite
43
+ animation-name: moveIndeterminate
44
+ animation-timing-function: linear
45
+ background-color: $progress-bar-background-color
46
+ background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
47
+ background-position: top left
48
+ background-repeat: no-repeat
49
+ background-size: 150% 150%
50
+ &::-webkit-progress-bar
51
+ background-color: transparent
52
+ &::-moz-progress-bar
53
+ background-color: transparent
54
+
55
+ // Sizes
56
+ &.is-small
57
+ height: $size-small
58
+ &.is-medium
59
+ height: $size-medium
60
+ &.is-large
61
+ height: $size-large
62
+
63
+ @keyframes moveIndeterminate
64
+ from
65
+ background-position: 200% 0
66
+ to
67
+ background-position: -200% 0
@@ -1,127 +1,127 @@
1
- $table-color: $text-strong !default
2
- $table-background-color: $scheme-main !default
3
-
4
- $table-cell-border: 1px solid $border !default
5
- $table-cell-border-width: 0 0 1px !default
6
- $table-cell-padding: 0.5em 0.75em !default
7
- $table-cell-heading-color: $text-strong !default
8
-
9
- $table-head-cell-border-width: 0 0 2px !default
10
- $table-head-cell-color: $text-strong !default
11
- $table-foot-cell-border-width: 2px 0 0 !default
12
- $table-foot-cell-color: $text-strong !default
13
-
14
- $table-head-background-color: transparent !default
15
- $table-body-background-color: transparent !default
16
- $table-foot-background-color: transparent !default
17
-
18
- $table-row-hover-background-color: $scheme-main-bis !default
19
-
20
- $table-row-active-background-color: $primary !default
21
- $table-row-active-color: $primary-invert !default
22
-
23
- $table-striped-row-even-background-color: $scheme-main-bis !default
24
- $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
-
26
- .table
27
- @extend %block
28
- background-color: $table-background-color
29
- color: $table-color
30
- td,
31
- th
32
- border: $table-cell-border
33
- border-width: $table-cell-border-width
34
- padding: $table-cell-padding
35
- vertical-align: top
36
- // Colors
37
- @each $name, $pair in $colors
38
- $color: nth($pair, 1)
39
- $color-invert: nth($pair, 2)
40
- &.is-#{$name}
41
- background-color: $color
42
- border-color: $color
43
- color: $color-invert
44
- // Modifiers
45
- &.is-narrow
46
- white-space: nowrap
47
- width: 1%
48
- &.is-selected
49
- background-color: $table-row-active-background-color
50
- color: $table-row-active-color
51
- a,
52
- strong
53
- color: currentColor
54
- th
55
- color: $table-cell-heading-color
56
- &:not([align])
57
- text-align: left
58
- tr
59
- &.is-selected
60
- background-color: $table-row-active-background-color
61
- color: $table-row-active-color
62
- a,
63
- strong
64
- color: currentColor
65
- td,
66
- th
67
- border-color: $table-row-active-color
68
- color: currentColor
69
- thead
70
- background-color: $table-head-background-color
71
- td,
72
- th
73
- border-width: $table-head-cell-border-width
74
- color: $table-head-cell-color
75
- tfoot
76
- background-color: $table-foot-background-color
77
- td,
78
- th
79
- border-width: $table-foot-cell-border-width
80
- color: $table-foot-cell-color
81
- tbody
82
- background-color: $table-body-background-color
83
- tr
84
- &:last-child
85
- td,
86
- th
87
- border-bottom-width: 0
88
- // Modifiers
89
- &.is-bordered
90
- td,
91
- th
92
- border-width: 1px
93
- tr
94
- &:last-child
95
- td,
96
- th
97
- border-bottom-width: 1px
98
- &.is-fullwidth
99
- width: 100%
100
- &.is-hoverable
101
- tbody
102
- tr:not(.is-selected)
103
- &:hover
104
- background-color: $table-row-hover-background-color
105
- &.is-striped
106
- tbody
107
- tr:not(.is-selected)
108
- &:hover
109
- background-color: $table-row-hover-background-color
110
- &:nth-child(even)
111
- background-color: $table-striped-row-even-hover-background-color
112
- &.is-narrow
113
- td,
114
- th
115
- padding: 0.25em 0.5em
116
- &.is-striped
117
- tbody
118
- tr:not(.is-selected)
119
- &:nth-child(even)
120
- background-color: $table-striped-row-even-background-color
121
-
122
- .table-container
123
- @extend %block
124
- +overflow-touch
125
- overflow: auto
126
- overflow-y: hidden
127
- max-width: 100%
1
+ $table-color: $text-strong !default
2
+ $table-background-color: $scheme-main !default
3
+
4
+ $table-cell-border: 1px solid $border !default
5
+ $table-cell-border-width: 0 0 1px !default
6
+ $table-cell-padding: 0.5em 0.75em !default
7
+ $table-cell-heading-color: $text-strong !default
8
+
9
+ $table-head-cell-border-width: 0 0 2px !default
10
+ $table-head-cell-color: $text-strong !default
11
+ $table-foot-cell-border-width: 2px 0 0 !default
12
+ $table-foot-cell-color: $text-strong !default
13
+
14
+ $table-head-background-color: transparent !default
15
+ $table-body-background-color: transparent !default
16
+ $table-foot-background-color: transparent !default
17
+
18
+ $table-row-hover-background-color: $scheme-main-bis !default
19
+
20
+ $table-row-active-background-color: $primary !default
21
+ $table-row-active-color: $primary-invert !default
22
+
23
+ $table-striped-row-even-background-color: $scheme-main-bis !default
24
+ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
+
26
+ .table
27
+ @extend %block
28
+ background-color: $table-background-color
29
+ color: $table-color
30
+ td,
31
+ th
32
+ border: $table-cell-border
33
+ border-width: $table-cell-border-width
34
+ padding: $table-cell-padding
35
+ vertical-align: top
36
+ // Colors
37
+ @each $name, $pair in $colors
38
+ $color: nth($pair, 1)
39
+ $color-invert: nth($pair, 2)
40
+ &.is-#{$name}
41
+ background-color: $color
42
+ border-color: $color
43
+ color: $color-invert
44
+ // Modifiers
45
+ &.is-narrow
46
+ white-space: nowrap
47
+ width: 1%
48
+ &.is-selected
49
+ background-color: $table-row-active-background-color
50
+ color: $table-row-active-color
51
+ a,
52
+ strong
53
+ color: currentColor
54
+ th
55
+ color: $table-cell-heading-color
56
+ &:not([align])
57
+ text-align: left
58
+ tr
59
+ &.is-selected
60
+ background-color: $table-row-active-background-color
61
+ color: $table-row-active-color
62
+ a,
63
+ strong
64
+ color: currentColor
65
+ td,
66
+ th
67
+ border-color: $table-row-active-color
68
+ color: currentColor
69
+ thead
70
+ background-color: $table-head-background-color
71
+ td,
72
+ th
73
+ border-width: $table-head-cell-border-width
74
+ color: $table-head-cell-color
75
+ tfoot
76
+ background-color: $table-foot-background-color
77
+ td,
78
+ th
79
+ border-width: $table-foot-cell-border-width
80
+ color: $table-foot-cell-color
81
+ tbody
82
+ background-color: $table-body-background-color
83
+ tr
84
+ &:last-child
85
+ td,
86
+ th
87
+ border-bottom-width: 0
88
+ // Modifiers
89
+ &.is-bordered
90
+ td,
91
+ th
92
+ border-width: 1px
93
+ tr
94
+ &:last-child
95
+ td,
96
+ th
97
+ border-bottom-width: 1px
98
+ &.is-fullwidth
99
+ width: 100%
100
+ &.is-hoverable
101
+ tbody
102
+ tr:not(.is-selected)
103
+ &:hover
104
+ background-color: $table-row-hover-background-color
105
+ &.is-striped
106
+ tbody
107
+ tr:not(.is-selected)
108
+ &:hover
109
+ background-color: $table-row-hover-background-color
110
+ &:nth-child(even)
111
+ background-color: $table-striped-row-even-hover-background-color
112
+ &.is-narrow
113
+ td,
114
+ th
115
+ padding: 0.25em 0.5em
116
+ &.is-striped
117
+ tbody
118
+ tr:not(.is-selected)
119
+ &:nth-child(even)
120
+ background-color: $table-striped-row-even-background-color
121
+
122
+ .table-container
123
+ @extend %block
124
+ +overflow-touch
125
+ overflow: auto
126
+ overflow-y: hidden
127
+ max-width: 100%