File: /home/intake/public_html/wwwroot/css/sass/gui/_modals.scss
/* Modals */
.modal {
z-index: 1100;
}
// MAGNIFIC POPUP CONFIG
// -----------------------------------------------------------------------------
.mfp-bg {
z-index: 10000;
}
.mfp-wrap {
z-index: 10000 + 1;
.mfp-content {
z-index: 10000 + 1;
}
}
// MODAL
// -----------------------------------------------------------------------------
.modal-block {
background: transparent;
padding: 0;
text-align: left;
max-width: 600px;
margin: 40px auto;
position: relative;
&.modal-block-xs {
max-width: 200px;
}
&.modal-block-sm {
max-width: 400px;
}
&.modal-block-md {
max-width: 600px;
}
&.modal-block-lg {
max-width: 900px;
}
&.modal-block-full {
max-width: 98%;
}
&.modal-header-color {
.card-header {
h2 {
color: #FFF;
}
}
}
&.modal-full-color {
color: #FFF;
.card-header {
border: 0;
h2 {
color: #FFF;
}
}
.card-footer {
border: 0;
}
.card-body {
background-color: transparent;
}
.fa, .fab, .fal, .far, .fas {
color: #FFF !important;
}
p {
color: #FFF;
}
}
}
/* Modal Wrapper */
.modal-wrapper {
position: relative;
padding: 25px 0;
}
/* Modal Icon */
.modal-icon {
float: left;
width: 20%;
text-align: center;
.fa, .fab, .fal, .far, .fas {
font-size: 52px;
position: relative;
top: -10px;
color: $color-primary;
}
&.center {
float: none;
width: auto;
padding-top: 20px;
+ .modal-text {
float: none;
width: auto;
}
}
+ .modal-text {
float: left;
width: 80%;
}
}
/* Modal Text */
.modal-text {
padding: 0 5px;
h1, h2, h3, h4, h5, h6 {
padding: 0;
margin: -7px 0 4px 0;
}
}
// STATES
// -----------------------------------------------------------------------------
@each $state in $states {
.modal-block-#{nth($state,1)} {
.fa, .fab, .fal, .far, .fas {
color: #{nth($state,2)};
}
&.modal-header-color {
.card-header {
background-color: #{nth($state,2)};
}
}
&.modal-full-color {
.card {
background-color: lighten(nth($state,2), 8%);
}
.card-header {
background-color: #{nth($state,2)};
}
.card-footer {
background-color: lighten(nth($state,2), 8%);
}
}
}
}
// DARK
// -----------------------------------------------------------------------------
html.dark {
.modal-content {
background-color: $dark-bg;
}
.modal-header,
.modal-footer {
border-color: $dark-color-3;
}
}