infotorg-api-jekyll-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +3 -0
- data/_config.yml +37 -0
- data/_includes/footer.html +11 -0
- data/_includes/head-app-css.html +2 -0
- data/_includes/head-fonts.html +2 -0
- data/_includes/head-google-analytics.html +13 -0
- data/_includes/navigation.html +58 -0
- data/_includes/services.html +75 -0
- data/_includes/title.html +4 -0
- data/_layouts/default.html +38 -0
- data/_layouts/services.html +5 -0
- data/_layouts/swagger-ui.html +67 -0
- data/_sass/_bootstrap.scss +51 -0
- data/_sass/_bootstrap_variables.scss +124 -0
- data/_sass/_typography.scss +15 -0
- data/_sass/_variables.scss +75 -0
- data/_sass/bootstrap/_accordion.scss +125 -0
- data/_sass/bootstrap/_alert.scss +57 -0
- data/_sass/bootstrap/_badge.scss +29 -0
- data/_sass/bootstrap/_breadcrumb.scss +28 -0
- data/_sass/bootstrap/_button-group.scss +139 -0
- data/_sass/bootstrap/_buttons.scss +109 -0
- data/_sass/bootstrap/_card.scss +215 -0
- data/_sass/bootstrap/_carousel.scss +223 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_containers.scss +41 -0
- data/_sass/bootstrap/_dropdown.scss +235 -0
- data/_sass/bootstrap/_forms.scss +9 -0
- data/_sass/bootstrap/_functions.scss +205 -0
- data/_sass/bootstrap/_grid.scss +22 -0
- data/_sass/bootstrap/_helpers.scss +7 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_list-group.scss +163 -0
- data/_sass/bootstrap/_mixins.scss +41 -0
- data/_sass/bootstrap/_modal.scss +235 -0
- data/_sass/bootstrap/_nav.scss +127 -0
- data/_sass/bootstrap/_navbar.scss +293 -0
- data/_sass/bootstrap/_pagination.scss +64 -0
- data/_sass/bootstrap/_popover.scss +173 -0
- data/_sass/bootstrap/_progress.scss +45 -0
- data/_sass/bootstrap/_reboot.scss +635 -0
- data/_sass/bootstrap/_root.scss +16 -0
- data/_sass/bootstrap/_spinners.scss +65 -0
- data/_sass/bootstrap/_tables.scss +150 -0
- data/_sass/bootstrap/_toasts.scss +50 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +19 -0
- data/_sass/bootstrap/_type.scss +104 -0
- data/_sass/bootstrap/_utilities.scss +560 -0
- data/_sass/bootstrap/_variables.scss +1333 -0
- data/_sass/bootstrap/bootstrap-grid.scss +65 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +15 -0
- data/_sass/bootstrap/bootstrap-utilities.scss +18 -0
- data/_sass/bootstrap/forms/_floating-labels.scss +61 -0
- data/_sass/bootstrap/forms/_form-check.scss +151 -0
- data/_sass/bootstrap/forms/_form-control.scss +223 -0
- data/_sass/bootstrap/forms/_form-range.scss +91 -0
- data/_sass/bootstrap/forms/_form-select.scss +68 -0
- data/_sass/bootstrap/forms/_form-text.scss +11 -0
- data/_sass/bootstrap/forms/_input-group.scss +121 -0
- data/_sass/bootstrap/forms/_labels.scss +36 -0
- data/_sass/bootstrap/forms/_validation.scss +12 -0
- data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +12 -0
- data/_sass/bootstrap/helpers/_position.scss +30 -0
- data/_sass/bootstrap/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap/mixins/_alert.scss +9 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap/mixins/_buttons.scss +128 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap/mixins/_container.scss +9 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_forms.scss +117 -0
- data/_sass/bootstrap/mixins/_gradients.scss +43 -0
- data/_sass/bootstrap/mixins/_grid.scss +120 -0
- data/_sass/bootstrap/mixins/_image.scss +16 -0
- data/_sass/bootstrap/mixins/_list-group.scss +22 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_pagination.scss +29 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_table-variants.scss +21 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_utilities.scss +68 -0
- data/_sass/bootstrap/mixins/_visually-hidden.scss +28 -0
- data/_sass/bootstrap/utilities/_api.scss +47 -0
- data/_sass/bootstrap/vendor/_rfs.scss +312 -0
- data/assets/bootstrap.min.js +7 -0
- data/assets/bootstrap.min.js.map +1 -0
- data/assets/css/main.scss +214 -0
- data/assets/css/print.scss +8 -0
- data/assets/css/swagger-ui/3.x/theme-feeling-blue.css +1672 -0
- data/assets/css/swagger-ui/3.x/theme-flattop.css +1672 -0
- data/assets/css/swagger-ui/3.x/theme-material.css +1719 -0
- data/assets/css/swagger-ui/3.x/theme-monokai.css +1792 -0
- data/assets/css/swagger-ui/3.x/theme-muted.css +1673 -0
- data/assets/css/swagger-ui/3.x/theme-newspaper.css +1671 -0
- data/assets/css/swagger-ui/3.x/theme-outline.css +1652 -0
- data/assets/images/cube.svg +11 -0
- data/assets/images/icons/collapse.svg +14 -0
- data/assets/images/icons/info.svg +14 -0
- data/assets/images/icons/services/eiendom.svg +9 -0
- data/assets/images/icons/services/foretak.svg +10 -0
- data/assets/images/icons/services/kreditt.svg +11 -0
- data/assets/images/icons/services/likningopplysning.svg +11 -0
- data/assets/images/icons/services/person.svg +11 -0
- data/assets/images/icons/services/small-boats.svg +9 -0
- data/assets/images/icons/services/vehicle.svg +9 -0
- data/assets/images/infotorg-developer.png +0 -0
- data/assets/images/infotorg-developer.svg +23 -0
- data/assets/images/infotorg-developer@2x.png +0 -0
- data/assets/images/infotorg-developer@3x.png +0 -0
- data/assets/images/it-gears.svg +14 -0
- data/assets/images/logo.svg +12 -0
- data/assets/images/tieto-evry-logo.svg +29 -0
- data/assets/openapi/eiendom.json +6817 -0
- metadata +180 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.btn {
|
6
|
+
display: inline-block;
|
7
|
+
font-family: $btn-font-family;
|
8
|
+
font-weight: $btn-font-weight;
|
9
|
+
line-height: $btn-line-height;
|
10
|
+
color: $body-color;
|
11
|
+
text-align: center;
|
12
|
+
text-decoration: if($link-decoration == none, null, none);
|
13
|
+
white-space: $btn-white-space;
|
14
|
+
vertical-align: middle;
|
15
|
+
cursor: if($enable-button-pointers, pointer, null);
|
16
|
+
user-select: none;
|
17
|
+
background-color: transparent;
|
18
|
+
border: $btn-border-width solid transparent;
|
19
|
+
@include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-border-radius);
|
20
|
+
@include transition($btn-transition);
|
21
|
+
|
22
|
+
&:hover {
|
23
|
+
color: $body-color;
|
24
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
25
|
+
}
|
26
|
+
|
27
|
+
.btn-check:focus + &,
|
28
|
+
&:focus {
|
29
|
+
outline: 0;
|
30
|
+
box-shadow: $btn-focus-box-shadow;
|
31
|
+
}
|
32
|
+
|
33
|
+
.btn-check:checked + &,
|
34
|
+
.btn-check:active + &,
|
35
|
+
&:active,
|
36
|
+
&.active {
|
37
|
+
@include box-shadow($btn-active-box-shadow);
|
38
|
+
|
39
|
+
&:focus {
|
40
|
+
@include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
&:disabled,
|
45
|
+
&.disabled,
|
46
|
+
fieldset:disabled & {
|
47
|
+
pointer-events: none;
|
48
|
+
opacity: $btn-disabled-opacity;
|
49
|
+
@include box-shadow(none);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
//
|
55
|
+
// Alternate buttons
|
56
|
+
//
|
57
|
+
|
58
|
+
@each $color, $value in $theme-colors {
|
59
|
+
.btn-#{$color} {
|
60
|
+
@include button-variant($value, $value);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
@each $color, $value in $theme-colors {
|
65
|
+
.btn-outline-#{$color} {
|
66
|
+
@include button-outline-variant($value);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
//
|
72
|
+
// Link buttons
|
73
|
+
//
|
74
|
+
|
75
|
+
// Make a button look and behave like a link
|
76
|
+
.btn-link {
|
77
|
+
font-weight: $font-weight-normal;
|
78
|
+
color: $btn-link-color;
|
79
|
+
text-decoration: $link-decoration;
|
80
|
+
|
81
|
+
&:hover {
|
82
|
+
color: $btn-link-hover-color;
|
83
|
+
text-decoration: $link-hover-decoration;
|
84
|
+
}
|
85
|
+
|
86
|
+
&:focus {
|
87
|
+
text-decoration: $link-hover-decoration;
|
88
|
+
}
|
89
|
+
|
90
|
+
&:disabled,
|
91
|
+
&.disabled {
|
92
|
+
color: $btn-link-disabled-color;
|
93
|
+
}
|
94
|
+
|
95
|
+
// No need for an active state here
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
//
|
100
|
+
// Button Sizes
|
101
|
+
//
|
102
|
+
|
103
|
+
.btn-lg {
|
104
|
+
@include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);
|
105
|
+
}
|
106
|
+
|
107
|
+
.btn-sm {
|
108
|
+
@include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
|
109
|
+
}
|
@@ -0,0 +1,215 @@
|
|
1
|
+
//
|
2
|
+
// Base styles
|
3
|
+
//
|
4
|
+
|
5
|
+
.card {
|
6
|
+
position: relative;
|
7
|
+
display: flex;
|
8
|
+
flex-direction: column;
|
9
|
+
min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
|
10
|
+
height: $card-height;
|
11
|
+
word-wrap: break-word;
|
12
|
+
background-color: $card-bg;
|
13
|
+
background-clip: border-box;
|
14
|
+
border: $card-border-width solid $card-border-color;
|
15
|
+
@include border-radius($card-border-radius);
|
16
|
+
|
17
|
+
> hr {
|
18
|
+
margin-right: 0;
|
19
|
+
margin-left: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
> .list-group {
|
23
|
+
border-top: inherit;
|
24
|
+
border-bottom: inherit;
|
25
|
+
|
26
|
+
&:first-child {
|
27
|
+
border-top-width: 0;
|
28
|
+
@include border-top-radius($card-inner-border-radius);
|
29
|
+
}
|
30
|
+
|
31
|
+
&:last-child {
|
32
|
+
border-bottom-width: 0;
|
33
|
+
@include border-bottom-radius($card-inner-border-radius);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
// Due to specificity of the above selector (`.card > .list-group`), we must
|
38
|
+
// use a child selector here to prevent double borders.
|
39
|
+
> .card-header + .list-group,
|
40
|
+
> .list-group + .card-footer {
|
41
|
+
border-top: 0;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.card-body {
|
46
|
+
// Enable `flex-grow: 1` for decks and groups so that card blocks take up
|
47
|
+
// as much space as possible, ensuring footers are aligned to the bottom.
|
48
|
+
flex: 1 1 auto;
|
49
|
+
padding: $card-spacer-y $card-spacer-x;
|
50
|
+
color: $card-color;
|
51
|
+
}
|
52
|
+
|
53
|
+
.card-title {
|
54
|
+
margin-bottom: $card-title-spacer-y;
|
55
|
+
}
|
56
|
+
|
57
|
+
.card-subtitle {
|
58
|
+
margin-top: -$card-title-spacer-y / 2;
|
59
|
+
margin-bottom: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
.card-text:last-child {
|
63
|
+
margin-bottom: 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
.card-link {
|
67
|
+
&:hover {
|
68
|
+
text-decoration: none;
|
69
|
+
}
|
70
|
+
|
71
|
+
+ .card-link {
|
72
|
+
margin-left: $card-spacer-x #{"/* rtl:ignore */"};
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
//
|
77
|
+
// Optional textual caps
|
78
|
+
//
|
79
|
+
|
80
|
+
.card-header {
|
81
|
+
padding: $card-cap-padding-y $card-cap-padding-x;
|
82
|
+
margin-bottom: 0; // Removes the default margin-bottom of <hN>
|
83
|
+
color: $card-cap-color;
|
84
|
+
background-color: $card-cap-bg;
|
85
|
+
border-bottom: $card-border-width solid $card-border-color;
|
86
|
+
|
87
|
+
&:first-child {
|
88
|
+
@include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.card-footer {
|
93
|
+
padding: $card-cap-padding-y $card-cap-padding-x;
|
94
|
+
color: $card-cap-color;
|
95
|
+
background-color: $card-cap-bg;
|
96
|
+
border-top: $card-border-width solid $card-border-color;
|
97
|
+
|
98
|
+
&:last-child {
|
99
|
+
@include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
//
|
105
|
+
// Header navs
|
106
|
+
//
|
107
|
+
|
108
|
+
.card-header-tabs {
|
109
|
+
margin-right: -$card-cap-padding-x / 2;
|
110
|
+
margin-bottom: -$card-cap-padding-y;
|
111
|
+
margin-left: -$card-cap-padding-x / 2;
|
112
|
+
border-bottom: 0;
|
113
|
+
|
114
|
+
@if $nav-tabs-link-active-bg != $card-bg {
|
115
|
+
.nav-link.active {
|
116
|
+
background-color: $card-bg;
|
117
|
+
border-bottom-color: $card-bg;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.card-header-pills {
|
123
|
+
margin-right: -$card-cap-padding-x / 2;
|
124
|
+
margin-left: -$card-cap-padding-x / 2;
|
125
|
+
}
|
126
|
+
|
127
|
+
// Card image
|
128
|
+
.card-img-overlay {
|
129
|
+
position: absolute;
|
130
|
+
top: 0;
|
131
|
+
right: 0;
|
132
|
+
bottom: 0;
|
133
|
+
left: 0;
|
134
|
+
padding: $card-img-overlay-padding;
|
135
|
+
@include border-radius($card-inner-border-radius);
|
136
|
+
}
|
137
|
+
|
138
|
+
.card-img,
|
139
|
+
.card-img-top,
|
140
|
+
.card-img-bottom {
|
141
|
+
width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
|
142
|
+
}
|
143
|
+
|
144
|
+
.card-img,
|
145
|
+
.card-img-top {
|
146
|
+
@include border-top-radius($card-inner-border-radius);
|
147
|
+
}
|
148
|
+
|
149
|
+
.card-img,
|
150
|
+
.card-img-bottom {
|
151
|
+
@include border-bottom-radius($card-inner-border-radius);
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
//
|
156
|
+
// Card groups
|
157
|
+
//
|
158
|
+
|
159
|
+
.card-group {
|
160
|
+
// The child selector allows nested `.card` within `.card-group`
|
161
|
+
// to display properly.
|
162
|
+
> .card {
|
163
|
+
margin-bottom: $card-group-margin;
|
164
|
+
}
|
165
|
+
|
166
|
+
@include media-breakpoint-up(sm) {
|
167
|
+
display: flex;
|
168
|
+
flex-flow: row wrap;
|
169
|
+
// The child selector allows nested `.card` within `.card-group`
|
170
|
+
// to display properly.
|
171
|
+
> .card {
|
172
|
+
// Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
|
173
|
+
flex: 1 0 0%;
|
174
|
+
margin-bottom: 0;
|
175
|
+
|
176
|
+
+ .card {
|
177
|
+
margin-left: 0;
|
178
|
+
border-left: 0;
|
179
|
+
}
|
180
|
+
|
181
|
+
// Handle rounded corners
|
182
|
+
@if $enable-rounded {
|
183
|
+
&:not(:last-child) {
|
184
|
+
@include border-end-radius(0);
|
185
|
+
|
186
|
+
.card-img-top,
|
187
|
+
.card-header {
|
188
|
+
// stylelint-disable-next-line property-disallowed-list
|
189
|
+
border-top-right-radius: 0;
|
190
|
+
}
|
191
|
+
.card-img-bottom,
|
192
|
+
.card-footer {
|
193
|
+
// stylelint-disable-next-line property-disallowed-list
|
194
|
+
border-bottom-right-radius: 0;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
&:not(:first-child) {
|
199
|
+
@include border-start-radius(0);
|
200
|
+
|
201
|
+
.card-img-top,
|
202
|
+
.card-header {
|
203
|
+
// stylelint-disable-next-line property-disallowed-list
|
204
|
+
border-top-left-radius: 0;
|
205
|
+
}
|
206
|
+
.card-img-bottom,
|
207
|
+
.card-footer {
|
208
|
+
// stylelint-disable-next-line property-disallowed-list
|
209
|
+
border-bottom-left-radius: 0;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
@@ -0,0 +1,223 @@
|
|
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
|
+
color: $carousel-control-color;
|
102
|
+
text-align: center;
|
103
|
+
opacity: $carousel-control-opacity;
|
104
|
+
@include transition($carousel-control-transition);
|
105
|
+
|
106
|
+
// Hover/focus state
|
107
|
+
&:hover,
|
108
|
+
&:focus {
|
109
|
+
color: $carousel-control-color;
|
110
|
+
text-decoration: none;
|
111
|
+
outline: 0;
|
112
|
+
opacity: $carousel-control-hover-opacity;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
.carousel-control-prev {
|
116
|
+
left: 0;
|
117
|
+
background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null);
|
118
|
+
}
|
119
|
+
.carousel-control-next {
|
120
|
+
right: 0;
|
121
|
+
background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null);
|
122
|
+
}
|
123
|
+
|
124
|
+
// Icons for within
|
125
|
+
.carousel-control-prev-icon,
|
126
|
+
.carousel-control-next-icon {
|
127
|
+
display: inline-block;
|
128
|
+
width: $carousel-control-icon-width;
|
129
|
+
height: $carousel-control-icon-width;
|
130
|
+
background-repeat: no-repeat;
|
131
|
+
background-position: 50%;
|
132
|
+
background-size: 100% 100%;
|
133
|
+
}
|
134
|
+
|
135
|
+
/* rtl:options: {
|
136
|
+
"autoRename": true,
|
137
|
+
"stringMap":[ {
|
138
|
+
"name" : "prev-next",
|
139
|
+
"search" : "prev",
|
140
|
+
"replace" : "next"
|
141
|
+
} ]
|
142
|
+
} */
|
143
|
+
.carousel-control-prev-icon {
|
144
|
+
background-image: escape-svg($carousel-control-prev-icon-bg);
|
145
|
+
}
|
146
|
+
.carousel-control-next-icon {
|
147
|
+
background-image: escape-svg($carousel-control-next-icon-bg);
|
148
|
+
}
|
149
|
+
|
150
|
+
// Optional indicator pips
|
151
|
+
//
|
152
|
+
// Add an ordered list with the following class and add a list item for each
|
153
|
+
// slide your carousel holds.
|
154
|
+
|
155
|
+
.carousel-indicators {
|
156
|
+
position: absolute;
|
157
|
+
right: 0;
|
158
|
+
bottom: 0;
|
159
|
+
left: 0;
|
160
|
+
z-index: 2;
|
161
|
+
display: flex;
|
162
|
+
justify-content: center;
|
163
|
+
padding-left: 0; // override <ol> default
|
164
|
+
// Use the .carousel-control's width as margin so we don't overlay those
|
165
|
+
margin-right: $carousel-control-width;
|
166
|
+
margin-left: $carousel-control-width;
|
167
|
+
list-style: none;
|
168
|
+
|
169
|
+
li {
|
170
|
+
box-sizing: content-box;
|
171
|
+
flex: 0 1 auto;
|
172
|
+
width: $carousel-indicator-width;
|
173
|
+
height: $carousel-indicator-height;
|
174
|
+
margin-right: $carousel-indicator-spacer;
|
175
|
+
margin-left: $carousel-indicator-spacer;
|
176
|
+
text-indent: -999px;
|
177
|
+
cursor: pointer;
|
178
|
+
background-color: $carousel-indicator-active-bg;
|
179
|
+
background-clip: padding-box;
|
180
|
+
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
181
|
+
border-top: $carousel-indicator-hit-area-height solid transparent;
|
182
|
+
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
183
|
+
opacity: $carousel-indicator-opacity;
|
184
|
+
@include transition($carousel-indicator-transition);
|
185
|
+
}
|
186
|
+
|
187
|
+
.active {
|
188
|
+
opacity: $carousel-indicator-active-opacity;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
// Optional captions
|
194
|
+
//
|
195
|
+
//
|
196
|
+
|
197
|
+
.carousel-caption {
|
198
|
+
position: absolute;
|
199
|
+
right: (100% - $carousel-caption-width) / 2;
|
200
|
+
bottom: $carousel-caption-spacer;
|
201
|
+
left: (100% - $carousel-caption-width) / 2;
|
202
|
+
padding-top: $carousel-caption-padding-y;
|
203
|
+
padding-bottom: $carousel-caption-padding-y;
|
204
|
+
color: $carousel-caption-color;
|
205
|
+
text-align: center;
|
206
|
+
}
|
207
|
+
|
208
|
+
// Dark mode carousel
|
209
|
+
|
210
|
+
.carousel-dark {
|
211
|
+
.carousel-control-prev-icon,
|
212
|
+
.carousel-control-next-icon {
|
213
|
+
filter: $carousel-dark-control-icon-filter;
|
214
|
+
}
|
215
|
+
|
216
|
+
.carousel-indicators li {
|
217
|
+
background-color: $carousel-dark-indicator-active-bg;
|
218
|
+
}
|
219
|
+
|
220
|
+
.carousel-caption {
|
221
|
+
color: $carousel-dark-caption-color;
|
222
|
+
}
|
223
|
+
}
|