jekyll-theme-conference 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +9 -0
  3. data/README.md +496 -0
  4. data/_includes/js/bootstrap.js +7 -0
  5. data/_includes/js/conference.js +43 -0
  6. data/_includes/js/jquery-3.2.1.slim.min.js +4 -0
  7. data/_includes/js/leaflet-easybutton.js +376 -0
  8. data/_includes/js/leaflet-locatecontrol.js +5 -0
  9. data/_includes/js/leaflet-providers.js +877 -0
  10. data/_includes/js/leaflet.js +6 -0
  11. data/_includes/js/popper.min.js +4 -0
  12. data/_includes/js/syncscroll.js +140 -0
  13. data/_includes/partials/checks.html +29 -0
  14. data/_includes/partials/footer.html +8 -0
  15. data/_includes/partials/get_link_href.html +5 -0
  16. data/_includes/partials/get_main_category.html +9 -0
  17. data/_includes/partials/get_talk_time.html +9 -0
  18. data/_includes/partials/header.html +32 -0
  19. data/_includes/partials/info_bar.html +38 -0
  20. data/_includes/partials/list_categories.html +4 -0
  21. data/_includes/partials/list_speakers.html +20 -0
  22. data/_includes/partials/list_sub_categories.html +8 -0
  23. data/_includes/partials/navbar.html +62 -0
  24. data/_includes/partials/navbar_rooms.html +43 -0
  25. data/_includes/partials/show_room.html +5 -0
  26. data/_includes/partials/show_talk.html +5 -0
  27. data/_includes/partials/show_talk_duration.html +3 -0
  28. data/_includes/partials/show_talk_time.html +3 -0
  29. data/_layouts/default.html +5 -0
  30. data/_layouts/home.html +42 -0
  31. data/_layouts/location.html +25 -0
  32. data/_layouts/page.html +5 -0
  33. data/_layouts/program.html +201 -0
  34. data/_layouts/room.html +60 -0
  35. data/_layouts/speaker-overview.html +47 -0
  36. data/_layouts/speaker.html +80 -0
  37. data/_layouts/talk-overview.html +61 -0
  38. data/_layouts/talk.html +142 -0
  39. data/_sass/bootstrap/_alert.scss +52 -0
  40. data/_sass/bootstrap/_badge.scss +54 -0
  41. data/_sass/bootstrap/_breadcrumb.scss +44 -0
  42. data/_sass/bootstrap/_button-group.scss +163 -0
  43. data/_sass/bootstrap/_buttons.scss +142 -0
  44. data/_sass/bootstrap/_card.scss +286 -0
  45. data/_sass/bootstrap/_carousel.scss +197 -0
  46. data/_sass/bootstrap/_close.scss +40 -0
  47. data/_sass/bootstrap/_code.scss +48 -0
  48. data/_sass/bootstrap/_custom-forms.scss +524 -0
  49. data/_sass/bootstrap/_dropdown.scss +192 -0
  50. data/_sass/bootstrap/_forms.scss +347 -0
  51. data/_sass/bootstrap/_functions.scss +144 -0
  52. data/_sass/bootstrap/_grid.scss +73 -0
  53. data/_sass/bootstrap/_images.scss +42 -0
  54. data/_sass/bootstrap/_input-group.scss +192 -0
  55. data/_sass/bootstrap/_jumbotron.scss +17 -0
  56. data/_sass/bootstrap/_list-group.scss +154 -0
  57. data/_sass/bootstrap/_media.scss +8 -0
  58. data/_sass/bootstrap/_mixins.scss +47 -0
  59. data/_sass/bootstrap/_modal.scss +240 -0
  60. data/_sass/bootstrap/_nav.scss +123 -0
  61. data/_sass/bootstrap/_navbar.scss +324 -0
  62. data/_sass/bootstrap/_pagination.scss +74 -0
  63. data/_sass/bootstrap/_popover.scss +170 -0
  64. data/_sass/bootstrap/_print.scss +141 -0
  65. data/_sass/bootstrap/_progress.scss +47 -0
  66. data/_sass/bootstrap/_reboot.scss +484 -0
  67. data/_sass/bootstrap/_root.scss +20 -0
  68. data/_sass/bootstrap/_spinners.scss +56 -0
  69. data/_sass/bootstrap/_tables.scss +185 -0
  70. data/_sass/bootstrap/_toasts.scss +46 -0
  71. data/_sass/bootstrap/_tooltip.scss +115 -0
  72. data/_sass/bootstrap/_transitions.scss +20 -0
  73. data/_sass/bootstrap/_type.scss +125 -0
  74. data/_sass/bootstrap/_utilities.scss +18 -0
  75. data/_sass/bootstrap/_variables.scss +1142 -0
  76. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  77. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  78. data/_sass/bootstrap/bootstrap.scss +44 -0
  79. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  80. data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
  81. data/_sass/bootstrap/mixins/_badge.scss +17 -0
  82. data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
  83. data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
  84. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  85. data/_sass/bootstrap/mixins/_buttons.scss +110 -0
  86. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  87. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  88. data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
  89. data/_sass/bootstrap/mixins/_float.scss +14 -0
  90. data/_sass/bootstrap/mixins/_forms.scss +178 -0
  91. data/_sass/bootstrap/mixins/_gradients.scss +45 -0
  92. data/_sass/bootstrap/mixins/_grid-framework.scss +80 -0
  93. data/_sass/bootstrap/mixins/_grid.scss +69 -0
  94. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  95. data/_sass/bootstrap/mixins/_image.scss +36 -0
  96. data/_sass/bootstrap/mixins/_list-group.scss +21 -0
  97. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  98. data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
  99. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  100. data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
  101. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  102. data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
  103. data/_sass/bootstrap/mixins/_size.scss +7 -0
  104. data/_sass/bootstrap/mixins/_table-row.scss +39 -0
  105. data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
  106. data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
  107. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  108. data/_sass/bootstrap/mixins/_transition.scss +26 -0
  109. data/_sass/bootstrap/mixins/_visibility.scss +8 -0
  110. data/_sass/bootstrap/utilities/_align.scss +8 -0
  111. data/_sass/bootstrap/utilities/_background.scss +19 -0
  112. data/_sass/bootstrap/utilities/_borders.scss +75 -0
  113. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  114. data/_sass/bootstrap/utilities/_display.scss +26 -0
  115. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  116. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  117. data/_sass/bootstrap/utilities/_float.scss +11 -0
  118. data/_sass/bootstrap/utilities/_interactions.scss +5 -0
  119. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  120. data/_sass/bootstrap/utilities/_position.scss +32 -0
  121. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  122. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  123. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  124. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  125. data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
  126. data/_sass/bootstrap/utilities/_text.scss +72 -0
  127. data/_sass/bootstrap/utilities/_visibility.scss +13 -0
  128. data/_sass/bootstrap/vendor/_rfs.scss +204 -0
  129. data/_sass/conference.scss +217 -0
  130. data/_sass/font-awesome/_animated.scss +20 -0
  131. data/_sass/font-awesome/_bordered-pulled.scss +20 -0
  132. data/_sass/font-awesome/_core.scss +21 -0
  133. data/_sass/font-awesome/_fixed-width.scss +6 -0
  134. data/_sass/font-awesome/_icons.scss +1462 -0
  135. data/_sass/font-awesome/_larger.scss +23 -0
  136. data/_sass/font-awesome/_list.scss +18 -0
  137. data/_sass/font-awesome/_mixins.scss +56 -0
  138. data/_sass/font-awesome/_rotated-flipped.scss +24 -0
  139. data/_sass/font-awesome/_screen-reader.scss +5 -0
  140. data/_sass/font-awesome/_shims.scss +2066 -0
  141. data/_sass/font-awesome/_stacked.scss +31 -0
  142. data/_sass/font-awesome/_variables.scss +1479 -0
  143. data/_sass/font-awesome/brands.scss +23 -0
  144. data/_sass/font-awesome/fontawesome.scss +16 -0
  145. data/_sass/font-awesome/regular.scss +23 -0
  146. data/_sass/font-awesome/scss/_animated.scss +20 -0
  147. data/_sass/font-awesome/scss/_bordered-pulled.scss +20 -0
  148. data/_sass/font-awesome/scss/_core.scss +21 -0
  149. data/_sass/font-awesome/scss/_fixed-width.scss +6 -0
  150. data/_sass/font-awesome/scss/_icons.scss +1441 -0
  151. data/_sass/font-awesome/scss/_larger.scss +23 -0
  152. data/_sass/font-awesome/scss/_list.scss +18 -0
  153. data/_sass/font-awesome/scss/_mixins.scss +56 -0
  154. data/_sass/font-awesome/scss/_rotated-flipped.scss +24 -0
  155. data/_sass/font-awesome/scss/_screen-reader.scss +5 -0
  156. data/_sass/font-awesome/scss/_shims.scss +2066 -0
  157. data/_sass/font-awesome/scss/_stacked.scss +31 -0
  158. data/_sass/font-awesome/scss/_variables.scss +1458 -0
  159. data/_sass/font-awesome/scss/brands.scss +23 -0
  160. data/_sass/font-awesome/scss/fontawesome.scss +16 -0
  161. data/_sass/font-awesome/scss/regular.scss +23 -0
  162. data/_sass/font-awesome/scss/solid.scss +24 -0
  163. data/_sass/font-awesome/scss/v4-shims.scss +6 -0
  164. data/_sass/font-awesome/solid.scss +24 -0
  165. data/_sass/font-awesome/v4-shims.scss +6 -0
  166. data/_sass/leaflet/leaflet-easybutton.css +56 -0
  167. data/_sass/leaflet/leaflet-locatecontrol.css +2 -0
  168. data/_sass/leaflet/leaflet.css +640 -0
  169. data/assets/css/main.scss +6 -0
  170. data/assets/js/main.js +22 -0
  171. data/assets/webfonts/fa-brands-400.eot +0 -0
  172. data/assets/webfonts/fa-brands-400.svg +3717 -0
  173. data/assets/webfonts/fa-brands-400.ttf +0 -0
  174. data/assets/webfonts/fa-brands-400.woff +0 -0
  175. data/assets/webfonts/fa-brands-400.woff2 +0 -0
  176. data/assets/webfonts/fa-regular-400.eot +0 -0
  177. data/assets/webfonts/fa-regular-400.svg +801 -0
  178. data/assets/webfonts/fa-regular-400.ttf +0 -0
  179. data/assets/webfonts/fa-regular-400.woff +0 -0
  180. data/assets/webfonts/fa-regular-400.woff2 +0 -0
  181. data/assets/webfonts/fa-solid-900.eot +0 -0
  182. data/assets/webfonts/fa-solid-900.svg +5028 -0
  183. data/assets/webfonts/fa-solid-900.ttf +0 -0
  184. data/assets/webfonts/fa-solid-900.woff +0 -0
  185. data/assets/webfonts/fa-solid-900.woff2 +0 -0
  186. metadata +270 -0
@@ -0,0 +1,61 @@
1
+ {% include partials/header.html %}
2
+
3
+ <h1 class="display-5 mb-4">
4
+ {% if page.title %}
5
+ {{ page.title }}
6
+ {% else %}
7
+ {{ site.data.lang[site.conference.lang].talk.overview }}
8
+ {% endif %}
9
+ </h1>
10
+
11
+ {{ content }}
12
+
13
+ {% for main_category in site.conference.talks.main_categories %}
14
+ <h3 class="mt-4 mb-3">
15
+ <span class="badge border-soft-{{ main_category.color }} bg-soft-{{ main_category.color }} d-block d-sm-inline text-wrap">
16
+ {{ main_category.name }}
17
+ </span>
18
+ </h3>
19
+ <ul class="list-unstyled">
20
+ {% for talk in site.talks %}
21
+ {% for cat in talk.categories %}
22
+ {% if cat == main_category.name %}
23
+ {% assign main_cat = main_category.name %}
24
+ <li class="pl-3 mb-2 border-soft-{{ main_category.color }}">
25
+ <p class="mb-0">
26
+ {% include partials/show_talk.html %}
27
+ </p>
28
+ <p class="font-weight-light mb-0">
29
+ {% include partials/list_speakers.html %}
30
+ </p>
31
+ <p class="mb-0">
32
+ {% include partials/list_sub_categories.html %}
33
+ </p>
34
+
35
+ {% if talk.hide %}
36
+ <p class="mb-0">
37
+ {% for r in site.data.program %}
38
+ {% for t in r.talks %}
39
+ {% if talk.name == t.name %}
40
+ {% include partials/get_talk_time.html %}
41
+ {% assign room = site.rooms | where: 'name', r.room | first %}
42
+ {% break %}
43
+ {% endif %}
44
+ {% endfor %}
45
+ {% endfor %}
46
+
47
+ {{ site.data.lang[site.conference.lang].pronoun.at }} {% include partials/show_talk_time.html %}
48
+
49
+ {{ site.data.lang[site.conference.lang].pronoun.in }} {% include partials/show_room.html %}
50
+ </p>
51
+ {% endif %}
52
+
53
+ </li>
54
+ {% break %}
55
+ {% endif %}
56
+ {% endfor %}
57
+ {% endfor %}
58
+ </ul>
59
+ {% endfor %}
60
+
61
+ {% include partials/footer.html %}
@@ -0,0 +1,142 @@
1
+ {% include partials/header.html %}
2
+
3
+ {% assign talk = page %}
4
+
5
+ <div class="d-flex flex-lg-row flex-column container-fluid mb-2 p-0">
6
+ <div class="h6 mt-2 mb-0 mr-1 pr-1 pb-1">
7
+ {% include partials/get_main_category.html %}
8
+ <span class="p-1 pl-2 pr-2 border-soft-{{ main_cat_color }} bg-soft-{{ main_cat_color }} font-weight-normal">
9
+ {{ main_cat }}
10
+ </span>
11
+ </div>
12
+
13
+ {% if talk.categories.size > 1 %}
14
+ <div class="h6 mt-2 mb-0 ml-1 pr-1 pb-1">
15
+ {% for cat in talk.categories %}
16
+ {% if cat != main_cat %}
17
+ <span class="mr-2">{{ cat }}</span>
18
+ {% endif %}
19
+ {% endfor %}
20
+ </div>
21
+ {% endif %}
22
+ </div>
23
+
24
+ <h1 class="font-weight-light">{{ talk.name }}</h1>
25
+
26
+ <p class="mb-3 font-weight-light">
27
+ {% include partials/list_speakers.html %}
28
+ </p>
29
+
30
+ <div class="mb-3 p-0">
31
+ {% for r in site.data.program %}
32
+ {% for t in r.talks %}
33
+ {% if talk.name == t.name %}
34
+
35
+ {% include partials/get_talk_time.html %}
36
+ <span class="d-none d-sm-inline">
37
+ {{ site.data.lang[site.conference.lang].pronoun.at }}
38
+ </span>
39
+ {% include partials/show_talk_time.html %}
40
+
41
+ {% assign room = site.rooms | where: 'name', r.room | first %}
42
+ <span class="d-none d-sm-inline ml-1">
43
+ {{ site.data.lang[site.conference.lang].pronoun.in }}
44
+ </span>
45
+ {% include partials/show_room.html %}
46
+
47
+ <span class="d-none d-sm-inline ml-1">
48
+ {{ site.data.lang[site.conference.lang].pronoun.for }}
49
+ </span>
50
+ {% include partials/show_talk_duration.html %}
51
+
52
+ {% endif %}
53
+ {% endfor %}
54
+ {% endfor %}
55
+ </div>
56
+
57
+ {{ content }}
58
+
59
+ {% assign has_icon_links = false %}
60
+ {% assign has_regular_links = false %}
61
+ {% assign has_iframe_links = false %}
62
+ {% for link in talk.links %}
63
+ {% if link.icon %}
64
+ {% assign has_icon_links = true %}
65
+ {% else %}
66
+ {% assign has_regular_links = true %}
67
+ {% endif %}
68
+ {% endfor %}
69
+
70
+ {% if has_icon_links %}
71
+ <ul class="list-unstyled">
72
+ {% for link in talk.links %}
73
+ {% if link.icon %}
74
+ <li class="mb-1 ml-2">
75
+ {% include partials/get_link_href.html %}
76
+ {% if link.iframe %}
77
+ <a class="cursor-pointer" data-toggle="modal" data-target="#link-modal" data-title="{{ link.name }}" data-href="{{ link_href }}">
78
+ {% else %}
79
+ <a href="{{ link_href }}">
80
+ {% endif %}
81
+ <i class="fas fa-{{ link.icon }} pr-1"></i>
82
+ {{ link.name }}
83
+ </a>
84
+ </li>
85
+ {% endif %}
86
+ {% endfor %}
87
+ </ul>
88
+ {% endif %}
89
+
90
+ {% if has_regular_links %}
91
+ <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information }}:</h5>
92
+
93
+ <ul class="list-unstyled">
94
+ {% for link in talk.links %}
95
+ {% unless link.icon %}
96
+ <li class="mb-1 ml-2 pl-2 border-soft-primary">
97
+ {% include partials/get_link_href.html %}
98
+ {% if link.iframe %}
99
+ <a class="cursor-pointer text-reset" data-toggle="modal" data-target="#link-modal" data-title="{{ link.name }}" data-href="{{ link_href }}">
100
+ {% else %}
101
+ <a class="text-reset" href="{{ link_href }}">
102
+ {% endif %}
103
+ {{ link.name }}
104
+ </a>
105
+ </li>
106
+ {% endunless %}
107
+ {% endfor %}
108
+ </ul>
109
+ {% endif %}
110
+
111
+ <div class="modal fade" id="link-modal" tabindex="-1" role="dialog" aria-labelledby="link-modal-label" aria-hidden="true">
112
+ <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
113
+ <div class="modal-content">
114
+ <div class="modal-header">
115
+ <h5 class="modal-title" id="link-modal-label"></h5>
116
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
117
+ <span aria-hidden="true">&times;</span>
118
+ </button>
119
+ </div>
120
+ <div class="modal-body">
121
+ <iframe src="" frameborder="0" allowfullscreen></iframe>
122
+ </div>
123
+ <div class="modal-footer">
124
+ <p class="modal-description"></p>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </div>
129
+
130
+ <p class="d-print-none mt-5">
131
+ <a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
132
+ <i class="fas fa-bullhorn"></i>
133
+ {{ site.data.lang[site.conference.lang].overview }}
134
+ </a>
135
+
136
+ <a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="btn btn-light">
137
+ <i class="far fa-calendar-alt"></i>
138
+ {{ site.data.lang[site.conference.lang].program.title }}
139
+ </a>
140
+ </p>
141
+
142
+ {% include partials/footer.html %}
@@ -0,0 +1,52 @@
1
+ //
2
+ // Base styles
3
+ //
4
+
5
+ .alert {
6
+ position: relative;
7
+ padding: $alert-padding-y $alert-padding-x;
8
+ margin-bottom: $alert-margin-bottom;
9
+ border: $alert-border-width solid transparent;
10
+ @include border-radius($alert-border-radius);
11
+ }
12
+
13
+ // Headings for larger alerts
14
+ .alert-heading {
15
+ // Specified to prevent conflicts of changing $headings-color
16
+ color: inherit;
17
+ }
18
+
19
+ // Provide class for links that match alerts
20
+ .alert-link {
21
+ font-weight: $alert-link-font-weight;
22
+ }
23
+
24
+
25
+ // Dismissible alerts
26
+ //
27
+ // Expand the right padding and account for the close button's positioning.
28
+
29
+ .alert-dismissible {
30
+ padding-right: $close-font-size + $alert-padding-x * 2;
31
+
32
+ // Adjust close link position
33
+ .close {
34
+ position: absolute;
35
+ top: 0;
36
+ right: 0;
37
+ z-index: 2;
38
+ padding: $alert-padding-y $alert-padding-x;
39
+ color: inherit;
40
+ }
41
+ }
42
+
43
+
44
+ // Alternate styles
45
+ //
46
+ // Generate contextual modifier classes for colorizing the alert.
47
+
48
+ @each $color, $value in $theme-colors {
49
+ .alert-#{$color} {
50
+ @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
51
+ }
52
+ }
@@ -0,0 +1,54 @@
1
+ // Base class
2
+ //
3
+ // Requires one of the contextual, color modifier classes for `color` and
4
+ // `background-color`.
5
+
6
+ .badge {
7
+ display: inline-block;
8
+ padding: $badge-padding-y $badge-padding-x;
9
+ @include font-size($badge-font-size);
10
+ font-weight: $badge-font-weight;
11
+ line-height: 1;
12
+ text-align: center;
13
+ white-space: nowrap;
14
+ vertical-align: baseline;
15
+ @include border-radius($badge-border-radius);
16
+ @include transition($badge-transition);
17
+
18
+ @at-root a#{&} {
19
+ @include hover-focus() {
20
+ text-decoration: none;
21
+ }
22
+ }
23
+
24
+ // Empty badges collapse automatically
25
+ &:empty {
26
+ display: none;
27
+ }
28
+ }
29
+
30
+ // Quick fix for badges in buttons
31
+ .btn .badge {
32
+ position: relative;
33
+ top: -1px;
34
+ }
35
+
36
+ // Pill badges
37
+ //
38
+ // Make them extra rounded with a modifier to replace v3's badges.
39
+
40
+ .badge-pill {
41
+ padding-right: $badge-pill-padding-x;
42
+ padding-left: $badge-pill-padding-x;
43
+ @include border-radius($badge-pill-border-radius);
44
+ }
45
+
46
+ // Colors
47
+ //
48
+ // Contextual variations (linked badges get darker on :hover).
49
+
50
+ @each $color, $value in $theme-colors {
51
+ .badge-#{$color} {
52
+ @include badge-variant($value);
53
+ }
54
+ }
@@ -0,0 +1,44 @@
1
+ .breadcrumb {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5
+ margin-bottom: $breadcrumb-margin-bottom;
6
+ @include font-size($breadcrumb-font-size);
7
+ list-style: none;
8
+ background-color: $breadcrumb-bg;
9
+ @include border-radius($breadcrumb-border-radius);
10
+ }
11
+
12
+ .breadcrumb-item {
13
+ display: flex;
14
+
15
+ // The separator between breadcrumbs (by default, a forward-slash: "/")
16
+ + .breadcrumb-item {
17
+ padding-left: $breadcrumb-item-padding;
18
+
19
+ &::before {
20
+ display: inline-block; // Suppress underlining of the separator in modern browsers
21
+ padding-right: $breadcrumb-item-padding;
22
+ color: $breadcrumb-divider-color;
23
+ content: escape-svg($breadcrumb-divider);
24
+ }
25
+ }
26
+
27
+ // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
28
+ // without `<ul>`s. The `::before` pseudo-element generates an element
29
+ // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
30
+ //
31
+ // To trick IE into suppressing the underline, we give the pseudo-element an
32
+ // underline and then immediately remove it.
33
+ + .breadcrumb-item:hover::before {
34
+ text-decoration: underline;
35
+ }
36
+ // stylelint-disable-next-line no-duplicate-selectors
37
+ + .breadcrumb-item:hover::before {
38
+ text-decoration: none;
39
+ }
40
+
41
+ &.active {
42
+ color: $breadcrumb-active-color;
43
+ }
44
+ }
@@ -0,0 +1,163 @@
1
+ // stylelint-disable selector-no-qualifying-type
2
+
3
+ // Make the div behave like a button
4
+ .btn-group,
5
+ .btn-group-vertical {
6
+ position: relative;
7
+ display: inline-flex;
8
+ vertical-align: middle; // match .btn alignment given font-size hack above
9
+
10
+ > .btn {
11
+ position: relative;
12
+ flex: 1 1 auto;
13
+
14
+ // Bring the hover, focused, and "active" buttons to the front to overlay
15
+ // the borders properly
16
+ @include hover() {
17
+ z-index: 1;
18
+ }
19
+ &:focus,
20
+ &:active,
21
+ &.active {
22
+ z-index: 1;
23
+ }
24
+ }
25
+ }
26
+
27
+ // Optional: Group multiple button groups together for a toolbar
28
+ .btn-toolbar {
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ justify-content: flex-start;
32
+
33
+ .input-group {
34
+ width: auto;
35
+ }
36
+ }
37
+
38
+ .btn-group {
39
+ // Prevent double borders when buttons are next to each other
40
+ > .btn:not(:first-child),
41
+ > .btn-group:not(:first-child) {
42
+ margin-left: -$btn-border-width;
43
+ }
44
+
45
+ // Reset rounded corners
46
+ > .btn:not(:last-child):not(.dropdown-toggle),
47
+ > .btn-group:not(:last-child) > .btn {
48
+ @include border-right-radius(0);
49
+ }
50
+
51
+ > .btn:not(:first-child),
52
+ > .btn-group:not(:first-child) > .btn {
53
+ @include border-left-radius(0);
54
+ }
55
+ }
56
+
57
+ // Sizing
58
+ //
59
+ // Remix the default button sizing classes into new ones for easier manipulation.
60
+
61
+ .btn-group-sm > .btn { @extend .btn-sm; }
62
+ .btn-group-lg > .btn { @extend .btn-lg; }
63
+
64
+
65
+ //
66
+ // Split button dropdowns
67
+ //
68
+
69
+ .dropdown-toggle-split {
70
+ padding-right: $btn-padding-x * .75;
71
+ padding-left: $btn-padding-x * .75;
72
+
73
+ &::after,
74
+ .dropup &::after,
75
+ .dropright &::after {
76
+ margin-left: 0;
77
+ }
78
+
79
+ .dropleft &::before {
80
+ margin-right: 0;
81
+ }
82
+ }
83
+
84
+ .btn-sm + .dropdown-toggle-split {
85
+ padding-right: $btn-padding-x-sm * .75;
86
+ padding-left: $btn-padding-x-sm * .75;
87
+ }
88
+
89
+ .btn-lg + .dropdown-toggle-split {
90
+ padding-right: $btn-padding-x-lg * .75;
91
+ padding-left: $btn-padding-x-lg * .75;
92
+ }
93
+
94
+
95
+ // The clickable button for toggling the menu
96
+ // Set the same inset shadow as the :active state
97
+ .btn-group.show .dropdown-toggle {
98
+ @include box-shadow($btn-active-box-shadow);
99
+
100
+ // Show no shadow for `.btn-link` since it has no other button styles.
101
+ &.btn-link {
102
+ @include box-shadow(none);
103
+ }
104
+ }
105
+
106
+
107
+ //
108
+ // Vertical button groups
109
+ //
110
+
111
+ .btn-group-vertical {
112
+ flex-direction: column;
113
+ align-items: flex-start;
114
+ justify-content: center;
115
+
116
+ > .btn,
117
+ > .btn-group {
118
+ width: 100%;
119
+ }
120
+
121
+ > .btn:not(:first-child),
122
+ > .btn-group:not(:first-child) {
123
+ margin-top: -$btn-border-width;
124
+ }
125
+
126
+ // Reset rounded corners
127
+ > .btn:not(:last-child):not(.dropdown-toggle),
128
+ > .btn-group:not(:last-child) > .btn {
129
+ @include border-bottom-radius(0);
130
+ }
131
+
132
+ > .btn:not(:first-child),
133
+ > .btn-group:not(:first-child) > .btn {
134
+ @include border-top-radius(0);
135
+ }
136
+ }
137
+
138
+
139
+ // Checkbox and radio options
140
+ //
141
+ // In order to support the browser's form validation feedback, powered by the
142
+ // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
143
+ // `display: none;` or `visibility: hidden;` as that also hides the popover.
144
+ // Simply visually hiding the inputs via `opacity` would leave them clickable in
145
+ // certain cases which is prevented by using `clip` and `pointer-events`.
146
+ // This way, we ensure a DOM element is visible to position the popover from.
147
+ //
148
+ // See https://github.com/twbs/bootstrap/pull/12794 and
149
+ // https://github.com/twbs/bootstrap/pull/14559 for more information.
150
+
151
+ .btn-group-toggle {
152
+ > .btn,
153
+ > .btn-group > .btn {
154
+ margin-bottom: 0; // Override default `<label>` value
155
+
156
+ input[type="radio"],
157
+ input[type="checkbox"] {
158
+ position: absolute;
159
+ clip: rect(0, 0, 0, 0);
160
+ pointer-events: none;
161
+ }
162
+ }
163
+ }