mi-jekyll-theme 0.4.1
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/_includes/functions/gallery.html +69 -0
- data/_includes/functions/proposals.html +27 -0
- data/_includes/functions/resolve-dates.html +27 -0
- data/_includes/functions/resolve-names.html +9 -0
- data/_includes/functions/resolve-types.html +5 -0
- data/_includes/functions/resolve-urls.html +5 -0
- data/_includes/functions/resolve-voraussetzungen.html +18 -0
- data/_includes/functions/zeitplan.html +26 -0
- data/_includes/image.html +8 -0
- data/_includes/news-overview.html +32 -0
- data/_includes/news.html +10 -0
- data/_includes/proposal.html +30 -0
- data/_includes/reading-time.html +8 -0
- data/_includes/termine-auf-veranstaltungsseite.html +33 -0
- data/_includes/timetable-day-float.html +111 -0
- data/_includes/timetable-day.html +140 -0
- data/_includes/veranstaltungsinfo-klein.html +55 -0
- data/_includes/workshop-overview.html +36 -0
- data/_includes/zwischenstand.html +16 -0
- data/_layouts/bigtext.html +8 -0
- data/_layouts/codesnippets.html +43 -0
- data/_layouts/default.html +89 -0
- data/_layouts/einspalter.html +7 -0
- data/_layouts/faq.html +40 -0
- data/_layouts/hauptspalteMarginalie.html +8 -0
- data/_layouts/home.html +25 -0
- data/_layouts/lehrveranstaltung.html +61 -0
- data/_layouts/links.html +70 -0
- data/_layouts/markdownAjax.html +15 -0
- data/_layouts/modul-overview.html +9 -0
- data/_layouts/news.html +40 -0
- data/_layouts/page-einspalter.html +23 -0
- data/_layouts/page.html +24 -0
- data/_layouts/post.html +17 -0
- data/_layouts/projekt.html +81 -0
- data/_layouts/workshop.html +43 -0
- data/_layouts/zweispalter.html +7 -0
- data/_sass/lib/README.md +1 -0
- data/_sass/lib/_highlights.scss +84 -0
- data/_sass/lib/_overrides.scss +16 -0
- data/_sass/lib/_reset.scss +53 -0
- data/_sass/lib/_svg-icons.scss +20 -0
- data/_sass/lib/_variables-mi-colors.scss +11 -0
- data/_sass/lib/_variables.scss +21 -0
- data/_sass/lib/bulma.sass +8 -0
- data/_sass/lib/sass/base/_all.sass +5 -0
- data/_sass/lib/sass/base/generic.sass +127 -0
- data/_sass/lib/sass/base/helpers.sass +203 -0
- data/_sass/lib/sass/base/minireset.sass +80 -0
- data/_sass/lib/sass/components/_all.sass +15 -0
- data/_sass/lib/sass/components/breadcrumb.sass +74 -0
- data/_sass/lib/sass/components/card.sass +67 -0
- data/_sass/lib/sass/components/dropdown.sass +68 -0
- data/_sass/lib/sass/components/level.sass +74 -0
- data/_sass/lib/sass/components/media.sass +44 -0
- data/_sass/lib/sass/components/menu.sass +50 -0
- data/_sass/lib/sass/components/message.sass +79 -0
- data/_sass/lib/sass/components/modal.sass +111 -0
- data/_sass/lib/sass/components/nav.sass +125 -0
- data/_sass/lib/sass/components/navbar.sass +301 -0
- data/_sass/lib/sass/components/pagination.sass +134 -0
- data/_sass/lib/sass/components/panel.sass +101 -0
- data/_sass/lib/sass/components/tabs.sass +141 -0
- data/_sass/lib/sass/elements/_all.sass +16 -0
- data/_sass/lib/sass/elements/box.sass +24 -0
- data/_sass/lib/sass/elements/button.sass +201 -0
- data/_sass/lib/sass/elements/container.sass +25 -0
- data/_sass/lib/sass/elements/content.sass +145 -0
- data/_sass/lib/sass/elements/form.sass +603 -0
- data/_sass/lib/sass/elements/icon.sass +21 -0
- data/_sass/lib/sass/elements/image.sass +36 -0
- data/_sass/lib/sass/elements/notification.sass +35 -0
- data/_sass/lib/sass/elements/other.sass +39 -0
- data/_sass/lib/sass/elements/progress.sass +35 -0
- data/_sass/lib/sass/elements/table.sass +98 -0
- data/_sass/lib/sass/elements/tag.sass +89 -0
- data/_sass/lib/sass/elements/title.sass +55 -0
- data/_sass/lib/sass/grid/_all.sass +4 -0
- data/_sass/lib/sass/grid/columns.sass +328 -0
- data/_sass/lib/sass/grid/tiles.sass +32 -0
- data/_sass/lib/sass/layout/_all.sass +5 -0
- data/_sass/lib/sass/layout/footer.sass +5 -0
- data/_sass/lib/sass/layout/hero.sass +155 -0
- data/_sass/lib/sass/layout/section.sass +13 -0
- data/_sass/lib/sass/utilities/_all.sass +8 -0
- data/_sass/lib/sass/utilities/animations.sass +5 -0
- data/_sass/lib/sass/utilities/controls.sass +41 -0
- data/_sass/lib/sass/utilities/derived-variables.sass +81 -0
- data/_sass/lib/sass/utilities/functions.sass +28 -0
- data/_sass/lib/sass/utilities/initial-variables.sass +64 -0
- data/_sass/lib/sass/utilities/mixins.sass +224 -0
- data/_sass/lib/sass/utilities/variables.sass +150 -0
- data/_sass/mi-jekyll.scss +821 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/mi-box-100.png +0 -0
- data/assets/images/mi-box-150.png +0 -0
- data/assets/images/mi-box-470.png +0 -0
- data/assets/images/mi-box.svg +34 -0
- data/assets/images/th-logo.png +0 -0
- data/assets/js/mi-jekyll.js +359 -0
- data/assets/libs/octokit-rest.min.js +16 -0
- data/assets/styles/mi-jekyll.scss +11 -0
- data/assets/th-logo.png +0 -0
- metadata +191 -0
@@ -0,0 +1,79 @@
|
|
1
|
+
$message-background-color: $background !default
|
2
|
+
$message-radius: $radius !default
|
3
|
+
|
4
|
+
$message-header-background-color: $text !default
|
5
|
+
$message-header-color: $text-invert !default
|
6
|
+
$message-header-padding: 0.5em 0.75em !default
|
7
|
+
$message-header-radius: $radius !default
|
8
|
+
|
9
|
+
$message-body-border: 1px solid $border !default
|
10
|
+
$message-body-color: $text !default
|
11
|
+
$message-body-padding: 1em 1.25em !default
|
12
|
+
$message-body-radius: $radius !default
|
13
|
+
|
14
|
+
$message-body-pre-background-color: $white !default
|
15
|
+
$message-body-pre-code-background-color: transparent !default
|
16
|
+
|
17
|
+
.message
|
18
|
+
+block
|
19
|
+
background-color: $message-background-color
|
20
|
+
border-radius: $message-radius
|
21
|
+
font-size: $size-normal
|
22
|
+
strong
|
23
|
+
color: currentColor
|
24
|
+
a:not(.button):not(.tag)
|
25
|
+
color: currentColor
|
26
|
+
text-decoration: underline
|
27
|
+
// Sizes
|
28
|
+
&.is-small
|
29
|
+
font-size: $size-small
|
30
|
+
&.is-medium
|
31
|
+
font-size: $size-medium
|
32
|
+
&.is-large
|
33
|
+
font-size: $size-large
|
34
|
+
// Colors
|
35
|
+
@each $name, $pair in $colors
|
36
|
+
$color: nth($pair, 1)
|
37
|
+
$color-invert: nth($pair, 2)
|
38
|
+
$color-lightning: max((100% - lightness($color)) - 2%, 0%)
|
39
|
+
$color-luminance: colorLuminance($color)
|
40
|
+
$darken-percentage: $color-luminance * 70%
|
41
|
+
$desaturate-percentage: $color-luminance * 30%
|
42
|
+
&.is-#{$name}
|
43
|
+
background-color: lighten($color, $color-lightning)
|
44
|
+
.message-header
|
45
|
+
background-color: $color
|
46
|
+
color: $color-invert
|
47
|
+
.message-body
|
48
|
+
border-color: $color
|
49
|
+
color: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
|
50
|
+
|
51
|
+
.message-header
|
52
|
+
align-items: center
|
53
|
+
background-color: $message-header-background-color
|
54
|
+
border-radius: $message-header-radius $message-header-radius 0 0
|
55
|
+
color: $message-header-color
|
56
|
+
display: flex
|
57
|
+
justify-content: space-between
|
58
|
+
line-height: 1.25
|
59
|
+
padding: $message-header-padding
|
60
|
+
position: relative
|
61
|
+
.delete
|
62
|
+
flex-grow: 0
|
63
|
+
flex-shrink: 0
|
64
|
+
margin-left: 0.75em
|
65
|
+
& + .message-body
|
66
|
+
border-top-left-radius: 0
|
67
|
+
border-top-right-radius: 0
|
68
|
+
border-top: none
|
69
|
+
|
70
|
+
.message-body
|
71
|
+
border: $message-body-border
|
72
|
+
border-radius: $message-body-radius
|
73
|
+
color: $message-body-color
|
74
|
+
padding: $message-body-padding
|
75
|
+
code,
|
76
|
+
pre
|
77
|
+
background-color: $message-body-pre-background-color
|
78
|
+
pre code
|
79
|
+
background-color: $message-body-pre-code-background-color
|
@@ -0,0 +1,111 @@
|
|
1
|
+
$modal-z: 20 !default
|
2
|
+
|
3
|
+
$modal-background-background-color: rgba($black, 0.86) !default
|
4
|
+
|
5
|
+
$modal-content-width: 640px !default
|
6
|
+
$modal-content-margin-mobile: 20px !default
|
7
|
+
$modal-content-spacing-mobile: 160px !default
|
8
|
+
$modal-content-spacing-tablet: 40px !default
|
9
|
+
|
10
|
+
$modal-close-dimensions: 40px !default
|
11
|
+
$modal-close-right: 20px !default
|
12
|
+
$modal-close-top: 20px !default
|
13
|
+
|
14
|
+
$modal-card-spacing: 40px !default
|
15
|
+
|
16
|
+
$modal-card-head-background-color: $background !default
|
17
|
+
$modal-card-head-border-bottom: 1px solid $border !default
|
18
|
+
$modal-card-head-padding: 20px !default
|
19
|
+
$modal-card-head-radius: $radius-large !default
|
20
|
+
|
21
|
+
$modal-card-title-color: $text-strong !default
|
22
|
+
$modal-card-title-line-height: 1 !default
|
23
|
+
$modal-card-title-size: $size-4 !default
|
24
|
+
|
25
|
+
$modal-card-foot-radius: $radius-large !default
|
26
|
+
$modal-card-foot-border-top: 1px solid $border !default
|
27
|
+
|
28
|
+
$modal-card-body-background-color: $white !default
|
29
|
+
$modal-card-body-padding: 20px !default
|
30
|
+
|
31
|
+
.modal
|
32
|
+
+overlay
|
33
|
+
align-items: center
|
34
|
+
display: none
|
35
|
+
justify-content: center
|
36
|
+
overflow: hidden
|
37
|
+
position: fixed
|
38
|
+
z-index: $modal-z
|
39
|
+
// Modifiers
|
40
|
+
&.is-active
|
41
|
+
display: flex
|
42
|
+
|
43
|
+
.modal-background
|
44
|
+
+overlay
|
45
|
+
background-color: $modal-background-background-color
|
46
|
+
|
47
|
+
.modal-content,
|
48
|
+
.modal-card
|
49
|
+
margin: 0 $modal-content-margin-mobile
|
50
|
+
max-height: calc(100vh - #{$modal-content-spacing-mobile})
|
51
|
+
overflow: auto
|
52
|
+
position: relative
|
53
|
+
width: 100%
|
54
|
+
// Responsiveness
|
55
|
+
+tablet
|
56
|
+
margin: 0 auto
|
57
|
+
max-height: calc(100vh - #{$modal-content-spacing-tablet})
|
58
|
+
width: $modal-content-width
|
59
|
+
|
60
|
+
.modal-close
|
61
|
+
+delete
|
62
|
+
background: none
|
63
|
+
height: $modal-close-dimensions
|
64
|
+
position: fixed
|
65
|
+
right: $modal-close-right
|
66
|
+
top: $modal-close-top
|
67
|
+
width: $modal-close-dimensions
|
68
|
+
|
69
|
+
.modal-card
|
70
|
+
display: flex
|
71
|
+
flex-direction: column
|
72
|
+
max-height: calc(100vh - #{$modal-card-spacing})
|
73
|
+
overflow: hidden
|
74
|
+
|
75
|
+
.modal-card-head,
|
76
|
+
.modal-card-foot
|
77
|
+
align-items: center
|
78
|
+
background-color: $modal-card-head-background-color
|
79
|
+
display: flex
|
80
|
+
flex-shrink: 0
|
81
|
+
justify-content: flex-start
|
82
|
+
padding: $modal-card-head-padding
|
83
|
+
position: relative
|
84
|
+
|
85
|
+
.modal-card-head
|
86
|
+
border-bottom: $modal-card-head-border-bottom
|
87
|
+
border-top-left-radius: $modal-card-head-radius
|
88
|
+
border-top-right-radius: $modal-card-head-radius
|
89
|
+
|
90
|
+
.modal-card-title
|
91
|
+
color: $modal-card-title-color
|
92
|
+
flex-grow: 1
|
93
|
+
flex-shrink: 0
|
94
|
+
font-size: $modal-card-title-size
|
95
|
+
line-height: $modal-card-title-line-height
|
96
|
+
|
97
|
+
.modal-card-foot
|
98
|
+
border-bottom-left-radius: $modal-card-foot-radius
|
99
|
+
border-bottom-right-radius: $modal-card-foot-radius
|
100
|
+
border-top: $modal-card-foot-border-top
|
101
|
+
.button
|
102
|
+
&:not(:last-child)
|
103
|
+
margin-right: 10px
|
104
|
+
|
105
|
+
.modal-card-body
|
106
|
+
+overflow-touch
|
107
|
+
background-color: $modal-card-body-background-color
|
108
|
+
flex-grow: 1
|
109
|
+
flex-shrink: 1
|
110
|
+
overflow: auto
|
111
|
+
padding: $modal-card-body-padding
|
@@ -0,0 +1,125 @@
|
|
1
|
+
$nav-height: 3.25rem !default
|
2
|
+
|
3
|
+
// Components
|
4
|
+
|
5
|
+
.nav-toggle
|
6
|
+
+hamburger($nav-height)
|
7
|
+
// Responsiveness
|
8
|
+
+tablet
|
9
|
+
display: none
|
10
|
+
|
11
|
+
.nav-item
|
12
|
+
align-items: center
|
13
|
+
display: flex
|
14
|
+
flex-grow: 0
|
15
|
+
flex-shrink: 0
|
16
|
+
font-size: $size-normal
|
17
|
+
justify-content: center
|
18
|
+
line-height: 1.5
|
19
|
+
padding: 0.5rem 0.75rem
|
20
|
+
a
|
21
|
+
flex-grow: 1
|
22
|
+
flex-shrink: 0
|
23
|
+
img
|
24
|
+
max-height: 1.75rem
|
25
|
+
.tag
|
26
|
+
&:first-child:not(:last-child)
|
27
|
+
margin-right: 0.5rem
|
28
|
+
&:last-child:not(:first-child)
|
29
|
+
margin-left: 0.5rem
|
30
|
+
// Responsiveness
|
31
|
+
+mobile
|
32
|
+
justify-content: flex-start
|
33
|
+
|
34
|
+
.nav-item a:not(.button),
|
35
|
+
a.nav-item:not(.button)
|
36
|
+
color: $text-light
|
37
|
+
&:hover
|
38
|
+
color: $link-hover
|
39
|
+
// Modifiers
|
40
|
+
&.is-active
|
41
|
+
color: $link-active
|
42
|
+
&.is-tab
|
43
|
+
border-bottom: 1px solid transparent
|
44
|
+
border-top: 1px solid transparent
|
45
|
+
padding-bottom: calc(0.75rem - 1px)
|
46
|
+
padding-left: 1rem
|
47
|
+
padding-right: 1rem
|
48
|
+
padding-top: calc(0.75rem - 1px)
|
49
|
+
&:hover
|
50
|
+
border-bottom-color: $primary
|
51
|
+
border-top-color: transparent
|
52
|
+
&.is-active
|
53
|
+
border-bottom: 3px solid $primary
|
54
|
+
color: $primary
|
55
|
+
padding-bottom: calc(0.75rem - 3px)
|
56
|
+
// Responsiveness
|
57
|
+
+desktop
|
58
|
+
&.is-brand
|
59
|
+
padding-left: 0
|
60
|
+
|
61
|
+
// Containers
|
62
|
+
|
63
|
+
.nav-left,
|
64
|
+
.nav-right
|
65
|
+
+overflow-touch
|
66
|
+
align-items: stretch
|
67
|
+
display: flex
|
68
|
+
flex-grow: 1
|
69
|
+
flex-shrink: 0
|
70
|
+
max-width: 100%
|
71
|
+
overflow: auto
|
72
|
+
+widescreen
|
73
|
+
flex-basis: 0
|
74
|
+
|
75
|
+
.nav-left
|
76
|
+
justify-content: flex-start
|
77
|
+
white-space: nowrap
|
78
|
+
|
79
|
+
.nav-right
|
80
|
+
justify-content: flex-end
|
81
|
+
|
82
|
+
.nav-center
|
83
|
+
align-items: stretch
|
84
|
+
display: flex
|
85
|
+
flex-grow: 0
|
86
|
+
flex-shrink: 0
|
87
|
+
justify-content: center
|
88
|
+
margin-left: auto
|
89
|
+
margin-right: auto
|
90
|
+
|
91
|
+
.nav-menu
|
92
|
+
// Responsiveness
|
93
|
+
+mobile
|
94
|
+
&.nav-right
|
95
|
+
background-color: $white
|
96
|
+
box-shadow: 0 4px 7px rgba($black, 0.1)
|
97
|
+
left: 0
|
98
|
+
display: none
|
99
|
+
right: 0
|
100
|
+
top: 100%
|
101
|
+
position: absolute
|
102
|
+
.nav-item
|
103
|
+
border-top: 1px solid rgba($border, 0.5)
|
104
|
+
padding: 0.75rem
|
105
|
+
&.is-active
|
106
|
+
display: block
|
107
|
+
|
108
|
+
// Main container
|
109
|
+
|
110
|
+
.nav
|
111
|
+
align-items: stretch
|
112
|
+
background-color: $white
|
113
|
+
display: flex
|
114
|
+
height: $nav-height
|
115
|
+
position: relative
|
116
|
+
text-align: center
|
117
|
+
z-index: 10
|
118
|
+
& > .container
|
119
|
+
align-items: stretch
|
120
|
+
display: flex
|
121
|
+
min-height: $nav-height
|
122
|
+
width: 100%
|
123
|
+
// Modifiers
|
124
|
+
&.has-shadow
|
125
|
+
box-shadow: 0 2px 3px rgba($black, 0.1)
|
@@ -0,0 +1,301 @@
|
|
1
|
+
$navbar-background-color: $white !default
|
2
|
+
$navbar-height: 3.25rem !default
|
3
|
+
|
4
|
+
$navbar-item-color: $grey-dark !default
|
5
|
+
$navbar-item-hover-color: $black !default
|
6
|
+
$navbar-item-hover-background-color: $background !default
|
7
|
+
$navbar-item-active-color: $black !default
|
8
|
+
$navbar-item-active-background-color: transparent !default
|
9
|
+
$navbar-item-img-max-height: 1.75rem !default
|
10
|
+
|
11
|
+
$navbar-tab-hover-background-color: transparent !default
|
12
|
+
$navbar-tab-hover-border-bottom-color: $primary !default
|
13
|
+
$navbar-tab-active-color: $primary !default
|
14
|
+
$navbar-tab-active-background-color: transparent !default
|
15
|
+
$navbar-tab-active-border-bottom-color: $primary !default
|
16
|
+
$navbar-tab-active-border-bottom-style: solid !default
|
17
|
+
$navbar-tab-active-border-bottom-width: 3px !default
|
18
|
+
|
19
|
+
$navbar-dropdown-background-color: $white !default
|
20
|
+
$navbar-dropdown-border-top: 1px solid $border !default
|
21
|
+
$navbar-dropdown-offset: -4px !default
|
22
|
+
$navbar-dropdown-arrow: $link !default
|
23
|
+
$navbar-dropdown-radius: $radius-large !default
|
24
|
+
$navbar-dropdown-z: 20 !default
|
25
|
+
|
26
|
+
$navbar-dropdown-boxed-radius: $radius-large !default
|
27
|
+
$navbar-dropdown-boxed-shadow: 0 8px 8px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
|
28
|
+
|
29
|
+
$navbar-dropdown-item-hover-color: $black !default
|
30
|
+
$navbar-dropdown-item-hover-background-color: $background !default
|
31
|
+
$navbar-dropdown-item-active-color: $primary !default
|
32
|
+
$navbar-dropdown-item-active-background-color: $background !default
|
33
|
+
|
34
|
+
$navbar-divider-background-color: $border !default
|
35
|
+
|
36
|
+
.navbar
|
37
|
+
background-color: $navbar-background-color
|
38
|
+
min-height: $navbar-height
|
39
|
+
position: relative
|
40
|
+
@each $name, $pair in $colors
|
41
|
+
$color: nth($pair, 1)
|
42
|
+
$color-invert: nth($pair, 2)
|
43
|
+
&.is-#{$name}
|
44
|
+
background-color: $color
|
45
|
+
color: $color-invert
|
46
|
+
.navbar-brand
|
47
|
+
& > .navbar-item,
|
48
|
+
.navbar-link
|
49
|
+
color: $color-invert
|
50
|
+
& > a.navbar-item,
|
51
|
+
.navbar-link
|
52
|
+
&:hover,
|
53
|
+
&.is-active
|
54
|
+
background-color: darken($color, 5%)
|
55
|
+
color: $color-invert
|
56
|
+
.navbar-link
|
57
|
+
&::after
|
58
|
+
border-color: $color-invert
|
59
|
+
+desktop
|
60
|
+
.navbar-start,
|
61
|
+
.navbar-end
|
62
|
+
& > .navbar-item,
|
63
|
+
.navbar-link
|
64
|
+
color: $color-invert
|
65
|
+
& > a.navbar-item,
|
66
|
+
.navbar-link
|
67
|
+
&:hover,
|
68
|
+
&.is-active
|
69
|
+
background-color: darken($color, 5%)
|
70
|
+
color: $color-invert
|
71
|
+
.navbar-link
|
72
|
+
&::after
|
73
|
+
border-color: $color-invert
|
74
|
+
.navbar-item.has-dropdown:hover .navbar-link,
|
75
|
+
.navbar-item.has-dropdown.is-active .navbar-link
|
76
|
+
background-color: darken($color, 5%)
|
77
|
+
color: $color-invert
|
78
|
+
.navbar-dropdown
|
79
|
+
a.navbar-item
|
80
|
+
&.is-active
|
81
|
+
background-color: $color
|
82
|
+
color: $color-invert
|
83
|
+
& > .container
|
84
|
+
align-items: stretch
|
85
|
+
display: flex
|
86
|
+
min-height: $navbar-height
|
87
|
+
width: 100%
|
88
|
+
&.has-shadow
|
89
|
+
box-shadow: 0 2px 3px rgba($black, 0.1)
|
90
|
+
|
91
|
+
.navbar-brand,
|
92
|
+
.navbar-tabs
|
93
|
+
align-items: stretch
|
94
|
+
display: flex
|
95
|
+
flex-shrink: 0
|
96
|
+
min-height: $navbar-height
|
97
|
+
|
98
|
+
.navbar-tabs
|
99
|
+
+overflow-touch
|
100
|
+
max-width: 100vw
|
101
|
+
overflow-x: auto
|
102
|
+
overflow-y: hidden
|
103
|
+
|
104
|
+
.navbar-burger
|
105
|
+
+hamburger($navbar-height)
|
106
|
+
margin-left: auto
|
107
|
+
|
108
|
+
.navbar-menu
|
109
|
+
display: none
|
110
|
+
|
111
|
+
.navbar-item,
|
112
|
+
.navbar-link
|
113
|
+
color: $navbar-item-color
|
114
|
+
display: block
|
115
|
+
line-height: 1.5
|
116
|
+
padding: 0.5rem 1rem
|
117
|
+
position: relative
|
118
|
+
|
119
|
+
a.navbar-item,
|
120
|
+
.navbar-link
|
121
|
+
&:hover,
|
122
|
+
&.is-active
|
123
|
+
background-color: $navbar-item-hover-background-color
|
124
|
+
color: $navbar-item-hover-color
|
125
|
+
|
126
|
+
.navbar-item
|
127
|
+
flex-grow: 0
|
128
|
+
flex-shrink: 0
|
129
|
+
img
|
130
|
+
max-height: $navbar-item-img-max-height
|
131
|
+
&.has-dropdown
|
132
|
+
padding: 0
|
133
|
+
&.is-tab
|
134
|
+
border-bottom: 1px solid transparent
|
135
|
+
min-height: $navbar-height
|
136
|
+
padding-bottom: calc(0.5rem - 1px)
|
137
|
+
&:hover
|
138
|
+
background-color: $navbar-tab-hover-background-color
|
139
|
+
border-bottom-color: $navbar-tab-hover-border-bottom-color
|
140
|
+
&.is-active
|
141
|
+
background-color: $navbar-tab-active-background-color
|
142
|
+
border-bottom-color: $navbar-tab-active-border-bottom-color
|
143
|
+
border-bottom-style: $navbar-tab-active-border-bottom-style
|
144
|
+
border-bottom-width: $navbar-tab-active-border-bottom-width
|
145
|
+
color: $navbar-tab-active-color
|
146
|
+
padding-bottom: calc(0.5rem - #{$navbar-tab-active-border-bottom-width})
|
147
|
+
|
148
|
+
.navbar-content
|
149
|
+
flex-grow: 1
|
150
|
+
flex-shrink: 1
|
151
|
+
|
152
|
+
.navbar-link
|
153
|
+
padding-right: 2.5em
|
154
|
+
|
155
|
+
.navbar-dropdown
|
156
|
+
font-size: 0.875rem
|
157
|
+
padding-bottom: 0.5rem
|
158
|
+
padding-top: 0.5rem
|
159
|
+
.navbar-item
|
160
|
+
padding-left: 1.5rem
|
161
|
+
padding-right: 1.5rem
|
162
|
+
|
163
|
+
.navbar-divider
|
164
|
+
background-color: $navbar-divider-background-color
|
165
|
+
border: none
|
166
|
+
display: none
|
167
|
+
height: 1px
|
168
|
+
margin: 0.5rem 0
|
169
|
+
|
170
|
+
+touch
|
171
|
+
.navbar > .container
|
172
|
+
display: block
|
173
|
+
.navbar-brand,
|
174
|
+
.navbar-tabs
|
175
|
+
.navbar-item
|
176
|
+
align-items: center
|
177
|
+
display: flex
|
178
|
+
.navbar-menu
|
179
|
+
background-color: $white
|
180
|
+
box-shadow: 0 8px 16px rgba($black, 0.1)
|
181
|
+
padding: 0.5rem 0
|
182
|
+
&.is-active
|
183
|
+
display: block
|
184
|
+
|
185
|
+
+desktop
|
186
|
+
.navbar,
|
187
|
+
.navbar-menu,
|
188
|
+
.navbar-start,
|
189
|
+
.navbar-end
|
190
|
+
align-items: stretch
|
191
|
+
display: flex
|
192
|
+
.navbar
|
193
|
+
min-height: $navbar-height
|
194
|
+
&.is-transparent
|
195
|
+
a.navbar-item,
|
196
|
+
.navbar-link
|
197
|
+
&:hover,
|
198
|
+
&.is-active
|
199
|
+
background-color: transparent
|
200
|
+
.navbar-item.has-dropdown
|
201
|
+
&.is-active,
|
202
|
+
&.is-hoverable:hover
|
203
|
+
.navbar-link
|
204
|
+
background-color: transparent
|
205
|
+
.navbar-dropdown
|
206
|
+
a.navbar-item
|
207
|
+
&:hover
|
208
|
+
background-color: $navbar-dropdown-item-hover-background-color
|
209
|
+
color: $navbar-dropdown-item-hover-color
|
210
|
+
&.is-active
|
211
|
+
background-color: $navbar-dropdown-item-active-background-color
|
212
|
+
color: $navbar-dropdown-item-active-color
|
213
|
+
.navbar-burger
|
214
|
+
display: none
|
215
|
+
.navbar-item,
|
216
|
+
.navbar-link
|
217
|
+
align-items: center
|
218
|
+
display: flex
|
219
|
+
.navbar-item
|
220
|
+
&.has-dropdown
|
221
|
+
align-items: stretch
|
222
|
+
&.is-active,
|
223
|
+
&.is-hoverable:hover
|
224
|
+
.navbar-dropdown
|
225
|
+
display: block
|
226
|
+
&.is-boxed
|
227
|
+
opacity: 1
|
228
|
+
pointer-events: auto
|
229
|
+
transform: translateY(0)
|
230
|
+
.navbar-link
|
231
|
+
&::after
|
232
|
+
+arrow($navbar-dropdown-arrow)
|
233
|
+
margin-top: -0.375em
|
234
|
+
right: 1.125em
|
235
|
+
top: 50%
|
236
|
+
.navbar-menu
|
237
|
+
flex-grow: 1
|
238
|
+
flex-shrink: 0
|
239
|
+
.navbar-start
|
240
|
+
justify-content: flex-start
|
241
|
+
margin-right: auto
|
242
|
+
.navbar-end
|
243
|
+
justify-content: flex-end
|
244
|
+
margin-left: auto
|
245
|
+
.navbar-dropdown
|
246
|
+
background-color: $navbar-dropdown-background-color
|
247
|
+
border-bottom-left-radius: $navbar-dropdown-radius
|
248
|
+
border-bottom-right-radius: $navbar-dropdown-radius
|
249
|
+
border-top: $navbar-dropdown-border-top
|
250
|
+
box-shadow: 0 8px 8px rgba($black, 0.1)
|
251
|
+
display: none
|
252
|
+
font-size: 0.875rem
|
253
|
+
left: 0
|
254
|
+
min-width: 100%
|
255
|
+
position: absolute
|
256
|
+
top: 100%
|
257
|
+
z-index: $navbar-dropdown-z
|
258
|
+
.navbar-item
|
259
|
+
padding: 0.375rem 1rem
|
260
|
+
white-space: nowrap
|
261
|
+
a.navbar-item
|
262
|
+
padding-right: 3rem
|
263
|
+
&:hover
|
264
|
+
background-color: $navbar-dropdown-item-hover-background-color
|
265
|
+
color: $navbar-dropdown-item-hover-color
|
266
|
+
&.is-active
|
267
|
+
background-color: $navbar-dropdown-item-active-background-color
|
268
|
+
color: $navbar-dropdown-item-active-color
|
269
|
+
&.is-boxed
|
270
|
+
border-radius: $navbar-dropdown-boxed-radius
|
271
|
+
border-top: none
|
272
|
+
box-shadow: $navbar-dropdown-boxed-shadow
|
273
|
+
display: block
|
274
|
+
opacity: 0
|
275
|
+
pointer-events: none
|
276
|
+
top: calc(100% + (#{$navbar-dropdown-offset}))
|
277
|
+
transform: translateY(-5px)
|
278
|
+
transition-duration: $speed
|
279
|
+
transition-property: opacity, transform
|
280
|
+
&.is-right
|
281
|
+
left: auto
|
282
|
+
right: 0
|
283
|
+
.navbar-divider
|
284
|
+
display: block
|
285
|
+
.container > .navbar
|
286
|
+
.navbar-brand
|
287
|
+
margin-left: -1rem
|
288
|
+
.navbar-menu
|
289
|
+
margin-right: -1rem
|
290
|
+
// Hover/Active states
|
291
|
+
a.navbar-item,
|
292
|
+
.navbar-link
|
293
|
+
&.is-active
|
294
|
+
color: $navbar-item-active-color
|
295
|
+
&.is-active:not(:hover)
|
296
|
+
background-color: $navbar-item-active-background-color
|
297
|
+
.navbar-item.has-dropdown
|
298
|
+
&:hover,
|
299
|
+
&.is-active
|
300
|
+
.navbar-link
|
301
|
+
background-color: $navbar-item-hover-background-color
|