80 lines
1.4 KiB
CSS
80 lines
1.4 KiB
CSS
/* The Rotation check on Home: "Keep it in rotation?" above the tiles. */
|
|
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-radius: 32px;
|
|
background: var(--color-surface);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.photo {
|
|
height: 120px;
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 4px 18px 12px;
|
|
}
|
|
|
|
.kicker {
|
|
margin: 0;
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--color-neutral-700);
|
|
}
|
|
|
|
.question {
|
|
margin: 0;
|
|
font-family: var(--font-heading);
|
|
font-size: 22px;
|
|
font-weight: 400;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* "We didn't make it": a text link at the 44 px tap minimum. */
|
|
.notMade {
|
|
align-self: center;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
padding: 0 4px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--color-accent-700);
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.notMade:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.notMade:focus-visible {
|
|
outline: 3px solid var(--color-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.confirmation {
|
|
margin: 0;
|
|
padding: 12px 14px;
|
|
border-radius: 20px;
|
|
background: var(--color-accent-2-300);
|
|
color: var(--color-accent-2-900);
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|