64 lines
1.1 KiB
SCSS
64 lines
1.1 KiB
SCSS
@import 'common/base';
|
|
@import 'common/define';
|
|
@import './assets/fonts/font.css';
|
|
#app {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: JinBuTi, Sans, Avenir, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
background-color: #000;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
.el-dialog__body {
|
|
overflow: hidden auto;
|
|
height: auto;
|
|
max-height: calc(100vh - 130px);
|
|
}
|
|
.txt-ellipsis {
|
|
display: -webkit-inline-box;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-break: break-all;
|
|
white-space: normal;
|
|
}
|
|
.clamp1 {
|
|
line-clamp: 1;
|
|
-webkit-line-clamp: 1;
|
|
line-height: 1.5;
|
|
max-height: calc(1.5em * 1);
|
|
}
|
|
|
|
.clamp2 {
|
|
line-clamp: 2;
|
|
-webkit-line-clamp: 2;
|
|
line-height: 1.5;
|
|
max-height: calc(1.5em * 2);
|
|
}
|
|
._scroll {
|
|
&::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
&::-webkit-scrollbar-track {
|
|
background-color: #dddddd;
|
|
border-radius: 6px;
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
background-color: #959191;
|
|
border-radius: 6px;
|
|
}
|
|
&::-webkit-scrollbar-thumb:hover {
|
|
background-color: #a0a0a0;
|
|
}
|
|
}
|
|
.w100 {
|
|
width: 100%;
|
|
}
|
|
.h100 {
|
|
height: 100%;
|
|
}
|