← Kapat
style.css
/* MODERN PROFESSIONAL DASHBOARD */
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', 'Roboto', sans-serif;
background: #f7fafc;
min-height: 100vh;
color: #232946;
}
.main-layout {
display: flex;
min-height: 100vh;
background: #e3e8f0;
gap: 36px;
padding: 32px 0 32px 0;
justify-content: center;
align-items: flex-start;
}
.sidebar {
width: 260px;
background: #fff;
color: #232946;
display: flex;
flex-direction: column;
align-items: stretch;
box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.13), 0 1.5px 6px 0 rgba(44, 62, 80, 0.04);
border-radius: 22px;
min-height: 700px;
border: 1.5px solid #e0e6ed;
margin-left: 18px;
margin-right: 0;
position: relative;
z-index: 10;
transition: box-shadow 0.2s;
}
.sagust {
position: absolute;
right: 10px;
}
.songuncelleme {
color: #666;
}
/* Accordion - Modern, Card Style */
.accordion {
border-radius: 16px;
background: #f7fafc;
box-shadow: 0 2px 12px 0 rgba(44, 62, 80, 0.07);
overflow: hidden;
}
.accordion-header {
width: 100%;
background: #fff;
color: #232946;
border: none;
padding: 9px 22px 9px 22px;
text-align: left;
font-size: 0.97em;
font-weight: 600;
cursor: pointer;
outline: none;
transition: background 0.22s, color 0.22s, box-shadow 0.18s;
border-bottom: 1.5px solid #e0e6ed;
letter-spacing: 0.2px;
margin-bottom: 0;
box-shadow: none;
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 10px;
}
.accordion-header::after {
content: '\25BC';
font-size: 1.1em;
color: #b0b8c9;
margin-left: auto;
transition: transform 0.3s;
}
/* Hem açık hem de URL'de aktif olan başlık için */
.accordion-header.active,
.accordion-header.current-league {
background: linear-gradient(90deg, #ffe082 0%, #f4d35e 100%);
color: #232946;
border-bottom: 1.5px solid #ffe082;
box-shadow: 0 4px 16px rgba(244, 211, 94, 0.10);
font-weight: 700;
}
.accordion-header.active::after {
transform: rotate(180deg);
color: #232946;
}
.accordion-header:hover {
background: #f7fafc;
color: #4a67a1;
box-shadow: 0 2px 8px rgba(74, 103, 161, 0.08);
}
.accordion-content {
background: #fff;
display: none;
animation: fadeIn 0.3s;
font-size: 0.97em;
color: #2e3350;
border: none;
box-shadow: none;
line-height: 1.6;
}
.accordion-content.active {
display: block;
animation: fadeIn 0.3s;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.sidebar h2 {
font-size: 1.1em;
font-weight: 700;
text-align: center;
margin: 0;
padding: 20px 0 12px 0;
letter-spacing: 1px;
background: transparent;
border-bottom: 1px solid #2e3350;
}
.team-list {
list-style: none;
padding: 0 0 20px 0;
margin: 0;
flex: 1;
overflow-y: auto;
max-height: 320px;
/* Show scrollbar only when needed */
scrollbar-width: thin;
scrollbar-color: #f4d35e #e3e8f0;
}
/* For Webkit browsers */
.team-list::-webkit-scrollbar {
width: 8px;
background: #e3e8f0;
border-radius: 8px;
}
.team-list::-webkit-scrollbar-thumb {
background: #f4d35e;
border-radius: 8px;
}
.team-link {
display: block;
width: 100%;
padding: 10px 20px;
color: #4a67a1;
text-decoration: none;
font-size: 1.1em;
border-left: 3px solid transparent;
transition: background 0.18s, border-color 0.18s, color 0.18s;
font-weight: 500;
letter-spacing: 0.2px;
border-radius: 0;
margin: 2px 0;
box-shadow: none;
background: none;
}
.team-link.active,
.team-link:hover {
background: #f7fafc;
border-left: 3px solid #4a67a1;
color: #232946;
box-shadow: none;
}
.team-link:hover {
background: #e3e8f0;
border-left: 3px solid #f4d35e;
color: #232946;
}
.team-list{
font-size: 0.9em;
}
.dashboard-area {
flex: 1;
background: #fff;
border-radius: 28px;
min-height: 700px;
margin: 0 32px 0 0;
display: flex;
flex-direction: column;
box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.13), 0 1.5px 6px 0 rgba(44, 62, 80, 0.04);
border: 1.5px solid #e0e6ed;
transition: box-shadow 0.2s;
position: relative;
z-index: 1;
}
.header {
background: linear-gradient(90deg, #f7fafc 0%, #e3e8f0 100%);
color: #232946;
padding: 22px 36px 18px 36px;
text-align: left;
font-size: 1.35em;
font-weight: 700;
letter-spacing: 0.5px;
border-radius: 22px 22px 0 0;
box-shadow: 0 2px 8px rgba(44, 62, 80, 0.04);
border-bottom: 1.5px solid #e0e6ed;
}
.refresh-btn {
color: #232946;
border: none;
padding: 2px 4px;
border-radius: 4px;
font-size: 0.9em;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 6px rgba(44, 62, 80, 0.06);
}
.refresh-btn:hover {
background: linear-gradient(90deg, #ffe082 0%, #f4d35e 100%);
color: #181c2f;
transform: translateY(-1px) scale(1.02);
box-shadow: 0 3px 10px rgba(44, 62, 80, 0.08);
}
.refresh-btn:disabled {
background: #e3e7ef;
color: #b0b8c9;
cursor: not-allowed;
transform: none;
box-shadow: 0 1px 2px rgba(44, 62, 80, 0.04);
}
.refresh-btn.loading {
background: #ffe082;
color: #232946;
animation: pulse 1.5s ease-in-out infinite alternate;
}
@keyframes pulse {
from {
opacity: 1;
}
to {
opacity: 0.7;
}
}
.refresh-status {
position: fixed;
top: 20px;
right: 20px;
background: #232946;
color: #f4d35e;
padding: 12px 20px;
border-radius: 8px;
box-shadow: 0 3px 16px rgba(44, 62, 80, 0.12);
z-index: 1000;
display: none;
max-width: 300px;
font-size: 0.95em;
font-weight: 600;
}
.refresh-status.success {
background: #27ae60;
color: #fff;
}
.refresh-status.error {
background: #e74c3c;
color: #fff;
}
@media (max-width: 1100px) {
.main-layout {
flex-direction: column;
gap: 0;
padding: 0;
}
.sidebar {
width: 98%;
flex-direction: row;
overflow-x: auto;
height: auto;
border-radius: 0 0 22px 22px;
margin: 0 auto 18px auto;
min-height: unset;
}
.dashboard-area {
margin: 0 0 18px 0;
border-radius: 22px;
min-height: 400px;
}
.takim-verileri {
padding: 20px 15px 12px 15px;
}
}
@media (max-width: 700px) {
.header {
font-size: 1.08em;
padding: 13px 12px 8px 12px;
border-radius: 16px 16px 0 0;
}
.sidebar h2 {
font-size: 1em;
padding: 15px 0 8px 0;
}
.dashboard-area {
margin: 0 0 12px 0;
border-radius: 16px;
min-height: 300px;
}
.takim-verileri {
padding: 15px 10px;
}
}
@media (max-width: 500px) {
.sidebar {
display: none;
}
.main-layout {
flex-direction: column;
gap: 0;
padding: 0;
}
.dashboard-area {
margin: 0;
border-radius: 0;
min-height: 200px;
}
.takim-verileri {
padding: 15px;
}
}