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,443 +1,443 @@
1
- $navbar-background-color: $white !default
2
- $navbar-box-shadow-size: 0 2px 0 0 !default
3
- $navbar-box-shadow-color: $background !default
4
- $navbar-height: 3.25rem !default
5
- $navbar-padding-vertical: 1rem !default
6
- $navbar-padding-horizontal: 2rem !default
7
- $navbar-z: 30 !default
8
- $navbar-fixed-z: 30 !default
9
-
10
- $navbar-item-color: $grey-dark !default
11
- $navbar-item-hover-color: $link !default
12
- $navbar-item-hover-background-color: $white-bis !default
13
- $navbar-item-active-color: $black !default
14
- $navbar-item-active-background-color: transparent !default
15
- $navbar-item-img-max-height: 1.75rem !default
16
-
17
- $navbar-burger-color: $navbar-item-color !default
18
-
19
- $navbar-tab-hover-background-color: transparent !default
20
- $navbar-tab-hover-border-bottom-color: $link !default
21
- $navbar-tab-active-color: $link !default
22
- $navbar-tab-active-background-color: transparent !default
23
- $navbar-tab-active-border-bottom-color: $link !default
24
- $navbar-tab-active-border-bottom-style: solid !default
25
- $navbar-tab-active-border-bottom-width: 3px !default
26
-
27
- $navbar-dropdown-background-color: $white !default
28
- $navbar-dropdown-border-top: 2px solid $border !default
29
- $navbar-dropdown-offset: -4px !default
30
- $navbar-dropdown-arrow: $link !default
31
- $navbar-dropdown-radius: $radius-large !default
32
- $navbar-dropdown-z: 20 !default
33
-
34
- $navbar-dropdown-boxed-radius: $radius-large !default
35
- $navbar-dropdown-boxed-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
36
-
37
- $navbar-dropdown-item-hover-color: $black !default
38
- $navbar-dropdown-item-hover-background-color: $background !default
39
- $navbar-dropdown-item-active-color: $link !default
40
- $navbar-dropdown-item-active-background-color: $background !default
41
-
42
- $navbar-divider-background-color: $background !default
43
- $navbar-divider-height: 2px !default
44
-
45
- $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default
46
-
47
- $navbar-breakpoint: $desktop !default
48
-
49
- =navbar-fixed
50
- left: 0
51
- position: fixed
52
- right: 0
53
- z-index: $navbar-fixed-z
54
-
55
- .navbar
56
- background-color: $navbar-background-color
57
- min-height: $navbar-height
58
- position: relative
59
- z-index: $navbar-z
60
- @each $name, $pair in $colors
61
- $color: nth($pair, 1)
62
- $color-invert: nth($pair, 2)
63
- &.is-#{$name}
64
- background-color: $color
65
- color: $color-invert
66
- .navbar-brand
67
- & > .navbar-item,
68
- .navbar-link
69
- color: $color-invert
70
- & > a.navbar-item,
71
- .navbar-link
72
- &:focus,
73
- &:hover,
74
- &.is-active
75
- background-color: darken($color, 5%)
76
- color: $color-invert
77
- .navbar-link
78
- &::after
79
- border-color: $color-invert
80
- .navbar-burger
81
- color: $color-invert
82
- +from($navbar-breakpoint)
83
- .navbar-start,
84
- .navbar-end
85
- & > .navbar-item,
86
- .navbar-link
87
- color: $color-invert
88
- & > a.navbar-item,
89
- .navbar-link
90
- &:focus,
91
- &:hover,
92
- &.is-active
93
- background-color: darken($color, 5%)
94
- color: $color-invert
95
- .navbar-link
96
- &::after
97
- border-color: $color-invert
98
- .navbar-item.has-dropdown:focus .navbar-link,
99
- .navbar-item.has-dropdown:hover .navbar-link,
100
- .navbar-item.has-dropdown.is-active .navbar-link
101
- background-color: darken($color, 5%)
102
- color: $color-invert
103
- .navbar-dropdown
104
- a.navbar-item
105
- &.is-active
106
- background-color: $color
107
- color: $color-invert
108
- & > .container
109
- align-items: stretch
110
- display: flex
111
- min-height: $navbar-height
112
- width: 100%
113
- &.has-shadow
114
- box-shadow: $navbar-box-shadow-size $navbar-box-shadow-color
115
- &.is-fixed-bottom,
116
- &.is-fixed-top
117
- +navbar-fixed
118
- &.is-fixed-bottom
119
- bottom: 0
120
- &.has-shadow
121
- box-shadow: $navbar-bottom-box-shadow-size $navbar-box-shadow-color
122
- &.is-fixed-top
123
- top: 0
124
-
125
- html,
126
- body
127
- &.has-navbar-fixed-top
128
- padding-top: $navbar-height
129
- &.has-navbar-fixed-bottom
130
- padding-bottom: $navbar-height
131
-
132
- .navbar-brand,
133
- .navbar-tabs
134
- align-items: stretch
135
- display: flex
136
- flex-shrink: 0
137
- min-height: $navbar-height
138
-
139
- .navbar-brand
140
- a.navbar-item
141
- &:focus,
142
- &:hover
143
- background-color: transparent
144
-
145
- .navbar-tabs
146
- +overflow-touch
147
- max-width: 100vw
148
- overflow-x: auto
149
- overflow-y: hidden
150
-
151
- .navbar-burger
152
- color: $navbar-burger-color
153
- +hamburger($navbar-height)
154
- margin-left: auto
155
-
156
- .navbar-menu
157
- display: none
158
-
159
- .navbar-item,
160
- .navbar-link
161
- color: $navbar-item-color
162
- display: block
163
- line-height: 1.5
164
- padding: 0.5rem 0.75rem
165
- position: relative
166
- .icon
167
- &:only-child
168
- margin-left: -0.25rem
169
- margin-right: -0.25rem
170
-
171
- a.navbar-item,
172
- .navbar-link
173
- cursor: pointer
174
- &:focus,
175
- &:focus-within,
176
- &:hover,
177
- &.is-active
178
- background-color: $navbar-item-hover-background-color
179
- color: $navbar-item-hover-color
180
-
181
- .navbar-item
182
- display: block
183
- flex-grow: 0
184
- flex-shrink: 0
185
- img
186
- max-height: $navbar-item-img-max-height
187
- &.has-dropdown
188
- padding: 0
189
- &.is-expanded
190
- flex-grow: 1
191
- flex-shrink: 1
192
- &.is-tab
193
- border-bottom: 1px solid transparent
194
- min-height: $navbar-height
195
- padding-bottom: calc(0.5rem - 1px)
196
- &:focus,
197
- &:hover
198
- background-color: $navbar-tab-hover-background-color
199
- border-bottom-color: $navbar-tab-hover-border-bottom-color
200
- &.is-active
201
- background-color: $navbar-tab-active-background-color
202
- border-bottom-color: $navbar-tab-active-border-bottom-color
203
- border-bottom-style: $navbar-tab-active-border-bottom-style
204
- border-bottom-width: $navbar-tab-active-border-bottom-width
205
- color: $navbar-tab-active-color
206
- padding-bottom: calc(0.5rem - #{$navbar-tab-active-border-bottom-width})
207
-
208
- .navbar-content
209
- flex-grow: 1
210
- flex-shrink: 1
211
-
212
- .navbar-link:not(.is-arrowless)
213
- padding-right: 2.5em
214
- &::after
215
- @extend %arrow
216
- border-color: $navbar-dropdown-arrow
217
- margin-top: -0.375em
218
- right: 1.125em
219
-
220
- .navbar-dropdown
221
- font-size: 0.875rem
222
- padding-bottom: 0.5rem
223
- padding-top: 0.5rem
224
- .navbar-item
225
- padding-left: 1.5rem
226
- padding-right: 1.5rem
227
-
228
- .navbar-divider
229
- background-color: $navbar-divider-background-color
230
- border: none
231
- display: none
232
- height: $navbar-divider-height
233
- margin: 0.5rem 0
234
-
235
- +until($navbar-breakpoint)
236
- .navbar > .container
237
- display: block
238
- .navbar-brand,
239
- .navbar-tabs
240
- .navbar-item
241
- align-items: center
242
- display: flex
243
- .navbar-link
244
- &::after
245
- display: none
246
- .navbar-menu
247
- background-color: $navbar-background-color
248
- box-shadow: 0 8px 16px rgba($black, 0.1)
249
- padding: 0.5rem 0
250
- &.is-active
251
- display: block
252
- // Fixed navbar
253
- .navbar
254
- &.is-fixed-bottom-touch,
255
- &.is-fixed-top-touch
256
- +navbar-fixed
257
- &.is-fixed-bottom-touch
258
- bottom: 0
259
- &.has-shadow
260
- box-shadow: 0 -2px 3px rgba($black, 0.1)
261
- &.is-fixed-top-touch
262
- top: 0
263
- &.is-fixed-top,
264
- &.is-fixed-top-touch
265
- .navbar-menu
266
- +overflow-touch
267
- max-height: calc(100vh - #{$navbar-height})
268
- overflow: auto
269
- html,
270
- body
271
- &.has-navbar-fixed-top-touch
272
- padding-top: $navbar-height
273
- &.has-navbar-fixed-bottom-touch
274
- padding-bottom: $navbar-height
275
-
276
- +from($navbar-breakpoint)
277
- .navbar,
278
- .navbar-menu,
279
- .navbar-start,
280
- .navbar-end
281
- align-items: stretch
282
- display: flex
283
- .navbar
284
- min-height: $navbar-height
285
- &.is-spaced
286
- padding: $navbar-padding-vertical $navbar-padding-horizontal
287
- .navbar-start,
288
- .navbar-end
289
- align-items: center
290
- a.navbar-item,
291
- .navbar-link
292
- border-radius: $radius
293
- &.is-transparent
294
- a.navbar-item,
295
- .navbar-link
296
- &:focus,
297
- &:hover,
298
- &.is-active
299
- background-color: transparent !important
300
- .navbar-item.has-dropdown
301
- &.is-active,
302
- &.is-hoverable:focus,
303
- &.is-hoverable:focus-within,
304
- &.is-hoverable:hover
305
- .navbar-link
306
- background-color: transparent !important
307
- .navbar-dropdown
308
- a.navbar-item
309
- &:focus,
310
- &:hover
311
- background-color: $navbar-dropdown-item-hover-background-color
312
- color: $navbar-dropdown-item-hover-color
313
- &.is-active
314
- background-color: $navbar-dropdown-item-active-background-color
315
- color: $navbar-dropdown-item-active-color
316
- .navbar-burger
317
- display: none
318
- .navbar-item,
319
- .navbar-link
320
- align-items: center
321
- display: flex
322
- .navbar-item
323
- display: flex
324
- &.has-dropdown
325
- align-items: stretch
326
- &.has-dropdown-up
327
- .navbar-link::after
328
- transform: rotate(135deg) translate(0.25em, -0.25em)
329
- .navbar-dropdown
330
- border-bottom: $navbar-dropdown-border-top
331
- border-radius: $navbar-dropdown-radius $navbar-dropdown-radius 0 0
332
- border-top: none
333
- bottom: 100%
334
- box-shadow: 0 -8px 8px rgba($black, 0.1)
335
- top: auto
336
- &.is-active,
337
- &.is-hoverable:focus,
338
- &.is-hoverable:focus-within,
339
- &.is-hoverable:hover
340
- .navbar-dropdown
341
- display: block
342
- .navbar.is-spaced &,
343
- &.is-boxed
344
- opacity: 1
345
- pointer-events: auto
346
- transform: translateY(0)
347
- .navbar-menu
348
- flex-grow: 1
349
- flex-shrink: 0
350
- .navbar-start
351
- justify-content: flex-start
352
- margin-right: auto
353
- .navbar-end
354
- justify-content: flex-end
355
- margin-left: auto
356
- .navbar-dropdown
357
- background-color: $navbar-dropdown-background-color
358
- border-bottom-left-radius: $navbar-dropdown-radius
359
- border-bottom-right-radius: $navbar-dropdown-radius
360
- border-top: $navbar-dropdown-border-top
361
- box-shadow: 0 8px 8px rgba($black, 0.1)
362
- display: none
363
- font-size: 0.875rem
364
- left: 0
365
- min-width: 100%
366
- position: absolute
367
- top: 100%
368
- z-index: $navbar-dropdown-z
369
- .navbar-item
370
- padding: 0.375rem 1rem
371
- white-space: nowrap
372
- a.navbar-item
373
- padding-right: 3rem
374
- &:focus,
375
- &:hover
376
- background-color: $navbar-dropdown-item-hover-background-color
377
- color: $navbar-dropdown-item-hover-color
378
- &.is-active
379
- background-color: $navbar-dropdown-item-active-background-color
380
- color: $navbar-dropdown-item-active-color
381
- .navbar.is-spaced &,
382
- &.is-boxed
383
- border-radius: $navbar-dropdown-boxed-radius
384
- border-top: none
385
- box-shadow: $navbar-dropdown-boxed-shadow
386
- display: block
387
- opacity: 0
388
- pointer-events: none
389
- top: calc(100% + (#{$navbar-dropdown-offset}))
390
- transform: translateY(-5px)
391
- transition-duration: $speed
392
- transition-property: opacity, transform
393
- &.is-right
394
- left: auto
395
- right: 0
396
- .navbar-divider
397
- display: block
398
- .navbar > .container,
399
- .container > .navbar
400
- .navbar-brand
401
- margin-left: -.75rem
402
- .navbar-menu
403
- margin-right: -.75rem
404
- // Fixed navbar
405
- .navbar
406
- &.is-fixed-bottom-desktop,
407
- &.is-fixed-top-desktop
408
- +navbar-fixed
409
- &.is-fixed-bottom-desktop
410
- bottom: 0
411
- &.has-shadow
412
- box-shadow: 0 -2px 3px rgba($black, 0.1)
413
- &.is-fixed-top-desktop
414
- top: 0
415
- html,
416
- body
417
- &.has-navbar-fixed-top-desktop
418
- padding-top: $navbar-height
419
- &.has-navbar-fixed-bottom-desktop
420
- padding-bottom: $navbar-height
421
- &.has-spaced-navbar-fixed-top
422
- padding-top: $navbar-height + ($navbar-padding-vertical * 2)
423
- &.has-spaced-navbar-fixed-bottom
424
- padding-bottom: $navbar-height + ($navbar-padding-vertical * 2)
425
- // Hover/Active states
426
- a.navbar-item,
427
- .navbar-link
428
- &.is-active
429
- color: $navbar-item-active-color
430
- &.is-active:not(:focus):not(:hover)
431
- background-color: $navbar-item-active-background-color
432
- .navbar-item.has-dropdown
433
- &:focus,
434
- &:hover,
435
- &.is-active
436
- .navbar-link
437
- background-color: $navbar-item-hover-background-color
438
-
439
- // Combination
440
-
441
- .hero
442
- &.is-fullheight-with-navbar
443
- min-height: calc(100vh - #{$navbar-height})
1
+ $navbar-background-color: $white !default
2
+ $navbar-box-shadow-size: 0 2px 0 0 !default
3
+ $navbar-box-shadow-color: $background !default
4
+ $navbar-height: 3.25rem !default
5
+ $navbar-padding-vertical: 1rem !default
6
+ $navbar-padding-horizontal: 2rem !default
7
+ $navbar-z: 30 !default
8
+ $navbar-fixed-z: 30 !default
9
+
10
+ $navbar-item-color: $grey-dark !default
11
+ $navbar-item-hover-color: $link !default
12
+ $navbar-item-hover-background-color: $white-bis !default
13
+ $navbar-item-active-color: $black !default
14
+ $navbar-item-active-background-color: transparent !default
15
+ $navbar-item-img-max-height: 1.75rem !default
16
+
17
+ $navbar-burger-color: $navbar-item-color !default
18
+
19
+ $navbar-tab-hover-background-color: transparent !default
20
+ $navbar-tab-hover-border-bottom-color: $link !default
21
+ $navbar-tab-active-color: $link !default
22
+ $navbar-tab-active-background-color: transparent !default
23
+ $navbar-tab-active-border-bottom-color: $link !default
24
+ $navbar-tab-active-border-bottom-style: solid !default
25
+ $navbar-tab-active-border-bottom-width: 3px !default
26
+
27
+ $navbar-dropdown-background-color: $white !default
28
+ $navbar-dropdown-border-top: 2px solid $border !default
29
+ $navbar-dropdown-offset: -4px !default
30
+ $navbar-dropdown-arrow: $link !default
31
+ $navbar-dropdown-radius: $radius-large !default
32
+ $navbar-dropdown-z: 20 !default
33
+
34
+ $navbar-dropdown-boxed-radius: $radius-large !default
35
+ $navbar-dropdown-boxed-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
36
+
37
+ $navbar-dropdown-item-hover-color: $black !default
38
+ $navbar-dropdown-item-hover-background-color: $background !default
39
+ $navbar-dropdown-item-active-color: $link !default
40
+ $navbar-dropdown-item-active-background-color: $background !default
41
+
42
+ $navbar-divider-background-color: $background !default
43
+ $navbar-divider-height: 2px !default
44
+
45
+ $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default
46
+
47
+ $navbar-breakpoint: $desktop !default
48
+
49
+ =navbar-fixed
50
+ left: 0
51
+ position: fixed
52
+ right: 0
53
+ z-index: $navbar-fixed-z
54
+
55
+ .navbar
56
+ background-color: $navbar-background-color
57
+ min-height: $navbar-height
58
+ position: relative
59
+ z-index: $navbar-z
60
+ @each $name, $pair in $colors
61
+ $color: nth($pair, 1)
62
+ $color-invert: nth($pair, 2)
63
+ &.is-#{$name}
64
+ background-color: $color
65
+ color: $color-invert
66
+ .navbar-brand
67
+ & > .navbar-item,
68
+ .navbar-link
69
+ color: $color-invert
70
+ & > a.navbar-item,
71
+ .navbar-link
72
+ &:focus,
73
+ &:hover,
74
+ &.is-active
75
+ background-color: darken($color, 5%)
76
+ color: $color-invert
77
+ .navbar-link
78
+ &::after
79
+ border-color: $color-invert
80
+ .navbar-burger
81
+ color: $color-invert
82
+ +from($navbar-breakpoint)
83
+ .navbar-start,
84
+ .navbar-end
85
+ & > .navbar-item,
86
+ .navbar-link
87
+ color: $color-invert
88
+ & > a.navbar-item,
89
+ .navbar-link
90
+ &:focus,
91
+ &:hover,
92
+ &.is-active
93
+ background-color: darken($color, 5%)
94
+ color: $color-invert
95
+ .navbar-link
96
+ &::after
97
+ border-color: $color-invert
98
+ .navbar-item.has-dropdown:focus .navbar-link,
99
+ .navbar-item.has-dropdown:hover .navbar-link,
100
+ .navbar-item.has-dropdown.is-active .navbar-link
101
+ background-color: darken($color, 5%)
102
+ color: $color-invert
103
+ .navbar-dropdown
104
+ a.navbar-item
105
+ &.is-active
106
+ background-color: $color
107
+ color: $color-invert
108
+ & > .container
109
+ align-items: stretch
110
+ display: flex
111
+ min-height: $navbar-height
112
+ width: 100%
113
+ &.has-shadow
114
+ box-shadow: $navbar-box-shadow-size $navbar-box-shadow-color
115
+ &.is-fixed-bottom,
116
+ &.is-fixed-top
117
+ +navbar-fixed
118
+ &.is-fixed-bottom
119
+ bottom: 0
120
+ &.has-shadow
121
+ box-shadow: $navbar-bottom-box-shadow-size $navbar-box-shadow-color
122
+ &.is-fixed-top
123
+ top: 0
124
+
125
+ html,
126
+ body
127
+ &.has-navbar-fixed-top
128
+ padding-top: $navbar-height
129
+ &.has-navbar-fixed-bottom
130
+ padding-bottom: $navbar-height
131
+
132
+ .navbar-brand,
133
+ .navbar-tabs
134
+ align-items: stretch
135
+ display: flex
136
+ flex-shrink: 0
137
+ min-height: $navbar-height
138
+
139
+ .navbar-brand
140
+ a.navbar-item
141
+ &:focus,
142
+ &:hover
143
+ background-color: transparent
144
+
145
+ .navbar-tabs
146
+ +overflow-touch
147
+ max-width: 100vw
148
+ overflow-x: auto
149
+ overflow-y: hidden
150
+
151
+ .navbar-burger
152
+ color: $navbar-burger-color
153
+ +hamburger($navbar-height)
154
+ margin-left: auto
155
+
156
+ .navbar-menu
157
+ display: none
158
+
159
+ .navbar-item,
160
+ .navbar-link
161
+ color: $navbar-item-color
162
+ display: block
163
+ line-height: 1.5
164
+ padding: 0.5rem 0.75rem
165
+ position: relative
166
+ .icon
167
+ &:only-child
168
+ margin-left: -0.25rem
169
+ margin-right: -0.25rem
170
+
171
+ a.navbar-item,
172
+ .navbar-link
173
+ cursor: pointer
174
+ &:focus,
175
+ &:focus-within,
176
+ &:hover,
177
+ &.is-active
178
+ background-color: $navbar-item-hover-background-color
179
+ color: $navbar-item-hover-color
180
+
181
+ .navbar-item
182
+ display: block
183
+ flex-grow: 0
184
+ flex-shrink: 0
185
+ img
186
+ max-height: $navbar-item-img-max-height
187
+ &.has-dropdown
188
+ padding: 0
189
+ &.is-expanded
190
+ flex-grow: 1
191
+ flex-shrink: 1
192
+ &.is-tab
193
+ border-bottom: 1px solid transparent
194
+ min-height: $navbar-height
195
+ padding-bottom: calc(0.5rem - 1px)
196
+ &:focus,
197
+ &:hover
198
+ background-color: $navbar-tab-hover-background-color
199
+ border-bottom-color: $navbar-tab-hover-border-bottom-color
200
+ &.is-active
201
+ background-color: $navbar-tab-active-background-color
202
+ border-bottom-color: $navbar-tab-active-border-bottom-color
203
+ border-bottom-style: $navbar-tab-active-border-bottom-style
204
+ border-bottom-width: $navbar-tab-active-border-bottom-width
205
+ color: $navbar-tab-active-color
206
+ padding-bottom: calc(0.5rem - #{$navbar-tab-active-border-bottom-width})
207
+
208
+ .navbar-content
209
+ flex-grow: 1
210
+ flex-shrink: 1
211
+
212
+ .navbar-link:not(.is-arrowless)
213
+ padding-right: 2.5em
214
+ &::after
215
+ @extend %arrow
216
+ border-color: $navbar-dropdown-arrow
217
+ margin-top: -0.375em
218
+ right: 1.125em
219
+
220
+ .navbar-dropdown
221
+ font-size: 0.875rem
222
+ padding-bottom: 0.5rem
223
+ padding-top: 0.5rem
224
+ .navbar-item
225
+ padding-left: 1.5rem
226
+ padding-right: 1.5rem
227
+
228
+ .navbar-divider
229
+ background-color: $navbar-divider-background-color
230
+ border: none
231
+ display: none
232
+ height: $navbar-divider-height
233
+ margin: 0.5rem 0
234
+
235
+ +until($navbar-breakpoint)
236
+ .navbar > .container
237
+ display: block
238
+ .navbar-brand,
239
+ .navbar-tabs
240
+ .navbar-item
241
+ align-items: center
242
+ display: flex
243
+ .navbar-link
244
+ &::after
245
+ display: none
246
+ .navbar-menu
247
+ background-color: $navbar-background-color
248
+ box-shadow: 0 8px 16px rgba($black, 0.1)
249
+ padding: 0.5rem 0
250
+ &.is-active
251
+ display: block
252
+ // Fixed navbar
253
+ .navbar
254
+ &.is-fixed-bottom-touch,
255
+ &.is-fixed-top-touch
256
+ +navbar-fixed
257
+ &.is-fixed-bottom-touch
258
+ bottom: 0
259
+ &.has-shadow
260
+ box-shadow: 0 -2px 3px rgba($black, 0.1)
261
+ &.is-fixed-top-touch
262
+ top: 0
263
+ &.is-fixed-top,
264
+ &.is-fixed-top-touch
265
+ .navbar-menu
266
+ +overflow-touch
267
+ max-height: calc(100vh - #{$navbar-height})
268
+ overflow: auto
269
+ html,
270
+ body
271
+ &.has-navbar-fixed-top-touch
272
+ padding-top: $navbar-height
273
+ &.has-navbar-fixed-bottom-touch
274
+ padding-bottom: $navbar-height
275
+
276
+ +from($navbar-breakpoint)
277
+ .navbar,
278
+ .navbar-menu,
279
+ .navbar-start,
280
+ .navbar-end
281
+ align-items: stretch
282
+ display: flex
283
+ .navbar
284
+ min-height: $navbar-height
285
+ &.is-spaced
286
+ padding: $navbar-padding-vertical $navbar-padding-horizontal
287
+ .navbar-start,
288
+ .navbar-end
289
+ align-items: center
290
+ a.navbar-item,
291
+ .navbar-link
292
+ border-radius: $radius
293
+ &.is-transparent
294
+ a.navbar-item,
295
+ .navbar-link
296
+ &:focus,
297
+ &:hover,
298
+ &.is-active
299
+ background-color: transparent !important
300
+ .navbar-item.has-dropdown
301
+ &.is-active,
302
+ &.is-hoverable:focus,
303
+ &.is-hoverable:focus-within,
304
+ &.is-hoverable:hover
305
+ .navbar-link
306
+ background-color: transparent !important
307
+ .navbar-dropdown
308
+ a.navbar-item
309
+ &:focus,
310
+ &:hover
311
+ background-color: $navbar-dropdown-item-hover-background-color
312
+ color: $navbar-dropdown-item-hover-color
313
+ &.is-active
314
+ background-color: $navbar-dropdown-item-active-background-color
315
+ color: $navbar-dropdown-item-active-color
316
+ .navbar-burger
317
+ display: none
318
+ .navbar-item,
319
+ .navbar-link
320
+ align-items: center
321
+ display: flex
322
+ .navbar-item
323
+ display: flex
324
+ &.has-dropdown
325
+ align-items: stretch
326
+ &.has-dropdown-up
327
+ .navbar-link::after
328
+ transform: rotate(135deg) translate(0.25em, -0.25em)
329
+ .navbar-dropdown
330
+ border-bottom: $navbar-dropdown-border-top
331
+ border-radius: $navbar-dropdown-radius $navbar-dropdown-radius 0 0
332
+ border-top: none
333
+ bottom: 100%
334
+ box-shadow: 0 -8px 8px rgba($black, 0.1)
335
+ top: auto
336
+ &.is-active,
337
+ &.is-hoverable:focus,
338
+ &.is-hoverable:focus-within,
339
+ &.is-hoverable:hover
340
+ .navbar-dropdown
341
+ display: block
342
+ .navbar.is-spaced &,
343
+ &.is-boxed
344
+ opacity: 1
345
+ pointer-events: auto
346
+ transform: translateY(0)
347
+ .navbar-menu
348
+ flex-grow: 1
349
+ flex-shrink: 0
350
+ .navbar-start
351
+ justify-content: flex-start
352
+ margin-right: auto
353
+ .navbar-end
354
+ justify-content: flex-end
355
+ margin-left: auto
356
+ .navbar-dropdown
357
+ background-color: $navbar-dropdown-background-color
358
+ border-bottom-left-radius: $navbar-dropdown-radius
359
+ border-bottom-right-radius: $navbar-dropdown-radius
360
+ border-top: $navbar-dropdown-border-top
361
+ box-shadow: 0 8px 8px rgba($black, 0.1)
362
+ display: none
363
+ font-size: 0.875rem
364
+ left: 0
365
+ min-width: 100%
366
+ position: absolute
367
+ top: 100%
368
+ z-index: $navbar-dropdown-z
369
+ .navbar-item
370
+ padding: 0.375rem 1rem
371
+ white-space: nowrap
372
+ a.navbar-item
373
+ padding-right: 3rem
374
+ &:focus,
375
+ &:hover
376
+ background-color: $navbar-dropdown-item-hover-background-color
377
+ color: $navbar-dropdown-item-hover-color
378
+ &.is-active
379
+ background-color: $navbar-dropdown-item-active-background-color
380
+ color: $navbar-dropdown-item-active-color
381
+ .navbar.is-spaced &,
382
+ &.is-boxed
383
+ border-radius: $navbar-dropdown-boxed-radius
384
+ border-top: none
385
+ box-shadow: $navbar-dropdown-boxed-shadow
386
+ display: block
387
+ opacity: 0
388
+ pointer-events: none
389
+ top: calc(100% + (#{$navbar-dropdown-offset}))
390
+ transform: translateY(-5px)
391
+ transition-duration: $speed
392
+ transition-property: opacity, transform
393
+ &.is-right
394
+ left: auto
395
+ right: 0
396
+ .navbar-divider
397
+ display: block
398
+ .navbar > .container,
399
+ .container > .navbar
400
+ .navbar-brand
401
+ margin-left: -.75rem
402
+ .navbar-menu
403
+ margin-right: -.75rem
404
+ // Fixed navbar
405
+ .navbar
406
+ &.is-fixed-bottom-desktop,
407
+ &.is-fixed-top-desktop
408
+ +navbar-fixed
409
+ &.is-fixed-bottom-desktop
410
+ bottom: 0
411
+ &.has-shadow
412
+ box-shadow: 0 -2px 3px rgba($black, 0.1)
413
+ &.is-fixed-top-desktop
414
+ top: 0
415
+ html,
416
+ body
417
+ &.has-navbar-fixed-top-desktop
418
+ padding-top: $navbar-height
419
+ &.has-navbar-fixed-bottom-desktop
420
+ padding-bottom: $navbar-height
421
+ &.has-spaced-navbar-fixed-top
422
+ padding-top: $navbar-height + ($navbar-padding-vertical * 2)
423
+ &.has-spaced-navbar-fixed-bottom
424
+ padding-bottom: $navbar-height + ($navbar-padding-vertical * 2)
425
+ // Hover/Active states
426
+ a.navbar-item,
427
+ .navbar-link
428
+ &.is-active
429
+ color: $navbar-item-active-color
430
+ &.is-active:not(:focus):not(:hover)
431
+ background-color: $navbar-item-active-background-color
432
+ .navbar-item.has-dropdown
433
+ &:focus,
434
+ &:hover,
435
+ &.is-active
436
+ .navbar-link
437
+ background-color: $navbar-item-hover-background-color
438
+
439
+ // Combination
440
+
441
+ .hero
442
+ &.is-fullheight-with-navbar
443
+ min-height: calc(100vh - #{$navbar-height})