mumuki-styles 1.24.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/dev-awesome.eot +0 -0
- data/app/assets/fonts/dev-awesome.ttf +0 -0
- data/app/assets/fonts/dev-awesome.woff +0 -0
- data/app/assets/fonts/dev-awesome.woff2 +0 -0
- data/app/assets/javascripts/mumuki-styles.js +6262 -1745
- data/app/assets/stylesheets/css/mumuki-styles.css +12744 -10611
- data/app/assets/stylesheets/scss/_colors.scss +64 -30
- data/app/assets/stylesheets/scss/_fa5.scss +9 -0
- data/app/assets/stylesheets/scss/_fonts.scss +1 -1
- data/app/assets/stylesheets/scss/_footer.scss +23 -16
- data/app/assets/stylesheets/scss/_links.scss +7 -0
- data/app/assets/stylesheets/scss/_modules.scss +4 -2
- data/app/assets/stylesheets/scss/_navbar.scss +29 -21
- data/app/assets/stylesheets/scss/_vendor.scss +1 -5
- data/app/assets/stylesheets/scss/bootswatch/_bootswatch.scss +188 -255
- data/app/assets/stylesheets/scss/bootswatch/_variables.scss +80 -843
- data/app/assets/stylesheets/scss/components/_browser.scss +2 -2
- data/app/assets/stylesheets/scss/components/_mu-erd.scss +1 -1
- data/app/assets/stylesheets/scss/components/_mu-file-browser.scss +9 -4
- data/app/assets/stylesheets/scss/modules/_blockquote.scss +7 -0
- data/app/assets/stylesheets/scss/modules/_breadcrumb.scss +1 -1
- data/app/assets/stylesheets/scss/modules/_callout.scss +4 -4
- data/app/assets/stylesheets/scss/modules/_code.scss +5 -0
- data/app/assets/stylesheets/scss/modules/_conversation.scss +4 -5
- data/app/assets/stylesheets/scss/modules/_follow_us.scss +4 -4
- data/app/assets/stylesheets/scss/modules/_form.scss +19 -0
- data/app/assets/stylesheets/scss/modules/_multiple_scenarios.scss +5 -5
- data/app/assets/stylesheets/scss/modules/_new_message.scss +2 -2
- data/app/assets/stylesheets/scss/modules/_pre.scss +11 -0
- data/app/assets/stylesheets/scss/mumuki-styles.scss +2 -0
- data/app/assets/stylesheets/vendor/bootstrap/_accordion.scss +116 -0
- data/app/assets/stylesheets/vendor/bootstrap/_alert.scss +57 -0
- data/app/assets/stylesheets/vendor/bootstrap/_badge.scss +29 -0
- data/app/assets/stylesheets/vendor/bootstrap/_breadcrumb.scss +28 -0
- data/app/assets/stylesheets/vendor/bootstrap/_button-group.scss +139 -0
- data/app/assets/stylesheets/vendor/bootstrap/_buttons.scss +111 -0
- data/app/assets/stylesheets/vendor/bootstrap/_card.scss +215 -0
- data/app/assets/stylesheets/vendor/bootstrap/_carousel.scss +229 -0
- data/app/assets/stylesheets/vendor/bootstrap/_close.scss +40 -0
- data/app/assets/stylesheets/vendor/bootstrap/_containers.scss +41 -0
- data/app/assets/stylesheets/vendor/bootstrap/_dropdown.scss +246 -0
- data/app/assets/stylesheets/vendor/bootstrap/_forms.scss +9 -0
- data/app/assets/stylesheets/vendor/bootstrap/_functions.scss +205 -0
- data/app/assets/stylesheets/vendor/bootstrap/_grid.scss +22 -0
- data/app/assets/stylesheets/vendor/bootstrap/_helpers.scss +7 -0
- data/app/assets/stylesheets/vendor/bootstrap/_images.scss +42 -0
- data/app/assets/stylesheets/vendor/bootstrap/_list-group.scss +174 -0
- data/app/assets/stylesheets/vendor/bootstrap/_mixins.scss +41 -0
- data/app/assets/stylesheets/vendor/bootstrap/_modal.scss +237 -0
- data/app/assets/stylesheets/vendor/bootstrap/_nav.scss +139 -0
- data/app/assets/stylesheets/vendor/bootstrap/_navbar.scss +306 -0
- data/app/assets/stylesheets/vendor/bootstrap/_offcanvas.scss +77 -0
- data/app/assets/stylesheets/vendor/bootstrap/_pagination.scss +64 -0
- data/app/assets/stylesheets/vendor/bootstrap/_popover.scss +158 -0
- data/app/assets/stylesheets/vendor/bootstrap/_progress.scss +48 -0
- data/app/assets/stylesheets/vendor/bootstrap/_reboot.scss +621 -0
- data/app/assets/stylesheets/vendor/bootstrap/_root.scss +16 -0
- data/app/assets/stylesheets/vendor/bootstrap/_spinners.scss +69 -0
- data/app/assets/stylesheets/vendor/bootstrap/_tables.scss +150 -0
- data/app/assets/stylesheets/vendor/bootstrap/_toasts.scss +51 -0
- data/app/assets/stylesheets/vendor/bootstrap/_tooltip.scss +115 -0
- data/app/assets/stylesheets/vendor/bootstrap/_transitions.scss +21 -0
- data/app/assets/stylesheets/vendor/bootstrap/_type.scss +104 -0
- data/app/assets/stylesheets/vendor/bootstrap/_utilities.scss +594 -0
- data/app/assets/stylesheets/vendor/bootstrap/_variables.scss +1464 -0
- data/app/assets/stylesheets/vendor/bootstrap/bootstrap-utilities.scss +18 -0
- data/app/assets/stylesheets/vendor/bootstrap/bootstrap.scss +52 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_floating-labels.scss +61 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_form-check.scss +152 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_form-control.scss +219 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_form-range.scss +91 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_form-select.scss +67 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_form-text.scss +11 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_input-group.scss +121 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_labels.scss +36 -0
- data/app/assets/stylesheets/vendor/bootstrap/forms/_validation.scss +12 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_clearfix.scss +3 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_colored-links.scss +12 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_position.scss +30 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_ratio.scss +26 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_stretched-link.scss +15 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_text-truncation.scss +7 -0
- data/app/assets/stylesheets/vendor/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_alert.scss +11 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_border-radius.scss +78 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss +18 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_breakpoints.scss +127 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_buttons.scss +133 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_caret.scss +64 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_clearfix.scss +9 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_container.scss +9 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_deprecate.scss +10 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_forms.scss +134 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_gradients.scss +47 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_grid.scss +120 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_image.scss +16 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_list-group.scss +24 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_lists.scss +7 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_pagination.scss +31 -0
- data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_reset-text.scss +6 -7
- data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_resize.scss +1 -1
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_table-variants.scss +21 -0
- data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss → bootstrap/mixins/_text-truncate.scss} +2 -2
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_transition.scss +26 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_utilities.scss +68 -0
- data/app/assets/stylesheets/vendor/bootstrap/mixins/_visually-hidden.scss +29 -0
- data/app/assets/stylesheets/vendor/bootstrap/utilities/_api.scss +47 -0
- data/app/assets/stylesheets/vendor/bootstrap/vendor/_rfs.scss +312 -0
- data/app/assets/stylesheets/vendor/dev-awesome/dist/scss/_dev-awesome.scss +3 -3
- data/lib/mumuki/styles/version.rb +1 -1
- metadata +86 -83
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/stylesheets/scss/_awesome-bootstrap-checkbox-overrides.scss +0 -8
- data/app/assets/stylesheets/scss/modules/_checkbox.scss +0 -65
- data/app/assets/stylesheets/scss/modules/_notification.scss +0 -15
- data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss +0 -245
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap.scss +0 -56
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +0 -73
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +0 -68
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -28
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +0 -244
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +0 -168
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +0 -270
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +0 -36
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +0 -69
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +0 -216
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +0 -617
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +0 -307
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +0 -84
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +0 -171
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +0 -54
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +0 -66
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +0 -130
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +0 -66
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +0 -40
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +0 -150
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +0 -662
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +0 -242
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +0 -424
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +0 -54
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +0 -89
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +0 -271
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +0 -131
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +0 -101
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +0 -35
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -179
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +0 -161
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +0 -234
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +0 -101
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +0 -298
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +0 -55
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +0 -874
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +0 -29
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -12
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -18
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -65
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -22
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -88
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -58
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -81
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -122
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +0 -33
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -32
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -24
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +0 -10
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -28
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -12
- data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
- data/app/assets/stylesheets/vendor/fontawesome-free/scss/_shims.scss +0 -2066
- data/app/assets/stylesheets/vendor/fontawesome-free/scss/v4-shims.scss +0 -6
@@ -0,0 +1,229 @@
|
|
1
|
+
// Notes on the classes:
|
2
|
+
//
|
3
|
+
// 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)
|
4
|
+
// even when their scroll action started on a carousel, but for compatibility (with Firefox)
|
5
|
+
// we're preventing all actions instead
|
6
|
+
// 2. The .carousel-item-start and .carousel-item-end is used to indicate where
|
7
|
+
// the active slide is heading.
|
8
|
+
// 3. .active.carousel-item is the current slide.
|
9
|
+
// 4. .active.carousel-item-start and .active.carousel-item-end is the current
|
10
|
+
// slide in its in-transition state. Only one of these occurs at a time.
|
11
|
+
// 5. .carousel-item-next.carousel-item-start and .carousel-item-prev.carousel-item-end
|
12
|
+
// is the upcoming slide in transition.
|
13
|
+
|
14
|
+
.carousel {
|
15
|
+
position: relative;
|
16
|
+
}
|
17
|
+
|
18
|
+
.carousel.pointer-event {
|
19
|
+
touch-action: pan-y;
|
20
|
+
}
|
21
|
+
|
22
|
+
.carousel-inner {
|
23
|
+
position: relative;
|
24
|
+
width: 100%;
|
25
|
+
overflow: hidden;
|
26
|
+
@include clearfix();
|
27
|
+
}
|
28
|
+
|
29
|
+
.carousel-item {
|
30
|
+
position: relative;
|
31
|
+
display: none;
|
32
|
+
float: left;
|
33
|
+
width: 100%;
|
34
|
+
margin-right: -100%;
|
35
|
+
backface-visibility: hidden;
|
36
|
+
@include transition($carousel-transition);
|
37
|
+
}
|
38
|
+
|
39
|
+
.carousel-item.active,
|
40
|
+
.carousel-item-next,
|
41
|
+
.carousel-item-prev {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* rtl:begin:ignore */
|
46
|
+
.carousel-item-next:not(.carousel-item-start),
|
47
|
+
.active.carousel-item-end {
|
48
|
+
transform: translateX(100%);
|
49
|
+
}
|
50
|
+
|
51
|
+
.carousel-item-prev:not(.carousel-item-end),
|
52
|
+
.active.carousel-item-start {
|
53
|
+
transform: translateX(-100%);
|
54
|
+
}
|
55
|
+
|
56
|
+
/* rtl:end:ignore */
|
57
|
+
|
58
|
+
|
59
|
+
//
|
60
|
+
// Alternate transitions
|
61
|
+
//
|
62
|
+
|
63
|
+
.carousel-fade {
|
64
|
+
.carousel-item {
|
65
|
+
opacity: 0;
|
66
|
+
transition-property: opacity;
|
67
|
+
transform: none;
|
68
|
+
}
|
69
|
+
|
70
|
+
.carousel-item.active,
|
71
|
+
.carousel-item-next.carousel-item-start,
|
72
|
+
.carousel-item-prev.carousel-item-end {
|
73
|
+
z-index: 1;
|
74
|
+
opacity: 1;
|
75
|
+
}
|
76
|
+
|
77
|
+
.active.carousel-item-start,
|
78
|
+
.active.carousel-item-end {
|
79
|
+
z-index: 0;
|
80
|
+
opacity: 0;
|
81
|
+
@include transition(opacity 0s $carousel-transition-duration);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
//
|
87
|
+
// Left/right controls for nav
|
88
|
+
//
|
89
|
+
|
90
|
+
.carousel-control-prev,
|
91
|
+
.carousel-control-next {
|
92
|
+
position: absolute;
|
93
|
+
top: 0;
|
94
|
+
bottom: 0;
|
95
|
+
z-index: 1;
|
96
|
+
// Use flex for alignment (1-3)
|
97
|
+
display: flex; // 1. allow flex styles
|
98
|
+
align-items: center; // 2. vertically center contents
|
99
|
+
justify-content: center; // 3. horizontally center contents
|
100
|
+
width: $carousel-control-width;
|
101
|
+
padding: 0;
|
102
|
+
color: $carousel-control-color;
|
103
|
+
text-align: center;
|
104
|
+
background: none;
|
105
|
+
border: 0;
|
106
|
+
opacity: $carousel-control-opacity;
|
107
|
+
@include transition($carousel-control-transition);
|
108
|
+
|
109
|
+
// Hover/focus state
|
110
|
+
&:hover,
|
111
|
+
&:focus {
|
112
|
+
color: $carousel-control-color;
|
113
|
+
text-decoration: none;
|
114
|
+
outline: 0;
|
115
|
+
opacity: $carousel-control-hover-opacity;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
.carousel-control-prev {
|
119
|
+
left: 0;
|
120
|
+
background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null);
|
121
|
+
}
|
122
|
+
.carousel-control-next {
|
123
|
+
right: 0;
|
124
|
+
background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null);
|
125
|
+
}
|
126
|
+
|
127
|
+
// Icons for within
|
128
|
+
.carousel-control-prev-icon,
|
129
|
+
.carousel-control-next-icon {
|
130
|
+
display: inline-block;
|
131
|
+
width: $carousel-control-icon-width;
|
132
|
+
height: $carousel-control-icon-width;
|
133
|
+
background-repeat: no-repeat;
|
134
|
+
background-position: 50%;
|
135
|
+
background-size: 100% 100%;
|
136
|
+
}
|
137
|
+
|
138
|
+
/* rtl:options: {
|
139
|
+
"autoRename": true,
|
140
|
+
"stringMap":[ {
|
141
|
+
"name" : "prev-next",
|
142
|
+
"search" : "prev",
|
143
|
+
"replace" : "next"
|
144
|
+
} ]
|
145
|
+
} */
|
146
|
+
.carousel-control-prev-icon {
|
147
|
+
background-image: escape-svg($carousel-control-prev-icon-bg);
|
148
|
+
}
|
149
|
+
.carousel-control-next-icon {
|
150
|
+
background-image: escape-svg($carousel-control-next-icon-bg);
|
151
|
+
}
|
152
|
+
|
153
|
+
// Optional indicator pips/controls
|
154
|
+
//
|
155
|
+
// Add a container (such as a list) with the following class and add an item (ideally a focusable control,
|
156
|
+
// like a button) with data-bs-target for each slide your carousel holds.
|
157
|
+
|
158
|
+
.carousel-indicators {
|
159
|
+
position: absolute;
|
160
|
+
right: 0;
|
161
|
+
bottom: 0;
|
162
|
+
left: 0;
|
163
|
+
z-index: 2;
|
164
|
+
display: flex;
|
165
|
+
justify-content: center;
|
166
|
+
padding: 0;
|
167
|
+
// Use the .carousel-control's width as margin so we don't overlay those
|
168
|
+
margin-right: $carousel-control-width;
|
169
|
+
margin-bottom: 1rem;
|
170
|
+
margin-left: $carousel-control-width;
|
171
|
+
list-style: none;
|
172
|
+
|
173
|
+
[data-bs-target] {
|
174
|
+
box-sizing: content-box;
|
175
|
+
flex: 0 1 auto;
|
176
|
+
width: $carousel-indicator-width;
|
177
|
+
height: $carousel-indicator-height;
|
178
|
+
padding: 0;
|
179
|
+
margin-right: $carousel-indicator-spacer;
|
180
|
+
margin-left: $carousel-indicator-spacer;
|
181
|
+
text-indent: -999px;
|
182
|
+
cursor: pointer;
|
183
|
+
background-color: $carousel-indicator-active-bg;
|
184
|
+
background-clip: padding-box;
|
185
|
+
border: 0;
|
186
|
+
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
187
|
+
border-top: $carousel-indicator-hit-area-height solid transparent;
|
188
|
+
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
189
|
+
opacity: $carousel-indicator-opacity;
|
190
|
+
@include transition($carousel-indicator-transition);
|
191
|
+
}
|
192
|
+
|
193
|
+
.active {
|
194
|
+
opacity: $carousel-indicator-active-opacity;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
|
199
|
+
// Optional captions
|
200
|
+
//
|
201
|
+
//
|
202
|
+
|
203
|
+
.carousel-caption {
|
204
|
+
position: absolute;
|
205
|
+
right: (100% - $carousel-caption-width) / 2;
|
206
|
+
bottom: $carousel-caption-spacer;
|
207
|
+
left: (100% - $carousel-caption-width) / 2;
|
208
|
+
padding-top: $carousel-caption-padding-y;
|
209
|
+
padding-bottom: $carousel-caption-padding-y;
|
210
|
+
color: $carousel-caption-color;
|
211
|
+
text-align: center;
|
212
|
+
}
|
213
|
+
|
214
|
+
// Dark mode carousel
|
215
|
+
|
216
|
+
.carousel-dark {
|
217
|
+
.carousel-control-prev-icon,
|
218
|
+
.carousel-control-next-icon {
|
219
|
+
filter: $carousel-dark-control-icon-filter;
|
220
|
+
}
|
221
|
+
|
222
|
+
.carousel-indicators [data-bs-target] {
|
223
|
+
background-color: $carousel-dark-indicator-active-bg;
|
224
|
+
}
|
225
|
+
|
226
|
+
.carousel-caption {
|
227
|
+
color: $carousel-dark-caption-color;
|
228
|
+
}
|
229
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// transparent background and border properties included for button version.
|
2
|
+
// iOS requires the button element instead of an anchor tag.
|
3
|
+
// If you want the anchor version, it requires `href="#"`.
|
4
|
+
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
5
|
+
|
6
|
+
.btn-close {
|
7
|
+
box-sizing: content-box;
|
8
|
+
width: $btn-close-width;
|
9
|
+
height: $btn-close-height;
|
10
|
+
padding: $btn-close-padding-y $btn-close-padding-x;
|
11
|
+
color: $btn-close-color;
|
12
|
+
background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
|
13
|
+
border: 0; // for button elements
|
14
|
+
@include border-radius();
|
15
|
+
opacity: $btn-close-opacity;
|
16
|
+
|
17
|
+
// Override <a>'s hover style
|
18
|
+
&:hover {
|
19
|
+
color: $btn-close-color;
|
20
|
+
text-decoration: none;
|
21
|
+
opacity: $btn-close-hover-opacity;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:focus {
|
25
|
+
outline: 0;
|
26
|
+
box-shadow: $btn-close-focus-shadow;
|
27
|
+
opacity: $btn-close-focus-opacity;
|
28
|
+
}
|
29
|
+
|
30
|
+
&:disabled,
|
31
|
+
&.disabled {
|
32
|
+
pointer-events: none;
|
33
|
+
user-select: none;
|
34
|
+
opacity: $btn-close-disabled-opacity;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.btn-close-white {
|
39
|
+
filter: $btn-close-white-filter;
|
40
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// Container widths
|
2
|
+
//
|
3
|
+
// Set the container width, and override it for fixed navbars in media queries.
|
4
|
+
|
5
|
+
@if $enable-grid-classes {
|
6
|
+
// Single container class with breakpoint max-widths
|
7
|
+
.container,
|
8
|
+
// 100% wide container at all breakpoints
|
9
|
+
.container-fluid {
|
10
|
+
@include make-container();
|
11
|
+
}
|
12
|
+
|
13
|
+
// Responsive containers that are 100% wide until a breakpoint
|
14
|
+
@each $breakpoint, $container-max-width in $container-max-widths {
|
15
|
+
.container-#{$breakpoint} {
|
16
|
+
@extend .container-fluid;
|
17
|
+
}
|
18
|
+
|
19
|
+
@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
|
20
|
+
%responsive-container-#{$breakpoint} {
|
21
|
+
max-width: $container-max-width;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Extend each breakpoint which is smaller or equal to the current breakpoint
|
25
|
+
$extend-breakpoint: true;
|
26
|
+
|
27
|
+
@each $name, $width in $grid-breakpoints {
|
28
|
+
@if ($extend-breakpoint) {
|
29
|
+
.container#{breakpoint-infix($name, $grid-breakpoints)} {
|
30
|
+
@extend %responsive-container-#{$breakpoint};
|
31
|
+
}
|
32
|
+
|
33
|
+
// Once the current breakpoint is reached, stop extending
|
34
|
+
@if ($breakpoint == $name) {
|
35
|
+
$extend-breakpoint: false;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,246 @@
|
|
1
|
+
// The dropdown wrapper (`<div>`)
|
2
|
+
.dropup,
|
3
|
+
.dropend,
|
4
|
+
.dropdown,
|
5
|
+
.dropstart {
|
6
|
+
position: relative;
|
7
|
+
}
|
8
|
+
|
9
|
+
.dropdown-toggle {
|
10
|
+
white-space: nowrap;
|
11
|
+
|
12
|
+
// Generate the caret automatically
|
13
|
+
@include caret();
|
14
|
+
}
|
15
|
+
|
16
|
+
// The dropdown menu
|
17
|
+
.dropdown-menu {
|
18
|
+
position: absolute;
|
19
|
+
top: 100%;
|
20
|
+
z-index: $zindex-dropdown;
|
21
|
+
display: none; // none by default, but block on "open" of the menu
|
22
|
+
min-width: $dropdown-min-width;
|
23
|
+
padding: $dropdown-padding-y $dropdown-padding-x;
|
24
|
+
margin: 0; // Override default margin of ul
|
25
|
+
@include font-size($dropdown-font-size);
|
26
|
+
color: $dropdown-color;
|
27
|
+
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
|
28
|
+
list-style: none;
|
29
|
+
background-color: $dropdown-bg;
|
30
|
+
background-clip: padding-box;
|
31
|
+
border: $dropdown-border-width solid $dropdown-border-color;
|
32
|
+
@include border-radius($dropdown-border-radius);
|
33
|
+
@include box-shadow($dropdown-box-shadow);
|
34
|
+
|
35
|
+
&[data-bs-popper] {
|
36
|
+
left: 0;
|
37
|
+
margin-top: $dropdown-spacer;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
// scss-docs-start responsive-breakpoints
|
42
|
+
// We deliberately hardcode the `bs-` prefix because we check
|
43
|
+
// this custom property in JS to determine Popper's positioning
|
44
|
+
|
45
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
46
|
+
@include media-breakpoint-up($breakpoint) {
|
47
|
+
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
48
|
+
|
49
|
+
.dropdown-menu#{$infix}-start {
|
50
|
+
--bs-position: start;
|
51
|
+
|
52
|
+
&[data-bs-popper] {
|
53
|
+
right: auto #{"/* rtl:ignore */"};
|
54
|
+
left: 0 #{"/* rtl:ignore */"};
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
.dropdown-menu#{$infix}-end {
|
59
|
+
--bs-position: end;
|
60
|
+
|
61
|
+
&[data-bs-popper] {
|
62
|
+
right: 0 #{"/* rtl:ignore */"};
|
63
|
+
left: auto #{"/* rtl:ignore */"};
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
// scss-docs-end responsive-breakpoints
|
69
|
+
|
70
|
+
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
71
|
+
// Just add .dropup after the standard .dropdown class and you're set.
|
72
|
+
.dropup {
|
73
|
+
.dropdown-menu[data-bs-popper] {
|
74
|
+
top: auto;
|
75
|
+
bottom: 100%;
|
76
|
+
margin-top: 0;
|
77
|
+
margin-bottom: $dropdown-spacer;
|
78
|
+
}
|
79
|
+
|
80
|
+
.dropdown-toggle {
|
81
|
+
@include caret(up);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.dropend {
|
86
|
+
.dropdown-menu {
|
87
|
+
top: 0;
|
88
|
+
right: auto;
|
89
|
+
left: 100%;
|
90
|
+
|
91
|
+
&[data-bs-popper] {
|
92
|
+
margin-top: 0;
|
93
|
+
margin-left: $dropdown-spacer;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.dropdown-toggle {
|
98
|
+
@include caret(end);
|
99
|
+
&::after {
|
100
|
+
vertical-align: 0;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.dropstart {
|
106
|
+
.dropdown-menu {
|
107
|
+
top: 0;
|
108
|
+
right: 100%;
|
109
|
+
left: auto;
|
110
|
+
|
111
|
+
&[data-bs-popper] {
|
112
|
+
margin-top: 0;
|
113
|
+
margin-right: $dropdown-spacer;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
.dropdown-toggle {
|
118
|
+
@include caret(start);
|
119
|
+
&::before {
|
120
|
+
vertical-align: 0;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
// Dividers (basically an `<hr>`) within the dropdown
|
127
|
+
.dropdown-divider {
|
128
|
+
height: 0;
|
129
|
+
margin: $dropdown-divider-margin-y 0;
|
130
|
+
overflow: hidden;
|
131
|
+
border-top: 1px solid $dropdown-divider-bg;
|
132
|
+
}
|
133
|
+
|
134
|
+
// Links, buttons, and more within the dropdown menu
|
135
|
+
//
|
136
|
+
// `<button>`-specific styles are denoted with `// For <button>s`
|
137
|
+
.dropdown-item {
|
138
|
+
display: block;
|
139
|
+
width: 100%; // For `<button>`s
|
140
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
141
|
+
clear: both;
|
142
|
+
font-weight: $font-weight-normal;
|
143
|
+
color: $dropdown-link-color;
|
144
|
+
text-align: inherit; // For `<button>`s
|
145
|
+
text-decoration: if($link-decoration == none, null, none);
|
146
|
+
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
147
|
+
background-color: transparent; // For `<button>`s
|
148
|
+
border: 0; // For `<button>`s
|
149
|
+
|
150
|
+
// Prevent dropdown overflow if there's no padding
|
151
|
+
// See https://github.com/twbs/bootstrap/pull/27703
|
152
|
+
@if $dropdown-padding-y == 0 {
|
153
|
+
&:first-child {
|
154
|
+
@include border-top-radius($dropdown-inner-border-radius);
|
155
|
+
}
|
156
|
+
|
157
|
+
&:last-child {
|
158
|
+
@include border-bottom-radius($dropdown-inner-border-radius);
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
&:hover,
|
163
|
+
&:focus {
|
164
|
+
color: $dropdown-link-hover-color;
|
165
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
166
|
+
@include gradient-bg($dropdown-link-hover-bg);
|
167
|
+
}
|
168
|
+
|
169
|
+
&.active,
|
170
|
+
&:active {
|
171
|
+
color: $dropdown-link-active-color;
|
172
|
+
text-decoration: none;
|
173
|
+
@include gradient-bg($dropdown-link-active-bg);
|
174
|
+
}
|
175
|
+
|
176
|
+
&.disabled,
|
177
|
+
&:disabled {
|
178
|
+
color: $dropdown-link-disabled-color;
|
179
|
+
pointer-events: none;
|
180
|
+
background-color: transparent;
|
181
|
+
// Remove CSS gradients if they're enabled
|
182
|
+
background-image: if($enable-gradients, none, null);
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
.dropdown-menu.show {
|
187
|
+
display: block;
|
188
|
+
}
|
189
|
+
|
190
|
+
// Dropdown section headers
|
191
|
+
.dropdown-header {
|
192
|
+
display: block;
|
193
|
+
padding: $dropdown-header-padding;
|
194
|
+
margin-bottom: 0; // for use with heading elements
|
195
|
+
@include font-size($font-size-sm);
|
196
|
+
color: $dropdown-header-color;
|
197
|
+
white-space: nowrap; // as with > li > a
|
198
|
+
}
|
199
|
+
|
200
|
+
// Dropdown text
|
201
|
+
.dropdown-item-text {
|
202
|
+
display: block;
|
203
|
+
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
|
204
|
+
color: $dropdown-link-color;
|
205
|
+
}
|
206
|
+
|
207
|
+
// Dark dropdowns
|
208
|
+
.dropdown-menu-dark {
|
209
|
+
color: $dropdown-dark-color;
|
210
|
+
background-color: $dropdown-dark-bg;
|
211
|
+
border-color: $dropdown-dark-border-color;
|
212
|
+
@include box-shadow($dropdown-dark-box-shadow);
|
213
|
+
|
214
|
+
.dropdown-item {
|
215
|
+
color: $dropdown-dark-link-color;
|
216
|
+
|
217
|
+
&:hover,
|
218
|
+
&:focus {
|
219
|
+
color: $dropdown-dark-link-hover-color;
|
220
|
+
@include gradient-bg($dropdown-dark-link-hover-bg);
|
221
|
+
}
|
222
|
+
|
223
|
+
&.active,
|
224
|
+
&:active {
|
225
|
+
color: $dropdown-dark-link-active-color;
|
226
|
+
@include gradient-bg($dropdown-dark-link-active-bg);
|
227
|
+
}
|
228
|
+
|
229
|
+
&.disabled,
|
230
|
+
&:disabled {
|
231
|
+
color: $dropdown-dark-link-disabled-color;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
.dropdown-divider {
|
236
|
+
border-color: $dropdown-dark-divider-bg;
|
237
|
+
}
|
238
|
+
|
239
|
+
.dropdown-item-text {
|
240
|
+
color: $dropdown-dark-link-color;
|
241
|
+
}
|
242
|
+
|
243
|
+
.dropdown-header {
|
244
|
+
color: $dropdown-dark-header-color;
|
245
|
+
}
|
246
|
+
}
|