style(ext): add .glass card class
Translucent fill, soft border, inner highlight, drop shadow. Used for the unlock card, setup step cards, and form section panels.
This commit is contained in:
@@ -1494,3 +1494,17 @@ textarea {
|
|||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Phase 2B: glass card. Translucent panel with backdrop blur for the
|
||||||
|
unlock card, setup step card, and form section panels. Falls back
|
||||||
|
gracefully on browsers without backdrop-filter (just stays translucent). */
|
||||||
|
.glass {
|
||||||
|
background: var(--bg-card);
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
-webkit-backdrop-filter: blur(8px);
|
||||||
|
border: 1px solid var(--border-soft);
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow:
|
||||||
|
0 1px 0 rgba(255, 255, 255, 0.03) inset,
|
||||||
|
0 6px 18px rgba(0, 0, 0, 0.35);
|
||||||
|
}
|
||||||
|
|||||||
@@ -1524,3 +1524,17 @@ textarea {
|
|||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Phase 2B: glass card. Translucent panel with backdrop blur for the
|
||||||
|
unlock card, setup step card, and form section panels. Falls back
|
||||||
|
gracefully on browsers without backdrop-filter (just stays translucent). */
|
||||||
|
.glass {
|
||||||
|
background: var(--bg-card);
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
-webkit-backdrop-filter: blur(8px);
|
||||||
|
border: 1px solid var(--border-soft);
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow:
|
||||||
|
0 1px 0 rgba(255, 255, 255, 0.03) inset,
|
||||||
|
0 6px 18px rgba(0, 0, 0, 0.35);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user