100 lines
1.7 KiB
SCSS
100 lines
1.7 KiB
SCSS
|
/*
|
||
|
|
||
|
Modals
|
||
|
~~~~~~
|
||
|
|
||
|
*/
|
||
|
|
||
|
@import '../../styles/_global/all';
|
||
|
|
||
|
.cabana-modal {
|
||
|
&-backdrop {
|
||
|
background: rgba(233,233,233,.8);
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
opacity: 0;
|
||
|
pointer-events: none;
|
||
|
transition-duration: .1s;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
&-container {
|
||
|
background: #fff;
|
||
|
border: 1px solid $color-grey-30;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: rgba(0,0,0,.07) 0 2px 18px 8px;
|
||
|
transform: translate(-50%, -50%);
|
||
|
left: 50%;
|
||
|
margin-top: 18px;
|
||
|
opacity: 0;
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
width: 600px;
|
||
|
transition: ease-in-out .2s;
|
||
|
z-index: 101;
|
||
|
}
|
||
|
&-header {
|
||
|
padding: 44px 50px 34px;
|
||
|
position: relative;
|
||
|
h1 {
|
||
|
font-size: 24px;
|
||
|
margin: 0 0 11px;
|
||
|
}
|
||
|
p {
|
||
|
color: $color-grey-70;
|
||
|
font-size: 14px;
|
||
|
margin: 0;
|
||
|
}
|
||
|
}
|
||
|
&-close-icon {
|
||
|
&:before {
|
||
|
content: $fa-var-close;
|
||
|
color: $color-grey-30;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
font-family: 'FontAwesome';
|
||
|
font-size: 22px;
|
||
|
position: absolute;
|
||
|
right: 22px;
|
||
|
top: 18px;
|
||
|
padding: 5px;
|
||
|
transition-duration: .1s;
|
||
|
z-index: 110;
|
||
|
}
|
||
|
&:hover:before {
|
||
|
color: $color-grey-40;
|
||
|
}
|
||
|
}
|
||
|
&-body {
|
||
|
background: $color-grey-10;
|
||
|
border-color: $color-grey-30;
|
||
|
border-style: solid;
|
||
|
border-width: 1px 0;
|
||
|
padding: 34px 50px;
|
||
|
}
|
||
|
&-actions {
|
||
|
text-align: right;
|
||
|
padding: 22px 50px;
|
||
|
width: 100%;
|
||
|
button {
|
||
|
display: inline-block;
|
||
|
&:not(:last-child) {
|
||
|
margin-right: 11px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&.cabana-modal--small {
|
||
|
width: 480px;
|
||
|
}
|
||
|
&.cabana-modal--large {
|
||
|
width: 800px;
|
||
|
}
|
||
|
|
||
|
// Overrides
|
||
|
.cabana-tabs-navigation {
|
||
|
padding: 0 44px;
|
||
|
}
|
||
|
}
|