#app{ color: $--color-text-primary; font-size: $--size-base; } .hui-flex { width: 100%; height: 100%; display: flex; flex-direction: column; .hui-flex-box { flex: 1; height: 0; overflow-y: auto; } } .hui-ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .hui-content { .hui-content-title { display: flex; height: 48px; border-bottom: 1px solid $--border-color-light; padding: 0 20px; .hui-title-item { padding: 0 14px; cursor: pointer; position: relative; height: 48px; line-height: 48px; } .hui-title-item.active, .hui-title-item:hover { color: $--color-primary; } .hui-title-item.active::before, .hui-title-item:hover::before { content: ''; background: $--color-primary; height: 2px; left: 14px; right: 14px; bottom: 0; position: absolute; } } .hui-nav{ height: 48px; border-bottom: 1px solid #374156; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; .el-page-header__content{ font-size: 16px; } } .hui-content-insert { padding-bottom: 12px; } .hui-content-select{ display: flex; padding-bottom: 10px; .select-item{ display: flex; flex: 1; } .select-input{ width: 240px; } } .hui-table { padding: 12px 20px; .cell{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .tr-center{ display: flex; align-items: center; .label{ margin-right: 8px; } } .hui-table-operation { .table-operation { padding-left: 10px; cursor: pointer; color: $--color-primary; } .table-operation:first-child { padding-left: 0; } } .hui-table-tag { display: flex; align-items: center; } .hui-table-user { display: flex; align-items: center; .hui-table-avatar { width: 32px; height: 32px; overflow: hidden; border-radius: 50%; margin-right: 8px; } } .el-table{ border-left: 1px solid $--border-color-lighter; border-right: 1px solid $--border-color-lighter; border-top: 1px solid $--border-color-lighter; border-radius: $--border-radius-base; } .el-table__header{ th{ color: #606266; background: #f4f4f5; } .cell{ font-weight: 700; } } .el-table__expand-icon { .el-icon-arrow-right { font-family: 'iconfont' !important; font-size: 8px; position: relative; top: -2px; } .el-icon-arrow-right::before { content: '\e738'; } } .caret-wrapper{ position: absolute; top: -5px; } } .hui-content-pagination { padding-top: 12px; text-align: right; } .hui-table-box-foot { display: flex; padding-top: 12px; justify-content: space-between; align-items: flex-start; .tips { font-size: 12px; } } } //form .el-form { display: flex; flex-wrap: wrap; .el-form-item__content { line-height: 32px; } .el-form-item { width: 50%; box-sizing: border-box; } .el-form-item:nth-child(2n-1) { padding-right: 10px; } .el-form-item:nth-child(2n) { padding-left: 10px; } .el-form-item__label { line-height: normal; padding-bottom: 5px; } .hui-textarea { width: 100% !important; padding: 0 !important; } .hui-document { padding: 0 !important; } .el-input-number, .el-select, .el-cascader, .el-date-editor.el-input{ width: 100%; } } //dialog .el-dialog { height: 80vh; margin-top: 10vh !important; display: flex; flex-direction: column; .el-dialog__header { padding: 15px 20px; border-bottom: 1px solid $--border-color-light; .el-icon-close { font-family: "iconfont" !important; font-size: 18px; } .el-icon-close::before { content: "\e72f"; } } .el-dialog__title { font-size: 16px; } .el-dialog__body { padding: 0; flex: 1; height: 0; overflow-y: auto; } } .hui-dialog { .hui-dialog-content { padding: 20px; overflow-y: auto; } .hui-dialog-submit { border-top: 1px solid $--border-color-light; text-align: right; padding: 10px; } } .border-box{ border: 1px solid $--border-color-lighter; background: $--color-white; } .color-primary{ color: $--color-primary; } .color-success{ color: $--color-success; } .color-warning{ color: $--color-warning; } .color-danger { color: $--color-danger; } .is-center{ .hui-state{ justify-content: center; } } .hui-state { display: flex; align-items: center; .hui-state-label{ font-size: 13px; color: $--color-text-secondary; } .hui-state-bage { width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; } .hui-state-success { background: $--color-success; } .hui-state-danger { background: $--color-danger; } .hui-state-info { background: $--color-info; } .hui-state-primary { background: $--color-primary; } .hui-state-waiting { background: $--color-warning; } } .yui-tree-box { display: flex; width: 100%; height: 100%; background: $--background-color-base; .hui-left-tree { width: 250px; box-sizing: border-box; height: 100%; display: flex; flex-direction: column; background: $--color-white; .hui-left-tree-title { height: 42px; border-radius: 2px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid $--border-color-light; } .hui-left-tree-content { flex: 1; height: 0; overflow-y: auto; .collapse-title { flex: 1; width: 0; display: flex; align-items: center; &.active{ color: $--color-primary; .iconfont { color: $--color-primary; } } } } .hui-left-tree-sub { font-weight: 600; margin-left: 8px; flex: 1; width: 0; } } .hui-tree-content { width: 0; flex: 1; height: 100%; padding-left: 10px; } .el-collapse { border: none; .el-collapse-item__header { border-color: $--border-color-light; height: 32px; line-height: 32px; font-size: 12px; padding: 0 14px; .el-collapse-name { flex: 1; width: 0; overflow: hidden; } .iconfont { margin-right: 6px; } .huifont-bumen { font-size: 16px; } .huifont-shuzhuangcaidantubiao, .huifont-moxingguanli { font-size: 18px; } } .el-collapse-item__wrap { border: none; } .el-icon-arrow-right { font-family: 'iconfont' !important; font-size: 9px; margin: 0; } .el-icon-arrow-right::before { content: '\e738'; } .el-collapse-item__content { padding-bottom: 0; font-size: 12px; } } } .el-tree { .el-tree-node__content { height: 32px; overflow: hidden; } .el-tree-node__label { font-size: 12px; position: relative; left: -10px; } .el-icon-caret-right { font-family: 'iconfont' !important; font-size: 8px; margin: 0; } .el-icon-caret-right::before { content: '\e738'; } .el-tree-node__content>.el-tree-node__expand-icon { padding: 10px; } .tree-node { display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative; left: -10px; .tree-node-label { font-size: 12px; } .btn .el-button { padding: 5px 10px; } } .custom-tree-node{ width: 100%; display: flex; align-items: center; padding-right: 10px; .label{ flex: 1; width: 0; overflow: hidden; font-size: 12px; } .iconfont{ font-size: 19px; margin-right: 5px; } .el-icon-place{ font-size: 16px; } &.active, .active{ color: $--color-primary; } } } .hui-detail { padding:15px; .hui-detail-box{ border-radius: 4px; box-shadow: 0px 1px 12px rgba(3, 3, 3, 0.1); margin-bottom: 15px; } .hui-detail-title{ font-weight: bold; line-height: 44px; padding: 0 15px; border-bottom: 1px solid $--border-color-lighter; } .hui-detail-content { padding:15px; .hui-detail-item { padding-bottom: 15px; .hui-detail-label { min-height: 22px; width: 100%; color: #8f959e; letter-spacing: 0; padding-bottom: 8px; } .hui-detail-value { line-height: 22px; white-space: normal; } &:last-child{ padding-bottom: 0; } } } } .hui-drawer-submit { border-top: 1px solid $--border-color-light; text-align: right; padding: 12px 24px; } //drawer .el-drawer { font-size: $--font-size-base; .el-drawer__header { padding: 0; margin: 0; height: 56px; border-bottom: 1px solid $--border-color-light; padding: 0 20px; span { font-size: 16px; font-weight: 500; } } } .el-tabs { .el-tabs__item{ font-weight: 400; &.is-active{ font-weight: 500; } } .el-tabs__nav-wrap::after{ height: 1; } } .hui-tag { display: inline-block; border: 1px solid $--color-primary; padding: 0 5px; border-radius: 2px; color: $--color-primary; overflow: hidden; position: relative; font-size: 12px; line-height: 18px; box-sizing: border-box; } .hui-table-tag { display: flex; align-items: center; } .hui-tag::before { content: ''; width: 100%; height: 100%; background: $--color-primary; opacity: 0.1; position: absolute; left: 0; top: 0; } .hui-tag.hui-tag-success { border-color: $--color-success; color: $--color-success; } .hui-tag.hui-tag-success::before { background: $--color-success; } .hui-tag.hui-tag-warning { border-color: $--color-warning; color: $--color-warning; } .hui-tag.hui-tag-warning::before { background: $--color-warning; } .hui-tag.hui-tag-error { border-color: $--color-danger; color: $--color-danger; } .hui-tag.hui-tag-error::before { background: $--color-danger; } .hui-tag.hui-tag-info { border-color: $--color-info; color: $--color-info; } .hui-tag.hui-tag-info::before { background: $--color-info; }