2024-11-09 13:12:16 +07:00
|
|
|
.card-number {
|
2024-11-26 18:41:40 +01:00
|
|
|
--codex-card-number-label-color: rgb(123, 123, 123);
|
|
|
|
|
--codex-card-number-unit-color: rgba(150, 150, 150, 1);
|
2024-09-13 12:25:30 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
&[aria-invalid] {
|
2024-11-26 18:41:40 +01:00
|
|
|
--codex-card-number-label-color: var(-codex-color-error);
|
|
|
|
|
--codex-card-number-unit-color: var(-codex-color-error);
|
2024-11-09 13:12:16 +07:00
|
|
|
}
|
2024-09-13 12:25:30 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
position: relative;
|
2024-08-22 17:41:44 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
label {
|
|
|
|
|
color: var(--codex-card-number-label-color);
|
|
|
|
|
}
|
2024-08-22 17:41:44 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
input {
|
|
|
|
|
font-family: Inter;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
letter-spacing: -0.015em;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
2024-08-29 18:45:52 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
.tooltip {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0px;
|
|
|
|
|
top: 0px;
|
|
|
|
|
}
|
2024-08-29 18:45:52 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
svg {
|
|
|
|
|
color: var(--codex-card-number-unit-color);
|
|
|
|
|
}
|
2024-08-22 17:41:44 +02:00
|
|
|
|
2024-11-09 13:12:16 +07:00
|
|
|
span {
|
|
|
|
|
font-family: Inter;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: var(--codex-card-number-unit-color);
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 54px;
|
2024-11-10 09:20:38 +07:00
|
|
|
right: 48px;
|
2024-11-09 13:12:16 +07:00
|
|
|
}
|
2024-08-22 17:41:44 +02:00
|
|
|
}
|