2024-07-16 21:24:09 +08:00
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
li {
|
2024-07-16 22:17:12 +08:00
|
|
|
list-style-type: none;
|
2024-07-16 21:24:09 +08:00
|
|
|
}
|
|
|
|
|
2024-07-16 22:17:12 +08:00
|
|
|
/* .dr-home */
|
2024-07-16 21:24:09 +08:00
|
|
|
.dr-home {
|
|
|
|
display: flex;
|
2024-07-16 22:17:12 +08:00
|
|
|
flex-direction: column; /* 容器内的元素从上至下排列 */
|
2024-07-16 21:24:09 +08:00
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
2024-07-16 22:17:12 +08:00
|
|
|
/* .dr-home .header */
|
2024-07-16 21:24:09 +08:00
|
|
|
.dr-home .header {
|
|
|
|
display: flex;
|
|
|
|
height: 55px;
|
|
|
|
background: #393d49;
|
|
|
|
}
|
|
|
|
|
2024-07-16 22:17:12 +08:00
|
|
|
.dr-home .header .title {
|
|
|
|
display: flex;
|
|
|
|
width: 200px;
|
|
|
|
background: #0c0c0c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .title .logo {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .title .logo i {
|
|
|
|
color: lightslategray;
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .title .text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .title .text a {
|
|
|
|
color: lightslategray;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .info {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .info .admin {
|
|
|
|
display: flex;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .info .admin .name {
|
|
|
|
padding-right: 10px;
|
|
|
|
height: 55px;
|
|
|
|
line-height: 55px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .info .admin .name i {
|
|
|
|
color: #FF5722;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .header .info .admin .exit {
|
|
|
|
width: 90px;
|
|
|
|
height: 55px;
|
|
|
|
line-height: 55px;
|
|
|
|
text-align: center;
|
|
|
|
background: #555c64;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .dr-home .main */
|
2024-07-16 21:24:09 +08:00
|
|
|
.dr-home .main {
|
|
|
|
display: flex;
|
2024-07-16 22:17:12 +08:00
|
|
|
height: calc(100vh - 55px); /* 减去 header 高度 */
|
2024-07-16 21:24:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .main .side {
|
|
|
|
width: 200px;
|
|
|
|
background: #545c64;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dr-home .main .content {
|
|
|
|
padding: 5px;
|
|
|
|
flex: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|