123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657 |
- #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;
- }
|