提交
This commit is contained in:
449
src/styles/comStyle.css
Normal file
449
src/styles/comStyle.css
Normal file
@@ -0,0 +1,449 @@
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_1 {
|
||||
flex: 1;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 1;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.flex_2 {
|
||||
flex: 2;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 2;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_3 {
|
||||
flex: 3;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 3;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_4 {
|
||||
flex: 4;
|
||||
-webkit-flex: 4;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_5 {
|
||||
flex: 5;
|
||||
-webkit-flex: 5;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_between {
|
||||
justify-content: space-between;
|
||||
-webkit-justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_around {
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_mid {
|
||||
align-items: center;
|
||||
-webkit-align-items: center;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_stretch {
|
||||
align-items: stretch;
|
||||
-webkit-align-items: stretch;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_center {
|
||||
justify-content: center;
|
||||
-webkit-justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_wrap {
|
||||
flex-wrap: wrap;
|
||||
-webkit-flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.font-yahei {
|
||||
font-family: "微软雅黑";
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
ul,
|
||||
dl,
|
||||
ol {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img,
|
||||
fieldset[type="submit"] {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
vertical-align: top;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
textarea {
|
||||
word-wrap: break-word;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:hover,
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
cp {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.box {
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fl {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.fr {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.tc {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pr {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pa {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.pf {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.clearBoth {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
clear: both;
|
||||
content: "";
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
display: table;
|
||||
}
|
||||
|
||||
|
||||
/*padding*/
|
||||
|
||||
.pd10 {
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.pd20 {
|
||||
padding: 20px 20px 20px 20px;
|
||||
}
|
||||
|
||||
.pdt10 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.pdr10 {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.pdb10 {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.pdl10 {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.pd15 {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.pdt15 {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.pdr15 {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.pdr30 {
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.pdb15 {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.pdl15 {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.pdl30 {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.pd5 {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.pdt5 {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.pdr5 {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.pdb5 {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.pdl5 {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
|
||||
/*margin*/
|
||||
|
||||
.mt-3 {
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.mt-6 {
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.mt5 {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.mt10 {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mr10 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mb10 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mt20 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.mr20 {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mb20 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.ml10 {
|
||||
margin-left: 10px !important;
|
||||
}
|
||||
|
||||
.m10 {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.mt15 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.mr15 {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.mb15 {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ml10 {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.ml15 {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.mt20 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.mr10 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mr20 {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mb10 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mb20 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.ml20 {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.ml20 {
|
||||
margin-left: 19px !important;
|
||||
}
|
||||
|
||||
.m10_a {
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.m10 {
|
||||
margin: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.m20_a {
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.m20 {
|
||||
margin: 20px 20px 20px 20px;
|
||||
}
|
||||
|
||||
.ml30 {
|
||||
margin-left: 37% !important;
|
||||
}
|
||||
|
||||
.ml5 {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.m15 {
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
.f10 {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.f12 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.f14 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.f16 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.f18 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.f20 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.f25 {
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.fb {
|
||||
font-weight: bold;
|
||||
}
|
||||
456
src/styles/comStyle.less
Normal file
456
src/styles/comStyle.less
Normal file
@@ -0,0 +1,456 @@
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_1 {
|
||||
flex: 1;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 1;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.flex_2 {
|
||||
flex: 2;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 2;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_3 {
|
||||
flex: 3;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
-webkit-flex: 3;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_4 {
|
||||
flex: 4;
|
||||
-webkit-flex: 4;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_5 {
|
||||
flex: 5;
|
||||
-webkit-flex: 5;
|
||||
display: block;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_between {
|
||||
justify-content: space-between;
|
||||
-webkit-justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_around {
|
||||
justify-content: space-around;
|
||||
-webkit-justify-content: space-around;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_mid {
|
||||
align-items: center;
|
||||
-webkit-align-items: center;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_stretch {
|
||||
align-items: stretch;
|
||||
-webkit-align-items: stretch;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_item_center {
|
||||
justify-content: center;
|
||||
-webkit-justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
|
||||
.flex_wrap {
|
||||
flex-wrap: wrap;
|
||||
-webkit-flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.font-yahei {
|
||||
font-family: "微软雅黑";
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-size: 100%;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
ul,
|
||||
dl,
|
||||
ol {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
img,
|
||||
fieldset[type="submit"] {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
vertical-align: top;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
em {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
textarea {
|
||||
word-wrap: break-word;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:hover,
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
cp {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.box {
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fl {
|
||||
float: left;
|
||||
}
|
||||
.eldialotable {
|
||||
max-height: 70vh;
|
||||
padding: 10px !important;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.top{
|
||||
margin-top: 20px !important;
|
||||
}
|
||||
.fr {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.tc {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pr {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pa {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.pf {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.clearBoth {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
clear: both;
|
||||
content: "";
|
||||
/* stylelint-disable-next-line order/properties-order */
|
||||
display: table;
|
||||
}
|
||||
|
||||
|
||||
/*padding*/
|
||||
|
||||
.pd10 {
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.pd20 {
|
||||
padding: 20px 20px 20px 20px;
|
||||
}
|
||||
|
||||
.pdt10 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.pdr10 {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.pdb10 {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.pdl10 {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.pd15 {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.pdt15 {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.pdr15 {
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.pdr30 {
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.pdb15 {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.pdl15 {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.pdl30 {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.pd5 {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.pdt5 {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.pdr5 {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.pdb5 {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.pdl5 {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
|
||||
/*margin*/
|
||||
|
||||
.mt-3 {
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.mt-6 {
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.mt5 {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.mt10 {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.mr10 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mb10 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mt20 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.mr20 {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mb20 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.ml10 {
|
||||
margin-left: 10px !important;
|
||||
}
|
||||
|
||||
.m10 {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.mt15 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.mr15 {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.mb15 {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.ml10 {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.ml15 {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.mt20 {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.mr10 {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.mr20 {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.mb10 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mb20 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.ml20 {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.ml20 {
|
||||
margin-left: 19px !important;
|
||||
}
|
||||
|
||||
.m10_a {
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.m10 {
|
||||
margin: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.m20_a {
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.m20 {
|
||||
margin: 20px 20px 20px 20px;
|
||||
}
|
||||
|
||||
.ml30 {
|
||||
margin-left: 37% !important;
|
||||
}
|
||||
|
||||
.ml5 {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.m15 {
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
.f10 {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.f12 {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.f14 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.f16 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.f18 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.f20 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.f25 {
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.fb {
|
||||
font-weight: bold;
|
||||
}
|
||||
42
src/styles/common.css
Normal file
42
src/styles/common.css
Normal file
@@ -0,0 +1,42 @@
|
||||
/*内容全局样式表*/
|
||||
.el-header,
|
||||
.el-footer {
|
||||
background-color: #B3C0D1;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
line-height: 60px;
|
||||
}
|
||||
.el-aside {
|
||||
margin-top: 10px;
|
||||
background-color: #D3DCE6;
|
||||
color: #333;
|
||||
line-height: 0px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.el-main {
|
||||
margin-top: 10px;
|
||||
padding: 5px;
|
||||
background-color: #E9EEF3;
|
||||
color: #333;
|
||||
line-height: 0px;
|
||||
}
|
||||
body > .el-container {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
vh .el-container:nth-child(5) .el-aside,
|
||||
.el-container:nth-child(6) .el-aside {
|
||||
line-height: 0px;
|
||||
}
|
||||
.el-container:nth-child(7) .el-aside {
|
||||
line-height: 0px;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 2px;
|
||||
height: 14px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: #d3d4d442;
|
||||
}
|
||||
55
src/styles/common.less
Normal file
55
src/styles/common.less
Normal file
@@ -0,0 +1,55 @@
|
||||
/*内容全局样式表*/
|
||||
.el-header, .el-footer {
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.el-aside {
|
||||
background-color: #fefefe;
|
||||
overflow:hidden;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.el-main {
|
||||
//margin-top: 10px;
|
||||
//padding: 10px;
|
||||
background-color: rgba(255, 255, 255, 0.996);
|
||||
color: #333;
|
||||
line-height: 0px;
|
||||
|
||||
}
|
||||
|
||||
body > .el-container {
|
||||
margin-bottom: 0px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.el-container:nth-child(5) .el-aside,
|
||||
.el-container:nth-child(6) .el-aside {
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.el-container:nth-child(7) .el-aside {
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 2px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background-color: #d3d4d442;
|
||||
|
||||
}
|
||||
.xshou {
|
||||
cursor: pointer;
|
||||
}
|
||||
25
src/styles/common.scss
Normal file
25
src/styles/common.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
.ui-container {
|
||||
padding: 10px;
|
||||
height: 100%;
|
||||
width:100%
|
||||
}
|
||||
|
||||
.bg-error{
|
||||
background-color: #A52a2a;
|
||||
}
|
||||
.bg-warn{
|
||||
background-color: #DAA520;
|
||||
}
|
||||
.bg-info{
|
||||
background-color: #2E8B57;
|
||||
}
|
||||
|
||||
.mt10{
|
||||
margin-top: 10px;
|
||||
}
|
||||
.mr10{
|
||||
margin-right: 10px;
|
||||
}
|
||||
.fr{
|
||||
float: right;
|
||||
}
|
||||
564
src/styles/element-ui.scss
Normal file
564
src/styles/element-ui.scss
Normal file
@@ -0,0 +1,564 @@
|
||||
// cover some element-ui styles
|
||||
.tableScopeSwitch .el-switch__label {
|
||||
position: absolute;
|
||||
display: none;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
|
||||
/*打开时文字位置设置*/
|
||||
|
||||
.tableScopeSwitch .el-switch__label--right {
|
||||
z-index: 1;
|
||||
/*不同场景下可能不同,自行调整*/
|
||||
}
|
||||
|
||||
|
||||
/*关闭时文字位置设置*/
|
||||
|
||||
.tableScopeSwitch .el-switch__label--left {
|
||||
z-index: 1;
|
||||
left: 20px;
|
||||
/*不同场景下可能不同,自行调整*/
|
||||
}
|
||||
|
||||
|
||||
/*显示文字*/
|
||||
|
||||
.tableScopeSwitch .el-switch__label.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tableScopeSwitch.el-switch .el-switch__core,
|
||||
.el-switch .el-switch__label {
|
||||
width: 60px !important;
|
||||
/*开关按钮的宽度大小*/
|
||||
}
|
||||
|
||||
.el-button {
|
||||
border-radius: 3px;
|
||||
height: 36px;
|
||||
// min-width: 80px;
|
||||
}
|
||||
|
||||
.el-button--primary {
|
||||
color: #fdfefe;
|
||||
background-color: #4AB5A5!important;
|
||||
border-color: #4AB5A5!important;
|
||||
}
|
||||
|
||||
.el-button--primary:hover {
|
||||
background-color: #fffdfc !important;
|
||||
border-color: #4AB5A5 !important;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.el-button--primary:focus {
|
||||
background-color: #f1f9f6 !important;
|
||||
border-color: #01755e !important;
|
||||
color: #01755e;
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
.tags-view-container .tags-view-wrapper .tags-view-item.active {
|
||||
background-color: #4AB5A5;
|
||||
border-color: #4AB5A5;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.el-input--small .el-input__inner {
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.el-select .el-input.is-focus .el-input__inner {
|
||||
border-color: #4AB5A5;
|
||||
}
|
||||
|
||||
.el-scrollbar__bar.is-vertical {
|
||||
width: 8px;
|
||||
top: 2px;
|
||||
background: white;
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
.el-scrollbar__thumb {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
cursor: pointer;
|
||||
border-radius: inherit;
|
||||
background-color: #4AB5A5;
|
||||
-webkit-transition: .3s background-color;
|
||||
transition: .3s background-color;
|
||||
}
|
||||
|
||||
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
|
||||
color: #343535;
|
||||
}
|
||||
|
||||
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
|
||||
background-color: #F5F7FA;
|
||||
// color:#000;
|
||||
// font-size: 16px;
|
||||
}
|
||||
|
||||
.el-range-editor.is-disabled {
|
||||
background-color: #F5F7FA;
|
||||
border-color: #E4E7ED;
|
||||
color: #C0C4CC;
|
||||
cursor: not-allowed;
|
||||
// height: 36px;
|
||||
// top: -2px
|
||||
}
|
||||
|
||||
.el-range-editor--small.el-input__inner {
|
||||
// height: 36px;
|
||||
// top: -2px
|
||||
}
|
||||
|
||||
.el-form--inline .el-form-item__label {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
//color: #000;
|
||||
}
|
||||
|
||||
.el-form-item__label {
|
||||
color: #444444;
|
||||
font-family: '微软雅黑';
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.el-header,
|
||||
.el-main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.el-breadcrumb__inner,
|
||||
.el-breadcrumb__inner a {
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.el-upload {
|
||||
input[type="file"] {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-upload__input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// to fixed https://github.com/ElemeFE/element/issues/2461
|
||||
.el-dialog {
|
||||
position: relative;
|
||||
left: 0;
|
||||
margin: 0 auto;
|
||||
transform: none;
|
||||
.el-dialog__body {
|
||||
max-height: 70vh;
|
||||
padding: 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.el-dialog__header {
|
||||
height: 36px;
|
||||
padding: 0 20px;
|
||||
line-height: 36px;
|
||||
background: $themeColor;
|
||||
.el-dialog__title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #FFF;
|
||||
}
|
||||
.el-dialog__headerbtn {
|
||||
top: 6px;
|
||||
font-size: 24px;
|
||||
i {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.el-dialog__footer {
|
||||
height: 36px;
|
||||
padding: 0 20px;
|
||||
line-height: 36px;
|
||||
border-top: 1px solid #DCDFE6;
|
||||
}
|
||||
}
|
||||
|
||||
.PAGE-SIZE-small .el-dialog {
|
||||
.el-dialog__header {
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
.el-dialog__headerbtn {
|
||||
top: 7px;
|
||||
}
|
||||
}
|
||||
.el-dialog__footer {
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
}
|
||||
}
|
||||
|
||||
.PAGE-SIZE-medium .el-dialog {
|
||||
.el-dialog__header {
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
.el-dialog__headerbtn {
|
||||
top: 11px;
|
||||
}
|
||||
}
|
||||
.el-dialog__footer {
|
||||
height: 49px;
|
||||
line-height: 49px;
|
||||
}
|
||||
}
|
||||
|
||||
// refine element ui upload
|
||||
.upload-container {
|
||||
.el-upload {
|
||||
width: 100%;
|
||||
.el-upload-dragger {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.el-card__body {
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
// dropdown
|
||||
.el-dropdown-menu {
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
//阻止右边出现padding
|
||||
.el-popup-parent--hidden {
|
||||
padding-right: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
//防止tab被遮住
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
// to fix el-date-picker css style
|
||||
.el-range-separator {
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.el-drawer__header {
|
||||
&>span,
|
||||
&>button {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-transfer-panel__list.is-filterable {
|
||||
height: 79vh;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
// el-table
|
||||
.el-table {
|
||||
border-right: 1px solid #EBEEF5;
|
||||
// 无边框模式下增加外边框
|
||||
border-left: 1px solid #EBEEF5;
|
||||
// 表头样式
|
||||
thead {
|
||||
color: #333;
|
||||
}
|
||||
.el-table__header {
|
||||
tr,
|
||||
th {
|
||||
background: #E5E7F2;
|
||||
}
|
||||
// td {
|
||||
// background-color: #dbf6f6 !important;
|
||||
// }
|
||||
}
|
||||
// 斑马纹样式
|
||||
&.el-table--striped .el-table__body tr.el-table__row--striped td {
|
||||
background-color: #79aeac !important;
|
||||
}
|
||||
// hover样式
|
||||
&.el-table--enable-row-hover .el-table__body tr:hover>td {
|
||||
background-color: #dbf6f6 !important;
|
||||
}
|
||||
// 选中列样式
|
||||
&.el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
|
||||
.el-table__body tr.current-row>td {
|
||||
background: $themeColor-8 !important;
|
||||
}
|
||||
// mini版大小样式调整
|
||||
&.el-table--mini {
|
||||
th {
|
||||
padding: 4px 0;
|
||||
.caret-wrapper {
|
||||
height: 24px;
|
||||
.sort-caret.ascending {
|
||||
top: 0;
|
||||
}
|
||||
.sort-caret.descending {
|
||||
bottom: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
td {
|
||||
padding: 2px 0;
|
||||
}
|
||||
}
|
||||
&.el-table--mini,
|
||||
&.el-table--small,
|
||||
&.el-table__expand-icon {
|
||||
font-size: 14px;
|
||||
}
|
||||
// small版大小样式调整
|
||||
&.el-table--small {
|
||||
th {
|
||||
padding: 6px 0;
|
||||
}
|
||||
td {
|
||||
padding: 4px 0;
|
||||
}
|
||||
}
|
||||
// medium版大小样式
|
||||
&.el-table--medium {
|
||||
th {
|
||||
padding: 8px 0;
|
||||
}
|
||||
td {
|
||||
padding: 6px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// el-tree-select
|
||||
.el-tree-select-popper {
|
||||
[aria-disabled=true]>.el-tree-node__content {
|
||||
color: #ccc !important;
|
||||
}
|
||||
}
|
||||
|
||||
// el-select
|
||||
// 增加loading样式
|
||||
.el-select.el-select-loading .el-icon-arrow-up {
|
||||
animation: rotating 2s linear infinite;
|
||||
&::before {
|
||||
content: "\e6cf";
|
||||
}
|
||||
}
|
||||
|
||||
.el-form-item--small.el-form-item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
// el-step
|
||||
.el-step__head.is-success {
|
||||
color: $themeColor;
|
||||
border-color: $themeColor;
|
||||
}
|
||||
|
||||
.el-step__title.is-success {
|
||||
color: $themeColor !important;
|
||||
}
|
||||
|
||||
.is-success .el-step__line {
|
||||
background-color: $themeColor !important;
|
||||
}
|
||||
|
||||
.el-pagination.is-background .el-pager li.active:not(.disabled):hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.readonly {
|
||||
&.el-input-number .el-input.is-disabled .el-input__inner {
|
||||
color: #606266;
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.el-table.el-table--enable-row-hover .el-table__body tr:hover>td {
|
||||
background: $hoverf!important;
|
||||
color: aliceblue;
|
||||
//opacity: 0.5;
|
||||
}
|
||||
|
||||
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
|
||||
background-color: $themeColor !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.ele-tree-menu {
|
||||
width: 100%;
|
||||
background: rgba(204, 200, 200, 0.164);
|
||||
color: #424141 !important;
|
||||
}
|
||||
|
||||
.el-tree .el-tree-node:focus>.el-tree-node__content {
|
||||
background: $themeColor !important;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.el-tree .el-tree-node__content:hover {
|
||||
background-color: $themeColor !important;
|
||||
;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.menu-tree {
|
||||
background: rgba(238, 240, 241, 0.192);
|
||||
padding: 0px;
|
||||
margin-right: 0px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 0px 0px #cad1d4;
|
||||
}
|
||||
|
||||
// .el-form-item__label {
|
||||
// font-size: 14px;
|
||||
// color: $themeColor;
|
||||
// }
|
||||
.el-checkbox__label {
|
||||
display: inline-block;
|
||||
padding-left: 10px;
|
||||
line-height: 19px;
|
||||
font-size: 14px;
|
||||
color: $themeColor !important
|
||||
}
|
||||
|
||||
.table_header {
|
||||
background-color: $themeColor !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.el-table__body-wrapper::-webkit-scrollbar {
|
||||
width: 12px !important;
|
||||
/*滚动条宽度*/
|
||||
height: 12px !important;
|
||||
/*滚动条高度*/
|
||||
}
|
||||
|
||||
.el-table__body-wrapper::-webkit-scrollbar-track {
|
||||
border-radius: 0px;
|
||||
/*滚动条的背景区域的圆角*/
|
||||
background-color: $themeColor;
|
||||
/*滚动条的背景颜色*/
|
||||
opacity: 0.5;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.el-table__body-wrapper::-webkit-scrollbar-corner {
|
||||
background-color: $themeColor;
|
||||
opacity: 0.8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.el-table__body-wrapper::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
/*滚动条的圆角*/
|
||||
background-color: $themeColor;
|
||||
/*滚动条的背景颜色*/
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
//elememtui的样式修改
|
||||
::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
|
||||
background-color: #b7c1c169;
|
||||
}
|
||||
|
||||
::v-deep.el-table.el-table--enable-row-hover .el-table__body tr:hover>td {
|
||||
background: $hoverf;
|
||||
color: aliceblue;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.el-tree-node__expand-icon {
|
||||
font-size: 25px;
|
||||
color: rgb(169, 170, 172);
|
||||
}
|
||||
|
||||
.vxe-table--render-default .vxe-cell {
|
||||
/* white-space: pre-line; */
|
||||
white-space: nowrap !important;
|
||||
/* word-break: break-all; */
|
||||
height: 25px !important;
|
||||
//line-height: 25px !important;
|
||||
/* align-items: center; */
|
||||
/* padding-left: 10px; */
|
||||
/* padding-right: 10px; */
|
||||
}
|
||||
|
||||
.vxe-body--row.row--hover {
|
||||
background-color: $themeColor !important;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/*表格滚动条样式*/
|
||||
|
||||
.vxe-table--body-wrapper::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
.vxe-table--body-wrapper::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
height: 12px;
|
||||
background-color: $themeColor !important;
|
||||
border-radius: 30px !important;
|
||||
}
|
||||
|
||||
.vxe-table--body-wrapper::-webkit-scrollbar-track {
|
||||
box-shadow: inset 0 0 5px rgb(174, 173, 173);
|
||||
border-radius: 2px;
|
||||
background: rgb(177, 175, 175);
|
||||
}
|
||||
|
||||
.vxe-body--row.row--current {
|
||||
background-color: rgb(2, 132, 123) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
// 斑马纹样式
|
||||
.vxe-body--row.row--stripe {
|
||||
background-color: #79aeac !important;
|
||||
}
|
||||
|
||||
.vxe-body--row {
|
||||
background-color: #dbf6f6 !important;
|
||||
font-weight: 400 !important;
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
.vxe-button.type--button {
|
||||
//font-family: inherit !important;
|
||||
// height:34px !important;
|
||||
//line-height: 25px !important;
|
||||
/* margin: 0 0 0 0; */
|
||||
margin-top: -1% !important;
|
||||
// height: 25px !important;
|
||||
// border: 1px solid #dcdfe6 ;
|
||||
}
|
||||
|
||||
.vxe-button.type--button.theme--primary:not(.is--disabled):hover {
|
||||
border-color: rgb(13, 115, 103) !important;
|
||||
background-color: rgb(13, 115, 103) !important;
|
||||
}
|
||||
|
||||
.el-table td {
|
||||
background-color: #dbf6f6 !important;
|
||||
}
|
||||
|
||||
// .el-tree-node__expand-icon:hover {
|
||||
// font-size: 25px;
|
||||
// color: green;
|
||||
// }
|
||||
|
||||
1247
src/styles/element-uiforth.scss
Normal file
1247
src/styles/element-uiforth.scss
Normal file
File diff suppressed because it is too large
Load Diff
1995
src/styles/element-uione.scss
Normal file
1995
src/styles/element-uione.scss
Normal file
File diff suppressed because it is too large
Load Diff
1465
src/styles/element-uithree.scss
Normal file
1465
src/styles/element-uithree.scss
Normal file
File diff suppressed because it is too large
Load Diff
1387
src/styles/element-uitwo.scss
Normal file
1387
src/styles/element-uitwo.scss
Normal file
File diff suppressed because it is too large
Load Diff
123
src/styles/index.scss
Normal file
123
src/styles/index.scss
Normal file
@@ -0,0 +1,123 @@
|
||||
@import './transition.scss';
|
||||
// @import './element-uiforth.scss';
|
||||
@import './comStyle.css';
|
||||
body {
|
||||
height: 100%;
|
||||
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
min-width: 768px;
|
||||
min-height: 600px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
ul,
|
||||
li,
|
||||
dl,
|
||||
dt,
|
||||
dd {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul,
|
||||
li,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
p {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#app {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
a:focus,
|
||||
a:active {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a,
|
||||
a:focus,
|
||||
a:hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
div:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
&::after {
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
font-size: 0;
|
||||
content: ' ';
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
// main-container global css
|
||||
.app-page {
|
||||
height: calc(100% - 12px);
|
||||
padding: 10px 10px 0 10px;
|
||||
margin: 6px 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
//公共菜单样式
|
||||
.el-menu--vertical {
|
||||
& > .el-menu {
|
||||
.svg-icon {
|
||||
margin-right: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// .is-leaf {
|
||||
// visibility: hidden !important;
|
||||
// }
|
||||
.atooltip {
|
||||
margin-top: 2px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.el-menu--horizontal .el-menu--popup {
|
||||
.el-menu-item {
|
||||
padding: 0;
|
||||
& > a {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.el-tree .is-leaf {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
.el-cascader-menu {
|
||||
min-height: 300px !important;
|
||||
}
|
||||
.el-cascader-panel {
|
||||
max-height: 500px !important;
|
||||
}
|
||||
90
src/styles/mixin.scss
Normal file
90
src/styles/mixin.scss
Normal file
@@ -0,0 +1,90 @@
|
||||
/* stylelint-disable order/properties-order */
|
||||
@mixin clearfix {
|
||||
&::after {
|
||||
display: table;
|
||||
clear: both;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
@mixin scrollBar {
|
||||
&::-webkit-scrollbar-track-piece {
|
||||
background: #d3dce6;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: #99a9bf;
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin relative {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@mixin pct($pct) {
|
||||
position: relative;
|
||||
width: #{$pct};
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@mixin triangle($width, $height, $color, $direction) {
|
||||
$width: $width/2;
|
||||
$color-border-style: $height solid $color;
|
||||
$transparent-border-style: $width solid transparent;
|
||||
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
||||
@if $direction==up {
|
||||
border-bottom: $color-border-style;
|
||||
border-left: $transparent-border-style;
|
||||
border-right: $transparent-border-style;
|
||||
}
|
||||
|
||||
@else if $direction==right {
|
||||
border-left: $color-border-style;
|
||||
border-top: $transparent-border-style;
|
||||
border-bottom: $transparent-border-style;
|
||||
}
|
||||
|
||||
@else if $direction==down {
|
||||
border-top: $color-border-style;
|
||||
border-left: $transparent-border-style;
|
||||
border-right: $transparent-border-style;
|
||||
}
|
||||
|
||||
@else if $direction==left {
|
||||
border-right: $color-border-style;
|
||||
border-top: $transparent-border-style;
|
||||
border-bottom: $transparent-border-style;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin nowrap($row) {
|
||||
@if $row==1 {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@else if $row > 1 {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
/* stylelint-disable */
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: $row;
|
||||
|
||||
/*! autoprefixer: off */
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
/* autoprefixer: on */
|
||||
/* stylelint-enable */
|
||||
}
|
||||
}
|
||||
1
src/styles/subjx.css
Normal file
1
src/styles/subjx.css
Normal file
@@ -0,0 +1 @@
|
||||
.dg-wrapper{position:static;width:0;height:0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none}.dg-controls{display:inline-block;box-sizing:border-box;top:0;left:0;z-index:2147483647;border:1px dashed #32b5fe;cursor:move}.dg-hdl{cursor:pointer;border-radius:9px;width:9px;height:9px;border:1px solid #32b5fe;margin-top:-5px;margin-left:-5px}.dg,.dg-controls,.dg-hdl{position:absolute;background-color:rgba(0,168,255,.2)}.dg-hdl-t{top:0}.dg-hdl-m{top:50%}.dg-hdl-b{top:100%}.dg-hdl-l{left:0}.dg-hdl-c{left:50%}.dg-hdl-r{left:100%}.dg-rotator{top:50%;left:calc(100% + 50px)}.dg-normal{display:inline-block;box-sizing:border-box;border:.5px dashed #32b5fe;top:50%;left:100%;width:50px;height:0}
|
||||
48
src/styles/transition.scss
Normal file
48
src/styles/transition.scss
Normal file
@@ -0,0 +1,48 @@
|
||||
// global transition css
|
||||
|
||||
/* fade */
|
||||
.fade-enter-active,
|
||||
.fade-leave-active {
|
||||
transition: opacity 0.28s;
|
||||
}
|
||||
|
||||
.fade-enter,
|
||||
.fade-leave-active {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* fade-transform */
|
||||
.fade-transform-leave-active,
|
||||
.fade-transform-enter-active {
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.fade-transform-enter {
|
||||
opacity: 0;
|
||||
transform: translateX(-30px);
|
||||
}
|
||||
|
||||
.fade-transform-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateX(30px);
|
||||
}
|
||||
|
||||
/* breadcrumb transition */
|
||||
.breadcrumb-enter-active,
|
||||
.breadcrumb-leave-active {
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.breadcrumb-enter,
|
||||
.breadcrumb-leave-active {
|
||||
opacity: 0;
|
||||
transform: translateX(20px);
|
||||
}
|
||||
|
||||
.breadcrumb-move {
|
||||
transition: all 0.5s;
|
||||
}
|
||||
|
||||
.breadcrumb-leave-active {
|
||||
position: absolute;
|
||||
}
|
||||
23
src/styles/variables.scss
Normal file
23
src/styles/variables.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
// base color
|
||||
$blue:#324157;
|
||||
$hoverf:#F2F2F2;
|
||||
$light-blue:#3A71A8;
|
||||
//$current-blue:#2a499c;
|
||||
$current-blue:#DBD9D9;
|
||||
$stripd:#889ec0ad;
|
||||
//$whirt:#dce1e7;
|
||||
$whirt:#ebedf07e;
|
||||
$red:#C03639;
|
||||
$red:#C03639;
|
||||
$pink: #E65D6E;
|
||||
$green: #30B08F;
|
||||
$tiffany: #4AB7BD;
|
||||
$yellow:#FEC171;
|
||||
$panGreen: #30B08F;
|
||||
$sideBarWidth: 210px;
|
||||
//演示使用
|
||||
$taleheader: #0b5792;
|
||||
$talehover: #f6b501;
|
||||
$talesprip: #05ca8c;
|
||||
$taletd: #6d8689;
|
||||
$current:#0030780e;
|
||||
Reference in New Issue
Block a user