mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
86 lines
1.4 KiB
SCSS
86 lines
1.4 KiB
SCSS
@import 'variables';
|
|
@import 'iconfont';
|
|
|
|
// styles initial
|
|
html {
|
|
box-sizing: border-box;
|
|
background: rgba($color: $color-white, $alpha: 0.8);
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
::-webkit-scrollbar {
|
|
z-index: 11;
|
|
width: 5px;
|
|
background: transparent;
|
|
|
|
&-thumb {
|
|
border-radius: 5px;
|
|
background: #2c8af8;
|
|
}
|
|
}
|
|
}
|
|
|
|
.app {
|
|
min-height: 100vh;
|
|
padding-left: 150px;
|
|
}
|
|
|
|
.app.not-clashx {
|
|
background: $background;
|
|
}
|
|
|
|
.page-container {
|
|
width: 100%;
|
|
height: 100vh;
|
|
padding-left: 10px;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.page {
|
|
padding: 20px 35px 30px 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app {
|
|
padding-left: 0;
|
|
padding-top: 60px;
|
|
}
|
|
|
|
.page-container {
|
|
width: 100%;
|
|
padding: 0 10px;
|
|
height: calc(100vh - 60px);
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.page {
|
|
padding: 0 0 20px;
|
|
height: 100%;
|
|
}
|
|
}
|