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,151 +1,151 @@
1
- $tabs-border-bottom-color: $border !default
2
- $tabs-border-bottom-style: solid !default
3
- $tabs-border-bottom-width: 1px !default
4
- $tabs-link-color: $text !default
5
- $tabs-link-hover-border-bottom-color: $text-strong !default
6
- $tabs-link-hover-color: $text-strong !default
7
- $tabs-link-active-border-bottom-color: $link !default
8
- $tabs-link-active-color: $link !default
9
- $tabs-link-padding: 0.5em 1em !default
10
-
11
- $tabs-boxed-link-radius: $radius !default
12
- $tabs-boxed-link-hover-background-color: $background !default
13
- $tabs-boxed-link-hover-border-bottom-color: $border !default
14
-
15
- $tabs-boxed-link-active-background-color: $scheme-main !default
16
- $tabs-boxed-link-active-border-color: $border !default
17
- $tabs-boxed-link-active-border-bottom-color: transparent !default
18
-
19
- $tabs-toggle-link-border-color: $border !default
20
- $tabs-toggle-link-border-style: solid !default
21
- $tabs-toggle-link-border-width: 1px !default
22
- $tabs-toggle-link-hover-background-color: $background !default
23
- $tabs-toggle-link-hover-border-color: $border-hover !default
24
- $tabs-toggle-link-radius: $radius !default
25
- $tabs-toggle-link-active-background-color: $link !default
26
- $tabs-toggle-link-active-border-color: $link !default
27
- $tabs-toggle-link-active-color: $link-invert !default
28
-
29
- .tabs
30
- @extend %block
31
- +overflow-touch
32
- @extend %unselectable
33
- align-items: stretch
34
- display: flex
35
- font-size: $size-normal
36
- justify-content: space-between
37
- overflow: hidden
38
- overflow-x: auto
39
- white-space: nowrap
40
- a
41
- align-items: center
42
- border-bottom-color: $tabs-border-bottom-color
43
- border-bottom-style: $tabs-border-bottom-style
44
- border-bottom-width: $tabs-border-bottom-width
45
- color: $tabs-link-color
46
- display: flex
47
- justify-content: center
48
- margin-bottom: -#{$tabs-border-bottom-width}
49
- padding: $tabs-link-padding
50
- vertical-align: top
51
- &:hover
52
- border-bottom-color: $tabs-link-hover-border-bottom-color
53
- color: $tabs-link-hover-color
54
- li
55
- display: block
56
- &.is-active
57
- a
58
- border-bottom-color: $tabs-link-active-border-bottom-color
59
- color: $tabs-link-active-color
60
- ul
61
- align-items: center
62
- border-bottom-color: $tabs-border-bottom-color
63
- border-bottom-style: $tabs-border-bottom-style
64
- border-bottom-width: $tabs-border-bottom-width
65
- display: flex
66
- flex-grow: 1
67
- flex-shrink: 0
68
- justify-content: flex-start
69
- &.is-left
70
- padding-right: 0.75em
71
- &.is-center
72
- flex: none
73
- justify-content: center
74
- padding-left: 0.75em
75
- padding-right: 0.75em
76
- &.is-right
77
- justify-content: flex-end
78
- padding-left: 0.75em
79
- .icon
80
- &:first-child
81
- margin-right: 0.5em
82
- &:last-child
83
- margin-left: 0.5em
84
- // Alignment
85
- &.is-centered
86
- ul
87
- justify-content: center
88
- &.is-right
89
- ul
90
- justify-content: flex-end
91
- // Styles
92
- &.is-boxed
93
- a
94
- border: 1px solid transparent
95
- border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
96
- &:hover
97
- background-color: $tabs-boxed-link-hover-background-color
98
- border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
99
- li
100
- &.is-active
101
- a
102
- background-color: $tabs-boxed-link-active-background-color
103
- border-color: $tabs-boxed-link-active-border-color
104
- border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important
105
- &.is-fullwidth
106
- li
107
- flex-grow: 1
108
- flex-shrink: 0
109
- &.is-toggle
110
- a
111
- border-color: $tabs-toggle-link-border-color
112
- border-style: $tabs-toggle-link-border-style
113
- border-width: $tabs-toggle-link-border-width
114
- margin-bottom: 0
115
- position: relative
116
- &:hover
117
- background-color: $tabs-toggle-link-hover-background-color
118
- border-color: $tabs-toggle-link-hover-border-color
119
- z-index: 2
120
- li
121
- & + li
122
- margin-left: -#{$tabs-toggle-link-border-width}
123
- &:first-child a
124
- border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
125
- &:last-child a
126
- border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
127
- &.is-active
128
- a
129
- background-color: $tabs-toggle-link-active-background-color
130
- border-color: $tabs-toggle-link-active-border-color
131
- color: $tabs-toggle-link-active-color
132
- z-index: 1
133
- ul
134
- border-bottom: none
135
- &.is-toggle-rounded
136
- li
137
- &:first-child a
138
- border-bottom-left-radius: $radius-rounded
139
- border-top-left-radius: $radius-rounded
140
- padding-left: 1.25em
141
- &:last-child a
142
- border-bottom-right-radius: $radius-rounded
143
- border-top-right-radius: $radius-rounded
144
- padding-right: 1.25em
145
- // Sizes
146
- &.is-small
147
- font-size: $size-small
148
- &.is-medium
149
- font-size: $size-medium
150
- &.is-large
151
- font-size: $size-large
1
+ $tabs-border-bottom-color: $border !default
2
+ $tabs-border-bottom-style: solid !default
3
+ $tabs-border-bottom-width: 1px !default
4
+ $tabs-link-color: $text !default
5
+ $tabs-link-hover-border-bottom-color: $text-strong !default
6
+ $tabs-link-hover-color: $text-strong !default
7
+ $tabs-link-active-border-bottom-color: $link !default
8
+ $tabs-link-active-color: $link !default
9
+ $tabs-link-padding: 0.5em 1em !default
10
+
11
+ $tabs-boxed-link-radius: $radius !default
12
+ $tabs-boxed-link-hover-background-color: $background !default
13
+ $tabs-boxed-link-hover-border-bottom-color: $border !default
14
+
15
+ $tabs-boxed-link-active-background-color: $scheme-main !default
16
+ $tabs-boxed-link-active-border-color: $border !default
17
+ $tabs-boxed-link-active-border-bottom-color: transparent !default
18
+
19
+ $tabs-toggle-link-border-color: $border !default
20
+ $tabs-toggle-link-border-style: solid !default
21
+ $tabs-toggle-link-border-width: 1px !default
22
+ $tabs-toggle-link-hover-background-color: $background !default
23
+ $tabs-toggle-link-hover-border-color: $border-hover !default
24
+ $tabs-toggle-link-radius: $radius !default
25
+ $tabs-toggle-link-active-background-color: $link !default
26
+ $tabs-toggle-link-active-border-color: $link !default
27
+ $tabs-toggle-link-active-color: $link-invert !default
28
+
29
+ .tabs
30
+ @extend %block
31
+ +overflow-touch
32
+ @extend %unselectable
33
+ align-items: stretch
34
+ display: flex
35
+ font-size: $size-normal
36
+ justify-content: space-between
37
+ overflow: hidden
38
+ overflow-x: auto
39
+ white-space: nowrap
40
+ a
41
+ align-items: center
42
+ border-bottom-color: $tabs-border-bottom-color
43
+ border-bottom-style: $tabs-border-bottom-style
44
+ border-bottom-width: $tabs-border-bottom-width
45
+ color: $tabs-link-color
46
+ display: flex
47
+ justify-content: center
48
+ margin-bottom: -#{$tabs-border-bottom-width}
49
+ padding: $tabs-link-padding
50
+ vertical-align: top
51
+ &:hover
52
+ border-bottom-color: $tabs-link-hover-border-bottom-color
53
+ color: $tabs-link-hover-color
54
+ li
55
+ display: block
56
+ &.is-active
57
+ a
58
+ border-bottom-color: $tabs-link-active-border-bottom-color
59
+ color: $tabs-link-active-color
60
+ ul
61
+ align-items: center
62
+ border-bottom-color: $tabs-border-bottom-color
63
+ border-bottom-style: $tabs-border-bottom-style
64
+ border-bottom-width: $tabs-border-bottom-width
65
+ display: flex
66
+ flex-grow: 1
67
+ flex-shrink: 0
68
+ justify-content: flex-start
69
+ &.is-left
70
+ padding-right: 0.75em
71
+ &.is-center
72
+ flex: none
73
+ justify-content: center
74
+ padding-left: 0.75em
75
+ padding-right: 0.75em
76
+ &.is-right
77
+ justify-content: flex-end
78
+ padding-left: 0.75em
79
+ .icon
80
+ &:first-child
81
+ margin-right: 0.5em
82
+ &:last-child
83
+ margin-left: 0.5em
84
+ // Alignment
85
+ &.is-centered
86
+ ul
87
+ justify-content: center
88
+ &.is-right
89
+ ul
90
+ justify-content: flex-end
91
+ // Styles
92
+ &.is-boxed
93
+ a
94
+ border: 1px solid transparent
95
+ border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
96
+ &:hover
97
+ background-color: $tabs-boxed-link-hover-background-color
98
+ border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
99
+ li
100
+ &.is-active
101
+ a
102
+ background-color: $tabs-boxed-link-active-background-color
103
+ border-color: $tabs-boxed-link-active-border-color
104
+ border-bottom-color: $tabs-boxed-link-active-border-bottom-color !important
105
+ &.is-fullwidth
106
+ li
107
+ flex-grow: 1
108
+ flex-shrink: 0
109
+ &.is-toggle
110
+ a
111
+ border-color: $tabs-toggle-link-border-color
112
+ border-style: $tabs-toggle-link-border-style
113
+ border-width: $tabs-toggle-link-border-width
114
+ margin-bottom: 0
115
+ position: relative
116
+ &:hover
117
+ background-color: $tabs-toggle-link-hover-background-color
118
+ border-color: $tabs-toggle-link-hover-border-color
119
+ z-index: 2
120
+ li
121
+ & + li
122
+ margin-left: -#{$tabs-toggle-link-border-width}
123
+ &:first-child a
124
+ border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
125
+ &:last-child a
126
+ border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
127
+ &.is-active
128
+ a
129
+ background-color: $tabs-toggle-link-active-background-color
130
+ border-color: $tabs-toggle-link-active-border-color
131
+ color: $tabs-toggle-link-active-color
132
+ z-index: 1
133
+ ul
134
+ border-bottom: none
135
+ &.is-toggle-rounded
136
+ li
137
+ &:first-child a
138
+ border-bottom-left-radius: $radius-rounded
139
+ border-top-left-radius: $radius-rounded
140
+ padding-left: 1.25em
141
+ &:last-child a
142
+ border-bottom-right-radius: $radius-rounded
143
+ border-top-right-radius: $radius-rounded
144
+ padding-right: 1.25em
145
+ // Sizes
146
+ &.is-small
147
+ font-size: $size-small
148
+ &.is-medium
149
+ font-size: $size-medium
150
+ &.is-large
151
+ font-size: $size-large
@@ -1,15 +1,15 @@
1
- @charset "utf-8"
2
-
3
- @import "box.sass"
4
- @import "button.sass"
5
- @import "container.sass"
6
- @import "content.sass"
7
- @import "icon.sass"
8
- @import "image.sass"
9
- @import "notification.sass"
10
- @import "progress.sass"
11
- @import "table.sass"
12
- @import "tag.sass"
13
- @import "title.sass"
14
-
15
- @import "other.sass"
1
+ @charset "utf-8"
2
+
3
+ @import "box.sass"
4
+ @import "button.sass"
5
+ @import "container.sass"
6
+ @import "content.sass"
7
+ @import "icon.sass"
8
+ @import "image.sass"
9
+ @import "notification.sass"
10
+ @import "progress.sass"
11
+ @import "table.sass"
12
+ @import "tag.sass"
13
+ @import "title.sass"
14
+
15
+ @import "other.sass"
@@ -1,24 +1,24 @@
1
- $box-color: $text !default
2
- $box-background-color: $scheme-main !default
3
- $box-radius: $radius-large !default
4
- $box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
5
- $box-padding: 1.25rem !default
6
-
7
- $box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
8
- $box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
9
-
10
- .box
11
- @extend %block
12
- background-color: $box-background-color
13
- border-radius: $box-radius
14
- box-shadow: $box-shadow
15
- color: $box-color
16
- display: block
17
- padding: $box-padding
18
-
19
- a.box
20
- &:hover,
21
- &:focus
22
- box-shadow: $box-link-hover-shadow
23
- &:active
24
- box-shadow: $box-link-active-shadow
1
+ $box-color: $text !default
2
+ $box-background-color: $scheme-main !default
3
+ $box-radius: $radius-large !default
4
+ $box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
5
+ $box-padding: 1.25rem !default
6
+
7
+ $box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
8
+ $box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
9
+
10
+ .box
11
+ @extend %block
12
+ background-color: $box-background-color
13
+ border-radius: $box-radius
14
+ box-shadow: $box-shadow
15
+ color: $box-color
16
+ display: block
17
+ padding: $box-padding
18
+
19
+ a.box
20
+ &:hover,
21
+ &:focus
22
+ box-shadow: $box-link-hover-shadow
23
+ &:active
24
+ box-shadow: $box-link-active-shadow
@@ -1,323 +1,323 @@
1
- $button-color: $text-strong !default
2
- $button-background-color: $scheme-main !default
3
- $button-family: false !default
4
-
5
- $button-border-color: $border !default
6
- $button-border-width: $control-border-width !default
7
-
8
- $button-padding-vertical: calc(0.5em - #{$button-border-width}) !default
9
- $button-padding-horizontal: 1em !default
10
-
11
- $button-hover-color: $link-hover !default
12
- $button-hover-border-color: $link-hover-border !default
13
-
14
- $button-focus-color: $link-focus !default
15
- $button-focus-border-color: $link-focus-border !default
16
- $button-focus-box-shadow-size: 0 0 0 0.125em !default
17
- $button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
18
-
19
- $button-active-color: $link-active !default
20
- $button-active-border-color: $link-active-border !default
21
-
22
- $button-text-color: $text !default
23
- $button-text-decoration: underline !default
24
- $button-text-hover-background-color: $background !default
25
- $button-text-hover-color: $text-strong !default
26
-
27
- $button-disabled-background-color: $scheme-main !default
28
- $button-disabled-border-color: $border !default
29
- $button-disabled-shadow: none !default
30
- $button-disabled-opacity: 0.5 !default
31
-
32
- $button-static-color: $text-light !default
33
- $button-static-background-color: $scheme-main-ter !default
34
- $button-static-border-color: $border !default
35
-
36
- // The button sizes use mixins so they can be used at different breakpoints
37
- =button-small
38
- border-radius: $radius-small
39
- font-size: $size-small
40
- =button-normal
41
- font-size: $size-normal
42
- =button-medium
43
- font-size: $size-medium
44
- =button-large
45
- font-size: $size-large
46
-
47
- .button
48
- @extend %control
49
- @extend %unselectable
50
- background-color: $button-background-color
51
- border-color: $button-border-color
52
- border-width: $button-border-width
53
- color: $button-color
54
- cursor: pointer
55
- @if $button-family
56
- font-family: $button-family
57
- justify-content: center
58
- padding-bottom: $button-padding-vertical
59
- padding-left: $button-padding-horizontal
60
- padding-right: $button-padding-horizontal
61
- padding-top: $button-padding-vertical
62
- text-align: center
63
- white-space: nowrap
64
- strong
65
- color: inherit
66
- .icon
67
- &,
68
- &.is-small,
69
- &.is-medium,
70
- &.is-large
71
- height: 1.5em
72
- width: 1.5em
73
- &:first-child:not(:last-child)
74
- margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
75
- margin-right: $button-padding-horizontal / 4
76
- &:last-child:not(:first-child)
77
- margin-left: $button-padding-horizontal / 4
78
- margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
79
- &:first-child:last-child
80
- margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
81
- margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
82
- // States
83
- &:hover,
84
- &.is-hovered
85
- border-color: $button-hover-border-color
86
- color: $button-hover-color
87
- &:focus,
88
- &.is-focused
89
- border-color: $button-focus-border-color
90
- color: $button-focus-color
91
- &:not(:active)
92
- box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
93
- &:active,
94
- &.is-active
95
- border-color: $button-active-border-color
96
- color: $button-active-color
97
- // Colors
98
- &.is-text
99
- background-color: transparent
100
- border-color: transparent
101
- color: $button-text-color
102
- text-decoration: $button-text-decoration
103
- &:hover,
104
- &.is-hovered,
105
- &:focus,
106
- &.is-focused
107
- background-color: $button-text-hover-background-color
108
- color: $button-text-hover-color
109
- &:active,
110
- &.is-active
111
- background-color: bulmaDarken($button-text-hover-background-color, 5%)
112
- color: $button-text-hover-color
113
- &[disabled],
114
- fieldset[disabled] &
115
- background-color: transparent
116
- border-color: transparent
117
- box-shadow: none
118
- @each $name, $pair in $colors
119
- $color: nth($pair, 1)
120
- $color-invert: nth($pair, 2)
121
- &.is-#{$name}
122
- background-color: $color
123
- border-color: transparent
124
- color: $color-invert
125
- &:hover,
126
- &.is-hovered
127
- background-color: bulmaDarken($color, 2.5%)
128
- border-color: transparent
129
- color: $color-invert
130
- &:focus,
131
- &.is-focused
132
- border-color: transparent
133
- color: $color-invert
134
- &:not(:active)
135
- box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
136
- &:active,
137
- &.is-active
138
- background-color: bulmaDarken($color, 5%)
139
- border-color: transparent
140
- color: $color-invert
141
- &[disabled],
142
- fieldset[disabled] &
143
- background-color: $color
144
- border-color: transparent
145
- box-shadow: none
146
- &.is-inverted
147
- background-color: $color-invert
148
- color: $color
149
- &:hover,
150
- &.is-hovered
151
- background-color: bulmaDarken($color-invert, 5%)
152
- &[disabled],
153
- fieldset[disabled] &
154
- background-color: $color-invert
155
- border-color: transparent
156
- box-shadow: none
157
- color: $color
158
- &.is-loading
159
- &::after
160
- border-color: transparent transparent $color-invert $color-invert !important
161
- &.is-outlined
162
- background-color: transparent
163
- border-color: $color
164
- color: $color
165
- &:hover,
166
- &.is-hovered,
167
- &:focus,
168
- &.is-focused
169
- background-color: $color
170
- border-color: $color
171
- color: $color-invert
172
- &.is-loading
173
- &::after
174
- border-color: transparent transparent $color $color !important
175
- &:hover,
176
- &.is-hovered,
177
- &:focus,
178
- &.is-focused
179
- &::after
180
- border-color: transparent transparent $color-invert $color-invert !important
181
- &[disabled],
182
- fieldset[disabled] &
183
- background-color: transparent
184
- border-color: $color
185
- box-shadow: none
186
- color: $color
187
- &.is-inverted.is-outlined
188
- background-color: transparent
189
- border-color: $color-invert
190
- color: $color-invert
191
- &:hover,
192
- &.is-hovered,
193
- &:focus,
194
- &.is-focused
195
- background-color: $color-invert
196
- color: $color
197
- &.is-loading
198
- &:hover,
199
- &.is-hovered,
200
- &:focus,
201
- &.is-focused
202
- &::after
203
- border-color: transparent transparent $color $color !important
204
- &[disabled],
205
- fieldset[disabled] &
206
- background-color: transparent
207
- border-color: $color-invert
208
- box-shadow: none
209
- color: $color-invert
210
- // If light and dark colors are provided
211
- @if length($pair) >= 4
212
- $color-light: nth($pair, 3)
213
- $color-dark: nth($pair, 4)
214
- &.is-light
215
- background-color: $color-light
216
- color: $color-dark
217
- &:hover,
218
- &.is-hovered
219
- background-color: bulmaDarken($color-light, 2.5%)
220
- border-color: transparent
221
- color: $color-dark
222
- &:active,
223
- &.is-active
224
- background-color: bulmaDarken($color-light, 5%)
225
- border-color: transparent
226
- color: $color-dark
227
- // Sizes
228
- &.is-small
229
- +button-small
230
- &.is-normal
231
- +button-normal
232
- &.is-medium
233
- +button-medium
234
- &.is-large
235
- +button-large
236
- // Modifiers
237
- &[disabled],
238
- fieldset[disabled] &
239
- background-color: $button-disabled-background-color
240
- border-color: $button-disabled-border-color
241
- box-shadow: $button-disabled-shadow
242
- opacity: $button-disabled-opacity
243
- &.is-fullwidth
244
- display: flex
245
- width: 100%
246
- &.is-loading
247
- color: transparent !important
248
- pointer-events: none
249
- &::after
250
- @extend %loader
251
- +center(1em)
252
- position: absolute !important
253
- &.is-static
254
- background-color: $button-static-background-color
255
- border-color: $button-static-border-color
256
- color: $button-static-color
257
- box-shadow: none
258
- pointer-events: none
259
- &.is-rounded
260
- border-radius: $radius-rounded
261
- padding-left: calc(#{$button-padding-horizontal} + 0.25em)
262
- padding-right: calc(#{$button-padding-horizontal} + 0.25em)
263
-
264
- .buttons
265
- align-items: center
266
- display: flex
267
- flex-wrap: wrap
268
- justify-content: flex-start
269
- .button
270
- margin-bottom: 0.5rem
271
- &:not(:last-child):not(.is-fullwidth)
272
- margin-right: 0.5rem
273
- &:last-child
274
- margin-bottom: -0.5rem
275
- &:not(:last-child)
276
- margin-bottom: 1rem
277
- // Sizes
278
- &.are-small
279
- .button:not(.is-normal):not(.is-medium):not(.is-large)
280
- +button-small
281
- &.are-medium
282
- .button:not(.is-small):not(.is-normal):not(.is-large)
283
- +button-medium
284
- &.are-large
285
- .button:not(.is-small):not(.is-normal):not(.is-medium)
286
- +button-large
287
- &.has-addons
288
- .button
289
- &:not(:first-child)
290
- border-bottom-left-radius: 0
291
- border-top-left-radius: 0
292
- &:not(:last-child)
293
- border-bottom-right-radius: 0
294
- border-top-right-radius: 0
295
- margin-right: -1px
296
- &:last-child
297
- margin-right: 0
298
- &:hover,
299
- &.is-hovered
300
- z-index: 2
301
- &:focus,
302
- &.is-focused,
303
- &:active,
304
- &.is-active,
305
- &.is-selected
306
- z-index: 3
307
- &:hover
308
- z-index: 4
309
- &.is-expanded
310
- flex-grow: 1
311
- flex-shrink: 1
312
- &.is-centered
313
- justify-content: center
314
- &:not(.has-addons)
315
- .button:not(.is-fullwidth)
316
- margin-left: 0.25rem
317
- margin-right: 0.25rem
318
- &.is-right
319
- justify-content: flex-end
320
- &:not(.has-addons)
321
- .button:not(.is-fullwidth)
322
- margin-left: 0.25rem
323
- margin-right: 0.25rem
1
+ $button-color: $text-strong !default
2
+ $button-background-color: $scheme-main !default
3
+ $button-family: false !default
4
+
5
+ $button-border-color: $border !default
6
+ $button-border-width: $control-border-width !default
7
+
8
+ $button-padding-vertical: calc(0.5em - #{$button-border-width}) !default
9
+ $button-padding-horizontal: 1em !default
10
+
11
+ $button-hover-color: $link-hover !default
12
+ $button-hover-border-color: $link-hover-border !default
13
+
14
+ $button-focus-color: $link-focus !default
15
+ $button-focus-border-color: $link-focus-border !default
16
+ $button-focus-box-shadow-size: 0 0 0 0.125em !default
17
+ $button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
18
+
19
+ $button-active-color: $link-active !default
20
+ $button-active-border-color: $link-active-border !default
21
+
22
+ $button-text-color: $text !default
23
+ $button-text-decoration: underline !default
24
+ $button-text-hover-background-color: $background !default
25
+ $button-text-hover-color: $text-strong !default
26
+
27
+ $button-disabled-background-color: $scheme-main !default
28
+ $button-disabled-border-color: $border !default
29
+ $button-disabled-shadow: none !default
30
+ $button-disabled-opacity: 0.5 !default
31
+
32
+ $button-static-color: $text-light !default
33
+ $button-static-background-color: $scheme-main-ter !default
34
+ $button-static-border-color: $border !default
35
+
36
+ // The button sizes use mixins so they can be used at different breakpoints
37
+ =button-small
38
+ border-radius: $radius-small
39
+ font-size: $size-small
40
+ =button-normal
41
+ font-size: $size-normal
42
+ =button-medium
43
+ font-size: $size-medium
44
+ =button-large
45
+ font-size: $size-large
46
+
47
+ .button
48
+ @extend %control
49
+ @extend %unselectable
50
+ background-color: $button-background-color
51
+ border-color: $button-border-color
52
+ border-width: $button-border-width
53
+ color: $button-color
54
+ cursor: pointer
55
+ @if $button-family
56
+ font-family: $button-family
57
+ justify-content: center
58
+ padding-bottom: $button-padding-vertical
59
+ padding-left: $button-padding-horizontal
60
+ padding-right: $button-padding-horizontal
61
+ padding-top: $button-padding-vertical
62
+ text-align: center
63
+ white-space: nowrap
64
+ strong
65
+ color: inherit
66
+ .icon
67
+ &,
68
+ &.is-small,
69
+ &.is-medium,
70
+ &.is-large
71
+ height: 1.5em
72
+ width: 1.5em
73
+ &:first-child:not(:last-child)
74
+ margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
75
+ margin-right: $button-padding-horizontal / 4
76
+ &:last-child:not(:first-child)
77
+ margin-left: $button-padding-horizontal / 4
78
+ margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
79
+ &:first-child:last-child
80
+ margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
81
+ margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
82
+ // States
83
+ &:hover,
84
+ &.is-hovered
85
+ border-color: $button-hover-border-color
86
+ color: $button-hover-color
87
+ &:focus,
88
+ &.is-focused
89
+ border-color: $button-focus-border-color
90
+ color: $button-focus-color
91
+ &:not(:active)
92
+ box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
93
+ &:active,
94
+ &.is-active
95
+ border-color: $button-active-border-color
96
+ color: $button-active-color
97
+ // Colors
98
+ &.is-text
99
+ background-color: transparent
100
+ border-color: transparent
101
+ color: $button-text-color
102
+ text-decoration: $button-text-decoration
103
+ &:hover,
104
+ &.is-hovered,
105
+ &:focus,
106
+ &.is-focused
107
+ background-color: $button-text-hover-background-color
108
+ color: $button-text-hover-color
109
+ &:active,
110
+ &.is-active
111
+ background-color: bulmaDarken($button-text-hover-background-color, 5%)
112
+ color: $button-text-hover-color
113
+ &[disabled],
114
+ fieldset[disabled] &
115
+ background-color: transparent
116
+ border-color: transparent
117
+ box-shadow: none
118
+ @each $name, $pair in $colors
119
+ $color: nth($pair, 1)
120
+ $color-invert: nth($pair, 2)
121
+ &.is-#{$name}
122
+ background-color: $color
123
+ border-color: transparent
124
+ color: $color-invert
125
+ &:hover,
126
+ &.is-hovered
127
+ background-color: bulmaDarken($color, 2.5%)
128
+ border-color: transparent
129
+ color: $color-invert
130
+ &:focus,
131
+ &.is-focused
132
+ border-color: transparent
133
+ color: $color-invert
134
+ &:not(:active)
135
+ box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
136
+ &:active,
137
+ &.is-active
138
+ background-color: bulmaDarken($color, 5%)
139
+ border-color: transparent
140
+ color: $color-invert
141
+ &[disabled],
142
+ fieldset[disabled] &
143
+ background-color: $color
144
+ border-color: transparent
145
+ box-shadow: none
146
+ &.is-inverted
147
+ background-color: $color-invert
148
+ color: $color
149
+ &:hover,
150
+ &.is-hovered
151
+ background-color: bulmaDarken($color-invert, 5%)
152
+ &[disabled],
153
+ fieldset[disabled] &
154
+ background-color: $color-invert
155
+ border-color: transparent
156
+ box-shadow: none
157
+ color: $color
158
+ &.is-loading
159
+ &::after
160
+ border-color: transparent transparent $color-invert $color-invert !important
161
+ &.is-outlined
162
+ background-color: transparent
163
+ border-color: $color
164
+ color: $color
165
+ &:hover,
166
+ &.is-hovered,
167
+ &:focus,
168
+ &.is-focused
169
+ background-color: $color
170
+ border-color: $color
171
+ color: $color-invert
172
+ &.is-loading
173
+ &::after
174
+ border-color: transparent transparent $color $color !important
175
+ &:hover,
176
+ &.is-hovered,
177
+ &:focus,
178
+ &.is-focused
179
+ &::after
180
+ border-color: transparent transparent $color-invert $color-invert !important
181
+ &[disabled],
182
+ fieldset[disabled] &
183
+ background-color: transparent
184
+ border-color: $color
185
+ box-shadow: none
186
+ color: $color
187
+ &.is-inverted.is-outlined
188
+ background-color: transparent
189
+ border-color: $color-invert
190
+ color: $color-invert
191
+ &:hover,
192
+ &.is-hovered,
193
+ &:focus,
194
+ &.is-focused
195
+ background-color: $color-invert
196
+ color: $color
197
+ &.is-loading
198
+ &:hover,
199
+ &.is-hovered,
200
+ &:focus,
201
+ &.is-focused
202
+ &::after
203
+ border-color: transparent transparent $color $color !important
204
+ &[disabled],
205
+ fieldset[disabled] &
206
+ background-color: transparent
207
+ border-color: $color-invert
208
+ box-shadow: none
209
+ color: $color-invert
210
+ // If light and dark colors are provided
211
+ @if length($pair) >= 4
212
+ $color-light: nth($pair, 3)
213
+ $color-dark: nth($pair, 4)
214
+ &.is-light
215
+ background-color: $color-light
216
+ color: $color-dark
217
+ &:hover,
218
+ &.is-hovered
219
+ background-color: bulmaDarken($color-light, 2.5%)
220
+ border-color: transparent
221
+ color: $color-dark
222
+ &:active,
223
+ &.is-active
224
+ background-color: bulmaDarken($color-light, 5%)
225
+ border-color: transparent
226
+ color: $color-dark
227
+ // Sizes
228
+ &.is-small
229
+ +button-small
230
+ &.is-normal
231
+ +button-normal
232
+ &.is-medium
233
+ +button-medium
234
+ &.is-large
235
+ +button-large
236
+ // Modifiers
237
+ &[disabled],
238
+ fieldset[disabled] &
239
+ background-color: $button-disabled-background-color
240
+ border-color: $button-disabled-border-color
241
+ box-shadow: $button-disabled-shadow
242
+ opacity: $button-disabled-opacity
243
+ &.is-fullwidth
244
+ display: flex
245
+ width: 100%
246
+ &.is-loading
247
+ color: transparent !important
248
+ pointer-events: none
249
+ &::after
250
+ @extend %loader
251
+ +center(1em)
252
+ position: absolute !important
253
+ &.is-static
254
+ background-color: $button-static-background-color
255
+ border-color: $button-static-border-color
256
+ color: $button-static-color
257
+ box-shadow: none
258
+ pointer-events: none
259
+ &.is-rounded
260
+ border-radius: $radius-rounded
261
+ padding-left: calc(#{$button-padding-horizontal} + 0.25em)
262
+ padding-right: calc(#{$button-padding-horizontal} + 0.25em)
263
+
264
+ .buttons
265
+ align-items: center
266
+ display: flex
267
+ flex-wrap: wrap
268
+ justify-content: flex-start
269
+ .button
270
+ margin-bottom: 0.5rem
271
+ &:not(:last-child):not(.is-fullwidth)
272
+ margin-right: 0.5rem
273
+ &:last-child
274
+ margin-bottom: -0.5rem
275
+ &:not(:last-child)
276
+ margin-bottom: 1rem
277
+ // Sizes
278
+ &.are-small
279
+ .button:not(.is-normal):not(.is-medium):not(.is-large)
280
+ +button-small
281
+ &.are-medium
282
+ .button:not(.is-small):not(.is-normal):not(.is-large)
283
+ +button-medium
284
+ &.are-large
285
+ .button:not(.is-small):not(.is-normal):not(.is-medium)
286
+ +button-large
287
+ &.has-addons
288
+ .button
289
+ &:not(:first-child)
290
+ border-bottom-left-radius: 0
291
+ border-top-left-radius: 0
292
+ &:not(:last-child)
293
+ border-bottom-right-radius: 0
294
+ border-top-right-radius: 0
295
+ margin-right: -1px
296
+ &:last-child
297
+ margin-right: 0
298
+ &:hover,
299
+ &.is-hovered
300
+ z-index: 2
301
+ &:focus,
302
+ &.is-focused,
303
+ &:active,
304
+ &.is-active,
305
+ &.is-selected
306
+ z-index: 3
307
+ &:hover
308
+ z-index: 4
309
+ &.is-expanded
310
+ flex-grow: 1
311
+ flex-shrink: 1
312
+ &.is-centered
313
+ justify-content: center
314
+ &:not(.has-addons)
315
+ .button:not(.is-fullwidth)
316
+ margin-left: 0.25rem
317
+ margin-right: 0.25rem
318
+ &.is-right
319
+ justify-content: flex-end
320
+ &:not(.has-addons)
321
+ .button:not(.is-fullwidth)
322
+ margin-left: 0.25rem
323
+ margin-right: 0.25rem