412 lines
6.5 KiB
CSS
412 lines
6.5 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.dashboard-nav {
|
|
background: #e85d04;
|
|
color: white;
|
|
padding: 1rem 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.points {
|
|
background: white;
|
|
color: #e85d04;
|
|
padding: 0.3rem 1rem;
|
|
border-radius: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.btn-logout {
|
|
background: white;
|
|
color: #e85d04;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dashboard-container {
|
|
display: flex;
|
|
min-height: calc(100vh - 70px);
|
|
}
|
|
|
|
.sidebar {
|
|
width: 250px;
|
|
background: white;
|
|
padding: 2rem 0;
|
|
box-shadow: 2px 0 10px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.sidebar ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.sidebar li {
|
|
padding: 1rem 2rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
border-left: 4px solid transparent;
|
|
}
|
|
|
|
.sidebar li:hover, .sidebar li.active {
|
|
background: #faf3e0;
|
|
border-left-color: #e85d04;
|
|
color: #e85d04;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 2rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.section {
|
|
display: none;
|
|
}
|
|
|
|
.section.active {
|
|
display: block;
|
|
}
|
|
|
|
h2 {
|
|
color: #e85d04;
|
|
margin-bottom: 2rem;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
/* Matches Grid */
|
|
.matches-grid {
|
|
display: grid;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.match-card {
|
|
background: white;
|
|
border-radius: 15px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
cursor: pointer;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.match-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.player-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.player-photo {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 3px solid #e85d04;
|
|
}
|
|
|
|
.player-details h3 {
|
|
color: #333;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.player-details p {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.vs {
|
|
font-weight: 700;
|
|
color: #e85d04;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.match-info {
|
|
text-align: right;
|
|
}
|
|
|
|
.match-info .round {
|
|
background: #e85d04;
|
|
color: white;
|
|
padding: 0.3rem 0.8rem;
|
|
border-radius: 20px;
|
|
display: inline-block;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.match-info .date {
|
|
color: #666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Players Grid */
|
|
.players-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.player-card {
|
|
background: white;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.player-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.player-header {
|
|
background: linear-gradient(135deg, #e85d04, #faedcd);
|
|
padding: 2rem;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.player-header img {
|
|
width: 120px;
|
|
height: 120px;
|
|
border-radius: 50%;
|
|
border: 4px solid white;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.player-header h3 {
|
|
color: white;
|
|
margin-top: 1rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.player-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0.8rem 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.strengths, .weaknesses {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.strengths h4, .weaknesses h4 {
|
|
color: #e85d04;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 0.3rem 0.8rem;
|
|
border-radius: 15px;
|
|
font-size: 0.85rem;
|
|
margin: 0.2rem;
|
|
}
|
|
|
|
.tag.strength {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.tag.weakness {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
/* Leaderboard */
|
|
.leaderboard-table {
|
|
width: 100%;
|
|
background: white;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.leaderboard-table th, .leaderboard-table td {
|
|
padding: 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.leaderboard-table th {
|
|
background: #e85d04;
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.leaderboard-table tr:hover {
|
|
background: #faf3e0;
|
|
}
|
|
|
|
/* Stats */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.stat-card h3 {
|
|
color: #666;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.stat-card p {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
color: #e85d04;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 2000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
background: white;
|
|
margin: 2% auto;
|
|
padding: 2rem;
|
|
border-radius: 15px;
|
|
width: 90%;
|
|
max-width: 800px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
right: 1.5rem;
|
|
top: 1.5rem;
|
|
font-size: 2rem;
|
|
cursor: pointer;
|
|
color: #666;
|
|
}
|
|
|
|
.prediction-options {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
gap: 2rem;
|
|
align-items: center;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.predict-btn {
|
|
background: #e85d04;
|
|
color: white;
|
|
border: none;
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.predict-btn:hover {
|
|
background: #d84d00;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.probabilities {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.prob-bar {
|
|
width: 100%;
|
|
height: 30px;
|
|
background: #eee;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.prob-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #e85d04, #faedcd);
|
|
transition: width 0.5s;
|
|
}
|
|
|
|
.matchup-analysis {
|
|
background: #faf3e0;
|
|
padding: 1.5rem;
|
|
border-radius: 10px;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.matchup-analysis h3 {
|
|
color: #e85d04;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.analysis-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.advantage, .disadvantage {
|
|
padding: 1rem;
|
|
background: white;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.advantage h4 {
|
|
color: #28a745;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.disadvantage h4 {
|
|
color: #dc3545;
|
|
margin-bottom: 0.5rem;
|
|
} |