init
This commit is contained in:
37
src/assets/main.css
Normal file
37
src/assets/main.css
Normal file
@@ -0,0 +1,37 @@
|
||||
@import './base.css';
|
||||
#app{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
.global-modal-mask {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, .85);
|
||||
}
|
||||
|
||||
.global-modal-content {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
|
||||
.global-modal.position-bottom .global-modal-content {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.global-modal.position-top .global-modal-content {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.global-modal.position-center .global-modal-content {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
Reference in New Issue
Block a user