body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td { margin: 0; padding: 0; } body { background: #f1f2f2; } li { list-style: none; } a { text-decoration: none; } input, button, img { border: none; } .active { color: #926963; } /* el-tab样式 */ .el-tabs__item { color: #9699a0; } .el-tabs__item.is-active { color: #24262b; } .el-tabs__active-bar { height: 4px; background-color: #0147eb; } .el-tabs__item:hover { color: #24262b; } /* 状态样式 */ .state { display: inline-block; padding: 0 12px; height: 24px; line-height: 24px; color: #545454; } .state_one { display: inline-block; padding: 0 12px; height: 24px; line-height: 24px; color: #fff; background-color: #0147eb; border-radius: 4px; text-align: center; } .state_two { display: inline-block; padding: 0 12px; line-height: 24px; color: #fff; text-align: center; height: 24px; background-color: #627eea; border-radius: 4px; } .state_three { display: inline-block; padding: 0 12px; color: #fff; text-align: center; height: 24px; line-height: 24px; background-color: #13b440; border-radius: 4px; } .state_four { display: inline-block; padding: 0 12px; color: #fff; text-align: center; height: 24px; line-height: 24px; background-color: #44b4ad; border-radius: 4px; } .state_five { display: inline-block; padding: 0 12px; color: #fff; text-align: center; line-height: 24px; height: 24px; background-color: #8a3aed; border-radius: 4px; } .state_six { display: inline-block; padding: 0 12px; color: #fff; text-align: center; height: 24px; line-height: 24px; background-color: #f04444; border-radius: 4px; } /* echarts */ .full { width: 100%; height: 100%; } /* 表格 */ /* 以下为公共样式 */ .el-table--striped th { background-color: #ebecf0; } .el-table--striped .el-table__header-wrapper .el-table__cell { height: 48px !important; background-color: #ebecf0; color: #545454; padding: 0; box-sizing: border-box; font-size: 14px; font-weight: bold; } .el-table--striped th.el-table__cell.is-leaf, .el-table--striped .el-table__row td.el-table__cell { border-bottom: none; border-right: none; } .el-table--striped::after { width: 0px; } .el-table--striped::before { width: 0px; } .el-table--striped th.el-table__cell.gutter:last-of-type { border-bottom: none; } /* 步骤条虚线 */ /* .el-step.is-horizontal .el-step__line{ border-top: 2px dashed #CCD1DE; height: 0; background-color: transparent; } */ .el-switch__label * { line-height: 1; font-size: 12px; display: inline-block; } .el-switch__label { position: absolute; display: none; color: #fff !important; font-size: 12px !important; } /*打开时文字位置设置*/ .el-switch__label--right { z-index: 1; right: -10px; } /*关闭时文字位置设置*/ .el-switch__label--left { z-index: 1; left: 28px; } /*显示文字*/ .el-switch__label.is-active { display: block; } /*开关宽度*/ .el-switch .el-switch__core, .el-switch .el-switch__label { width: 50px !important; }