#app .group-title--switch .el-switch__core { width: 60px !important; } #app .group-title--switch.el-switch { position: relative; } #app .group-title--switch .el-switch__label--right.is-active, #app .group-title--switch .el-switch__label--left.is-active { display: inline-block; } #app .group-title--switch .el-switch__label--right *, #app .group-title--switch .el-switch__label--left *{ line-height: inherit; } #app .group-title--switch .el-switch__label--right, #app .group-title--switch .el-switch__label--left { position: absolute; z-index: 2; color: #fff; display: none; font-size: 12px; margin: 0; line-height: 20px; } #app .group-title--switch .el-switch__label--right { left: 8px; } #app .group-title--switch .el-switch__label--left { right: 8px; } .group-title--group h4 { font-size: 20px; margin-right: 12px; } .group-title--group { display: flex; flex-direction: row; align-items: center; } .switch-items { display: flex; flex-direction: row; flex-wrap: wrap; } .switch-item--group::before { content: attr(data-type); position: absolute; top: 0; right: 0; display: inline-block; background: #f4f4f5; padding: 2px; font-size: 12px; line-height: 16px; color: #909399; border-bottom-left-radius: 4px; } .switch-item--group.is-extend .switch-item--label { max-width: unset; } .switch-item--group.is-extend .el-switch { position: absolute; top: 40px; right: 12px; } .switch-item--group { position: relative; display: flex; flex-direction: row; align-items: center; margin: 6px; padding: 8px; border: 1px solid #eee; border-radius: 6px; } .switch-item--label { display: flex; flex-direction: column; min-width: 120px; max-width: 160px; } .switch-item--descript { font-weight: bold; font-size: 14px; } .switch-item--descript[contenteditable] { padding: 4px 8px; border: 1px solid #909399; border-radius: 4px; } .switch-item--key { display: inline-block; width: 40px; } .switch-item--edit.is-textarea .switch-item--key { flex-shrink: 0; margin-right: 4px; } .switch-item--edit.is-textarea { display: flex; flex-direction: row; } .switch-item--edit + .switch-item--edit { margin-top: 8px; } .button-action { display: flex; justify-content: flex-end; margin: 16px; } .delete-action--button.el-button.is-circle { position: absolute; top: -4px; right: -4px; padding: 6px; } .button-new-tag { margin: 16px 0; }