addd code review changes

This commit is contained in:
zoronjiermin committed 2026-05-06 23:24:45 +02:00
1 parent 5bf3f8694c
commit 0a075632c3
15 files changed
+640 -234

No files matched your search

+28 -3
View File
@@ -11,7 +11,7 @@
.drawer-backdrop {
position: fixed;
inset: 0;
z-index: 80;
z-index: var(--z-drawer-backdrop);
background: rgba(0, 0, 0, 0.58);
opacity: 0;
pointer-events: none;
@@ -27,7 +27,7 @@
position: fixed;
top: 0;
right: 0;
z-index: 90;
z-index: var(--z-drawer);
width: min(560px, 100%);
height: 100vh;
height: 100dvh;
@@ -238,6 +238,13 @@
/* ----- Payment ----------------------------------------------------------- */
.payment-fieldset {
min-width: 0;
margin: 0;
padding: 0;
border: 0;
}
.payment-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -262,6 +269,18 @@
background-color var(--duration-med) var(--ease-out);
}
.payment-card__input {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.payment-card::before {
content: "";
position: absolute;
@@ -279,6 +298,12 @@
border-color: rgba(var(--theme-accent-rgb) / 0.55);
}
.payment-card:focus-within {
border-color: var(--theme-control-border-focus);
outline: 2px solid var(--theme-focus-ring);
outline-offset: 3px;
}
.payment-card.is-active {
border-color: var(--theme-accent);
background: rgba(var(--theme-accent-rgb) / 0.08);
@@ -658,7 +683,7 @@
position: fixed;
right: var(--page-x);
bottom: var(--page-x);
z-index: 100;
z-index: var(--z-toast);
width: min(360px, calc(100vw - (var(--page-x) * 2)));
display: flex;
flex-direction: column;