Merge pull request #6672 from hy993658052/feature-theme-calender-fix

fix: 主题测试修复&日历日程样式修复
This commit is contained in:
qkiroc 2023-04-24 10:12:51 +08:00 committed by GitHub
commit 2bbb281e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 12 deletions

View File

@ -3131,7 +3131,7 @@
--Calendar-icon-height: var(--sizes-size-6);
--Calendar-borderWidth: var(--borders-width-2);
--Calendar-borderColor: var(--inputDate-default-option-today-border-color);
--Calendar-rdt-day: var(--sizes-base-49);
--Calendar-rdt-day: #{px2rem(110px)};
--Calendar-schedule-content-padding: 0 var(--sizes-size-3);
--Calendar-schedule-content-height: var(--sizes-base-10);
--Calendar-schedule-content-color: var(--colors-neutral-text-11);

View File

@ -65,6 +65,14 @@
}
}
.rdtHeader {
margin-top: 0;
}
.rdtPicker .dow {
height: px2rem(40px);
}
.rdtDay {
height: var(--Calendar-rdt-day);
vertical-align: top;
@ -84,6 +92,11 @@
padding: var(--Calendar-schedule-content-padding);
height: var(--Calendar-schedule-content-height);
color: var(--Calendar-schedule-content-color);
text-shadow: none;
}
.#{$ns}ScheduleCalendar-large-schedule-header,
.#{$ns}ScheduleCalendar-large-schedule-footer {
text-shadow: none;
}
}

View File

@ -73,8 +73,7 @@
var(--Toast-paddingBottom) var(--Toast-paddingLeft);
box-shadow: var(--Toast-box-shadow);
border-radius: var(--Toast-top-left-border-radius)
var(--Toast-top-right-border-radius)
var(--Toast-bottom-right-border-radius)
var(--Toast-top-right-border-radius) var(--Toast-bottom-right-border-radius)
var(--Toast-bottom-left-border-radius);
border: var(--Toast-border-width) solid;
color: var(--Toast-color);
@ -106,13 +105,12 @@
height: var(--gap-xl);
color: var(--Toast-close-color);
margin-left: var(--gap-sm);
opacity: 0.8;
align-items: center;
cursor: pointer;
&:hover {
font-size: var(--fontSizeLg);
color: var(--Toast-close--onHover-color);
opacity: 1;
}
& > svg {
@ -282,11 +280,9 @@
left: 50%;
transform: translate(-50%, -50%);
}
}
.#{$ns}Toast-mobile {
.#{$ns}Toast {
background-color: rgba($color: #000000, $alpha: 0.9);
border-radius: px2rem(4px);

View File

@ -111,10 +111,9 @@
}
.#{$ns}GroupedSelection-group > .#{$ns}GroupedSelection-itemLabel {
font-size: var(--transfer-group-font-size);
font-weight: var(--transfer-group-font-weight);
line-height: var(--transfer-group-font-lineHeight);
font-family: var(--transfer-group-font-family);
font-size: var(--transfer-group-fontSize);
font-weight: var(--transfer-group-fontWeight);
line-height: var(--transfer-group-lineHeight);
color: var(--transfer-group-color);
}
@ -301,10 +300,16 @@
&:hover {
background: var(--transfer-tree-bg-hover-color);
.#{$ns}Tree-itemLabel-item {
background: var(--transfer-tree-bg-hover-color);
}
}
&.is-checked {
background: var(--transfer-tree-bg-active-color);
.#{$ns}Tree-itemLabel-item {
background: var(--transfer-tree-bg-active-color);
}
}
}

View File

@ -4,7 +4,7 @@
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g >
<rect stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="15" height="15"></rect>
<path d="M12.549,2.65 L13.256,3.357 L8.659,7.952 L13.2563,12.549 L12.5493,13.257 L7.953,8.659 L3.357,13.257 L2.65,12.549 L7.246,7.952 L2.6503,3.357 L3.3573,2.65 L7.953,7.245 L12.549,2.65 Z" fill="#080E1A" opacity="0.5"></path>
<path d="M12.549,2.65 L13.256,3.357 L8.659,7.952 L13.2563,12.549 L12.5493,13.257 L7.953,8.659 L3.357,13.257 L2.65,12.549 L7.246,7.952 L2.6503,3.357 L3.3573,2.65 L7.953,7.245 L12.549,2.65 Z" fill="currentColor" opacity="0.5"></path>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 632 B