diff --git a/src/assets/style/style.css b/src/assets/style/style.css index eb5a10e8..27365a00 100644 --- a/src/assets/style/style.css +++ b/src/assets/style/style.css @@ -494,6 +494,7 @@ li { justify-content: center; } .ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary { + color: #fff; margin-left: 10rem; } .modal_component.ant-modal { @@ -899,26 +900,31 @@ li { .sketchboard_upload_modal .switch_type_list.showEvents * { pointer-events: auto; } -.habit :deep(.ant-btn:hover), -:deep(.ant-btn:focus), -:deep(.ant-btn:active), -:deep(.ant-btn::after) { +.ant-btn:hover, +.ant-btn:focus, +.ant-btn:active, +.ant-btn::after { color: #000; border-color: #000 !important; box-shadow: none !important; } -:deep(.ant-switch-checked) { +.ant-switch-checked { background-color: #000; } -:deep(.ant-switch-checked) .ant-switch-handle { +.ant-switch-checked .ant-switch-handle { left: calc(100% - 1.8rem - 0.2rem); + top: 0.3rem; } -:deep(.ant-switch) { +[ant-click-animating-without-extra-node='true']::after, +.ant-click-animating-node { + box-shadow: none !important; +} +.ant-switch { min-width: 4.4rem; height: 2.2rem; line-height: 2.2rem; } -:deep(.ant-switch) .ant-switch-handle { +.ant-switch .ant-switch-handle { width: 1.8rem; height: 1.8rem; } diff --git a/src/assets/style/style.less b/src/assets/style/style.less index 7aec302d..0ec8c4e4 100644 --- a/src/assets/style/style.less +++ b/src/assets/style/style.less @@ -562,6 +562,7 @@ input:focus{ display: flex; justify-content: center; .ant-btn-primary{ + color: #fff; margin-left: 10rem; } } @@ -1022,22 +1023,25 @@ input:focus{ .ant-message-info .anticon{ // color: #b2b2b2; } -.habit :deep(.ant-btn:hover), -:deep(.ant-btn:focus), -:deep(.ant-btn:active), -:deep(.ant-btn::after) { +.ant-btn:hover, +.ant-btn:focus, +.ant-btn:active, +.ant-btn::after { color: #000; border-color: #000 !important; box-shadow: none !important; } -:deep(.ant-switch-checked) { +.ant-switch-checked { background-color: #000; .ant-switch-handle{ left: calc(100% - 1.8rem - .2rem); + top: .3rem; } - } -:deep(.ant-switch){ +[ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node{ + box-shadow: none !important; +} +.ant-switch{ min-width: 4.4rem; height: 2.2rem; line-height: 2.2rem; diff --git a/src/component/Administrator/allUser.vue b/src/component/Administrator/allUser.vue index fa8ae472..aa7cd474 100644 --- a/src/component/Administrator/allUser.vue +++ b/src/component/Administrator/allUser.vue @@ -94,6 +94,7 @@ export default defineComponent({ { title: 'Country', align: "center", + width: 50, ellipsis: true, dataIndex: "country", key: "country", diff --git a/src/component/Detail/DesignDetailAlter.vue b/src/component/Detail/DesignDetailAlter.vue index 42b98342..a5b95087 100644 --- a/src/component/Detail/DesignDetailAlter.vue +++ b/src/component/Detail/DesignDetailAlter.vue @@ -163,14 +163,18 @@ -->