247 lines
3.9 KiB
SCSS
247 lines
3.9 KiB
SCSS
/* flex */
|
|
.flx-center {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.flx-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.flx-justify-between {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.flx-align-center {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.flx-justify-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
// align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.flx-justify-around {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
}
|
|
.flx-wrap {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* clearfix */
|
|
.clearfix::after {
|
|
display: block;
|
|
height: 0;
|
|
overflow: hidden;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
|
|
/* 文字单行省略号 */
|
|
.sle {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 文字多行省略号 */
|
|
.mle {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
/* 文字多了自動換行 */
|
|
.break-word {
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
/* fade-transform */
|
|
.fade-transform-leave-active,
|
|
.fade-transform-enter-active {
|
|
transition: all 0.2s;
|
|
}
|
|
.fade-transform-enter-from {
|
|
opacity: 0;
|
|
transition: all 0.2s;
|
|
transform: translateX(-30px);
|
|
}
|
|
.fade-transform-leave-to {
|
|
opacity: 0;
|
|
transition: all 0.2s;
|
|
transform: translateX(30px);
|
|
}
|
|
|
|
/* Breadcrumb */
|
|
.breadcrumb-enter-active {
|
|
transition: all 0.2s;
|
|
}
|
|
.breadcrumb-enter-from,
|
|
.breadcrumb-leave-active {
|
|
opacity: 0;
|
|
transform: translateX(10px);
|
|
}
|
|
|
|
/* scroll bar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #d3d3d3;
|
|
border-radius: 20px;
|
|
box-shadow: inset 0 0 0 white;
|
|
}
|
|
|
|
/* nprogress样式 */
|
|
#nprogress .bar {
|
|
background: var(--el-color-primary) !important;
|
|
}
|
|
#nprogress .spinner-icon {
|
|
border-top-color: var(--el-color-primary) !important;
|
|
border-left-color: var(--el-color-primary) !important;
|
|
}
|
|
#nprogress .peg {
|
|
box-shadow: 0 0 10px var(--el-color-primary), 0 0 5px var(--el-color-primary) !important;
|
|
}
|
|
|
|
/* 外边距、内边距全局样式 */
|
|
@for $i from 0 through 40 {
|
|
.mt#{$i} {
|
|
margin-top: #{$i}px !important;
|
|
}
|
|
.mr#{$i} {
|
|
margin-right: #{$i}px !important;
|
|
}
|
|
.mb#{$i} {
|
|
margin-bottom: #{$i}px !important;
|
|
}
|
|
.ml#{$i} {
|
|
margin-left: #{$i}px !important;
|
|
}
|
|
.pt#{$i} {
|
|
padding-top: #{$i}px !important;
|
|
}
|
|
.pr#{$i} {
|
|
padding-right: #{$i}px !important;
|
|
}
|
|
.pb#{$i} {
|
|
padding-bottom: #{$i}px !important;
|
|
}
|
|
.pl#{$i} {
|
|
padding-left: #{$i}px !important;
|
|
}
|
|
}
|
|
.configureIcon {
|
|
margin-right: 4px;
|
|
vertical-align: middle;
|
|
width: 9px;
|
|
height: 11px;
|
|
// color: pink;
|
|
// background-color: pink;
|
|
}
|
|
.redText {
|
|
color: #fe003d;
|
|
}
|
|
.blueText {
|
|
color: #008bff;
|
|
}
|
|
.littleTitle {
|
|
padding-left: 6px;
|
|
border-left: 3px solid #008bff;
|
|
}
|
|
|
|
// 地图的图标
|
|
.mapIcon {
|
|
width: 17px;
|
|
height: 23px;
|
|
color: #ffffff;
|
|
|
|
// font-size: 30px;
|
|
}
|
|
.diaMapIcon {
|
|
background-color: #008bff;
|
|
width: 34px;
|
|
position: absolute;
|
|
right: 0;
|
|
border-radius: 0 4px 4px 0;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
}
|
|
.ellipsisText {
|
|
// width: 150px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.ml-20 {
|
|
margin-left: 20px;
|
|
}
|
|
.m-10 {
|
|
margin: 0 20px;
|
|
}
|
|
// 分页器
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
.leftColor {
|
|
background-color: #e1eeff;
|
|
border-left: 3px solid #0e7eff;
|
|
}
|
|
.txtLeft {
|
|
text-align: left;
|
|
}
|
|
.plr-20 {
|
|
padding: 0 20px;
|
|
}
|
|
.text-12 {
|
|
font-size: 12px;
|
|
color: #333;
|
|
}
|
|
.titleText {
|
|
font-size: 20px;
|
|
color: #333;
|
|
font-family: siyuan_Medium;
|
|
}
|
|
.allEngList {
|
|
width: 20px;
|
|
height: 176px;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 50%;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
z-index: 224;
|
|
// display: flex;
|
|
color: #fff;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
font-size: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
span {
|
|
margin: 0px 2px;
|
|
}
|
|
}
|
|
.m-4 {
|
|
margin: 0 4px;
|
|
}
|