ols-theme 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -21
  3. data/README.md +50 -50
  4. data/_includes/announcement-blog-metadata.html +78 -0
  5. data/_includes/cohort-loop.html +41 -0
  6. data/_includes/cohort-metadata.html +34 -0
  7. data/_includes/default-footer.html +3 -3
  8. data/_includes/default-header.html +33 -34
  9. data/_includes/detailed-schedule.md +11 -11
  10. data/_includes/external-entities.html +1 -1
  11. data/_includes/overall-schedule.md +5 -5
  12. data/_includes/people.html +79 -81
  13. data/_includes/projects-participants.html +61 -0
  14. data/_includes/schedule.md +123 -2
  15. data/_includes/timeline.md +24 -24
  16. data/_includes/toc.html +11 -11
  17. data/_includes/week.md +54 -49
  18. data/_layouts/base.html +64 -66
  19. data/_layouts/default.html +39 -37
  20. data/_layouts/index.html +7 -0
  21. data/_layouts/page.html +8 -8
  22. data/_layouts/people.html +105 -373
  23. data/_layouts/post.html +5 -5
  24. data/_layouts/posts.html +51 -51
  25. data/_sass/bulma/CHANGELOG.md +1254 -1254
  26. data/_sass/bulma/LICENSE +21 -21
  27. data/_sass/bulma/README.md +124 -124
  28. data/_sass/bulma/bulma.sass +9 -9
  29. data/_sass/bulma/css/bulma.css +10598 -10598
  30. data/_sass/bulma/package.json +52 -52
  31. data/_sass/bulma/sass/base/_all.sass +5 -5
  32. data/_sass/bulma/sass/base/generic.sass +142 -142
  33. data/_sass/bulma/sass/base/helpers.sass +281 -281
  34. data/_sass/bulma/sass/base/minireset.sass +85 -85
  35. data/_sass/bulma/sass/components/_all.sass +15 -15
  36. data/_sass/bulma/sass/components/breadcrumb.sass +75 -75
  37. data/_sass/bulma/sass/components/card.sass +79 -79
  38. data/_sass/bulma/sass/components/dropdown.sass +81 -81
  39. data/_sass/bulma/sass/components/level.sass +77 -77
  40. data/_sass/bulma/sass/components/list.sass +39 -39
  41. data/_sass/bulma/sass/components/media.sass +48 -48
  42. data/_sass/bulma/sass/components/menu.sass +57 -57
  43. data/_sass/bulma/sass/components/message.sass +87 -87
  44. data/_sass/bulma/sass/components/modal.sass +113 -113
  45. data/_sass/bulma/sass/components/navbar.sass +443 -443
  46. data/_sass/bulma/sass/components/pagination.sass +149 -149
  47. data/_sass/bulma/sass/components/panel.sass +103 -103
  48. data/_sass/bulma/sass/components/tabs.sass +151 -151
  49. data/_sass/bulma/sass/elements/_all.sass +15 -15
  50. data/_sass/bulma/sass/elements/box.sass +24 -24
  51. data/_sass/bulma/sass/elements/button.sass +305 -305
  52. data/_sass/bulma/sass/elements/container.sass +23 -23
  53. data/_sass/bulma/sass/elements/content.sass +155 -155
  54. data/_sass/bulma/sass/elements/form.sass +1 -1
  55. data/_sass/bulma/sass/elements/icon.sass +21 -21
  56. data/_sass/bulma/sass/elements/image.sass +69 -69
  57. data/_sass/bulma/sass/elements/notification.sass +35 -35
  58. data/_sass/bulma/sass/elements/other.sass +39 -39
  59. data/_sass/bulma/sass/elements/progress.sass +67 -67
  60. data/_sass/bulma/sass/elements/table.sass +127 -127
  61. data/_sass/bulma/sass/elements/tag.sass +121 -121
  62. data/_sass/bulma/sass/elements/title.sass +70 -70
  63. data/_sass/bulma/sass/form/_all.sass +8 -8
  64. data/_sass/bulma/sass/form/checkbox-radio.sass +21 -21
  65. data/_sass/bulma/sass/form/file.sass +180 -180
  66. data/_sass/bulma/sass/form/input-textarea.sass +60 -60
  67. data/_sass/bulma/sass/form/select.sass +85 -85
  68. data/_sass/bulma/sass/form/shared.sass +55 -55
  69. data/_sass/bulma/sass/form/tools.sass +205 -205
  70. data/_sass/bulma/sass/grid/_all.sass +4 -4
  71. data/_sass/bulma/sass/grid/columns.sass +504 -504
  72. data/_sass/bulma/sass/grid/tiles.sass +34 -34
  73. data/_sass/bulma/sass/layout/_all.sass +5 -5
  74. data/_sass/bulma/sass/layout/footer.sass +9 -9
  75. data/_sass/bulma/sass/layout/hero.sass +143 -143
  76. data/_sass/bulma/sass/layout/section.sass +13 -13
  77. data/_sass/bulma/sass/utilities/_all.sass +8 -8
  78. data/_sass/bulma/sass/utilities/animations.sass +5 -5
  79. data/_sass/bulma/sass/utilities/controls.sass +50 -50
  80. data/_sass/bulma/sass/utilities/derived-variables.sass +85 -85
  81. data/_sass/bulma/sass/utilities/functions.sass +62 -62
  82. data/_sass/bulma/sass/utilities/initial-variables.sass +76 -76
  83. data/_sass/bulma/sass/utilities/mixins.sass +261 -261
  84. data/_sass/bulma-collapsible.sass +15 -0
  85. metadata +9 -64
  86. data/assets/css/custom.scss +0 -422
  87. data/assets/images/2019-09-24-application.png +0 -0
  88. data/assets/images/2019-10-18-projects.jpg +0 -0
  89. data/assets/images/2019-10-21-storytelling.jpeg +0 -0
  90. data/assets/images/2019-11-13-difference-with-elife-innovation-leaders.jpg +0 -0
  91. data/assets/images/2019-11-25-blog2.png +0 -0
  92. data/assets/images/2019-11-25-blog3.png +0 -0
  93. data/assets/images/2019-11-25-blog4.png +0 -0
  94. data/assets/images/2019-11-25-blog5.png +0 -0
  95. data/assets/images/2019-11-25-blog6.png +0 -0
  96. data/assets/images/2019-11-25-header-expert.jpeg +0 -0
  97. data/assets/images/2020-ally-training.jpg +0 -0
  98. data/assets/images/2021-04-30-ols-2-blog-2.png +0 -0
  99. data/assets/images/2021-04-30-ols-2-blog.png +0 -0
  100. data/assets/images/2021-12-21-wt-open-research-fund-header.png +0 -0
  101. data/assets/images/2022-01-04-esthers-mentoring-blog-illustration.jpg +0 -0
  102. data/assets/images/2022-01-27-ols-czi-funding.jpg +0 -0
  103. data/assets/images/2022-02-18-for-hire.jpg +0 -0
  104. data/assets/images/2022-04-01-header-image-speed-blod-nadine.jpg +0 -0
  105. data/assets/images/2022-05-13-os-hobby-blog.jpg +0 -0
  106. data/assets/images/2022-07-18-ismaelkg-crinkle.png +0 -0
  107. data/assets/images/2022-07-18-ismaelkg-timeline-image.png +0 -0
  108. data/assets/images/2022-07-18-ismaelkg-watches.jpg +0 -0
  109. data/assets/images/2022-07-18-osmooc-logo.png +0 -0
  110. data/assets/images/2022-07-18-osmooc-modules.png +0 -0
  111. data/assets/images/2022-07-18-tudelft-history.png +0 -0
  112. data/assets/images/2022-07-18-twitter.png +0 -0
  113. data/assets/images/2022-08-adi-goldstein-unsplash.jpg +0 -0
  114. data/assets/images/2022-08-paz-meme.png +0 -0
  115. data/assets/images/2022-08-paz.jpg +0 -0
  116. data/assets/images/2022-12-andrea-sanchez.jpg +0 -0
  117. data/assets/images/2022-12-ecg-grant-announcement.png +0 -0
  118. data/assets/images/2022-12-jon-tyson-unsplash.jpg +0 -0
  119. data/assets/images/2022-12-melissa-black.jpg +0 -0
  120. data/assets/images/2022-12-mitchell-luo-unsplash.jpg +0 -0
  121. data/assets/images/2022-12-ols-resident-fellows.jpg +0 -0
  122. data/assets/images/2022-12-pexels-linda-ellershein.jpg +0 -0
  123. data/assets/images/2022-12-reina-camacho.png +0 -0
  124. data/assets/images/2022-WT-OLS-Job-Description.pdf +0 -0
  125. data/assets/images/2023-02-1-milad-fakurian-0n1pmev3w2A-unsplash.jpg +0 -0
  126. data/assets/images/2023-04-18-introducing-the-new-OLS/colourrefresh.png +0 -0
  127. data/assets/images/2023-04-18-introducing-the-new-OLS/identity-poster.png +0 -0
  128. data/assets/images/2023-04-18-introducing-the-new-OLS/logo-refresh.png +0 -0
  129. data/assets/images/2023-04-18-introducing-the-new-OLS/logomark.png +0 -0
  130. data/assets/images/2023-04-18-introducing-the-new-OLS/open-by-design.png +0 -0
  131. data/assets/images/2023-04-18-introducing-the-new-OLS/open-seeds.png +0 -0
  132. data/assets/images/2023-05-debs.jpg +0 -0
  133. data/assets/images/2023-05-taj.jpg +0 -0
  134. data/assets/images/about.jpg +0 -0
  135. data/assets/images/code-of-conduct.jpg +0 -0
  136. data/assets/images/index.jpg +0 -0
  137. data/assets/images/logo.png +0 -0
  138. data/assets/images/ols-1/project-participants.jpg +0 -0
  139. data/assets/images/organizations/denbi.png +0 -0
  140. data/assets/images/organizations/elixir.png +0 -0
  141. data/assets/images/organizations/mozilla.jpg +0 -0
  142. data/assets/images/posts.jpg +0 -0
  143. data/assets/images/schedule.png +0 -0
  144. data/assets/images/syllabus.jpg +0 -0
  145. data/assets/js/posts.js +0 -21
  146. data/assets/js/scripts.js +0 -52
@@ -1,305 +1,305 @@
1
- $button-color: $grey-darker !default
2
- $button-background-color: $white !default
3
- $button-family: false !default
4
-
5
- $button-border-color: $grey-lighter !default
6
- $button-border-width: $control-border-width !default
7
-
8
- $button-padding-vertical: calc(0.375em - #{$button-border-width}) !default
9
- $button-padding-horizontal: 0.75em !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: rgba($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-hover-background-color: $background !default
24
- $button-text-hover-color: $text-strong !default
25
-
26
- $button-disabled-background-color: $white !default
27
- $button-disabled-border-color: $grey-lighter !default
28
- $button-disabled-shadow: none !default
29
- $button-disabled-opacity: 0.5 !default
30
-
31
- $button-static-color: $grey !default
32
- $button-static-background-color: $white-ter !default
33
- $button-static-border-color: $grey-lighter !default
34
-
35
- // The button sizes use mixins so they can be used at different breakpoints
36
- =button-small
37
- border-radius: $radius-small
38
- font-size: $size-small
39
- =button-normal
40
- font-size: $size-normal
41
- =button-medium
42
- font-size: $size-medium
43
- =button-large
44
- font-size: $size-large
45
-
46
- .button
47
- @extend %control
48
- @extend %unselectable
49
- background-color: $button-background-color
50
- border-color: $button-border-color
51
- border-width: $button-border-width
52
- color: $button-color
53
- cursor: pointer
54
- @if $button-family
55
- font-family: $button-family
56
- justify-content: center
57
- padding-bottom: $button-padding-vertical
58
- padding-left: $button-padding-horizontal
59
- padding-right: $button-padding-horizontal
60
- padding-top: $button-padding-vertical
61
- text-align: center
62
- white-space: nowrap
63
- strong
64
- color: inherit
65
- .icon
66
- &,
67
- &.is-small,
68
- &.is-medium,
69
- &.is-large
70
- height: 1.5em
71
- width: 1.5em
72
- &:first-child:not(:last-child)
73
- margin-left: calc(-0.375em - #{$button-border-width})
74
- margin-right: 0.1875em
75
- &:last-child:not(:first-child)
76
- margin-left: 0.1875em
77
- margin-right: calc(-0.375em - #{$button-border-width})
78
- &:first-child:last-child
79
- margin-left: calc(-0.375em - #{$button-border-width})
80
- margin-right: calc(-0.375em - #{$button-border-width})
81
- // States
82
- &:hover,
83
- &.is-hovered
84
- border-color: $button-hover-border-color
85
- color: $button-hover-color
86
- &:focus,
87
- &.is-focused
88
- border-color: $button-focus-border-color
89
- color: $button-focus-color
90
- &:not(:active)
91
- box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
92
- &:active,
93
- &.is-active
94
- border-color: $button-active-border-color
95
- color: $button-active-color
96
- // Colors
97
- &.is-text
98
- background-color: transparent
99
- border-color: transparent
100
- color: $button-text-color
101
- text-decoration: underline
102
- &:hover,
103
- &.is-hovered,
104
- &:focus,
105
- &.is-focused
106
- background-color: $button-text-hover-background-color
107
- color: $button-text-hover-color
108
- &:active,
109
- &.is-active
110
- background-color: darken($button-text-hover-background-color, 5%)
111
- color: $button-text-hover-color
112
- &[disabled],
113
- fieldset[disabled] &
114
- background-color: transparent
115
- border-color: transparent
116
- box-shadow: none
117
- @each $name, $pair in $colors
118
- $color: nth($pair, 1)
119
- $color-invert: nth($pair, 2)
120
- &.is-#{$name}
121
- background-color: $color
122
- border-color: transparent
123
- color: $color-invert
124
- &:hover,
125
- &.is-hovered
126
- background-color: darken($color, 2.5%)
127
- border-color: transparent
128
- color: $color-invert
129
- &:focus,
130
- &.is-focused
131
- border-color: transparent
132
- color: $color-invert
133
- &:not(:active)
134
- box-shadow: $button-focus-box-shadow-size rgba($color, 0.25)
135
- &:active,
136
- &.is-active
137
- background-color: darken($color, 5%)
138
- border-color: transparent
139
- color: $color-invert
140
- &[disabled],
141
- fieldset[disabled] &
142
- background-color: $color
143
- border-color: transparent
144
- box-shadow: none
145
- &.is-inverted
146
- background-color: $color-invert
147
- color: $color
148
- &:hover,
149
- &.is-hovered
150
- background-color: darken($color-invert, 5%)
151
- &[disabled],
152
- fieldset[disabled] &
153
- background-color: $color-invert
154
- border-color: transparent
155
- box-shadow: none
156
- color: $color
157
- &.is-loading
158
- &::after
159
- border-color: transparent transparent $color-invert $color-invert !important
160
- &.is-outlined
161
- background-color: transparent
162
- border-color: $color
163
- color: $color
164
- &:hover,
165
- &.is-hovered,
166
- &:focus,
167
- &.is-focused
168
- background-color: $color
169
- border-color: $color
170
- color: $color-invert
171
- &.is-loading
172
- &::after
173
- border-color: transparent transparent $color $color !important
174
- &:hover,
175
- &.is-hovered,
176
- &:focus,
177
- &.is-focused
178
- &::after
179
- border-color: transparent transparent $color-invert $color-invert !important
180
- &[disabled],
181
- fieldset[disabled] &
182
- background-color: transparent
183
- border-color: $color
184
- box-shadow: none
185
- color: $color
186
- &.is-inverted.is-outlined
187
- background-color: transparent
188
- border-color: $color-invert
189
- color: $color-invert
190
- &:hover,
191
- &.is-hovered,
192
- &:focus,
193
- &.is-focused
194
- background-color: $color-invert
195
- color: $color
196
- &.is-loading
197
- &:hover,
198
- &.is-hovered,
199
- &:focus,
200
- &.is-focused
201
- &::after
202
- border-color: transparent transparent $color $color !important
203
- &[disabled],
204
- fieldset[disabled] &
205
- background-color: transparent
206
- border-color: $color-invert
207
- box-shadow: none
208
- color: $color-invert
209
- // Sizes
210
- &.is-small
211
- +button-small
212
- &.is-normal
213
- +button-normal
214
- &.is-medium
215
- +button-medium
216
- &.is-large
217
- +button-large
218
- // Modifiers
219
- &[disabled],
220
- fieldset[disabled] &
221
- background-color: $button-disabled-background-color
222
- border-color: $button-disabled-border-color
223
- box-shadow: $button-disabled-shadow
224
- opacity: $button-disabled-opacity
225
- &.is-fullwidth
226
- display: flex
227
- width: 100%
228
- &.is-loading
229
- color: transparent !important
230
- pointer-events: none
231
- &::after
232
- @extend %loader
233
- +center(1em)
234
- position: absolute !important
235
- &.is-static
236
- background-color: $button-static-background-color
237
- border-color: $button-static-border-color
238
- color: $button-static-color
239
- box-shadow: none
240
- pointer-events: none
241
- &.is-rounded
242
- border-radius: $radius-rounded
243
- padding-left: 1em
244
- padding-right: 1em
245
-
246
- .buttons
247
- align-items: center
248
- display: flex
249
- flex-wrap: wrap
250
- justify-content: flex-start
251
- .button
252
- margin-bottom: 0.5rem
253
- &:not(:last-child):not(.is-fullwidth)
254
- margin-right: 0.5rem
255
- &:last-child
256
- margin-bottom: -0.5rem
257
- &:not(:last-child)
258
- margin-bottom: 1rem
259
- // Sizes
260
- &.are-small
261
- .button:not(.is-normal):not(.is-medium):not(.is-large)
262
- +button-small
263
- &.are-medium
264
- .button:not(.is-small):not(.is-normal):not(.is-large)
265
- +button-medium
266
- &.are-large
267
- .button:not(.is-small):not(.is-normal):not(.is-medium)
268
- +button-large
269
- &.has-addons
270
- .button
271
- &:not(:first-child)
272
- border-bottom-left-radius: 0
273
- border-top-left-radius: 0
274
- &:not(:last-child)
275
- border-bottom-right-radius: 0
276
- border-top-right-radius: 0
277
- margin-right: -1px
278
- &:last-child
279
- margin-right: 0
280
- &:hover,
281
- &.is-hovered
282
- z-index: 2
283
- &:focus,
284
- &.is-focused,
285
- &:active,
286
- &.is-active,
287
- &.is-selected
288
- z-index: 3
289
- &:hover
290
- z-index: 4
291
- &.is-expanded
292
- flex-grow: 1
293
- flex-shrink: 1
294
- &.is-centered
295
- justify-content: center
296
- &:not(.has-addons)
297
- .button:not(.is-fullwidth)
298
- margin-left: 0.25rem
299
- margin-right: 0.25rem
300
- &.is-right
301
- justify-content: flex-end
302
- &:not(.has-addons)
303
- .button:not(.is-fullwidth)
304
- margin-left: 0.25rem
305
- margin-right: 0.25rem
1
+ $button-color: $grey-darker !default
2
+ $button-background-color: $white !default
3
+ $button-family: false !default
4
+
5
+ $button-border-color: $grey-lighter !default
6
+ $button-border-width: $control-border-width !default
7
+
8
+ $button-padding-vertical: calc(0.375em - #{$button-border-width}) !default
9
+ $button-padding-horizontal: 0.75em !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: rgba($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-hover-background-color: $background !default
24
+ $button-text-hover-color: $text-strong !default
25
+
26
+ $button-disabled-background-color: $white !default
27
+ $button-disabled-border-color: $grey-lighter !default
28
+ $button-disabled-shadow: none !default
29
+ $button-disabled-opacity: 0.5 !default
30
+
31
+ $button-static-color: $grey !default
32
+ $button-static-background-color: $white-ter !default
33
+ $button-static-border-color: $grey-lighter !default
34
+
35
+ // The button sizes use mixins so they can be used at different breakpoints
36
+ =button-small
37
+ border-radius: $radius-small
38
+ font-size: $size-small
39
+ =button-normal
40
+ font-size: $size-normal
41
+ =button-medium
42
+ font-size: $size-medium
43
+ =button-large
44
+ font-size: $size-large
45
+
46
+ .button
47
+ @extend %control
48
+ @extend %unselectable
49
+ background-color: $button-background-color
50
+ border-color: $button-border-color
51
+ border-width: $button-border-width
52
+ color: $button-color
53
+ cursor: pointer
54
+ @if $button-family
55
+ font-family: $button-family
56
+ justify-content: center
57
+ padding-bottom: $button-padding-vertical
58
+ padding-left: $button-padding-horizontal
59
+ padding-right: $button-padding-horizontal
60
+ padding-top: $button-padding-vertical
61
+ text-align: center
62
+ white-space: nowrap
63
+ strong
64
+ color: inherit
65
+ .icon
66
+ &,
67
+ &.is-small,
68
+ &.is-medium,
69
+ &.is-large
70
+ height: 1.5em
71
+ width: 1.5em
72
+ &:first-child:not(:last-child)
73
+ margin-left: calc(-0.375em - #{$button-border-width})
74
+ margin-right: 0.1875em
75
+ &:last-child:not(:first-child)
76
+ margin-left: 0.1875em
77
+ margin-right: calc(-0.375em - #{$button-border-width})
78
+ &:first-child:last-child
79
+ margin-left: calc(-0.375em - #{$button-border-width})
80
+ margin-right: calc(-0.375em - #{$button-border-width})
81
+ // States
82
+ &:hover,
83
+ &.is-hovered
84
+ border-color: $button-hover-border-color
85
+ color: $button-hover-color
86
+ &:focus,
87
+ &.is-focused
88
+ border-color: $button-focus-border-color
89
+ color: $button-focus-color
90
+ &:not(:active)
91
+ box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
92
+ &:active,
93
+ &.is-active
94
+ border-color: $button-active-border-color
95
+ color: $button-active-color
96
+ // Colors
97
+ &.is-text
98
+ background-color: transparent
99
+ border-color: transparent
100
+ color: $button-text-color
101
+ text-decoration: underline
102
+ &:hover,
103
+ &.is-hovered,
104
+ &:focus,
105
+ &.is-focused
106
+ background-color: $button-text-hover-background-color
107
+ color: $button-text-hover-color
108
+ &:active,
109
+ &.is-active
110
+ background-color: darken($button-text-hover-background-color, 5%)
111
+ color: $button-text-hover-color
112
+ &[disabled],
113
+ fieldset[disabled] &
114
+ background-color: transparent
115
+ border-color: transparent
116
+ box-shadow: none
117
+ @each $name, $pair in $colors
118
+ $color: nth($pair, 1)
119
+ $color-invert: nth($pair, 2)
120
+ &.is-#{$name}
121
+ background-color: $color
122
+ border-color: transparent
123
+ color: $color-invert
124
+ &:hover,
125
+ &.is-hovered
126
+ background-color: darken($color, 2.5%)
127
+ border-color: transparent
128
+ color: $color-invert
129
+ &:focus,
130
+ &.is-focused
131
+ border-color: transparent
132
+ color: $color-invert
133
+ &:not(:active)
134
+ box-shadow: $button-focus-box-shadow-size rgba($color, 0.25)
135
+ &:active,
136
+ &.is-active
137
+ background-color: darken($color, 5%)
138
+ border-color: transparent
139
+ color: $color-invert
140
+ &[disabled],
141
+ fieldset[disabled] &
142
+ background-color: $color
143
+ border-color: transparent
144
+ box-shadow: none
145
+ &.is-inverted
146
+ background-color: $color-invert
147
+ color: $color
148
+ &:hover,
149
+ &.is-hovered
150
+ background-color: darken($color-invert, 5%)
151
+ &[disabled],
152
+ fieldset[disabled] &
153
+ background-color: $color-invert
154
+ border-color: transparent
155
+ box-shadow: none
156
+ color: $color
157
+ &.is-loading
158
+ &::after
159
+ border-color: transparent transparent $color-invert $color-invert !important
160
+ &.is-outlined
161
+ background-color: transparent
162
+ border-color: $color
163
+ color: $color
164
+ &:hover,
165
+ &.is-hovered,
166
+ &:focus,
167
+ &.is-focused
168
+ background-color: $color
169
+ border-color: $color
170
+ color: $color-invert
171
+ &.is-loading
172
+ &::after
173
+ border-color: transparent transparent $color $color !important
174
+ &:hover,
175
+ &.is-hovered,
176
+ &:focus,
177
+ &.is-focused
178
+ &::after
179
+ border-color: transparent transparent $color-invert $color-invert !important
180
+ &[disabled],
181
+ fieldset[disabled] &
182
+ background-color: transparent
183
+ border-color: $color
184
+ box-shadow: none
185
+ color: $color
186
+ &.is-inverted.is-outlined
187
+ background-color: transparent
188
+ border-color: $color-invert
189
+ color: $color-invert
190
+ &:hover,
191
+ &.is-hovered,
192
+ &:focus,
193
+ &.is-focused
194
+ background-color: $color-invert
195
+ color: $color
196
+ &.is-loading
197
+ &:hover,
198
+ &.is-hovered,
199
+ &:focus,
200
+ &.is-focused
201
+ &::after
202
+ border-color: transparent transparent $color $color !important
203
+ &[disabled],
204
+ fieldset[disabled] &
205
+ background-color: transparent
206
+ border-color: $color-invert
207
+ box-shadow: none
208
+ color: $color-invert
209
+ // Sizes
210
+ &.is-small
211
+ +button-small
212
+ &.is-normal
213
+ +button-normal
214
+ &.is-medium
215
+ +button-medium
216
+ &.is-large
217
+ +button-large
218
+ // Modifiers
219
+ &[disabled],
220
+ fieldset[disabled] &
221
+ background-color: $button-disabled-background-color
222
+ border-color: $button-disabled-border-color
223
+ box-shadow: $button-disabled-shadow
224
+ opacity: $button-disabled-opacity
225
+ &.is-fullwidth
226
+ display: flex
227
+ width: 100%
228
+ &.is-loading
229
+ color: transparent !important
230
+ pointer-events: none
231
+ &::after
232
+ @extend %loader
233
+ +center(1em)
234
+ position: absolute !important
235
+ &.is-static
236
+ background-color: $button-static-background-color
237
+ border-color: $button-static-border-color
238
+ color: $button-static-color
239
+ box-shadow: none
240
+ pointer-events: none
241
+ &.is-rounded
242
+ border-radius: $radius-rounded
243
+ padding-left: 1em
244
+ padding-right: 1em
245
+
246
+ .buttons
247
+ align-items: center
248
+ display: flex
249
+ flex-wrap: wrap
250
+ justify-content: flex-start
251
+ .button
252
+ margin-bottom: 0.5rem
253
+ &:not(:last-child):not(.is-fullwidth)
254
+ margin-right: 0.5rem
255
+ &:last-child
256
+ margin-bottom: -0.5rem
257
+ &:not(:last-child)
258
+ margin-bottom: 1rem
259
+ // Sizes
260
+ &.are-small
261
+ .button:not(.is-normal):not(.is-medium):not(.is-large)
262
+ +button-small
263
+ &.are-medium
264
+ .button:not(.is-small):not(.is-normal):not(.is-large)
265
+ +button-medium
266
+ &.are-large
267
+ .button:not(.is-small):not(.is-normal):not(.is-medium)
268
+ +button-large
269
+ &.has-addons
270
+ .button
271
+ &:not(:first-child)
272
+ border-bottom-left-radius: 0
273
+ border-top-left-radius: 0
274
+ &:not(:last-child)
275
+ border-bottom-right-radius: 0
276
+ border-top-right-radius: 0
277
+ margin-right: -1px
278
+ &:last-child
279
+ margin-right: 0
280
+ &:hover,
281
+ &.is-hovered
282
+ z-index: 2
283
+ &:focus,
284
+ &.is-focused,
285
+ &:active,
286
+ &.is-active,
287
+ &.is-selected
288
+ z-index: 3
289
+ &:hover
290
+ z-index: 4
291
+ &.is-expanded
292
+ flex-grow: 1
293
+ flex-shrink: 1
294
+ &.is-centered
295
+ justify-content: center
296
+ &:not(.has-addons)
297
+ .button:not(.is-fullwidth)
298
+ margin-left: 0.25rem
299
+ margin-right: 0.25rem
300
+ &.is-right
301
+ justify-content: flex-end
302
+ &:not(.has-addons)
303
+ .button:not(.is-fullwidth)
304
+ margin-left: 0.25rem
305
+ margin-right: 0.25rem
@@ -1,23 +1,23 @@
1
- $container-offset: (2 * $gap) !default
2
-
3
- .container
4
- flex-grow: 1
5
- margin: 0 auto
6
- position: relative
7
- width: auto
8
- +desktop
9
- max-width: $desktop - $container-offset
10
- &.is-fluid
11
- margin-left: $gap
12
- margin-right: $gap
13
- max-width: none
14
- +until-widescreen
15
- &.is-widescreen
16
- max-width: $widescreen - $container-offset
17
- +until-fullhd
18
- &.is-fullhd
19
- max-width: $fullhd - $container-offset
20
- +widescreen
21
- max-width: $widescreen - $container-offset
22
- +fullhd
23
- max-width: $fullhd - $container-offset
1
+ $container-offset: (2 * $gap) !default
2
+
3
+ .container
4
+ flex-grow: 1
5
+ margin: 0 auto
6
+ position: relative
7
+ width: auto
8
+ +desktop
9
+ max-width: $desktop - $container-offset
10
+ &.is-fluid
11
+ margin-left: $gap
12
+ margin-right: $gap
13
+ max-width: none
14
+ +until-widescreen
15
+ &.is-widescreen
16
+ max-width: $widescreen - $container-offset
17
+ +until-fullhd
18
+ &.is-fullhd
19
+ max-width: $fullhd - $container-offset
20
+ +widescreen
21
+ max-width: $widescreen - $container-offset
22
+ +fullhd
23
+ max-width: $fullhd - $container-offset