Files
EdgeAdmin/web/views/@default/@left_menu.less

141 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-08-21 12:32:16 +08:00
.left-box {
width: 8em;
position: fixed;
top: 7.5em;
2021-01-24 14:41:43 +08:00
bottom: 2.4em;
2020-08-21 12:32:16 +08:00
overflow-y: auto;
overflow-x: hidden;
border-right: 1px #ddd solid;
.menu {
width: 90% !important;
.item {
line-height: 1.2;
position: relative;
padding-left: 1em !important;
.icon {
position: absolute;
top: 50%;
left: 0;
margin-top: -0.4em !important;
}
}
2020-08-21 21:09:42 +08:00
.item.separator {
border-bottom: 1px #eee solid !important;
padding-top: 0;
padding-bottom: 0;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
2020-08-21 12:32:16 +08:00
2020-09-27 18:40:55 +08:00
.item.on {
span {
border-bottom: 1px #666 dashed;
}
}
2020-09-27 18:40:55 +08:00
.item.off {
span {
var {
font-style: normal;
background: #db2828;
color: white;
font-size: 8px;
padding: 2px;
border-radius: 2px;
margin-left: 1em;
}
}
}
2020-08-21 21:09:42 +08:00
// .header需要在.item下面
2020-08-21 12:32:16 +08:00
.header {
border-bottom: 1px #ddd solid;
padding-left: 0 !important;
padding-bottom: 1em !important;
}
.item.active {
}
}
}
.left-box::-webkit-scrollbar {
width: 4px;
}
2020-09-21 19:51:50 +08:00
.left-box.disabled {
2020-09-26 11:21:52 +08:00
opacity: 0.1;
}
2020-09-21 19:51:50 +08:00
.left-box.tiny {
2020-09-22 11:36:51 +08:00
top: 10.5em;
2020-09-21 19:51:50 +08:00
}
2020-11-10 15:40:22 +08:00
.left-box.without-tabbar {
top: 3em;
}
2021-09-13 16:47:34 +08:00
.left-box.with-menu {
2023-05-28 11:31:59 +08:00
top: 9em;
2021-09-13 16:47:34 +08:00
}
.left-box.without-menu {
top: 6em;
}
2020-08-21 12:32:16 +08:00
.right-box {
2020-09-06 16:19:34 +08:00
position: fixed;
top: 7.5em;
bottom: 1.3em;
2020-09-06 16:19:34 +08:00
right: 0;
left: 18em;
padding-right: 2em;
padding-bottom: 2em;
2020-09-06 16:19:34 +08:00
overflow-y: auto;
2020-08-21 12:32:16 +08:00
}
2020-09-06 16:19:34 +08:00
@media screen and (max-width: 512px) {
.right-box {
left: 13em;
padding-right: 1em;
}
}
body.expanded .right-box {
left: 10em;
}
2020-09-22 11:36:51 +08:00
.right-box.tiny {
2020-09-28 16:25:26 +08:00
top: 10.4em;
2020-09-22 11:36:51 +08:00
left: 26.5em;
}
2020-09-06 16:19:34 +08:00
.right-box::-webkit-scrollbar {
width: 4px;
2020-09-21 19:51:50 +08:00
}
2020-11-10 15:40:22 +08:00
.right-box.without-tabbar {
top: 3em;
}
2021-01-24 14:41:43 +08:00
2021-09-13 16:47:34 +08:00
.right-box.with-menu {
2023-05-28 11:31:59 +08:00
top: 9em;
2021-09-13 16:47:34 +08:00
}
2021-01-24 14:41:43 +08:00
.right-box.without-menu {
top: 6em;
}
2021-01-24 14:41:43 +08:00
// main
.main.without-footer .left-box {
bottom: 0.2em;
2021-12-06 08:55:47 +08:00
}
// scrollbar
.narrow-scrollbar::-webkit-scrollbar {
width: 4px;
2021-01-24 14:41:43 +08:00
}