| | |
| | | @import './base.css'; |
| | | |
| | | #app { |
| | | width: 100%; |
| | | |
| | | /* 居中布局 */ |
| | | .contentBox{ |
| | | width: 1200px; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | a, |
| | | .green { |
| | | text-decoration: none; |
| | | color: hsla(160, 100%, 37%, 1); |
| | | transition: 0.4s; |
| | | padding: 3px; |
| | | /* 自适应图片 */ |
| | | .autoImg { |
| | | width: auto; |
| | | height: auto; |
| | | max-width: 100%; |
| | | max-height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | margin: auto; |
| | | } |
| | | |
| | | .bannerImg { |
| | | width: 100%; |
| | | height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | margin: auto; |
| | | } |
| | | |
| | | /* 免费 */ |
| | | .freePrice { |
| | | color: #0bc266 !important; |
| | | } |
| | | |
| | | .titleBox { |
| | | height: 60px; |
| | | background: #d8f7e6; |
| | | line-height: 60px; |
| | | padding: 0 40px; |
| | | font-weight: 700; |
| | | color: #00873c; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | /* 富文本容器,保留富文本默认样式,所见即所得 */ |
| | | .richTextBox { |
| | | line-height: 1.4; |
| | | } |
| | | |
| | | .richTextBox p { |
| | | display: block; |
| | | margin-block-start: 1em; |
| | | margin-block-end: 1em; |
| | | margin-inline-start: 0px; |
| | | margin-inline-end: 0px; |
| | | } |
| | | |
| | | .richTextBox table[border]:not([border="0"]):not([style*=border-style]) td, .richTextBox table[border]:not([border="0"]):not([style*=border-style]) th { |
| | | border-style: solid; |
| | | } |
| | | |
| | | .richTextBox table[border]:not([border="0"]):not([style*=border-width]) td, .richTextBox table[border]:not([border="0"]):not([style*=border-width]) th { |
| | | border-width: 1px; |
| | | } |
| | | .richTextBox table:not([cellpadding]) td, .richTextBox table:not([cellpadding]) th { |
| | | padding: 0.4rem; |
| | | } |
| | | |
| | | /* 单行省略 */ |
| | | .ellipsis { |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | text-overflow: ellipsis; |
| | | } |
| | | |
| | | /* flex布局 */ |
| | | .flex { |
| | | display: flex; |
| | | } |
| | | |
| | | .flex1 { |
| | | flex: 1; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | /* 上传图片 */ |
| | | .avatar-uploader .el-upload { |
| | | width: 190px; |
| | | height: 140px; |
| | | border: 1px dashed #d9d9d9; |
| | | position: relative; |
| | | } |
| | | |
| | | .avatar-uploader .el-upload:hover { |
| | | border-color: #409eff; |
| | | } |
| | | |
| | | .avatarCover { |
| | | display: block; |
| | | position: absolute; |
| | | left: 0; |
| | | right: 0; |
| | | top: 0; |
| | | bottom: 0; |
| | | max-width: 100%; |
| | | max-height: 100%; |
| | | margin: auto; |
| | | } |
| | | |
| | | /* 内置状态字体颜色 */ |
| | | .primaryTxt { |
| | | color: #00873C !important; |
| | | } |
| | | .successTxt { |
| | | color: #67c23a !important; |
| | | } |
| | | .warningTxt { |
| | | color: #e6a23c !important; |
| | | } |
| | | .errorTxt { |
| | | color: #f56c6c !important; |
| | | } |
| | | .infoTxt { |
| | | color: #999 !important; |
| | | } |
| | | /* 内置状态背景颜色 */ |
| | | .primaryBack { |
| | | color: #fff !important; |
| | | background: #00873C !important; |
| | | } |
| | | .successBack { |
| | | color: #fff !important; |
| | | background: #67c23a !important; |
| | | } |
| | | .warningBack { |
| | | color: #fff !important; |
| | | background: #e6a23c !important; |
| | | } |
| | | .errorBack { |
| | | color: #fff !important; |
| | | background: #f56c6c !important; |
| | | } |
| | | |
| | | /* 主题色修改,根据UI框架决定是否需要 */ |
| | | /* .el-button--primary { |
| | | background-color: #00873C !important; |
| | | border-color: #00873C !important; |
| | | } |
| | | |
| | | .el-button--primary:focus, |
| | | .el-button--primary:hover { |
| | | background: #086833 !important; |
| | | border-color: #086833 !important; |
| | | color: #fff !important; |
| | | } |
| | | |
| | | .el-tabs__item.is-active { |
| | | color: #00873C !important; |
| | | } */ |
| | | |
| | | .el-input-group__append, .el-input-group__prepend { |
| | | vertical-align: initial !important; |
| | | } |
| | | .el-checkbox__inner{ |
| | | border: 1px solid #000 !important; |
| | | width: 20px !important; |
| | | height: 20px !important; |
| | | } |
| | | |
| | | .el-checkbox__inner::after { |
| | | left: 7px !important; |
| | | top: 4px !important; |
| | | } |