2 $modal-distance:10px;
\r
3 $modal-info-color: #5394ff;
\r
4 $modal-success-color: #01d36b;
\r
5 $modal-warning-color: #ff8e38;
\r
6 $modal-danger-color: #ff4b4b;
\r
11 padding-right: 0 !important;
\r
18 // *** ENHANCED BOOTSTRAP MODALS ***///
\r
22 @include border-radius(2px);
\r
23 @extend .z-depth-1-half;
\r
44 top: $modal-distance;
\r
45 left: $modal-distance;
\r
48 top: $modal-distance;
\r
49 right: $modal-distance;
\r
51 &.modal-bottom-left {
\r
52 left: $modal-distance;
\r
53 bottom: $modal-distance;
\r
55 &.modal-bottom-right {
\r
56 right: $modal-distance;
\r
57 bottom: $modal-distance;
\r
61 &.top:not(.show) .modal-dialog {
\r
62 transform: translate3d(0, -25%, 0);
\r
64 &.left:not(.show) .modal-dialog {
\r
65 transform: translate3d(-25%, 0, 0);
\r
67 &.right:not(.show) .modal-dialog {
\r
68 transform: translate3d(25%, 0, 0);
\r
70 &.bottom:not(.show) .modal-dialog {
\r
71 transform: translate3d(0, 25%, 0);
\r
81 &.modal-content-clickable {
\r
104 .modal-full-height {
\r
106 position: absolute;
\r
113 &.modal-top, &.modal-bottom {
\r
131 @media (min-width:992px) {
\r
135 @media (min-width:1200px) {
\r
142 position: absolute;
\r
143 right: $modal-distance;
\r
144 bottom: $modal-distance;
\r
153 color:#fff !important;
\r
155 [class*="btn-outline-"] .fa {
\r
156 color: inherit !important;
\r
158 // Cascading modals
\r
159 &.cascading-modal {
\r
161 // Cascading header
\r
163 text-align: center;
\r
164 margin: -2rem 1rem 1rem 1rem;
\r
167 flex-direction: column;
\r
168 @extend .z-depth-1-half;
\r
169 @include border-radius(3px);
\r
171 margin-right: 2.5rem;
\r
182 font-size: 1.25rem;
\r
188 margin-top: 1.5rem;
\r
194 // Cascading tabs nav
\r
197 margin: -1.5rem 1rem 0 1rem;
\r
198 @extend .z-depth-1;
\r
201 padding: 1.7rem 0 0 0;
\r
204 // Footer customization
\r
208 padding-right: 2rem;
\r
209 padding-left: 2rem;
\r
210 .additional-option {
\r
211 text-align: center;
\r
215 // Cascading avatar
\r
219 @extend .z-depth-0;
\r
220 @extend .img-fluid;
\r
221 margin: -6rem 2rem -1rem 2rem;
\r
224 @extend .z-depth-2;
\r
235 font-size: 1.15rem;
\r
238 @extend .z-depth-1;
\r
248 .btn-outline-secondary-modal {
\r
249 background-color: transparent;
\r
254 background-color: $modal-info-color;
\r
257 color: $modal-info-color;
\r
260 background-color: $modal-info-color;
\r
262 .btn-primary-modal {
\r
263 background: $modal-info-color;
\r
267 background-color: lighten( $modal-info-color, 5%)!important;
\r
270 background-color: darken( $modal-info-color, 20%)!important;
\r
271 @extend .z-depth-1-half;
\r
274 .btn-outline-secondary-modal {
\r
275 border: 2px solid $modal-info-color;
\r
276 color: $modal-info-color!important;
\r
282 background-color: $modal-warning-color;
\r
285 color: $modal-warning-color;
\r
288 background-color: $modal-warning-color;
\r
290 .btn-primary-modal {
\r
291 background: $modal-warning-color;
\r
295 background-color: lighten( $modal-warning-color, 5%)!important;
\r
298 background-color: darken( $modal-warning-color, 20%)!important;
\r
299 @extend .z-depth-1-half;
\r
302 .btn-outline-secondary-modal {
\r
303 border: 2px solid $modal-warning-color;
\r
304 color: $modal-warning-color!important;
\r
310 background-color: $modal-success-color;
\r
313 color: $modal-success-color;
\r
316 background-color: $modal-success-color;
\r
318 .btn-primary-modal {
\r
319 background: $modal-success-color;
\r
323 background-color: lighten( $modal-success-color, 5%)!important;
\r
326 background-color: darken( $modal-success-color, 20%)!important;
\r
327 @extend .z-depth-1-half;
\r
330 .btn-outline-secondary-modal {
\r
331 border: 2px solid $modal-success-color;
\r
332 color: $modal-success-color!important;
\r
338 background-color: $modal-danger-color;
\r
341 color: $modal-danger-color;
\r
344 background-color: $modal-danger-color;
\r
346 .btn-primary-modal {
\r
347 background: $modal-danger-color;
\r
351 background-color: lighten( $modal-danger-color, 5%)!important;
\r
354 background-color: darken( $modal-danger-color, 20%)!important;
\r
355 @extend .z-depth-1-half;
\r
358 .btn-outline-secondary-modal {
\r
359 border: 2px solid $modal-danger-color;
\r
360 color: $modal-danger-color!important;
\r