@import "./index.scss";
html {
width: 100%;
height: 100%;
background: #fff;
transition: color 300ms, background-color 300ms;
&.dark {
filter: contrast(100%) invert(100%);
img {
filter: hue-rotate(180deg);
}
}
}
body {
width: 100%;
height: 100%;
line-height: 24px;
font: 14px Helvetica Neue, Helvetica, Tahoma, Arial, sans-serif;
overflow: hidden;
margin: 0;
padding: 0;
border: 0;
}
img {
vertical-align: middle;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 400;
}
.ve_header_row_class_name,
.el-table__fixed-right-patch {
background: $main-bg-color !important;
}
.ve_header_cell_class_name {
background: $main-bg-color !important;
}
.ve_cell_class_name {
background: $base-color !important;
border-color: $base-color !important;
}
.ve_row_class_name {
background: $base-color !important;
}
.ve_p_10 {
padding: 10px;
}
.ve_select_option_slot {
font-size: 12px;
float: left;
line-height: initial;
padding-bottom: 10px;
opacity: 0.7;
}
.ve_option_box {
width: calc(50% - 132px);
}
.size-watch {
width: 100%;
height: 100%;
// display: none;
position: absolute;
top: 0;
z-index: -1;
visibility: hidden;
margin: 0;
padding: 0;
border: 0;
}
.ve_flex_col {
display: flex;
flex-direction: column;
height: calc(100vh - #{$nav-height} - 80px);
}
.no-events {
-webkit-pointer-events: none;
-moz-pointer-events: none;
-ms-pointer-events: none;
-o-pointer-events: none;
pointer-events: none;
}
.yse-events {
-webkit-pointer-events: auto;
-moz-pointer-events: auto;
-ms-pointer-events: auto;
-o-pointer-events: auto;
pointer-events: auto;
text-decoration: none;
}
.yse-events input {
-webkit-pointer-events: auto;
-moz-pointer-events: auto;
-ms-pointer-events: auto;
-o-pointer-events: auto;
pointer-events: auto;
text-decoration: none;
}
.pure-events {
-webkit-pointer-events: auto;
-moz-pointer-events: auto;
-ms-pointer-events: auto;
-o-pointer-events: auto;
pointer-events: auto;
}
.inline {
display: inline;
}
.general-font1 {
font-family: "microsoft yahei", Georgia, Serif;
color: whitesmoke;
}
.general-font2 {
font-family: "KaiTi", Georgia, Serif;
color: whitesmoke;
}
.label-bg {
background-color: #ffffff50;
border-radius: 5px;
}
.cursor-default {
cursor: default;
}
.cursor-pointer {
cursor: pointer;
}
div {
// font-family: PingFangSC-Medium, PingFang SC;
font-family: Helvetica Neue, Helvetica, Tahoma, Arial, sans-serif;
}
.ol-zoom {
/*隐藏地图左上角的+-号*/
display: none;
}
// 图片预览去除下载和翻转
.PhotoSlider__BannerWrap {
.PhotoSlider__BannerRight {
svg {
&:nth-child(1),
&:nth-child(4),
&:nth-child(5) {
display: none;
}
}
}
}
.PhotoSlider__FooterWrap {
display: none;
}
.PhotoSlider__Wrapper {
z-index: 9999;
}
.v-select-group {
display: flex;
align-items: center;
justify-content: space-between;
.v-select {
.el-select__wrapper {
box-shadow: none;
background: #c8f1f7;
border: 1px solid #00d5f6;
border-radius: 20px;
color: #00bedb;
}
.el-select__placeholder,
.el-select__caret,
.el-select__placeholder.is-transparent {
color: #00bedb;
text-align: center;
}
}
.v-select + .v-select {
margin-left: 16px;
}
}
.v-select-defalut-group {
display: flex;
align-items: center;
justify-content: space-between;
.v-select {
.el-select__wrapper {
box-shadow: none;
border: 1px solid #dddddd;
border-radius: 20px;
}
.el-select__placeholder,
.el-select__caret,
.el-select__placeholder.is-transparent {
color: #000;
text-align: center;
}
}
.v-select + .v-select {
margin-left: 8px;
}
}
@font-face {
font-family: "SOURCEHANSANSCN_0";
src: url("@/assets/font/SOURCEHANSANSCN-REGULAR_0.OTF");
}
.SOURCEHANSANSCN_0 {
font-family: "SOURCEHANSANSCN_0", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "SIMKAI";
src: url("@/assets/font/SIMKAI.TTF");
}
.SIMKAI {
font-family: "SIMKAI", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "PangMenZhengDao";
src: url("@/assets/font/PangMenZhengDao.TTF");
}
.PangMenZhengDao-FONT {
font-family: "PangMenZhengDao", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "YOUSHE";
src: url("@/assets/font/YOUSHEBIAOTIHEI-2.TTF");
}
.YOUSHE-FONT {
font-family: "YOUSHE", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "SOURCEHANSANSCN";
src: url("@/assets/font/SOURCEHANSANSCN-BOLD.OTF");
}
.SOURCEHANSANSCN-FONT {
font-family: "SOURCEHANSANSCN", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "SIMLI";
src: url("@/assets/font/SIMLI.TTF");
}
.SIMLI-FONT {
font-family: "SIMLI", sans-serif; /* 使用自定义字体 */
}
@font-face {
font-family: "SmileySans";
src: url("@/assets/font/SmileySans-Oblique-2.ttf");
}
.SMILEYSANS-FONT {
font-family: "SmileySans", sans-serif; /* 使用自定义字体 */
}
.ellipsis-l2 {
white-space: pre-line;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
display: -webkit-box !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical !important;
}
.ellipsis-l1 {
white-space: pre-line;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
display: -webkit-box !important;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical !important;
}
.custom-bottom-fixed-btns {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
background: #ffffff;
box-shadow: 2px 2px 4.5px rgba(0, 0, 0, 0.4);
z-index: 100;
.bottom-btn {
padding: 10px 20px;
border-radius: 25px;
text-align: center;
&.secondary-btn {
color: #666666;
border: 1px solid rgba(153, 153, 153, 0.5);
}
&.primary-btn {
background: linear-gradient(170deg, #9FD5FF, #2199F8);
color: #ffffff;
border: none;
}
}
}