[Update] To be switchable between ConfigPage and MainPage.
This commit is contained in:
33
src-ui/app/App.module.scss
Normal file
33
src-ui/app/App.module.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.page {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
|
||||
}
|
||||
|
||||
.main_page {
|
||||
// z-index: 1;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.config_page {
|
||||
// z-index: 0;
|
||||
}
|
||||
|
||||
.show_config.main_page {
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
.show_main.main_page {
|
||||
transform: translateY(0);
|
||||
}
|
||||
Reference in New Issue
Block a user