mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-28 09:21:32 +00:00
Enhance ZenWelcome component with improved layout and animation for radio buttons
This commit is contained in:
@@ -103,5 +103,28 @@
|
||||
overflow: hidden;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.1rem;
|
||||
|
||||
& label {
|
||||
opacity: 0;
|
||||
transition: scale 0.2s;
|
||||
padding: 1.1rem 1.3rem;
|
||||
border-radius: .6rem;
|
||||
width: 50%;
|
||||
border: 2px solid var(--zen-colors-border);
|
||||
box-shadow: var(--zen-big-shadow);
|
||||
background: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
|
||||
|
||||
&:hover {
|
||||
scale: 1.015;
|
||||
}
|
||||
|
||||
&:has(:checked) {
|
||||
border: 2px solid var(--zen-primary-color);
|
||||
scale: 1.03;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user