mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-07 23:35:44 +08:00
92 lines
1.4 KiB
SCSS
92 lines
1.4 KiB
SCSS
.layout {
|
|
width: 100%;
|
|
height: 100vh;
|
|
display: flex;
|
|
overflow: hidden;
|
|
|
|
&__left {
|
|
flex: 1 0 25%;
|
|
display: flex;
|
|
height: 100%;
|
|
max-width: 225px;
|
|
min-width: 125px;
|
|
padding: 8px 0;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
user-select: none;
|
|
overflow: hidden;
|
|
|
|
.the-logo {
|
|
position: relative;
|
|
flex: 0 1 180px;
|
|
width: 100%;
|
|
max-width: 168px;
|
|
max-height: 168px;
|
|
margin: 0 auto;
|
|
padding: 0 8px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
.the-newbtn {
|
|
position: absolute;
|
|
right: 20px;
|
|
bottom: 12px;
|
|
transform: scale(0.8);
|
|
}
|
|
}
|
|
|
|
.the-menu {
|
|
flex: 1 1 75%;
|
|
overflow-y: auto;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.the-traffic {
|
|
flex: 0 0 60px;
|
|
|
|
> div {
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__right {
|
|
position: relative;
|
|
flex: 1 1 75%;
|
|
height: 100%;
|
|
|
|
.the-bar {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 8px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
z-index: 2;
|
|
}
|
|
|
|
.the-content {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 2px;
|
|
bottom: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.linux,
|
|
.windows,
|
|
.unknown {
|
|
&.layout {
|
|
.layout__right .the-content {
|
|
top: 30px;
|
|
}
|
|
}
|
|
}
|