2024-04-25 16:01:08: merge [main:7f9a52684105c7ff0a068812245c462ceb6d553e];
This commit is contained in:
1 parent
5a5f104174
commit
a31c44eb7b
121 files changed
+14802
-84
No files matched your search
@@ -0,0 +1,64 @@
|
||||
@import "src/constants/style/styleConst";
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: rgba(211, 211, 211, 0.8);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 100;
|
||||
&__wrap {
|
||||
min-width: 310px;
|
||||
min-height: 170px;
|
||||
max-height: 90vh;
|
||||
max-width: 90%;
|
||||
background: white;
|
||||
color: white;
|
||||
z-index: 10;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.04);
|
||||
position: relative;
|
||||
padding: $basic-padding * 1.5;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&__header {
|
||||
height: 50px;
|
||||
background: white;
|
||||
overflow: hidden;
|
||||
border-top-left-radius: 16px;
|
||||
border-top-right-radius: 16px;
|
||||
}
|
||||
&__title {
|
||||
color: $grey;
|
||||
}
|
||||
&__content {
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
color: #2c3e50;
|
||||
overflow: auto;
|
||||
}
|
||||
&__footer {
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-top: $basic-margin;
|
||||
button:first-child {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.modal-open {
|
||||
overflow: hidden;
|
||||
padding-right: 14px;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user