mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-25 15:40:49 +08:00
feat: main layout
This commit is contained in:
@@ -16,9 +16,9 @@ export default {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 20px;
|
||||
background-color: #42b983;
|
||||
color: white;
|
||||
height: var(--header-height);
|
||||
background-color: var(--header-background-color);
|
||||
color: var(--header-text-color);
|
||||
}
|
||||
.menu-btn {
|
||||
font-size: 24px;
|
||||
|
||||
@@ -23,13 +23,9 @@ export default {
|
||||
<style scoped>
|
||||
.menu {
|
||||
width: 200px;
|
||||
background-color: #f5f5f5;
|
||||
padding: 10px;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: var(--menu-background-color);
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - var(--header-height));
|
||||
}
|
||||
.slide-enter-active, .slide-leave-active {
|
||||
transition: transform 0.3s ease;
|
||||
|
||||
Reference in New Issue
Block a user