100 lines
2.6 KiB
CSS
100 lines
2.6 KiB
CSS
/* Basic styling for the board */
|
|
.centered h1 {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100vh;
|
|
/* background: linear-gradient(135deg, #ff7e5f, #feb47b); */ /* Modern gradient background */
|
|
}
|
|
|
|
.bingo-board {
|
|
display: grid;
|
|
gap: 4px; /* Adjust gap as needed */
|
|
}
|
|
.centered {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
#bean {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
.bingo-cell {
|
|
border: 1px solid #8B4513; /* Brown border */
|
|
text-align: center;
|
|
padding: 8px;
|
|
background-color: #F5F5DC; /* Beige background */
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
hyphens: auto;
|
|
/* Add transition for background color changes */
|
|
transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out, filter 0.15s ease-in-out;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Add darken filter on hover */
|
|
.bingo-cell:hover {
|
|
filter: brightness(85%);
|
|
}
|
|
|
|
/* Style for when a cell is actively being clicked */
|
|
.bingo-cell:active {
|
|
transform: scale(0.95); /* Scale down slightly */
|
|
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2); /* Add subtle inset shadow */
|
|
background-color: #e0e0d1; /* Slightly darker beige */
|
|
}
|
|
|
|
/* Style for permanently marked cells */
|
|
.bingo-cell.marked {
|
|
background-color: #fde047; /* Tailwind yellow-300 */
|
|
/* Optional: Add other persistent styles like a stronger border */
|
|
/* border-color: #ca8a04; */ /* Tailwind yellow-600 */
|
|
}
|
|
|
|
/* Style for when a MARKED cell is actively being clicked */
|
|
.bingo-cell.marked:active {
|
|
transform: scale(0.95); /* Keep the same transform */
|
|
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2); /* Keep the same shadow */
|
|
background-color: #facc15; /* Slightly darker yellow (Tailwind yellow-400) */
|
|
}
|
|
|
|
.config-pane {
|
|
transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
|
|
max-height: 500px; /* Adjust as needed */
|
|
overflow: hidden;
|
|
opacity: 1;
|
|
}
|
|
.config-pane.minimized {
|
|
max-height: 0;
|
|
opacity: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
border-width: 0;
|
|
}
|
|
|
|
/* Configuration Pane Styling */
|
|
.config-pane-closed {
|
|
transform: translateX(100%); /* Hide off-screen to the right */
|
|
}
|
|
|
|
.config-pane-open {
|
|
transform: translateX(0); /* Slide in from the right */
|
|
}
|
|
|
|
/* Ensure transition is applied (already added in HTML via Tailwind classes) */
|
|
/* #config-pane {
|
|
transition: transform 0.3s ease-in-out;
|
|
} */
|
|
|
|
/* Basic styling for the board */
|
|
#bingo-board-container {
|
|
}
|