/** * 通用css样式布局处理 * Copyright (c) 2019 huyi */ /** 基础通用 **/ .pt5 { padding-top: 5px; } .pr5 { padding-right: 5px; } .pb5 { padding-bottom: 5px; } .pt6{ padding-top: 6px; } .pt12{ padding-top: 12px !important; } .pt20 { padding-top: 20px !important; } .pb20 { padding-bottom: 20px !important; } .mt5 { margin-top: 5px; } .mr5 { margin-right: 5px; } .mb5 { margin-bottom: 5px; } .mb8 { margin-bottom: 8px; } .ml5 { margin-left: 5px; } .mt10 { margin-top: 10px; } .mr10 { margin-right: 10px; } .mb10 { margin-bottom: 10px; } .ml0 { margin-left: 10px; } .mt16{ margin-top: 16px; } .mt20 { margin-top: 20px; } .mr20 { margin-right: 20px; } .mb20 { margin-bottom: 20px !important; } .m20 { margin-left: 20px; } .ml24{ margin-left: 24px; } .mt32{ margin-top: 32px; } .el-dialog:not(.is-fullscreen) { margin-top: 6vh !important; } .el-table--medium th, .el-table--medium td { padding: 6px 0 !important; } .el-table { font-size: 12px; .el-table--medium th, .el-table--medium td { padding: 8px, 0 !important; } .el-table__header-wrapper, .el-table__fixed-header-wrapper { th { word-break: break-word; background-color: #f8f8f9; color: #515a6e; height: 28px; font-size: 12px; } } .el-table__body-wrapper { .el-button [class*='el-icon-'] + span { margin-left: 1px; } } } /** 表单布局 **/ .form-header { font-size: 12px; color: #6379bb; border-bottom: 1px solid #ddd; margin: 8px 10px 25px 10px; padding-bottom: 5px; } /** 表格布局 **/ .pagination-container { position: relative; height: 25px; margin-bottom: 10px; margin-top: 15px; padding: 10px 20px !important; } /* tree border */ .tree-border { margin-top: 5px; border: 1px solid #e5e6e7; background: #ffffff none; border-radius: 4px; } .pagination-container .el-pagination { right: 0; position: absolute; } .el-table .fixed-width .el-button--mini { color: #409eff; padding-left: 0; padding-right: 0; width: inherit; } .el-tree-node__content > .el-checkbox { margin-right: 8px; font-size: 13px; } .list-group-striped > .list-group-item { border-left: 0; border-right: 0; border-radius: 0; padding-left: 0; padding-right: 0; } .list-group { padding-left: 0px; list-style: none; } .list-group-item { border-bottom: 1px solid #ebebeb; margin-bottom: -1px; padding: 11px 0px; font-size: 14px; color: #999999; } .pull-right { float: right !important; } .pulll-right { float: right !important; border: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; } //卡片样式> .fiche { border-radius: 8px; margin-bottom: 10px; background-color: #fafafa; } .el-card__header { padding: 14px 15px 7px; min-height: 40px; } .el-card__body { padding: 15px 20px 0px 20px; } .el-form-item__label { font-size: 13px !important; } .el-button--small { padding: 7px 8px; border-radius: 20px; } .card-box { padding-right: 15px; padding-left: 15px; margin-bottom: 10px; } /* button color */ .el-button--cyan.is-active, .el-button--cyan:active { background: #4280f2; border-color: #4280f2; color: #ffffff; } .el-button--cyan:focus, .el-button--cyan:hover { background: #6899f5; border-color: #6899f5; color: #ffffff; } .el-button--cyan { background-color: #4280f2; border-color: #4280f2; color: #ffffff; } /* text color */ .text-navy { color: #1ab394; } .text-primary { color: inherit; } .text-success { color: #1c84c6; } .text-info { color: #23c6c8; } .text-warning { color: #f8ac59; } .text-warnings { color: #23c6c8; } .text-danger { color: #ed5565; } .text-muted { color: #888888; } /* image */ .img-circle { border-radius: 50%; } .img-lg { width: 120px; height: 120px; } .avatar-upload-preview { position: absolute; top: 50%; transform: translate(50%, -50%); width: 200px; height: 200px; border-radius: 50%; box-shadow: 0 0 4px #ccc; overflow: hidden; } /* 拖拽列样式 */ .sortable-ghost { opacity: 0.8; color: #fff !important; background: #42b983 !important; } .top-right-btn { position: relative; float: right; } .el-tree-node__label { font-size: 13px; } .el-tree__empty-text { font-size: 13px; } .el-input.is-disabled .el-input__inner { background-color: #fff !important; color: #000; } .el-tooltip__popper.is-light { font-size: 16px !important; border: 1px solid #000000 !important; } .zap-line { width: 100%; height: 0; border-bottom: 1px solid #f4f5f6; } .el-dialog__header { position: relative; height: 48px; padding: 13px 20px; background-color: #4280f2; z-index: 20; } .el-dialog__title { font-size: 16px; color: #ffffff; } .el-dialog__headerbtn{ top: 14px !important; } .el-dialog__headerbtn .el-dialog__close:hover, .el-dialog__headerbtn .el-dialog__close { font-size: 20px; color: #ffffff; } .el-dialog__footer { text-align: center; } .dialog-footer{ text-align: center; } // 警告框 .el-message-box{ width: 610px; height: 211px; box-shadow: none; border: none; } .el-message-box__header{ padding: 13px 20px; background-color: #4280F2; } .el-message-box__headerbtn .el-message-box__close, .el-message-box__title{ line-height: 22px; font-size: 16px; color: #ffffff; } .el-message-box__status.el-icon-warning{ font-size: 16px !important; color: #ed5565; } .el-message-box__status + .el-message-box__message{ padding-left: 24px; } .el-message-box__content{ display: flex; align-items: center; padding: 0 76px; height: 108px; } .el-message-box__btns{ display: flex; flex-direction: row-reverse; justify-content: center; text-align: center; .el-button--small{ flex: 0 0 102px; width: 102px; height: 36px; border-radius: 4px; box-sizing: border-box; } } .el-message-box__btns button:nth-child(1){ margin-left: 32px; } .el-message-box__btns button:nth-child(2){ margin-left: 0; } .zap-form-item__content{ .el-form-item__content{ display: flex; align-items: center; } } .zap-form-input{ width: 264px !important; } .zap-form-input--large{ width: 320px !important; } .zap-form__textarea{ height: 80px; .el-textarea__inner{ height: 80px !important; border: none; background-color: #F4F5F6; } } .zap-form-tip{ display: inline-block; width: 20px; height: 20px; margin-left: 8px; } .text-right{ text-align: right; }