301 lines
5.4 KiB
CSS
301 lines
5.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
|
|
height: 100vh;
|
|
padding: 15px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
color: white;
|
|
margin-bottom: 15px;
|
|
font-size: 2em;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.settings {
|
|
background: white;
|
|
padding: 15px 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 15px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.settings-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.settings-group label {
|
|
font-weight: 600;
|
|
color: #333;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.settings-group input {
|
|
padding: 12px 15px;
|
|
border: 2px solid #2ecc71;
|
|
border-radius: 4px;
|
|
font-size: 1.1em;
|
|
width: 200px;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.settings-group input:focus {
|
|
outline: none;
|
|
border-color: #27ae60;
|
|
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
|
|
}
|
|
|
|
.leagues-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.leagues-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 600px) {
|
|
.leagues-container {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.league {
|
|
background: white;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.league-header {
|
|
padding: 15px;
|
|
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
|
|
color: white;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.league-title {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.league-title h2 {
|
|
margin: 0;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.team-count {
|
|
font-size: 0.85em;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.add-team-btn {
|
|
background: white;
|
|
color: #27ae60;
|
|
border: none;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
font-size: 1.8em;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: all 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.add-team-btn:hover {
|
|
background: #f0f0f0;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.teams-list {
|
|
padding: 15px;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.team-entry {
|
|
background: #f8f9fa;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
border-radius: 6px;
|
|
border-left: 4px solid #2ecc71;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.team-entry:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.team-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.team-entry input {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1em;
|
|
font-family: inherit;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.team-entry input:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.team-entry input:focus {
|
|
outline: none;
|
|
border-color: #2ecc71;
|
|
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
|
|
}
|
|
|
|
.team-entry input::placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
.delete-btn {
|
|
background: #ff6b6b;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 0.95em;
|
|
transition: background 0.3s;
|
|
white-space: nowrap;
|
|
min-height: 44px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
background: #ff5252;
|
|
}
|
|
|
|
.empty-message {
|
|
text-align: center;
|
|
color: #999;
|
|
padding: 40px 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.export-section {
|
|
background: white;
|
|
padding: 15px 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.export-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
flex: 1;
|
|
}
|
|
|
|
.export-btn {
|
|
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 4px;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: transform 0.3s;
|
|
min-height: 44px;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.export-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
|
|
}
|
|
|
|
.next-btn {
|
|
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 32px;
|
|
border-radius: 4px;
|
|
font-size: 1.1em;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: transform 0.3s;
|
|
min-height: 44px;
|
|
touch-action: manipulation;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.next-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
|
|
}
|
|
|
|
.export-output {
|
|
margin-top: 20px;
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-radius: 4px;
|
|
border: 1px solid #ddd;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 0.9em;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|