update: phone style

This commit is contained in:
Vick Scarlet
2026-08-16 20:06:16 +08:00
committed by 神戸小鳥
parent 9ae4aa4ba2
commit 7e863021c9
11 changed files with 129 additions and 40 deletions
+7 -5
View File
@@ -8,7 +8,7 @@
.allocation-input {
display: flex;
gap: 0;
height: 2rem;
height: calc(2rem * var(--ratio));
border: 0.0625rem solid var(--grade-color);
color: var(--grade-color);
box-sizing: border-box;
@@ -46,11 +46,12 @@
left: 0;
transform: translateY(-100%);
margin: 0;
font-size: calc(1rem * var(--ratio-font));
li {
display: flex;
justify-content: space-between;
align-items: center;
height: 2rem;
height: calc(2rem * var(--ratio));
padding: 0 0.5rem;
gap: 0.5rem;
}
@@ -67,6 +68,7 @@
margin: 0;
list-style: none;
width: 100%;
font-size: calc(1rem * var(--ratio-font));
> li {
flex: 1 0;
display: flex;
@@ -77,7 +79,7 @@
gap: 0;
> span {
width: 100%;
height: 2rem;
height: calc(2rem * var(--ratio));
color: var(--base-background-color);
background: var(--grade-color);
border: 0.0625rem solid var(--grade-color);
@@ -100,8 +102,8 @@
> button {
--style-color: var(--left-color);
flex: 1;
font-size: 1rem;
height: 2rem;
font-size: calc(1rem * var(--ratio-font));
height: calc(2rem * var(--ratio));
width: 6rem;
padding: 0;
}