语言适配

This commit is contained in:
X1627315083
2024-06-21 10:30:09 +08:00
parent dc93403506
commit 8b0af784de
20 changed files with 476 additions and 150 deletions

View File

@@ -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;
}

View File

@@ -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;