viniBaxter-desk_front 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.DS_Store +0 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +35 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/app/assets/images/desk_front/.DS_Store +0 -0
- data/app/assets/images/desk_front/avatar-group-hover-last.svg +9 -0
- data/app/assets/images/desk_front/avatar-group-hover.svg +10 -0
- data/app/assets/images/desk_front/avatar-group.svg +9 -0
- data/app/assets/images/desk_front/avatar-status.svg +9 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/image_setUP.md +5 -0
- data/lib/viniBaxter/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/desk_front/engine.rb +17 -0
- data/lib/viniBaxter/desk_front/version.rb +5 -0
- data/lib/viniBaxter/desk_front.rb +8 -0
- data/lib/viniBaxter/sass/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/_user-variables.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/_user.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss +107 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/administrate/base/_typography.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_app-container.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_attributes.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_buttons.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_cells.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_field-unit.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_flashes.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_form-actions.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_main-content.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_navigation.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_pagination.scss +18 -0
- data/lib/viniBaxter/sass/desk_front/administrate/components/_search.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/administrate/desk_front/.DS_Store +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/index.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_data-label.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/administrate/library/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss +447 -0
- data/lib/viniBaxter/sass/desk_front/administrate/utilities/_text-color.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +163 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +139 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +278 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +41 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +521 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +338 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +134 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +42 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +191 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +158 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +47 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +239 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +120 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +324 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +170 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +141 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +46 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +482 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +185 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +125 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +1143 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +29 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +44 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +63 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +123 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +110 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +62 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +14 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +177 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +45 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +71 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +21 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +22 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +7 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +17 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +8 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +3 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +26 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +39 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +51 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +32 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +6 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +73 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +19 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +72 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +13 -0
- data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +204 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_alert.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +197 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_badge.scss +28 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_breadcrumb.scss +55 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +298 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_chart.scss +79 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_checklist.scss +36 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_close.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_code.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_comment.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_custom-forms.scss +37 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dashkit.scss +38 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_dropdowns.scss +124 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_forms.scss +272 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_header.scss +58 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +54 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_jumbotron.scss +15 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_kanban.scss +68 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +53 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_main-content.scss +70 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_mixins.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_modal.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_nav.scss +112 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +722 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_popover.scss +101 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_progress.scss +27 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_reboot.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_root.scss +12 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_tables.scss +76 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_toasts.scss +4 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_type.scss +115 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_utilities.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_variables.scss +0 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/_vendors.scss +5 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_overrides-dark.scss +60 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/dark/_variables-dark.scss +219 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_badge.scss +16 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/mixins/_breakpoints.scss +9 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_background.scss +80 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_borders.scss +48 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_lift.scss +20 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_sizing.scss +10 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/utilities/_type.scss +34 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_dropzone.scss +75 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_flatpickr.scss +69 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_list.scss +11 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_quill.scss +283 -0
- data/lib/viniBaxter/sass/desk_front/dashkit/vendors/_select2.scss +128 -0
- data/lib/viniBaxter/sass/desk_front/theme-dark.scss +30 -0
- data/lib/viniBaxter/sass/desk_front/theme.scss +24 -0
- data/lib/viniBaxter/sass/desk_front.scss +23 -0
- data/viniBaxter-desk_front.gemspec +33 -0
- metadata +275 -0
@@ -0,0 +1,197 @@
|
|
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-left and .carousel-item-right 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-left and .active.carousel-item-right 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-left and .carousel-item-prev.carousel-item-right
|
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
|
+
.carousel-item-next:not(.carousel-item-left),
|
46
|
+
.active.carousel-item-right {
|
47
|
+
transform: translateX(100%);
|
48
|
+
}
|
49
|
+
|
50
|
+
.carousel-item-prev:not(.carousel-item-right),
|
51
|
+
.active.carousel-item-left {
|
52
|
+
transform: translateX(-100%);
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
//
|
57
|
+
// Alternate transitions
|
58
|
+
//
|
59
|
+
|
60
|
+
.carousel-fade {
|
61
|
+
.carousel-item {
|
62
|
+
opacity: 0;
|
63
|
+
transition-property: opacity;
|
64
|
+
transform: none;
|
65
|
+
}
|
66
|
+
|
67
|
+
.carousel-item.active,
|
68
|
+
.carousel-item-next.carousel-item-left,
|
69
|
+
.carousel-item-prev.carousel-item-right {
|
70
|
+
z-index: 1;
|
71
|
+
opacity: 1;
|
72
|
+
}
|
73
|
+
|
74
|
+
.active.carousel-item-left,
|
75
|
+
.active.carousel-item-right {
|
76
|
+
z-index: 0;
|
77
|
+
opacity: 0;
|
78
|
+
@include transition(opacity 0s $carousel-transition-duration);
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
//
|
84
|
+
// Left/right controls for nav
|
85
|
+
//
|
86
|
+
|
87
|
+
.carousel-control-prev,
|
88
|
+
.carousel-control-next {
|
89
|
+
position: absolute;
|
90
|
+
top: 0;
|
91
|
+
bottom: 0;
|
92
|
+
z-index: 1;
|
93
|
+
// Use flex for alignment (1-3)
|
94
|
+
display: flex; // 1. allow flex styles
|
95
|
+
align-items: center; // 2. vertically center contents
|
96
|
+
justify-content: center; // 3. horizontally center contents
|
97
|
+
width: $carousel-control-width;
|
98
|
+
color: $carousel-control-color;
|
99
|
+
text-align: center;
|
100
|
+
opacity: $carousel-control-opacity;
|
101
|
+
@include transition($carousel-control-transition);
|
102
|
+
|
103
|
+
// Hover/focus state
|
104
|
+
@include hover-focus() {
|
105
|
+
color: $carousel-control-color;
|
106
|
+
text-decoration: none;
|
107
|
+
outline: 0;
|
108
|
+
opacity: $carousel-control-hover-opacity;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
.carousel-control-prev {
|
112
|
+
left: 0;
|
113
|
+
@if $enable-gradients {
|
114
|
+
background-image: linear-gradient(90deg, rgba($black, .25), rgba($black, .001));
|
115
|
+
}
|
116
|
+
}
|
117
|
+
.carousel-control-next {
|
118
|
+
right: 0;
|
119
|
+
@if $enable-gradients {
|
120
|
+
background-image: linear-gradient(270deg, rgba($black, .25), rgba($black, .001));
|
121
|
+
}
|
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: no-repeat 50% / 100% 100%;
|
131
|
+
}
|
132
|
+
.carousel-control-prev-icon {
|
133
|
+
background-image: escape-svg($carousel-control-prev-icon-bg);
|
134
|
+
}
|
135
|
+
.carousel-control-next-icon {
|
136
|
+
background-image: escape-svg($carousel-control-next-icon-bg);
|
137
|
+
}
|
138
|
+
|
139
|
+
|
140
|
+
// Optional indicator pips
|
141
|
+
//
|
142
|
+
// Add an ordered list with the following class and add a list item for each
|
143
|
+
// slide your carousel holds.
|
144
|
+
|
145
|
+
.carousel-indicators {
|
146
|
+
position: absolute;
|
147
|
+
right: 0;
|
148
|
+
bottom: 0;
|
149
|
+
left: 0;
|
150
|
+
z-index: 15;
|
151
|
+
display: flex;
|
152
|
+
justify-content: center;
|
153
|
+
padding-left: 0; // override <ol> default
|
154
|
+
// Use the .carousel-control's width as margin so we don't overlay those
|
155
|
+
margin-right: $carousel-control-width;
|
156
|
+
margin-left: $carousel-control-width;
|
157
|
+
list-style: none;
|
158
|
+
|
159
|
+
li {
|
160
|
+
box-sizing: content-box;
|
161
|
+
flex: 0 1 auto;
|
162
|
+
width: $carousel-indicator-width;
|
163
|
+
height: $carousel-indicator-height;
|
164
|
+
margin-right: $carousel-indicator-spacer;
|
165
|
+
margin-left: $carousel-indicator-spacer;
|
166
|
+
text-indent: -999px;
|
167
|
+
cursor: pointer;
|
168
|
+
background-color: $carousel-indicator-active-bg;
|
169
|
+
background-clip: padding-box;
|
170
|
+
// Use transparent borders to increase the hit area by 10px on top and bottom.
|
171
|
+
border-top: $carousel-indicator-hit-area-height solid transparent;
|
172
|
+
border-bottom: $carousel-indicator-hit-area-height solid transparent;
|
173
|
+
opacity: .5;
|
174
|
+
@include transition($carousel-indicator-transition);
|
175
|
+
}
|
176
|
+
|
177
|
+
.active {
|
178
|
+
opacity: 1;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
// Optional captions
|
184
|
+
//
|
185
|
+
//
|
186
|
+
|
187
|
+
.carousel-caption {
|
188
|
+
position: absolute;
|
189
|
+
right: (100% - $carousel-caption-width) / 2;
|
190
|
+
bottom: 20px;
|
191
|
+
left: (100% - $carousel-caption-width) / 2;
|
192
|
+
z-index: 10;
|
193
|
+
padding-top: 20px;
|
194
|
+
padding-bottom: 20px;
|
195
|
+
color: $carousel-caption-color;
|
196
|
+
text-align: center;
|
197
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
.close {
|
2
|
+
float: right;
|
3
|
+
@include font-size($close-font-size);
|
4
|
+
font-weight: $close-font-weight;
|
5
|
+
line-height: 1;
|
6
|
+
color: $close-color;
|
7
|
+
text-shadow: $close-text-shadow;
|
8
|
+
opacity: .5;
|
9
|
+
|
10
|
+
// Override <a>'s hover style
|
11
|
+
@include hover() {
|
12
|
+
color: $close-color;
|
13
|
+
text-decoration: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
&:not(:disabled):not(.disabled) {
|
17
|
+
@include hover-focus() {
|
18
|
+
opacity: .75;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// Additional properties for button version
|
24
|
+
// iOS requires the button element instead of an anchor tag.
|
25
|
+
// If you want the anchor version, it requires `href="#"`.
|
26
|
+
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
|
27
|
+
|
28
|
+
// stylelint-disable-next-line selector-no-qualifying-type
|
29
|
+
button.close {
|
30
|
+
padding: 0;
|
31
|
+
background-color: transparent;
|
32
|
+
border: 0;
|
33
|
+
appearance: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Future-proof disabling of clicks on `<a>` elements
|
37
|
+
|
38
|
+
// stylelint-disable-next-line selector-no-qualifying-type
|
39
|
+
a.close.disabled {
|
40
|
+
pointer-events: none;
|
41
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
// Inline code
|
2
|
+
code {
|
3
|
+
@include font-size($code-font-size);
|
4
|
+
color: $code-color;
|
5
|
+
word-wrap: break-word;
|
6
|
+
|
7
|
+
// Streamline the style when inside anchors to avoid broken underline and more
|
8
|
+
a > & {
|
9
|
+
color: inherit;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
// User input typically entered via keyboard
|
14
|
+
kbd {
|
15
|
+
padding: $kbd-padding-y $kbd-padding-x;
|
16
|
+
@include font-size($kbd-font-size);
|
17
|
+
color: $kbd-color;
|
18
|
+
background-color: $kbd-bg;
|
19
|
+
@include border-radius($border-radius-sm);
|
20
|
+
@include box-shadow($kbd-box-shadow);
|
21
|
+
|
22
|
+
kbd {
|
23
|
+
padding: 0;
|
24
|
+
@include font-size(100%);
|
25
|
+
font-weight: $nested-kbd-font-weight;
|
26
|
+
@include box-shadow(none);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Blocks of code
|
31
|
+
pre {
|
32
|
+
display: block;
|
33
|
+
@include font-size($code-font-size);
|
34
|
+
color: $pre-color;
|
35
|
+
|
36
|
+
// Account for some code outputs that place code tags in pre tags
|
37
|
+
code {
|
38
|
+
@include font-size(inherit);
|
39
|
+
color: inherit;
|
40
|
+
word-break: normal;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Enable scrollable blocks of code
|
45
|
+
.pre-scrollable {
|
46
|
+
max-height: $pre-scrollable-max-height;
|
47
|
+
overflow-y: scroll;
|
48
|
+
}
|