.flex { &-row { display: flex; flex-direction: row; } &-column { display: flex; flex-direction: column; } } .custom-table { padding: 10px; background: #fff; border-radius: 10px; } .custom-form { &__title { padding: 10px 0; font-size: 15px; font-weight: bold; color: $color-333; &::before { @include icon-space(); width: 4px; background: $color-primary; height: 1.15em; vertical-align: -0.25em; margin-right: 8px; } } &__panel { padding: 16px 0; } &__input { width: 450px !important; } &__rich { overflow: hidden; width: 800px; } &__picture { display: inline-block; padding: 15px; vertical-align: top; &-wrap { margin-bottom: 30px; } } &__avatar { display: flex; justify-content: center; align-items: center; width: 100px; height: 100px; border: 1px solid #eeeeee; } &__img { max-height: 100%; } &__uploader { position: relative; display: inline-block; overflow: hidden; width: 160px; height: 160px; border: 1px solid; border-radius: 4px; text-align: center; color: $color-input-border; background-color: var(--el-fill-color-lighter); cursor: pointer; vertical-align: top; &:hover { color: $color-primary; } &__img, &__icon { position: absolute !important; top: 0; right: 0; bottom: 0; left: 0; margin: auto; } &__img { width: 100%; } &__icon { height: 1em; font-size: 28px !important; text-align: center; line-height: 1; } &__remove { position: absolute; right: 0; bottom: 0; padding: 5px 10px; font-size: 18px; } .el-upload { display: block; width: 100%; height: 100%; } &-inline { display: inline-block; text-align: center; & + & { margin-left: 10px; } } } &__tips { padding-left: 3px; font-size: 12px; color: #999; } &__note { font-size: 12px; color: $color-danger; } }