1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-10 04:54:14 +01:00

102 lines
2.0 KiB
SCSS
Raw Normal View History

@keyframes slideInFromTop {
0% { transform: translate(0, -25%); }
100% { transform: translate(0, 0); }
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 0.9; }
}
.fab-modal-overlay {
z-index: 1050;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.9);
animation: 0.15s linear fadeIn;
}
2020-11-30 16:52:55 +01:00
.fab-modal-sm { width: 340px; }
.fab-modal-md { width: 440px; }
.fab-modal-lg { width: 600px; }
.fab-modal {
animation: 0.3s ease-out slideInFromTop;
position: relative;
top: 90px;
margin: auto;
opacity: 1;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
outline: 0;
.fab-modal-header {
padding: 8px;
border-bottom: 1px solid #e5e5e5;
.modal-logo {
position: absolute;
top: -70px;
left: 0;
right: 0;
margin: 0 auto;
max-height: 44px;
}
h1 {
margin: 25px 0 20px 0;
font-weight: bold;
text-transform: uppercase;
text-align: center;
}
}
.fab-modal-content {
position: relative;
padding: 15px;
}
.fab-modal-footer {
2020-11-30 16:52:55 +01:00
position: relative;
padding: 15px;
text-align: right;
border-top: 1px solid #e5e5e5;
.modal-btn {
margin-bottom: 0;
margin-left: 5px;
display: inline-block;
font-weight: normal;
text-align: center;
white-space: nowrap;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
padding: 6px 12px;
font-size: 16px;
line-height: 1.5;
border-radius: 4px;
&--close {
@extend .modal-btn;
color: black;
background-color: #fbfbfb;
border: 1px solid #c9c9c9;
&:hover {
background-color: #f2f2f2;
}
}
&--confirm {
@extend .modal-btn;
}
}
}
}