jekyll-theme-centos 2.50.0 → 2.51.1.beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +34 -93
  3. data/_includes/base/head.html +1 -1
  4. data/_layouts/base/default.html +8 -8
  5. data/_sass/base/_customization.scss +7 -2
  6. data/_sass/base/_variables.scss +9 -6
  7. data/assets/icons/android-chrome-192.png +0 -0
  8. data/assets/icons/android-chrome-512.png +0 -0
  9. data/assets/icons/apple-touch-icon.png +0 -0
  10. data/assets/icons/favicon-16.png +0 -0
  11. data/assets/icons/favicon-32.png +0 -0
  12. data/assets/icons/favicon.ico +0 -0
  13. metadata +4 -172
  14. data/_data/download/cards.yml +0 -309
  15. data/_data/download/navbar.yml +0 -11
  16. data/_data/people/navbar.yml +0 -11
  17. data/_data/people/projects.yml +0 -18
  18. data/_data/sponsors/carousel.yml +0 -38
  19. data/_data/sponsors/navbar.yml +0 -6
  20. data/_includes/download/cards-body-commands.html +0 -7
  21. data/_includes/download/cards-body-documentation.html +0 -11
  22. data/_includes/download/cards-body-eol.html +0 -15
  23. data/_includes/download/cards-body-mirrors.html +0 -8
  24. data/_includes/download/cards-body-screenshots.html +0 -32
  25. data/_includes/download/cards-footer.html +0 -3
  26. data/_includes/download/cards-header-commands.html +0 -8
  27. data/_includes/download/cards-header-documentation.html +0 -8
  28. data/_includes/download/cards-header-eol.html +0 -8
  29. data/_includes/download/cards-header-mirrors.html +0 -13
  30. data/_includes/download/cards-header-screenshots.html +0 -8
  31. data/_includes/download/cards.html +0 -119
  32. data/_includes/home/distributions.html +0 -26
  33. data/_includes/home/header.html +0 -10
  34. data/_includes/home/news-and-events.html +0 -29
  35. data/_includes/home/planet.html +0 -26
  36. data/_includes/home/sponsors.html +0 -64
  37. data/_includes/hr.html +0 -6
  38. data/_includes/people/header.html +0 -7
  39. data/_includes/people/posts.html +0 -38
  40. data/_includes/people/projects.html +0 -16
  41. data/_includes/people/pubkeys.html +0 -30
  42. data/_includes/people/support.html +0 -27
  43. data/_includes/post-nav-explorer.html +0 -23
  44. data/_includes/post-nav.html +0 -3
  45. data/_includes/sponsors/cards.html +0 -11
  46. data/_includes/sponsors/carousel.html +0 -27
  47. data/_layouts/blog.html +0 -38
  48. data/_layouts/download/default.html +0 -7
  49. data/_layouts/home.html +0 -20
  50. data/_layouts/people/default.html +0 -52
  51. data/_layouts/post.html +0 -29
  52. data/_layouts/search.html +0 -38
  53. data/_layouts/sponsors.html +0 -30
  54. data/_sass/bootstrap/_accordion.scss +0 -158
  55. data/_sass/bootstrap/_alert.scss +0 -68
  56. data/_sass/bootstrap/_badge.scss +0 -38
  57. data/_sass/bootstrap/_breadcrumb.scss +0 -40
  58. data/_sass/bootstrap/_button-group.scss +0 -142
  59. data/_sass/bootstrap/_buttons.scss +0 -207
  60. data/_sass/bootstrap/_card.scss +0 -239
  61. data/_sass/bootstrap/_carousel.scss +0 -244
  62. data/_sass/bootstrap/_close.scss +0 -63
  63. data/_sass/bootstrap/_containers.scss +0 -41
  64. data/_sass/bootstrap/_dropdown.scss +0 -250
  65. data/_sass/bootstrap/_forms.scss +0 -9
  66. data/_sass/bootstrap/_functions.scss +0 -302
  67. data/_sass/bootstrap/_grid.scss +0 -39
  68. data/_sass/bootstrap/_helpers.scss +0 -12
  69. data/_sass/bootstrap/_images.scss +0 -42
  70. data/_sass/bootstrap/_list-group.scss +0 -197
  71. data/_sass/bootstrap/_maps.scss +0 -174
  72. data/_sass/bootstrap/_mixins.scss +0 -42
  73. data/_sass/bootstrap/_modal.scss +0 -237
  74. data/_sass/bootstrap/_nav.scss +0 -197
  75. data/_sass/bootstrap/_navbar.scss +0 -289
  76. data/_sass/bootstrap/_offcanvas.scss +0 -146
  77. data/_sass/bootstrap/_pagination.scss +0 -109
  78. data/_sass/bootstrap/_placeholders.scss +0 -51
  79. data/_sass/bootstrap/_popover.scss +0 -196
  80. data/_sass/bootstrap/_progress.scss +0 -68
  81. data/_sass/bootstrap/_reboot.scss +0 -611
  82. data/_sass/bootstrap/_root.scss +0 -187
  83. data/_sass/bootstrap/_spinners.scss +0 -85
  84. data/_sass/bootstrap/_tables.scss +0 -171
  85. data/_sass/bootstrap/_toasts.scss +0 -73
  86. data/_sass/bootstrap/_tooltip.scss +0 -119
  87. data/_sass/bootstrap/_transitions.scss +0 -27
  88. data/_sass/bootstrap/_type.scss +0 -106
  89. data/_sass/bootstrap/_utilities.scss +0 -806
  90. data/_sass/bootstrap/_variables-dark.scss +0 -87
  91. data/_sass/bootstrap/_variables.scss +0 -1747
  92. data/_sass/bootstrap/bootstrap-grid.scss +0 -62
  93. data/_sass/bootstrap/bootstrap-reboot.scss +0 -10
  94. data/_sass/bootstrap/bootstrap-utilities.scss +0 -19
  95. data/_sass/bootstrap/bootstrap.scss +0 -52
  96. data/_sass/bootstrap/forms/_floating-labels.scss +0 -95
  97. data/_sass/bootstrap/forms/_form-check.scss +0 -189
  98. data/_sass/bootstrap/forms/_form-control.scss +0 -214
  99. data/_sass/bootstrap/forms/_form-range.scss +0 -91
  100. data/_sass/bootstrap/forms/_form-select.scss +0 -80
  101. data/_sass/bootstrap/forms/_form-text.scss +0 -11
  102. data/_sass/bootstrap/forms/_input-group.scss +0 -132
  103. data/_sass/bootstrap/forms/_labels.scss +0 -36
  104. data/_sass/bootstrap/forms/_validation.scss +0 -12
  105. data/_sass/bootstrap/helpers/_clearfix.scss +0 -3
  106. data/_sass/bootstrap/helpers/_color-bg.scss +0 -7
  107. data/_sass/bootstrap/helpers/_colored-links.scss +0 -30
  108. data/_sass/bootstrap/helpers/_focus-ring.scss +0 -5
  109. data/_sass/bootstrap/helpers/_icon-link.scss +0 -25
  110. data/_sass/bootstrap/helpers/_position.scss +0 -36
  111. data/_sass/bootstrap/helpers/_ratio.scss +0 -26
  112. data/_sass/bootstrap/helpers/_stacks.scss +0 -15
  113. data/_sass/bootstrap/helpers/_stretched-link.scss +0 -15
  114. data/_sass/bootstrap/helpers/_text-truncation.scss +0 -7
  115. data/_sass/bootstrap/helpers/_visually-hidden.scss +0 -8
  116. data/_sass/bootstrap/helpers/_vr.scss +0 -8
  117. data/_sass/bootstrap/mixins/_alert.scss +0 -18
  118. data/_sass/bootstrap/mixins/_backdrop.scss +0 -14
  119. data/_sass/bootstrap/mixins/_banner.scss +0 -7
  120. data/_sass/bootstrap/mixins/_border-radius.scss +0 -78
  121. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -18
  122. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -127
  123. data/_sass/bootstrap/mixins/_buttons.scss +0 -70
  124. data/_sass/bootstrap/mixins/_caret.scss +0 -69
  125. data/_sass/bootstrap/mixins/_clearfix.scss +0 -9
  126. data/_sass/bootstrap/mixins/_color-mode.scss +0 -21
  127. data/_sass/bootstrap/mixins/_color-scheme.scss +0 -7
  128. data/_sass/bootstrap/mixins/_container.scss +0 -11
  129. data/_sass/bootstrap/mixins/_deprecate.scss +0 -10
  130. data/_sass/bootstrap/mixins/_forms.scss +0 -153
  131. data/_sass/bootstrap/mixins/_gradients.scss +0 -47
  132. data/_sass/bootstrap/mixins/_grid.scss +0 -151
  133. data/_sass/bootstrap/mixins/_image.scss +0 -16
  134. data/_sass/bootstrap/mixins/_list-group.scss +0 -26
  135. data/_sass/bootstrap/mixins/_lists.scss +0 -7
  136. data/_sass/bootstrap/mixins/_pagination.scss +0 -10
  137. data/_sass/bootstrap/mixins/_reset-text.scss +0 -17
  138. data/_sass/bootstrap/mixins/_resize.scss +0 -6
  139. data/_sass/bootstrap/mixins/_table-variants.scss +0 -24
  140. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -8
  141. data/_sass/bootstrap/mixins/_transition.scss +0 -26
  142. data/_sass/bootstrap/mixins/_utilities.scss +0 -97
  143. data/_sass/bootstrap/mixins/_visually-hidden.scss +0 -33
  144. data/_sass/bootstrap/utilities/_api.scss +0 -47
  145. data/_sass/bootstrap/vendor/_rfs.scss +0 -348
  146. data/assets/img/centos-motif.png +0 -0
  147. data/assets/img/download/distribution-release-screenshot-1.png +0 -0
  148. data/assets/img/download/distribution-release-screenshot-2.png +0 -0
  149. data/assets/img/download/distribution-release-screenshot-3.png +0 -0
  150. data/assets/img/download/distribution-release-screenshot-n.svg +0 -134
  151. data/assets/img/download/download.svg +0 -421
  152. data/assets/img/download/fig-the-downloads-cards-presentation-template.png +0 -0
  153. data/assets/img/people/avatar.svg +0 -59
  154. data/assets/img/people/project.svg +0 -106
  155. data/assets/img/people/screenshot.svg +0 -135
  156. data/assets/img/sponsors/screenshot-sponsors-cards-layout.png +0 -0
  157. data/assets/img/sponsors/screenshot-sponsors-cards.png +0 -0
  158. data/assets/img/sponsors/screenshot-sponsors-carousel.png +0 -0
  159. data/assets/img/sponsors/screenshot-sponsors-default-layout.png +0 -0
  160. data/assets/img/sponsors/screenshot-sponsors-logo.png +0 -0
  161. data/assets/img/sponsors/sponsor-logo-1.png +0 -0
  162. data/assets/img/sponsors/sponsor-logo-2.png +0 -0
  163. data/assets/img/sponsors/sponsor-logo-3.png +0 -0
  164. data/assets/img/sponsors/sponsor-logo-4.png +0 -0
  165. data/assets/img/sponsors/sponsor-logo-5.png +0 -0
  166. data/assets/img/sponsors/sponsor-logo-6.png +0 -0
  167. data/assets/img/sponsors/sponsor-logo-7.png +0 -0
  168. data/assets/img/sponsors/sponsor-logo-8.png +0 -0
  169. data/assets/img/sponsors/sponsors-logo.svg +0 -563
  170. data/assets/js/bootstrap.bundle.js +0 -6314
  171. data/assets/js/bootstrap.bundle.js.map +0 -1
  172. data/assets/js/bootstrap.bundle.min.js +0 -7
  173. data/assets/js/bootstrap.bundle.min.js.map +0 -1
  174. data/assets/js/bootstrap.esm.js +0 -4447
  175. data/assets/js/bootstrap.esm.js.map +0 -1
  176. data/assets/js/bootstrap.esm.min.js +0 -7
  177. data/assets/js/bootstrap.esm.min.js.map +0 -1
  178. data/assets/js/bootstrap.js +0 -4494
  179. data/assets/js/bootstrap.js.map +0 -1
  180. data/assets/js/bootstrap.min.js +0 -7
  181. data/assets/js/bootstrap.min.js.map +0 -1
data/_layouts/search.html DELETED
@@ -1,38 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="{{ page.lang | default: 'en' }}">
3
-
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
7
- <title>{{ page.title }}</title>
8
- <link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/assets/img/favicon.png">
9
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/centos.bootstrap.min.css">
10
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.css">
11
- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch-theme-algolia.min.css">
12
- </head>
13
-
14
- <body>
15
-
16
- {% include navbar.html -%}
17
- {% include header.html -%}
18
-
19
- <main class="search">
20
-
21
- <div class="search__content">
22
- <div class="search__content__nav">
23
- {% include breadcrumbs.html %}
24
- </div>
25
-
26
- <div class="search__content_results">
27
- {{ content }}
28
- </div>
29
- </div>
30
-
31
- </main>
32
-
33
- {% include footer.html -%}
34
-
35
- <script src="{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
36
- </body>
37
-
38
- </html>
@@ -1,30 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <main class="sponsors">
6
-
7
- <div class="sponsors__content">
8
-
9
- <div class="sponsors__content__nav">
10
- {% include breadcrumbs.html %}
11
- {% include toc.html html=content %}
12
- </div>
13
-
14
- {{ content }}
15
-
16
- <div class="sponsors__content__card">
17
- {% for sponsor in site.sponsors %}
18
- <div class="sponsors__content__card__item">
19
- <a href="{{ sponsor.address }}">
20
- <img class="sponsors__content__card__item__image" src="{{ sponsor.logo }}" alt="{{ sponsor.name }}">
21
- <div class="sponsors__content__card__item__body">
22
- <p class="sponsors__content__card__item__body_title">{{ sponsor.name }}</p>
23
- <p class="sponsors__content__card__item__body_description">{{ sponsor.description }}</p>
24
- </div>
25
- </a>
26
- </div>
27
- {% endfor %}
28
- </div>
29
-
30
- </main>
@@ -1,158 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .accordion {
6
- // scss-docs-start accordion-css-vars
7
- --#{$prefix}accordion-color: #{$accordion-color};
8
- --#{$prefix}accordion-bg: #{$accordion-bg};
9
- --#{$prefix}accordion-transition: #{$accordion-transition};
10
- --#{$prefix}accordion-border-color: #{$accordion-border-color};
11
- --#{$prefix}accordion-border-width: #{$accordion-border-width};
12
- --#{$prefix}accordion-border-radius: #{$accordion-border-radius};
13
- --#{$prefix}accordion-inner-border-radius: #{$accordion-inner-border-radius};
14
- --#{$prefix}accordion-btn-padding-x: #{$accordion-button-padding-x};
15
- --#{$prefix}accordion-btn-padding-y: #{$accordion-button-padding-y};
16
- --#{$prefix}accordion-btn-color: #{$accordion-button-color};
17
- --#{$prefix}accordion-btn-bg: #{$accordion-button-bg};
18
- --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon)};
19
- --#{$prefix}accordion-btn-icon-width: #{$accordion-icon-width};
20
- --#{$prefix}accordion-btn-icon-transform: #{$accordion-icon-transform};
21
- --#{$prefix}accordion-btn-icon-transition: #{$accordion-icon-transition};
22
- --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon)};
23
- --#{$prefix}accordion-btn-focus-border-color: #{$accordion-button-focus-border-color};
24
- --#{$prefix}accordion-btn-focus-box-shadow: #{$accordion-button-focus-box-shadow};
25
- --#{$prefix}accordion-body-padding-x: #{$accordion-body-padding-x};
26
- --#{$prefix}accordion-body-padding-y: #{$accordion-body-padding-y};
27
- --#{$prefix}accordion-active-color: #{$accordion-button-active-color};
28
- --#{$prefix}accordion-active-bg: #{$accordion-button-active-bg};
29
- // scss-docs-end accordion-css-vars
30
- }
31
-
32
- .accordion-button {
33
- position: relative;
34
- display: flex;
35
- align-items: center;
36
- width: 100%;
37
- padding: var(--#{$prefix}accordion-btn-padding-y) var(--#{$prefix}accordion-btn-padding-x);
38
- @include font-size($font-size-base);
39
- color: var(--#{$prefix}accordion-btn-color);
40
- text-align: left; // Reset button style
41
- background-color: var(--#{$prefix}accordion-btn-bg);
42
- border: 0;
43
- @include border-radius(0);
44
- overflow-anchor: none;
45
- @include transition(var(--#{$prefix}accordion-transition));
46
-
47
- &:not(.collapsed) {
48
- color: var(--#{$prefix}accordion-active-color);
49
- background-color: var(--#{$prefix}accordion-active-bg);
50
- box-shadow: inset 0 calc(-1 * var(--#{$prefix}accordion-border-width)) 0 var(--#{$prefix}accordion-border-color); // stylelint-disable-line function-disallowed-list
51
-
52
- &::after {
53
- background-image: var(--#{$prefix}accordion-btn-active-icon);
54
- transform: var(--#{$prefix}accordion-btn-icon-transform);
55
- }
56
- }
57
-
58
- // Accordion icon
59
- &::after {
60
- flex-shrink: 0;
61
- width: var(--#{$prefix}accordion-btn-icon-width);
62
- height: var(--#{$prefix}accordion-btn-icon-width);
63
- margin-left: auto;
64
- content: "";
65
- background-image: var(--#{$prefix}accordion-btn-icon);
66
- background-repeat: no-repeat;
67
- background-size: var(--#{$prefix}accordion-btn-icon-width);
68
- @include transition(var(--#{$prefix}accordion-btn-icon-transition));
69
- }
70
-
71
- &:hover {
72
- z-index: 2;
73
- }
74
-
75
- &:focus {
76
- z-index: 3;
77
- border-color: var(--#{$prefix}accordion-btn-focus-border-color);
78
- outline: 0;
79
- box-shadow: var(--#{$prefix}accordion-btn-focus-box-shadow);
80
- }
81
- }
82
-
83
- .accordion-header {
84
- margin-bottom: 0;
85
- }
86
-
87
- .accordion-item {
88
- color: var(--#{$prefix}accordion-color);
89
- background-color: var(--#{$prefix}accordion-bg);
90
- border: var(--#{$prefix}accordion-border-width) solid var(--#{$prefix}accordion-border-color);
91
-
92
- &:first-of-type {
93
- @include border-top-radius(var(--#{$prefix}accordion-border-radius));
94
-
95
- .accordion-button {
96
- @include border-top-radius(var(--#{$prefix}accordion-inner-border-radius));
97
- }
98
- }
99
-
100
- &:not(:first-of-type) {
101
- border-top: 0;
102
- }
103
-
104
- // Only set a border-radius on the last item if the accordion is collapsed
105
- &:last-of-type {
106
- @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
107
-
108
- .accordion-button {
109
- &.collapsed {
110
- @include border-bottom-radius(var(--#{$prefix}accordion-inner-border-radius));
111
- }
112
- }
113
-
114
- .accordion-collapse {
115
- @include border-bottom-radius(var(--#{$prefix}accordion-border-radius));
116
- }
117
- }
118
- }
119
-
120
- .accordion-body {
121
- padding: var(--#{$prefix}accordion-body-padding-y) var(--#{$prefix}accordion-body-padding-x);
122
- }
123
-
124
-
125
- // Flush accordion items
126
- //
127
- // Remove borders and border-radius to keep accordion items edge-to-edge.
128
-
129
- .accordion-flush {
130
- .accordion-collapse {
131
- border-width: 0;
132
- }
133
-
134
- .accordion-item {
135
- border-right: 0;
136
- border-left: 0;
137
- @include border-radius(0);
138
-
139
- &:first-child { border-top: 0; }
140
- &:last-child { border-bottom: 0; }
141
-
142
- .accordion-button {
143
- &,
144
- &.collapsed {
145
- @include border-radius(0);
146
- }
147
- }
148
- }
149
- }
150
-
151
- @if $enable-dark-mode {
152
- @include color-mode(dark) {
153
- .accordion-button::after {
154
- --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};
155
- --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};
156
- }
157
- }
158
- }
@@ -1,68 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .alert {
6
- // scss-docs-start alert-css-vars
7
- --#{$prefix}alert-bg: transparent;
8
- --#{$prefix}alert-padding-x: #{$alert-padding-x};
9
- --#{$prefix}alert-padding-y: #{$alert-padding-y};
10
- --#{$prefix}alert-margin-bottom: #{$alert-margin-bottom};
11
- --#{$prefix}alert-color: inherit;
12
- --#{$prefix}alert-border-color: transparent;
13
- --#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);
14
- --#{$prefix}alert-border-radius: #{$alert-border-radius};
15
- --#{$prefix}alert-link-color: inherit;
16
- // scss-docs-end alert-css-vars
17
-
18
- position: relative;
19
- padding: var(--#{$prefix}alert-padding-y) var(--#{$prefix}alert-padding-x);
20
- margin-bottom: var(--#{$prefix}alert-margin-bottom);
21
- color: var(--#{$prefix}alert-color);
22
- background-color: var(--#{$prefix}alert-bg);
23
- border: var(--#{$prefix}alert-border);
24
- @include border-radius(var(--#{$prefix}alert-border-radius));
25
- }
26
-
27
- // Headings for larger alerts
28
- .alert-heading {
29
- // Specified to prevent conflicts of changing $headings-color
30
- color: inherit;
31
- }
32
-
33
- // Provide class for links that match alerts
34
- .alert-link {
35
- font-weight: $alert-link-font-weight;
36
- color: var(--#{$prefix}alert-link-color);
37
- }
38
-
39
-
40
- // Dismissible alerts
41
- //
42
- // Expand the right padding and account for the close button's positioning.
43
-
44
- .alert-dismissible {
45
- padding-right: $alert-dismissible-padding-r;
46
-
47
- // Adjust close link position
48
- .btn-close {
49
- position: absolute;
50
- top: 0;
51
- right: 0;
52
- z-index: $stretched-link-z-index + 1;
53
- padding: $alert-padding-y * 1.25 $alert-padding-x;
54
- }
55
- }
56
-
57
-
58
- // scss-docs-start alert-modifiers
59
- // Generate contextual modifier classes for colorizing the alert
60
- @each $state in map-keys($theme-colors) {
61
- .alert-#{$state} {
62
- --#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
63
- --#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
64
- --#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
65
- --#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);
66
- }
67
- }
68
- // scss-docs-end alert-modifiers
@@ -1,38 +0,0 @@
1
- // Base class
2
- //
3
- // Requires one of the contextual, color modifier classes for `color` and
4
- // `background-color`.
5
-
6
- .badge {
7
- // scss-docs-start badge-css-vars
8
- --#{$prefix}badge-padding-x: #{$badge-padding-x};
9
- --#{$prefix}badge-padding-y: #{$badge-padding-y};
10
- @include rfs($badge-font-size, --#{$prefix}badge-font-size);
11
- --#{$prefix}badge-font-weight: #{$badge-font-weight};
12
- --#{$prefix}badge-color: #{$badge-color};
13
- --#{$prefix}badge-border-radius: #{$badge-border-radius};
14
- // scss-docs-end badge-css-vars
15
-
16
- display: inline-block;
17
- padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);
18
- @include font-size(var(--#{$prefix}badge-font-size));
19
- font-weight: var(--#{$prefix}badge-font-weight);
20
- line-height: 1;
21
- color: var(--#{$prefix}badge-color);
22
- text-align: center;
23
- white-space: nowrap;
24
- vertical-align: baseline;
25
- @include border-radius(var(--#{$prefix}badge-border-radius));
26
- @include gradient-bg();
27
-
28
- // Empty badges collapse automatically
29
- &:empty {
30
- display: none;
31
- }
32
- }
33
-
34
- // Quick fix for badges in buttons
35
- .btn .badge {
36
- position: relative;
37
- top: -1px;
38
- }
@@ -1,40 +0,0 @@
1
- .breadcrumb {
2
- // scss-docs-start breadcrumb-css-vars
3
- --#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
4
- --#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
5
- --#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
6
- @include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
7
- --#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
8
- --#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
9
- --#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
10
- --#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
11
- --#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
12
- // scss-docs-end breadcrumb-css-vars
13
-
14
- display: flex;
15
- flex-wrap: wrap;
16
- padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
17
- margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
18
- @include font-size(var(--#{$prefix}breadcrumb-font-size));
19
- list-style: none;
20
- background-color: var(--#{$prefix}breadcrumb-bg);
21
- @include border-radius(var(--#{$prefix}breadcrumb-border-radius));
22
- }
23
-
24
- .breadcrumb-item {
25
- // The separator between breadcrumbs (by default, a forward-slash: "/")
26
- + .breadcrumb-item {
27
- padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
28
-
29
- &::before {
30
- float: left; // Suppress inline spacings and underlining of the separator
31
- padding-right: var(--#{$prefix}breadcrumb-item-padding-x);
32
- color: var(--#{$prefix}breadcrumb-divider-color);
33
- content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
34
- }
35
- }
36
-
37
- &.active {
38
- color: var(--#{$prefix}breadcrumb-item-active-color);
39
- }
40
- }
@@ -1,142 +0,0 @@
1
- // Make the div behave like a button
2
- .btn-group,
3
- .btn-group-vertical {
4
- position: relative;
5
- display: inline-flex;
6
- vertical-align: middle; // match .btn alignment given font-size hack above
7
-
8
- > .btn {
9
- position: relative;
10
- flex: 1 1 auto;
11
- }
12
-
13
- // Bring the hover, focused, and "active" buttons to the front to overlay
14
- // the borders properly
15
- > .btn-check:checked + .btn,
16
- > .btn-check:focus + .btn,
17
- > .btn:hover,
18
- > .btn:focus,
19
- > .btn:active,
20
- > .btn.active {
21
- z-index: 1;
22
- }
23
- }
24
-
25
- // Optional: Group multiple button groups together for a toolbar
26
- .btn-toolbar {
27
- display: flex;
28
- flex-wrap: wrap;
29
- justify-content: flex-start;
30
-
31
- .input-group {
32
- width: auto;
33
- }
34
- }
35
-
36
- .btn-group {
37
- @include border-radius($btn-border-radius);
38
-
39
- // Prevent double borders when buttons are next to each other
40
- > :not(.btn-check:first-child) + .btn,
41
- > .btn-group:not(:first-child) {
42
- margin-left: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list
43
- }
44
-
45
- // Reset rounded corners
46
- > .btn:not(:last-child):not(.dropdown-toggle),
47
- > .btn.dropdown-toggle-split:first-child,
48
- > .btn-group:not(:last-child) > .btn {
49
- @include border-end-radius(0);
50
- }
51
-
52
- // The left radius should be 0 if the button is:
53
- // - the "third or more" child
54
- // - the second child and the previous element isn't `.btn-check` (making it the first child visually)
55
- // - part of a btn-group which isn't the first child
56
- > .btn:nth-child(n + 3),
57
- > :not(.btn-check) + .btn,
58
- > .btn-group:not(:first-child) > .btn {
59
- @include border-start-radius(0);
60
- }
61
- }
62
-
63
- // Sizing
64
- //
65
- // Remix the default button sizing classes into new ones for easier manipulation.
66
-
67
- .btn-group-sm > .btn { @extend .btn-sm; }
68
- .btn-group-lg > .btn { @extend .btn-lg; }
69
-
70
-
71
- //
72
- // Split button dropdowns
73
- //
74
-
75
- .dropdown-toggle-split {
76
- padding-right: $btn-padding-x * .75;
77
- padding-left: $btn-padding-x * .75;
78
-
79
- &::after,
80
- .dropup &::after,
81
- .dropend &::after {
82
- margin-left: 0;
83
- }
84
-
85
- .dropstart &::before {
86
- margin-right: 0;
87
- }
88
- }
89
-
90
- .btn-sm + .dropdown-toggle-split {
91
- padding-right: $btn-padding-x-sm * .75;
92
- padding-left: $btn-padding-x-sm * .75;
93
- }
94
-
95
- .btn-lg + .dropdown-toggle-split {
96
- padding-right: $btn-padding-x-lg * .75;
97
- padding-left: $btn-padding-x-lg * .75;
98
- }
99
-
100
-
101
- // The clickable button for toggling the menu
102
- // Set the same inset shadow as the :active state
103
- .btn-group.show .dropdown-toggle {
104
- @include box-shadow($btn-active-box-shadow);
105
-
106
- // Show no shadow for `.btn-link` since it has no other button styles.
107
- &.btn-link {
108
- @include box-shadow(none);
109
- }
110
- }
111
-
112
-
113
- //
114
- // Vertical button groups
115
- //
116
-
117
- .btn-group-vertical {
118
- flex-direction: column;
119
- align-items: flex-start;
120
- justify-content: center;
121
-
122
- > .btn,
123
- > .btn-group {
124
- width: 100%;
125
- }
126
-
127
- > .btn:not(:first-child),
128
- > .btn-group:not(:first-child) {
129
- margin-top: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list
130
- }
131
-
132
- // Reset rounded corners
133
- > .btn:not(:last-child):not(.dropdown-toggle),
134
- > .btn-group:not(:last-child) > .btn {
135
- @include border-bottom-radius(0);
136
- }
137
-
138
- > .btn ~ .btn,
139
- > .btn-group:not(:first-child) > .btn {
140
- @include border-top-radius(0);
141
- }
142
- }