2021-12-08 23:36:34 +08:00
|
|
|
.layout {
|
|
|
|
|
width: 100%;
|
2022-01-08 22:23:48 +08:00
|
|
|
height: 100vh;
|
2021-12-08 23:36:34 +08:00
|
|
|
display: flex;
|
2021-12-11 20:35:02 +08:00
|
|
|
overflow: hidden;
|
2021-12-08 23:36:34 +08:00
|
|
|
|
2022-01-08 22:23:48 +08:00
|
|
|
&__left {
|
2024-03-10 07:00:24 +08:00
|
|
|
flex: 1 0 200px;
|
2022-01-08 22:23:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
height: 100%;
|
2024-03-09 21:37:21 +08:00
|
|
|
width: 100%;
|
|
|
|
|
// max-width: 225px;
|
|
|
|
|
// min-width: 225px;
|
2023-11-22 14:52:14 +08:00
|
|
|
padding: 16px 0 8px;
|
2024-03-09 21:37:21 +08:00
|
|
|
// position: relative;
|
2022-01-08 22:23:48 +08:00
|
|
|
flex-direction: column;
|
2024-03-09 21:37:21 +08:00
|
|
|
align-self: stretch;
|
2022-01-08 22:23:48 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
user-select: none;
|
2022-11-23 17:42:01 +08:00
|
|
|
-webkit-user-select: none;
|
|
|
|
|
-moz-user-select: none;
|
|
|
|
|
-ms-user-select: none;
|
2022-01-08 22:23:48 +08:00
|
|
|
overflow: hidden;
|
2024-03-10 11:12:54 +08:00
|
|
|
border-right: 1px solid var(--divider-color);
|
2024-03-09 21:37:21 +08:00
|
|
|
// background-color: var(--background-color-alpha);
|
2022-01-08 22:23:48 +08:00
|
|
|
|
2024-03-09 21:37:21 +08:00
|
|
|
// $maxLogo: 100px;
|
2022-09-09 16:19:13 +08:00
|
|
|
|
2022-01-08 22:23:48 +08:00
|
|
|
.the-logo {
|
2024-03-09 22:02:36 +08:00
|
|
|
position: relative;
|
2024-03-10 11:12:54 +08:00
|
|
|
flex: 1 0 58px;
|
2024-03-09 21:37:21 +08:00
|
|
|
// width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 100%;
|
2024-03-10 11:12:54 +08:00
|
|
|
padding: 0px 20px;
|
2024-03-09 21:37:21 +08:00
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
align-self: stretch;
|
2024-03-10 11:12:54 +08:00
|
|
|
border-bottom: 1px solid var(--divider-color);
|
2024-03-09 21:37:21 +08:00
|
|
|
// max-width: $maxLogo + 32px;
|
|
|
|
|
// max-height: $maxLogo;
|
|
|
|
|
// margin: 0 auto;
|
|
|
|
|
// padding: 0 auto;
|
|
|
|
|
// text-align: center;
|
2022-01-08 22:23:48 +08:00
|
|
|
box-sizing: border-box;
|
2022-01-10 02:05:35 +08:00
|
|
|
|
2022-03-30 12:36:39 +08:00
|
|
|
img,
|
|
|
|
|
svg {
|
2022-09-09 16:19:13 +08:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2022-03-30 12:36:39 +08:00
|
|
|
pointer-events: none;
|
2024-03-09 21:37:21 +08:00
|
|
|
// fill: var(--primary-main);
|
2023-10-20 11:52:40 +08:00
|
|
|
|
2024-03-09 21:37:21 +08:00
|
|
|
// #bg {
|
|
|
|
|
// fill: var(--background-color);
|
|
|
|
|
// }
|
2022-01-16 03:11:07 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-10 02:05:35 +08:00
|
|
|
.the-newbtn {
|
|
|
|
|
position: absolute;
|
2022-09-09 16:19:13 +08:00
|
|
|
right: 10px;
|
2024-03-09 22:02:36 +08:00
|
|
|
top: 0px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
padding: 2px 4px;
|
2022-01-10 02:05:35 +08:00
|
|
|
transform: scale(0.8);
|
|
|
|
|
}
|
2022-01-08 22:23:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.the-menu {
|
2022-05-06 14:04:39 +08:00
|
|
|
flex: 1 1 80%;
|
2022-01-08 22:23:48 +08:00
|
|
|
overflow-y: auto;
|
2023-12-03 14:01:53 +08:00
|
|
|
margin-bottom: 0px;
|
2024-03-10 11:12:54 +08:00
|
|
|
padding-top: 4px;
|
2022-01-08 22:23:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.the-traffic {
|
|
|
|
|
flex: 0 0 60px;
|
|
|
|
|
|
|
|
|
|
> div {
|
|
|
|
|
margin: 0 auto;
|
2024-03-10 11:12:54 +08:00
|
|
|
padding: 0px 10px;
|
2022-01-08 22:23:48 +08:00
|
|
|
}
|
|
|
|
|
}
|
2021-12-09 23:28:57 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-08 22:23:48 +08:00
|
|
|
&__right {
|
2021-12-11 20:35:02 +08:00
|
|
|
position: relative;
|
2024-03-09 21:37:21 +08:00
|
|
|
flex: 1 1 100%;
|
2022-01-08 22:23:48 +08:00
|
|
|
height: 100%;
|
2024-03-09 21:37:21 +08:00
|
|
|
// background-color: var(--background-color-alpha);
|
2021-12-11 20:35:02 +08:00
|
|
|
|
2022-01-08 22:23:48 +08:00
|
|
|
.the-bar {
|
2022-01-16 03:11:07 +08:00
|
|
|
position: absolute;
|
2024-01-09 16:04:56 +08:00
|
|
|
top: 0px;
|
|
|
|
|
right: 0px;
|
2024-03-09 21:37:21 +08:00
|
|
|
height: 24px;
|
2022-01-08 22:23:48 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
box-sizing: border-box;
|
2022-01-16 03:11:07 +08:00
|
|
|
z-index: 2;
|
2022-01-08 22:23:48 +08:00
|
|
|
}
|
2021-12-08 23:36:34 +08:00
|
|
|
|
2022-01-08 22:23:48 +08:00
|
|
|
.the-content {
|
2022-01-16 03:11:07 +08:00
|
|
|
position: absolute;
|
2022-03-19 15:35:59 +08:00
|
|
|
top: 0;
|
2022-01-25 01:48:26 +08:00
|
|
|
left: 0;
|
2023-11-22 14:52:14 +08:00
|
|
|
right: 2px;
|
2023-11-28 07:49:44 +08:00
|
|
|
bottom: 0px;
|
2021-12-08 23:36:34 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-02-20 23:46:13 +08:00
|
|
|
|
2022-03-22 01:36:06 +08:00
|
|
|
.linux,
|
|
|
|
|
.windows,
|
|
|
|
|
.unknown {
|
|
|
|
|
&.layout {
|
2024-03-09 21:37:21 +08:00
|
|
|
.layout__left {
|
|
|
|
|
padding-top: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-11 17:50:58 +08:00
|
|
|
.layout__left .the-logo {
|
2024-03-10 11:12:54 +08:00
|
|
|
flex: 1 0 58px;
|
2022-09-11 17:50:58 +08:00
|
|
|
}
|
|
|
|
|
|
2022-03-22 01:36:06 +08:00
|
|
|
.layout__right .the-content {
|
2024-03-09 21:37:21 +08:00
|
|
|
top: 24px;
|
2022-03-22 01:36:06 +08:00
|
|
|
}
|
2022-02-20 23:46:13 +08:00
|
|
|
}
|
|
|
|
|
}
|
2023-01-16 22:57:53 +08:00
|
|
|
|
|
|
|
|
.macos {
|
|
|
|
|
&.layout {
|
|
|
|
|
.layout__left {
|
|
|
|
|
padding-top: 24px;
|
|
|
|
|
}
|
|
|
|
|
.layout__right .the-content {
|
2024-03-09 21:37:21 +08:00
|
|
|
top: 24px;
|
2023-01-16 22:57:53 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|