changement de l'affichage des tryouts et des matchs
This commit is contained in:
@@ -1749,3 +1749,147 @@ a:hover { color: var(--primary-dark); }
|
||||
transform: translateY(-50%);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ===== Tryouts Grid (Card-based Layout) ===== */
|
||||
.tryouts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
|
||||
gap: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tryout-card {
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
border: 1px solid var(--border-color, #e0e0e0);
|
||||
}
|
||||
|
||||
.tryout-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.tryout-card .card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.tryout-title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tryout-info-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.info-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.info-icon {
|
||||
width: 16px;
|
||||
text-align: center;
|
||||
color: var(--text-muted, #888);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary, #555);
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
color: var(--text-primary, #333);
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.tryout-description {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text-secondary, #555);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.tryout-description p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tryout-card .card-footer {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
background: var(--bg-secondary, #f8f9fa);
|
||||
border-top: 1px solid var(--border-color, #e0e0e0);
|
||||
}
|
||||
|
||||
/* ===== Full-width Schedule Card ===== */
|
||||
.tryout-schedule-card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ===== Dark mode adjustments ===== */
|
||||
[data-theme="dark"] .tryout-card {
|
||||
border-color: var(--border-color, #333);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .tryout-card .card-footer {
|
||||
background: var(--bg-secondary, #2a2a2a);
|
||||
border-top-color: var(--border-color, #333);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .info-label {
|
||||
color: var(--text-secondary, #aaa);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Sortable Table Headers */
|
||||
.sort-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
color: var(--gray-500);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.sort-link:hover {
|
||||
color: var(--gray-800);
|
||||
}
|
||||
|
||||
.sort-link .fas {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.sort-inactive {
|
||||
opacity: 0.3;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.sort-link:hover .sort-inactive {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .sort-link {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .sort-link:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user