jobdone-shared-files 0.0.1-beta.8 → 0.0.1-beta.80

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.
Files changed (127) hide show
  1. package/.vs/VSWorkspaceState.json +6 -0
  2. package/.vs/jobdone_sharejs/FileContentIndex/a973f22d-a16a-4ca9-ab6a-75ab92ec6af7.vsidx +0 -0
  3. package/.vs/jobdone_sharejs/FileContentIndex/bacf95a3-2185-41c2-b12a-e93bb40f2204.vsidx +0 -0
  4. package/.vs/jobdone_sharejs/config/applicationhost.config +1021 -0
  5. package/.vs/jobdone_sharejs/v17/.wsuo +0 -0
  6. package/.vs/slnx.sqlite +0 -0
  7. package/ProjectManagement/projectNavbar.vue +225 -79
  8. package/README.md +79 -6
  9. package/common/directives/collapse.js +12 -12
  10. package/common/directives/popovers.js +11 -0
  11. package/common/directives/tooltip.js +11 -0
  12. package/common/format.js +26 -12
  13. package/index.js +14 -14
  14. package/lightboxWithOverview.vue +132 -0
  15. package/package.json +19 -18
  16. package/paginate.vue +138 -138
  17. package/style/css/vue-loading-overlay/index.css +40 -40
  18. package/style/scss/Common/Animation.scss +6 -0
  19. package/style/scss/Common/SelectableTable.scss +31 -0
  20. package/style/scss/Common/filepond.scss +28 -0
  21. package/style/scss/Common/thumbnail-group.scss +14 -0
  22. package/style/scss/Layout/LayoutBase.scss +1015 -942
  23. package/style/scss/Layout/LayoutMobile.scss +203 -0
  24. package/style/scss/Layout/LayoutProject.scss +122 -126
  25. package/style/scss/Layout/LayoutSinglePage.scss +13 -13
  26. package/style/scss/Layout/LayoutTwoColumn.scss +56 -56
  27. package/style/scss/Settings/_Mixins.scss +229 -229
  28. package/style/scss/Settings/_MobileVariables.scss +12 -0
  29. package/style/scss/Settings/_basic-import.scss +5 -4
  30. package/style/scss/Settings/_bs-variables-dark.scss +70 -70
  31. package/style/scss/Settings/_bs-variables.scss +1743 -1703
  32. package/style/scss/Settings/_color-mode.scss +122 -122
  33. package/style/scss/Settings/_custom-variables.scss +14 -10
  34. package/tagEditor.vue +263 -263
  35. package/tree.vue +69 -62
  36. package/treeItem.vue +366 -366
  37. package/vueLoadingOverlay.vue +70 -76
  38. package/style/scss/Bootstrap/_accordion.scss +0 -158
  39. package/style/scss/Bootstrap/_alert.scss +0 -68
  40. package/style/scss/Bootstrap/_badge.scss +0 -38
  41. package/style/scss/Bootstrap/_breadcrumb.scss +0 -40
  42. package/style/scss/Bootstrap/_button-group.scss +0 -142
  43. package/style/scss/Bootstrap/_buttons.scss +0 -207
  44. package/style/scss/Bootstrap/_card.scss +0 -238
  45. package/style/scss/Bootstrap/_carousel.scss +0 -238
  46. package/style/scss/Bootstrap/_close.scss +0 -61
  47. package/style/scss/Bootstrap/_containers.scss +0 -41
  48. package/style/scss/Bootstrap/_dropdown.scss +0 -250
  49. package/style/scss/Bootstrap/_forms.scss +0 -9
  50. package/style/scss/Bootstrap/_functions.scss +0 -302
  51. package/style/scss/Bootstrap/_grid.scss +0 -33
  52. package/style/scss/Bootstrap/_helpers.scss +0 -10
  53. package/style/scss/Bootstrap/_images.scss +0 -42
  54. package/style/scss/Bootstrap/_list-group.scss +0 -204
  55. package/style/scss/Bootstrap/_maps.scss +0 -121
  56. package/style/scss/Bootstrap/_mixins.scss +0 -42
  57. package/style/scss/Bootstrap/_modal.scss +0 -237
  58. package/style/scss/Bootstrap/_nav.scss +0 -172
  59. package/style/scss/Bootstrap/_navbar.scss +0 -286
  60. package/style/scss/Bootstrap/_offcanvas.scss +0 -146
  61. package/style/scss/Bootstrap/_pagination.scss +0 -109
  62. package/style/scss/Bootstrap/_placeholders.scss +0 -51
  63. package/style/scss/Bootstrap/_popover.scss +0 -196
  64. package/style/scss/Bootstrap/_progress.scss +0 -68
  65. package/style/scss/Bootstrap/_reboot.scss +0 -610
  66. package/style/scss/Bootstrap/_root.scss +0 -195
  67. package/style/scss/Bootstrap/_spinners.scss +0 -85
  68. package/style/scss/Bootstrap/_tables.scss +0 -164
  69. package/style/scss/Bootstrap/_toasts.scss +0 -73
  70. package/style/scss/Bootstrap/_tooltip.scss +0 -120
  71. package/style/scss/Bootstrap/_transitions.scss +0 -27
  72. package/style/scss/Bootstrap/_type.scss +0 -106
  73. package/style/scss/Bootstrap/_utilities.scss +0 -748
  74. package/style/scss/Bootstrap/_variables-dark.scss +0 -70
  75. package/style/scss/Bootstrap/_variables.scss +0 -1703
  76. package/style/scss/Bootstrap/bootstrap-grid.scss +0 -66
  77. package/style/scss/Bootstrap/bootstrap-reboot.scss +0 -10
  78. package/style/scss/Bootstrap/bootstrap-utilities.scss +0 -19
  79. package/style/scss/Bootstrap/bootstrap.scss +0 -52
  80. package/style/scss/Bootstrap/forms/_floating-labels.scss +0 -90
  81. package/style/scss/Bootstrap/forms/_form-check.scss +0 -188
  82. package/style/scss/Bootstrap/forms/_form-control.scss +0 -201
  83. package/style/scss/Bootstrap/forms/_form-range.scss +0 -91
  84. package/style/scss/Bootstrap/forms/_form-select.scss +0 -81
  85. package/style/scss/Bootstrap/forms/_form-text.scss +0 -11
  86. package/style/scss/Bootstrap/forms/_input-group.scss +0 -132
  87. package/style/scss/Bootstrap/forms/_labels.scss +0 -36
  88. package/style/scss/Bootstrap/forms/_validation.scss +0 -12
  89. package/style/scss/Bootstrap/helpers/_clearfix.scss +0 -3
  90. package/style/scss/Bootstrap/helpers/_color-bg.scss +0 -10
  91. package/style/scss/Bootstrap/helpers/_colored-links.scss +0 -12
  92. package/style/scss/Bootstrap/helpers/_position.scss +0 -36
  93. package/style/scss/Bootstrap/helpers/_ratio.scss +0 -26
  94. package/style/scss/Bootstrap/helpers/_stacks.scss +0 -15
  95. package/style/scss/Bootstrap/helpers/_stretched-link.scss +0 -15
  96. package/style/scss/Bootstrap/helpers/_text-truncation.scss +0 -7
  97. package/style/scss/Bootstrap/helpers/_visually-hidden.scss +0 -8
  98. package/style/scss/Bootstrap/helpers/_vr.scss +0 -8
  99. package/style/scss/Bootstrap/mixins/_alert.scss +0 -18
  100. package/style/scss/Bootstrap/mixins/_backdrop.scss +0 -14
  101. package/style/scss/Bootstrap/mixins/_banner.scss +0 -7
  102. package/style/scss/Bootstrap/mixins/_border-radius.scss +0 -78
  103. package/style/scss/Bootstrap/mixins/_box-shadow.scss +0 -18
  104. package/style/scss/Bootstrap/mixins/_breakpoints.scss +0 -127
  105. package/style/scss/Bootstrap/mixins/_buttons.scss +0 -70
  106. package/style/scss/Bootstrap/mixins/_caret.scss +0 -69
  107. package/style/scss/Bootstrap/mixins/_clearfix.scss +0 -9
  108. package/style/scss/Bootstrap/mixins/_color-mode.scss +0 -21
  109. package/style/scss/Bootstrap/mixins/_color-scheme.scss +0 -7
  110. package/style/scss/Bootstrap/mixins/_container.scss +0 -11
  111. package/style/scss/Bootstrap/mixins/_deprecate.scss +0 -10
  112. package/style/scss/Bootstrap/mixins/_forms.scss +0 -153
  113. package/style/scss/Bootstrap/mixins/_gradients.scss +0 -47
  114. package/style/scss/Bootstrap/mixins/_grid.scss +0 -151
  115. package/style/scss/Bootstrap/mixins/_image.scss +0 -16
  116. package/style/scss/Bootstrap/mixins/_list-group.scss +0 -27
  117. package/style/scss/Bootstrap/mixins/_lists.scss +0 -7
  118. package/style/scss/Bootstrap/mixins/_pagination.scss +0 -10
  119. package/style/scss/Bootstrap/mixins/_reset-text.scss +0 -17
  120. package/style/scss/Bootstrap/mixins/_resize.scss +0 -6
  121. package/style/scss/Bootstrap/mixins/_table-variants.scss +0 -24
  122. package/style/scss/Bootstrap/mixins/_text-truncate.scss +0 -8
  123. package/style/scss/Bootstrap/mixins/_transition.scss +0 -26
  124. package/style/scss/Bootstrap/mixins/_utilities.scss +0 -97
  125. package/style/scss/Bootstrap/mixins/_visually-hidden.scss +0 -29
  126. package/style/scss/Bootstrap/utilities/_api.scss +0 -47
  127. package/style/scss/Bootstrap/vendor/_rfs.scss +0 -354
@@ -1,207 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .btn {
6
- // scss-docs-start btn-css-vars
7
- --#{$prefix}btn-padding-x: #{$btn-padding-x};
8
- --#{$prefix}btn-padding-y: #{$btn-padding-y};
9
- --#{$prefix}btn-font-family: #{$btn-font-family};
10
- @include rfs($btn-font-size, --#{$prefix}btn-font-size);
11
- --#{$prefix}btn-font-weight: #{$btn-font-weight};
12
- --#{$prefix}btn-line-height: #{$btn-line-height};
13
- --#{$prefix}btn-color: #{$body-color};
14
- --#{$prefix}btn-bg: transparent;
15
- --#{$prefix}btn-border-width: #{$btn-border-width};
16
- --#{$prefix}btn-border-color: transparent;
17
- --#{$prefix}btn-border-radius: #{$btn-border-radius};
18
- --#{$prefix}btn-hover-border-color: transparent;
19
- --#{$prefix}btn-box-shadow: #{$btn-box-shadow};
20
- --#{$prefix}btn-disabled-opacity: #{$btn-disabled-opacity};
21
- --#{$prefix}btn-focus-box-shadow: 0 0 0 #{$btn-focus-width} rgba(var(--#{$prefix}btn-focus-shadow-rgb), .5);
22
- // scss-docs-end btn-css-vars
23
-
24
- display: inline-block;
25
- padding: var(--#{$prefix}btn-padding-y) var(--#{$prefix}btn-padding-x);
26
- font-family: var(--#{$prefix}btn-font-family);
27
- @include font-size(var(--#{$prefix}btn-font-size));
28
- font-weight: var(--#{$prefix}btn-font-weight);
29
- line-height: var(--#{$prefix}btn-line-height);
30
- color: var(--#{$prefix}btn-color);
31
- text-align: center;
32
- text-decoration: if($link-decoration == none, null, none);
33
- white-space: $btn-white-space;
34
- vertical-align: middle;
35
- cursor: if($enable-button-pointers, pointer, null);
36
- user-select: none;
37
- border: var(--#{$prefix}btn-border-width) solid var(--#{$prefix}btn-border-color);
38
- @include border-radius(var(--#{$prefix}btn-border-radius));
39
- @include gradient-bg(var(--#{$prefix}btn-bg));
40
- @include box-shadow(var(--#{$prefix}btn-box-shadow));
41
- @include transition($btn-transition);
42
-
43
- &:hover {
44
- color: var(--#{$prefix}btn-hover-color);
45
- text-decoration: if($link-hover-decoration == underline, none, null);
46
- background-color: var(--#{$prefix}btn-hover-bg);
47
- border-color: var(--#{$prefix}btn-hover-border-color);
48
- }
49
-
50
- .btn-check + &:hover {
51
- // override for the checkbox/radio buttons
52
- color: var(--#{$prefix}btn-color);
53
- background-color: var(--#{$prefix}btn-bg);
54
- border-color: var(--#{$prefix}btn-border-color);
55
- }
56
-
57
- &:focus-visible {
58
- color: var(--#{$prefix}btn-hover-color);
59
- @include gradient-bg(var(--#{$prefix}btn-hover-bg));
60
- border-color: var(--#{$prefix}btn-hover-border-color);
61
- outline: 0;
62
- // Avoid using mixin so we can pass custom focus shadow properly
63
- @if $enable-shadows {
64
- box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
65
- } @else {
66
- box-shadow: var(--#{$prefix}btn-focus-box-shadow);
67
- }
68
- }
69
-
70
- .btn-check:focus-visible + & {
71
- border-color: var(--#{$prefix}btn-hover-border-color);
72
- outline: 0;
73
- // Avoid using mixin so we can pass custom focus shadow properly
74
- @if $enable-shadows {
75
- box-shadow: var(--#{$prefix}btn-box-shadow), var(--#{$prefix}btn-focus-box-shadow);
76
- } @else {
77
- box-shadow: var(--#{$prefix}btn-focus-box-shadow);
78
- }
79
- }
80
-
81
- .btn-check:checked + &,
82
- :not(.btn-check) + &:active,
83
- &:first-child:active,
84
- &.active,
85
- &.show {
86
- color: var(--#{$prefix}btn-active-color);
87
- background-color: var(--#{$prefix}btn-active-bg);
88
- // Remove CSS gradients if they're enabled
89
- background-image: if($enable-gradients, none, null);
90
- border-color: var(--#{$prefix}btn-active-border-color);
91
- @include box-shadow(var(--#{$prefix}btn-active-shadow));
92
-
93
- &:focus-visible {
94
- // Avoid using mixin so we can pass custom focus shadow properly
95
- @if $enable-shadows {
96
- box-shadow: var(--#{$prefix}btn-active-shadow), var(--#{$prefix}btn-focus-box-shadow);
97
- } @else {
98
- box-shadow: var(--#{$prefix}btn-focus-box-shadow);
99
- }
100
- }
101
- }
102
-
103
- &:disabled,
104
- &.disabled,
105
- fieldset:disabled & {
106
- color: var(--#{$prefix}btn-disabled-color);
107
- pointer-events: none;
108
- background-color: var(--#{$prefix}btn-disabled-bg);
109
- background-image: if($enable-gradients, none, null);
110
- border-color: var(--#{$prefix}btn-disabled-border-color);
111
- opacity: var(--#{$prefix}btn-disabled-opacity);
112
- @include box-shadow(none);
113
- }
114
- }
115
-
116
-
117
- //
118
- // Alternate buttons
119
- //
120
-
121
- // scss-docs-start btn-variant-loops
122
- @each $color, $value in $theme-colors {
123
- .btn-#{$color} {
124
- @if $color == "light" {
125
- @include button-variant(
126
- $value,
127
- $value,
128
- $hover-background: shade-color($value, $btn-hover-bg-shade-amount),
129
- $hover-border: shade-color($value, $btn-hover-border-shade-amount),
130
- $active-background: shade-color($value, $btn-active-bg-shade-amount),
131
- $active-border: shade-color($value, $btn-active-border-shade-amount)
132
- );
133
- } @else if $color == "dark" {
134
- @include button-variant(
135
- $value,
136
- $value,
137
- $hover-background: tint-color($value, $btn-hover-bg-tint-amount),
138
- $hover-border: tint-color($value, $btn-hover-border-tint-amount),
139
- $active-background: tint-color($value, $btn-active-bg-tint-amount),
140
- $active-border: tint-color($value, $btn-active-border-tint-amount)
141
- );
142
- } @else {
143
- @include button-variant($value, $value);
144
- }
145
- }
146
- }
147
-
148
- @each $color, $value in $theme-colors {
149
- .btn-outline-#{$color} {
150
- @include button-outline-variant($value);
151
- }
152
- }
153
- // scss-docs-end btn-variant-loops
154
-
155
-
156
- //
157
- // Link buttons
158
- //
159
-
160
- // Make a button look and behave like a link
161
- .btn-link {
162
- --#{$prefix}btn-font-weight: #{$font-weight-normal};
163
- --#{$prefix}btn-color: #{$btn-link-color};
164
- --#{$prefix}btn-bg: transparent;
165
- --#{$prefix}btn-border-color: transparent;
166
- --#{$prefix}btn-hover-color: #{$btn-link-hover-color};
167
- --#{$prefix}btn-hover-border-color: transparent;
168
- --#{$prefix}btn-active-color: #{$btn-link-hover-color};
169
- --#{$prefix}btn-active-border-color: transparent;
170
- --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
171
- --#{$prefix}btn-disabled-border-color: transparent;
172
- --#{$prefix}btn-box-shadow: none;
173
- --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};
174
-
175
- text-decoration: $link-decoration;
176
- @if $enable-gradients {
177
- background-image: none;
178
- }
179
-
180
- &:hover,
181
- &:focus-visible {
182
- text-decoration: $link-hover-decoration;
183
- }
184
-
185
- &:focus-visible {
186
- color: var(--#{$prefix}btn-color);
187
- }
188
-
189
- &:hover {
190
- color: var(--#{$prefix}btn-hover-color);
191
- }
192
-
193
- // No need for an active state here
194
- }
195
-
196
-
197
- //
198
- // Button Sizes
199
- //
200
-
201
- .btn-lg {
202
- @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg);
203
- }
204
-
205
- .btn-sm {
206
- @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm);
207
- }
@@ -1,238 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .card {
6
- // scss-docs-start card-css-vars
7
- --#{$prefix}card-spacer-y: #{$card-spacer-y};
8
- --#{$prefix}card-spacer-x: #{$card-spacer-x};
9
- --#{$prefix}card-title-spacer-y: #{$card-title-spacer-y};
10
- --#{$prefix}card-title-color: #{$card-title-color};
11
- --#{$prefix}card-subtitle-color: #{$card-subtitle-color};
12
- --#{$prefix}card-border-width: #{$card-border-width};
13
- --#{$prefix}card-border-color: #{$card-border-color};
14
- --#{$prefix}card-border-radius: #{$card-border-radius};
15
- --#{$prefix}card-box-shadow: #{$card-box-shadow};
16
- --#{$prefix}card-inner-border-radius: #{$card-inner-border-radius};
17
- --#{$prefix}card-cap-padding-y: #{$card-cap-padding-y};
18
- --#{$prefix}card-cap-padding-x: #{$card-cap-padding-x};
19
- --#{$prefix}card-cap-bg: #{$card-cap-bg};
20
- --#{$prefix}card-cap-color: #{$card-cap-color};
21
- --#{$prefix}card-height: #{$card-height};
22
- --#{$prefix}card-color: #{$card-color};
23
- --#{$prefix}card-bg: #{$card-bg};
24
- --#{$prefix}card-img-overlay-padding: #{$card-img-overlay-padding};
25
- --#{$prefix}card-group-margin: #{$card-group-margin};
26
- // scss-docs-end card-css-vars
27
-
28
- position: relative;
29
- display: flex;
30
- flex-direction: column;
31
- min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
32
- height: var(--#{$prefix}card-height);
33
- word-wrap: break-word;
34
- background-color: var(--#{$prefix}card-bg);
35
- background-clip: border-box;
36
- border: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);
37
- @include border-radius(var(--#{$prefix}card-border-radius));
38
- @include box-shadow(var(--#{$prefix}card-box-shadow));
39
-
40
- > hr {
41
- margin-right: 0;
42
- margin-left: 0;
43
- }
44
-
45
- > .list-group {
46
- border-top: inherit;
47
- border-bottom: inherit;
48
-
49
- &:first-child {
50
- border-top-width: 0;
51
- @include border-top-radius(var(--#{$prefix}card-inner-border-radius));
52
- }
53
-
54
- &:last-child {
55
- border-bottom-width: 0;
56
- @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));
57
- }
58
- }
59
-
60
- // Due to specificity of the above selector (`.card > .list-group`), we must
61
- // use a child selector here to prevent double borders.
62
- > .card-header + .list-group,
63
- > .list-group + .card-footer {
64
- border-top: 0;
65
- }
66
- }
67
-
68
- .card-body {
69
- // Enable `flex-grow: 1` for decks and groups so that card blocks take up
70
- // as much space as possible, ensuring footers are aligned to the bottom.
71
- flex: 1 1 auto;
72
- padding: var(--#{$prefix}card-spacer-y) var(--#{$prefix}card-spacer-x);
73
- color: var(--#{$prefix}card-color);
74
- }
75
-
76
- .card-title {
77
- margin-bottom: var(--#{$prefix}card-title-spacer-y);
78
- color: var(--#{$prefix}card-title-color);
79
- }
80
-
81
- .card-subtitle {
82
- margin-top: calc(-.5 * var(--#{$prefix}card-title-spacer-y)); // stylelint-disable-line function-disallowed-list
83
- margin-bottom: 0;
84
- color: var(--#{$prefix}card-subtitle-color);
85
- }
86
-
87
- .card-text:last-child {
88
- margin-bottom: 0;
89
- }
90
-
91
- .card-link {
92
- &:hover {
93
- text-decoration: if($link-hover-decoration == underline, none, null);
94
- }
95
-
96
- + .card-link {
97
- margin-left: var(--#{$prefix}card-spacer-x);
98
- }
99
- }
100
-
101
- //
102
- // Optional textual caps
103
- //
104
-
105
- .card-header {
106
- padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);
107
- margin-bottom: 0; // Removes the default margin-bottom of <hN>
108
- color: var(--#{$prefix}card-cap-color);
109
- background-color: var(--#{$prefix}card-cap-bg);
110
- border-bottom: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);
111
-
112
- &:first-child {
113
- @include border-radius(var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius) 0 0);
114
- }
115
- }
116
-
117
- .card-footer {
118
- padding: var(--#{$prefix}card-cap-padding-y) var(--#{$prefix}card-cap-padding-x);
119
- color: var(--#{$prefix}card-cap-color);
120
- background-color: var(--#{$prefix}card-cap-bg);
121
- border-top: var(--#{$prefix}card-border-width) solid var(--#{$prefix}card-border-color);
122
-
123
- &:last-child {
124
- @include border-radius(0 0 var(--#{$prefix}card-inner-border-radius) var(--#{$prefix}card-inner-border-radius));
125
- }
126
- }
127
-
128
-
129
- //
130
- // Header navs
131
- //
132
-
133
- .card-header-tabs {
134
- margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list
135
- margin-bottom: calc(-1 * var(--#{$prefix}card-cap-padding-y)); // stylelint-disable-line function-disallowed-list
136
- margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list
137
- border-bottom: 0;
138
-
139
- .nav-link.active {
140
- background-color: var(--#{$prefix}card-bg);
141
- border-bottom-color: var(--#{$prefix}card-bg);
142
- }
143
- }
144
-
145
- .card-header-pills {
146
- margin-right: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list
147
- margin-left: calc(-.5 * var(--#{$prefix}card-cap-padding-x)); // stylelint-disable-line function-disallowed-list
148
- }
149
-
150
- // Card image
151
- .card-img-overlay {
152
- position: absolute;
153
- top: 0;
154
- right: 0;
155
- bottom: 0;
156
- left: 0;
157
- padding: var(--#{$prefix}card-img-overlay-padding);
158
- @include border-radius(var(--#{$prefix}card-inner-border-radius));
159
- }
160
-
161
- .card-img,
162
- .card-img-top,
163
- .card-img-bottom {
164
- width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
165
- }
166
-
167
- .card-img,
168
- .card-img-top {
169
- @include border-top-radius(var(--#{$prefix}card-inner-border-radius));
170
- }
171
-
172
- .card-img,
173
- .card-img-bottom {
174
- @include border-bottom-radius(var(--#{$prefix}card-inner-border-radius));
175
- }
176
-
177
-
178
- //
179
- // Card groups
180
- //
181
-
182
- .card-group {
183
- // The child selector allows nested `.card` within `.card-group`
184
- // to display properly.
185
- > .card {
186
- margin-bottom: var(--#{$prefix}card-group-margin);
187
- }
188
-
189
- @include media-breakpoint-up(sm) {
190
- display: flex;
191
- flex-flow: row wrap;
192
- // The child selector allows nested `.card` within `.card-group`
193
- // to display properly.
194
- > .card {
195
- // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
196
- flex: 1 0 0%;
197
- margin-bottom: 0;
198
-
199
- + .card {
200
- margin-left: 0;
201
- border-left: 0;
202
- }
203
-
204
- // Handle rounded corners
205
- @if $enable-rounded {
206
- &:not(:last-child) {
207
- @include border-end-radius(0);
208
-
209
- .card-img-top,
210
- .card-header {
211
- // stylelint-disable-next-line property-disallowed-list
212
- border-top-right-radius: 0;
213
- }
214
- .card-img-bottom,
215
- .card-footer {
216
- // stylelint-disable-next-line property-disallowed-list
217
- border-bottom-right-radius: 0;
218
- }
219
- }
220
-
221
- &:not(:first-child) {
222
- @include border-start-radius(0);
223
-
224
- .card-img-top,
225
- .card-header {
226
- // stylelint-disable-next-line property-disallowed-list
227
- border-top-left-radius: 0;
228
- }
229
- .card-img-bottom,
230
- .card-footer {
231
- // stylelint-disable-next-line property-disallowed-list
232
- border-bottom-left-radius: 0;
233
- }
234
- }
235
- }
236
- }
237
- }
238
- }
@@ -1,238 +0,0 @@
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
- .carousel-item-next:not(.carousel-item-start),
46
- .active.carousel-item-end {
47
- transform: translateX(100%);
48
- }
49
-
50
- .carousel-item-prev:not(.carousel-item-end),
51
- .active.carousel-item-start {
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-start,
69
- .carousel-item-prev.carousel-item-end {
70
- z-index: 1;
71
- opacity: 1;
72
- }
73
-
74
- .active.carousel-item-start,
75
- .active.carousel-item-end {
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
- padding: 0;
99
- color: $carousel-control-color;
100
- text-align: center;
101
- background: none;
102
- border: 0;
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/controls
151
- //
152
- // Add a container (such as a list) with the following class and add an item (ideally a focusable control,
153
- // like a button) with data-bs-target for each 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: 0;
164
- // Use the .carousel-control's width as margin so we don't overlay those
165
- margin-right: $carousel-control-width;
166
- margin-bottom: 1rem;
167
- margin-left: $carousel-control-width;
168
- list-style: none;
169
-
170
- [data-bs-target] {
171
- box-sizing: content-box;
172
- flex: 0 1 auto;
173
- width: $carousel-indicator-width;
174
- height: $carousel-indicator-height;
175
- padding: 0;
176
- margin-right: $carousel-indicator-spacer;
177
- margin-left: $carousel-indicator-spacer;
178
- text-indent: -999px;
179
- cursor: pointer;
180
- background-color: $carousel-indicator-active-bg;
181
- background-clip: padding-box;
182
- border: 0;
183
- // Use transparent borders to increase the hit area by 10px on top and bottom.
184
- border-top: $carousel-indicator-hit-area-height solid transparent;
185
- border-bottom: $carousel-indicator-hit-area-height solid transparent;
186
- opacity: $carousel-indicator-opacity;
187
- @include transition($carousel-indicator-transition);
188
- }
189
-
190
- .active {
191
- opacity: $carousel-indicator-active-opacity;
192
- }
193
- }
194
-
195
-
196
- // Optional captions
197
- //
198
- //
199
-
200
- .carousel-caption {
201
- position: absolute;
202
- right: (100% - $carousel-caption-width) * .5;
203
- bottom: $carousel-caption-spacer;
204
- left: (100% - $carousel-caption-width) * .5;
205
- padding-top: $carousel-caption-padding-y;
206
- padding-bottom: $carousel-caption-padding-y;
207
- color: $carousel-caption-color;
208
- text-align: center;
209
- }
210
-
211
- // Dark mode carousel
212
-
213
- @mixin carousel-dark() {
214
- .carousel-control-prev-icon,
215
- .carousel-control-next-icon {
216
- filter: $carousel-dark-control-icon-filter;
217
- }
218
-
219
- .carousel-indicators [data-bs-target] {
220
- background-color: $carousel-dark-indicator-active-bg;
221
- }
222
-
223
- .carousel-caption {
224
- color: $carousel-dark-caption-color;
225
- }
226
- }
227
-
228
- .carousel-dark {
229
- @include carousel-dark();
230
- }
231
-
232
- @if $enable-dark-mode {
233
- @include color-mode(dark) {
234
- .carousel {
235
- @include carousel-dark();
236
- }
237
- }
238
- }