【前端】智能库房综合管理系统前端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

835 lines
18 KiB

.head-container {
padding: 20px;
.filter-item {
display: inline-block;
vertical-align: middle;
margin-right: 20px;
input {
border: 1px solid $inputBorder;
background-color: $mainContainerBg;
height: 32px;
line-height: 32px;
color: #fff;
}
}
.el-form-item-label {
margin: 0 3px 9px 0;
display: inline-block;
text-align: right;
vertical-align: middle;
font-size: 14px;
color: #606266;
line-height: 32px;
padding: 0 7px;
}
.el-select__caret.el-input__icon.el-icon-arrow-up{
line-height: 32px;
}
.date-item {
display: inline-block;
vertical-align: middle;
border: 1px solid $inputBorder;
background-color: $mainContainerBg;
margin-right: 20px;
height: 32px !important;
width: 230px !important;
}
}
.el-avatar {
display: inline-block;
text-align: center;
background: #ccc;
color: #fff;
white-space: nowrap;
position: relative;
overflow: hidden;
vertical-align: middle;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 16px;
}
.logo-con{
height: 60px;
padding: 13px 0 0;
img{
height: 32px;
width: 135px;
display: block;
//margin: 0 auto;
}
}
#el-login-footer {
height: 40px;
line-height: 40px;
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
color: #fff;
font-family: Arial, serif;
font-size: 12px;
letter-spacing: 1px;
}
#el-main-footer {
background: none repeat scroll 0 0 white;
border-top: 1px solid #e7eaec;
overflow: hidden;
padding: 10px 6px 0 6px;
height: 33px;
font-size: 0.7rem !important;
color: #7a8b9a;
letter-spacing: 0.8px;
font-family: Arial, sans-serif !important;
position: fixed;
bottom: 0;
z-index: 99;
width: 100%;
}
.yxk-upload {
border: 1px dashed #c0ccda;
border-radius: 5px;
height: 45px;
line-height: 45px;
width: 368px;
}
.my-blockquote{
margin: 0 0 10px;
padding: 15px;
line-height: 22px;
border-left: 5px solid #00437B;
border-radius: 0 2px 2px 0;
background-color: #f2f2f2;
}
.my-code{
position: relative;
padding: 15px;
line-height: 20px;
border-left: 5px solid #ddd;
color: #333;
font-family: Courier New, serif;
font-size: 12px
}
.el-tabs{
margin-bottom: 25px;
}
// xu
// 四角边线
// 有左右分区时
.container-main{
display: flex;
justify-content: space-between;
margin-left: 0 !important;
margin-right: 0 !important;
}
.container-left{
margin-right: 20px;
}
.container-left,
.container-right,
.container-wrap,
.el-card,
.header-container-wrap{
position: relative;
min-height: 100%;
padding: 0 !important;
background-color: $mainContainerBg;
border: $mainContainerBorder;
min-height: calc(100vh - 190px);
&::before,
&::after{
content: "";
position: absolute;
width: 17px;
height: 17px;
z-index: 99;
}
&::before{
top: -1px;
left: -1px;
border-top: 1px solid #339CFF;
border-left: 1px solid #339CFF;
}
&::after{
right: -1px;
bottom: -1px;
border-right: 1px solid #339CFF;
border-bottom: 1px solid #339CFF;
}
}
.el-card,
.container-left{
background-color: transparent;
min-height: auto;
border-radius: 0;
overflow: visible;
.el-card__header{
background-color: #02255F;
border-bottom: none;
.role-span{
color: #fff;
}
}
.el-card__body{
padding: 0;
.head-container{
padding: 0;
}
}
.crud-opts{
justify-content: center;
padding: 20px 0 !important;
border-bottom: 1px solid #113D72;
}
.el-tree{
margin: 20px 0;
}
}
// xu el-button
.head-search{
margin-bottom: 20px;
.el-button{
margin-left: 0;
background-color: $desPreviewColor;
}
}
.el-button,
.el-button--info.is-plain{
font-size: 14px;
color: #fff;
border-color: #339CFF;
background-color: transparent;
}
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus{
color: #13439E;
background-color: transparent;
border-color: #13439E;
}
.el-button:hover,
.el-button:focus,
.el-button--info.is-plain:hover,
.el-button--info.is-plain:focus{
color: #fff;
background-color: #02255F;
border-color: #339CFF;
}
.el-button--mini{
padding: 7px 10px;
}
.el-message-box{
.el-button{
border-color: #dcdfe6;
color: #606266;
}
.el-button:focus,
.el-button:hover {
color: #1890ff;
border-color: #badeff;
background-color: #e8f4ff;
}
.el-button--primary,
.el-button--primary:focus,
.el-button--primary:hover {
background: #46a6ff;
border-color: #46a6ff;
color: #fff;
}
}
.header-container-wrap{
min-height: auto;
}
.right-top-line,
.left-bottom-line{
display: block;
position: absolute;
width: 17px;
height: 17px;
z-index: 99;
}
.left-bottom-line{
bottom: -1px;
left: -1px;
border-bottom: 1px solid #339CFF;
border-left: 1px solid #339CFF;
}
.right-top-line{
right: -1px;
top: -1px;
border-right: 1px solid #339CFF;
border-top: 1px solid #339CFF;
}
.el-tree{
background: transparent !important;
.el-tree-node:focus>.el-tree-node__content {
background-color: transparent !important;
}
.is-current>.el-tree-node__content {
background-image: $subMenuActiveBg !important;
color: #fff;
}
.el-tree-node__content{
padding: 0 30px !important;
height: 40px;
color: $subMenuActiveText;
background-color: transparent;
.el-tree-node__label{
font-size: 16px;
font-weight: 600;
}
&:hover{
background-color: transparent !important;
background-image: $subMenuActiveBg;
}
}
.el-tree-node__expand-icon{
font-size: 16px;
color: $subMenuActiveText;
}
.el-tree-node__children{
padding: 0 18px;
.el-tree-node__content{
height: 30px;
}
.el-tree-node__label{
font-size: 14px;
font-weight: normal;
}
}
}
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
background-color: transparent;
background-image: $subMenuActiveBg;
}
.el-date-editor .el-range-input{
background: transparent;
color: #fff;
}
// table
.el-table{
background: transparent;
tr{
background: transparent;
.el-table__cell{
height: 60px;
background-color: transparent;
}
}
.el-table__header-wrapper,
.el-table__header{
th.el-table__cell{
background-color: #02255F;
border-top: 1px solid #113D72;
border-bottom: none;
&>.cell{
font-size: 16px;
color: #339CFF;
}
}
}
.el-table__body-wrapper,
.el-table__fixed-right{
td.el-table__cell{
color: #339CFF;
font-size: 14px;
border-bottom: 1px dashed #113D72;
}
}
&::before,
.el-table--group::after,
.el-table--border::after,
.el-table__fixed::before,
.el-table__fixed-right::before{
background-color: transparent;
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-disabled .el-checkbox__inner{
border-color: #339CFF;
background: transparent;
&::after{
border-color: #339CFF;
}
}
.el-table__body tr.hover-row > td,
.el-table__body tr.hover-row.current-row > td,
.el-table__body tr.hover-row.el-table__row--striped > td,
.el-table__body tr.hover-row.el-table__row--striped.current-row > td {
color: #fff;
background-color: #13439E;
.el-checkbox__input.is-checked .el-checkbox__inner{
background: #fff;
border-color: #fff;
}
}
.el-button{
padding: 7px 15px;
}
.el-button--primary {
background-color: #1890ff;
border-color: #1890ff;
}
.el-button--danger {
background-color: #ff4949;
border-color: #ff4949;
}
.el-button.is-disabled,
.el-button.is-disabled:hover,
.el-button.is-disabled:focus{
color: #fff;
background-color: #ffa4a4;
border-color: #ffa4a4;
}
}
.el-table__body tr.el-table__row:hover>td.el-table__cell,
.el-table__body tr.el-table__row:focus>td.el-table__cell,
.el-table__body tr.current-row:hover>td.el-table__cell,
.el-table__body tr.current-row:focus>td.el-table__cell{
color: #fff;
background-color: #13439E;
.el-checkbox__input.is-checked .el-checkbox__inner{
background: #fff;
border-color: #fff;
}
}
.el-table__body tr.current-row>td.el-table__cell{
background-color: transparent;
}
.el-checkbox__inner{
background: transparent;
border-color: #339CFF;
}
.el-icon-arrow-right:before{
color: #fff;
}
// 分页
.el-pagination{
padding: 2px 10px;
margin: 10px 0 !important;
.el-pagination__total{
color: #fff;
}
button{
background-color: transparent;
&:disabled{
background-color: transparent;
}
}
.el-pager li.active{
color: #fff;
background-color: transparent;
}
.el-select .el-input .el-input__inner{
background-color: transparent;
color: #fff;
}
.btn-prev,
.btn-next{
background-color: transparent;
}
}
// 弹框
.el-dialog{
position: relative;
width: 620px;
padding: 2px;
background: linear-gradient(135deg, transparent 10px, #339CFF 0) top left,
linear-gradient(-135deg, transparent 10px, #339CFF 0) top right,
linear-gradient(-45deg, transparent 10px, #339CFF 0) bottom right,
linear-gradient(45deg, transparent 10px, #339CFF 0) bottom left;
background-size: 50% 50%;
background-repeat: no-repeat;
&::before,
&::after,
.dialog-right-top,
.dialog-left-bottom{
position: absolute;
content: "";
width: 134px;
height: 63px;
z-index: 99;
}
&::before{
left: -6px;
top: -6px;
background: url(~@/assets/images/dialog_left_top.png) no-repeat;
background-size: contain;
}
&::after{
right: -18px;
bottom: -7px;
background: url(~@/assets/images/dialog_right_bottom.png) no-repeat;
background-size: contain;
}
.dialog-right-top{
right: -23px;
top: -6px;
background: url(~@/assets/images/dialog_right_top.png) no-repeat;
background-size: contain;
}
.dialog-left-bottom{
left: -6px;
bottom: -7px;
background: url(~@/assets/images/dialog_left_bottom.png) no-repeat;
background-size: contain;
}
.el-dialog__header{
position: absolute;
top: -40px;
left: 50%;
width: 360px;
padding: 0;
transform: translateX(-50%);
&::before{
position: absolute;
left: -23px;
top: 0;
content: "";
width: 23px;
height: 42px;
background: url(~@/assets/images/dialog_left.png) no-repeat;
background-size: cover;
}
&::after{
position: absolute;
right: -23px;
top: 0;
content: "";
width: 23px;
height: 42px;
background: url(~@/assets/images/dialog_right.png) no-repeat;
background-size: cover;
}
.el-dialog__title{
display: block;
font-size: 18px;
font-weight: bold;
line-height: 38px;
color: #fff;
text-align: center;
background-color: #031435;
border-top: 2px solid #339CFF;
border-bottom: 2px solid #339CFF;
}
.el-dialog__headerbtn{
top: 4px;
right: -160px;
}
.el-dialog__close{
font-family: "iconfont" !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 24px;
color: #339CFF;
&::before{
content: "\e60c";
}
}
}
.el-dialog__body{
width: 100%;
background-color: #031435;
// border: 2px solid #339CFF;
// min-height: 400px;
// background: linear-gradient(135deg, transparent 12px, #031435 0) top left,
// linear-gradient(-135deg, transparent 12px, #031435 0) top right,
// linear-gradient(-45deg, transparent 12px, #031435 0) bottom right,
// linear-gradient(45deg, transparent 12px, #031435 0) bottom left;
// background-size: 50% 50%;
// background-repeat: no-repeat;
// box-shadow: inset 0px 0px 8px 1px rgba(51, 156, 255, 0.6);
}
.el-form{
.el-form-item__label{
color: $subMenuActiveText;
}
.el-input__inner{
color: #fff;
border: 1px solid $subMenuActiveText;
background-color: transparent !important;
}
.vue-treeselect__control,
.vue-treeselect__placeholder,
.vue-treeselect__single-value{
height: 36px;
line-height: 36px;
color: #fff;
}
.vue-treeselect__control{
border: 1px solid $subMenuActiveText;
background-color: transparent;
}
.el-radio{
color: #fff;
}
.el-textarea__inner{
color: #fff;
border: 1px solid $subMenuActiveText;
background-color: transparent;
}
.el-input-number.is-controls-right[class*=small] [class*=increase],
.el-input-number.is-controls-right[class*=small] [class*=decrease]{
background-color: transparent;
}
.el-input-number__decrease,
.el-input-number__increase{
border-left-color: $subMenuActiveText;
&>i{
color: #fff;
}
}
.el-input-number__increase{
border-bottom-color: $subMenuActiveText;
}
.el-select .el-input .el-select__caret{
color: #fff;
}
.el-select .el-input.is-disabled .el-input__inner,
.el-select .el-input.is-disabled .el-input__inner:hover,
.el-select .el-input.is-disabled .el-input__inner:focus{
border-color: #339cff;
}
}
.dialog-footer{
margin: 30px auto 0 auto;
text-align: center;
.el-button{
font-size: 16px;
padding: 8px 28px;
}
.el-button--primary{
background-color: $desPreviewColor;
}
}
}
.el-form{
.el-form-item__label{
line-height: 36px;
}
.el-input__inner{
height: 36px;
line-height: 36px;
}
.el-select {
height: 36px;
}
}
// el-tree 最终节点不显示箭头
.is-leaf::before {
color: transparent;
}
.el-input__prefix{
left: 8px;
}
// tab样式布局
.tab-content{
margin-top: 40px;
border-top: none;
&::before{
display: none;
}
.tab-nav{
display: flex;
justify-content: flex-start;
height: 41px;
line-height: 41px;
margin: -41px 0 30px -1px;
font-size: 16px;
font-weight: bold;
color: #359AFC;
border-bottom: 1px solid #113D72;
li{
position: relative;
padding: 0 24px;
margin: -1px 30px 0 0;
letter-spacing: 2px;
border-top: 1px solid #113D72;
cursor: pointer;
&::before,
&::after{
content: "";
position: absolute;
top: 0;
width: 33px;
height: 41px;
}
&::before{
left: -15px;
background: url(~@/assets/images/tab_left.png) no-repeat;
background-size: contain;
}
&::after{
right: -32px;
background: url(~@/assets/images/tab_right.png) no-repeat;
background-size: contain;
}
&:first-child{
border-left: 1px solid #113d72;;
&::before{
width: 17px;
height: 17px;
left: -1px;
top: -1px;
border-left: 1px solid #339cff;
border-top: 1px solid #339cff;
}
}
&.active-tab-nav{
color: #fff;
&::before{
background: url(~@/assets/images/tab_left_active.png) no-repeat;
background-size: contain;
}
&::after{
background: url(~@/assets/images/tab_right_active.png) no-repeat;
background-size: contain;
}
i{
display: block;
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 1px;
border-bottom: 1px solid #021941;
}
}
}
.tab-right-img{
display: block;
width: 93px;
margin: 4px 0 0 -14px;
background: url(~@/assets/images/tab_img.png) no-repeat;
background-size: contain;
}
}
}
// 默认底图 - 暂时只有头像
.user-img-cover{
border-radius: 50%;
background: url(~@/assets/images/avatar.png) no-repeat #fff;
background-size: cover;
overflow: hidden;
}
// 著录界面表单
.des-form{
.el-form-item__label{
font-weight: normal;
color: $desPreviewColor;
}
.el-input__inner{
width: 200px;
color: $desPreviewColor;
background: #021941 !important;
border: none;
&::placeholder{
color: $desPreviewColor !important;
}
&::-webkit-input-placeholder{
color: $desPreviewColor !important;
}
}
.el-input.is-disabled .el-input__inner{
color: $desPreviewColor;
}
.el-input__icon{
color: $desPreviewColor !important;
}
.checkbox-item{
height: 36px;
line-height: 36px;
text-align: right;
.el-form-item__content{
margin-left: 0 !important;
}
.el-checkbox__input.is-disabled .el-checkbox__inner{
background-color: transparent;
border-color: $subMenuActiveText;
&::after{
border-color: $desPreviewColor;
}
}
span{
// margin-right: 10px;
color: $desPreviewColor;
}
}
.input-num{
display: flex;
justify-content: flex-end;
.el-input__inner{
width: 50px;
}
.el-form-item__content{
display: flex;
justify-content: flex-start;
margin-left: 0 !important;
.el-input,
.el-input-number--small{
width: 60px;
}
.el-input-number.is-controls-right {
.el-input-number__decrease,
.el-input-number__increase{
display: none;
}
.el-input__inner{
padding-left: 0;
padding-right: 0;
}
}
}
span{
color: $desPreviewColor;
line-height: 36px;
}
}
// 去除element ui 中el-input type=“number“的上下箭头
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
}
input[type='number'] {
-moz-appearance: textfield !important;
}
}