Add gray-scaling when guessing
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 25s
All checks were successful
Deploy Feature / deploy-feature (push) Successful in 25s
This commit is contained in:
@@ -29,6 +29,42 @@ code {
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.app-header,
|
||||
.app-main {
|
||||
transition: filter 0.25s ease, opacity 0.25s ease;
|
||||
}
|
||||
|
||||
.app.suspended .app-header,
|
||||
.app.suspended .app-main {
|
||||
filter: grayscale(1) brightness(0.55);
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.guess-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: rgba(8, 12, 26, 0.35);
|
||||
backdrop-filter: blur(2px) grayscale(0.15);
|
||||
pointer-events: none;
|
||||
z-index: 12;
|
||||
}
|
||||
|
||||
.guess-overlay p {
|
||||
margin: 0;
|
||||
padding: 16px 24px;
|
||||
border-radius: 14px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
background: rgba(13, 17, 35, 0.88);
|
||||
color: #ffffff;
|
||||
font-family: 'Bebas Neue', sans-serif;
|
||||
font-size: clamp(2.1rem, 4vw, 3.3rem);
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.app-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -554,16 +590,33 @@ audio.hidden-audio {
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
.enable-audio {
|
||||
.viewer-actions {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 20px;
|
||||
z-index: 3;
|
||||
transform: translateX(-50%);
|
||||
z-index: 4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.enable-audio {
|
||||
border: 1px solid rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.viewer-guess {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
z-index: 3;
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.03em;
|
||||
padding: 14px 28px;
|
||||
background: linear-gradient(135deg, #ffce3a, #ff6a3a);
|
||||
box-shadow: 0 12px 30px rgba(255, 106, 58, 0.35);
|
||||
}
|
||||
|
||||
.viewer-guess:disabled {
|
||||
background: linear-gradient(135deg, #8f8f8f, #666666);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.end-panel {
|
||||
@@ -606,4 +659,13 @@ audio.hidden-audio {
|
||||
.session-row {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.viewer-actions {
|
||||
flex-direction: column;
|
||||
width: calc(100% - 24px);
|
||||
}
|
||||
|
||||
.viewer-actions .primary {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user