2022-08-16 23:30:23 +08:00
|
|
|
/* 常用 flex */
|
|
|
|
.flx-center {
|
|
|
|
display: flex;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 清除浮动 */
|
|
|
|
.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,
|
|
|
|
.breadcrumb-leave-active {
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
.breadcrumb-enter-from,
|
|
|
|
.breadcrumb-leave-active {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateX(10px);
|
|
|
|
}
|
|
|
|
.breadcrumb-leave-active {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* scroll bar */
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
background-color: #dddee0;
|
|
|
|
border-radius: 20px;
|
|
|
|
box-shadow: inset 0 0 0 white;
|
|
|
|
}
|
|
|
|
.content-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
|
|
|
.text {
|
|
|
|
margin: 30px 0;
|
|
|
|
font-size: 23px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: rgb(88 88 88);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* nprogress样式 */
|
|
|
|
#nprogress .bar {
|
|
|
|
background: $primary-color !important;
|
|
|
|
}
|
|
|
|
#nprogress .spinner-icon {
|
|
|
|
border-top-color: $primary-color !important;
|
|
|
|
border-left-color: $primary-color !important;
|
|
|
|
}
|
|
|
|
#nprogress .peg {
|
|
|
|
box-shadow: 0 0 10px $primary-color, 0 0 5px $primary-color !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-button {
|
|
|
|
float: right;
|
|
|
|
}
|
2022-09-09 17:17:02 +08:00
|
|
|
|
|
|
|
.input-help {
|
2022-12-07 16:06:15 +08:00
|
|
|
font-size: 12px;
|
|
|
|
word-break: break-all;
|
|
|
|
color: #4a4b4d;
|
|
|
|
transform: scale(0.9);
|
|
|
|
transform-origin: left;
|
|
|
|
width: 110%;
|
|
|
|
display: inline-block;
|
2022-10-21 18:50:38 +08:00
|
|
|
}
|
|
|
|
|
2022-12-05 11:12:07 +08:00
|
|
|
.input-error {
|
|
|
|
font-size: 12px;
|
|
|
|
word-break: break-all;
|
|
|
|
color: red;
|
|
|
|
transform: scale(0.9);
|
|
|
|
transform-origin: left;
|
|
|
|
width: 110%;
|
|
|
|
display: inline-block;
|
2022-12-07 16:06:15 +08:00
|
|
|
}
|
2022-12-05 11:12:07 +08:00
|
|
|
|
2022-10-21 18:50:38 +08:00
|
|
|
.myTable {
|
|
|
|
border-collapse: collapse;
|
|
|
|
font-size: 12px;
|
|
|
|
table-layout: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.myTable td {
|
|
|
|
width: 35%;
|
|
|
|
padding: 8px;
|
|
|
|
height: 23px;
|
|
|
|
border: 1px solid #383c42;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.myTable td div {
|
2022-12-07 16:06:15 +08:00
|
|
|
margin-top: 2px;
|
2022-10-21 18:50:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.myTable th {
|
|
|
|
border: 0;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.myTable tr:hover {
|
|
|
|
background-color: #d9dde2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.myTable tr:first-child:hover {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.myTable tr td:nth-child(even) {
|
|
|
|
color: #85888e;
|
2022-12-07 16:06:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mask {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0.4;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mask-prompt {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 9999;
|
|
|
|
top: 20%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|