407 lines
6.0 KiB
CSS
407 lines
6.0 KiB
CSS
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||
background: #f5f7fa;
|
||
color: #1a1a2e;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.container {
|
||
max-width: 1200px;
|
||
margin: 0 auto;
|
||
padding: 0 20px;
|
||
}
|
||
|
||
.tabs {
|
||
background: white;
|
||
border-bottom: 2px solid #e0e0e0;
|
||
padding: 10px 0;
|
||
}
|
||
|
||
.tab {
|
||
padding: 12px 24px;
|
||
border: none;
|
||
background: transparent;
|
||
font-size: 16px;
|
||
font-weight: 500;
|
||
color: #666;
|
||
cursor: pointer;
|
||
border-bottom: 3px solid transparent;
|
||
transition: all 0.2s;
|
||
}
|
||
|
||
.tab.active {
|
||
color: #0066cc;
|
||
border-bottom-color: #0066cc;
|
||
}
|
||
|
||
.tab:hover {
|
||
color: #0066cc;
|
||
}
|
||
|
||
.subtabs {
|
||
margin-top: 20px;
|
||
display: flex;
|
||
gap: 10px;
|
||
justify-content: center;
|
||
}
|
||
|
||
.subtab {
|
||
padding: 8px 16px;
|
||
border: 2px solid rgba(255,255,255,0.3);
|
||
background: rgba(255,255,255,0.1);
|
||
color: white;
|
||
border-radius: 20px;
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
transition: all 0.2s;
|
||
}
|
||
|
||
.subtab:hover {
|
||
background: rgba(255,255,255,0.2);
|
||
}
|
||
|
||
.subtab.active {
|
||
background: white;
|
||
color: #0066cc;
|
||
border-color: white;
|
||
}
|
||
|
||
.hero {
|
||
background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
|
||
color: white;
|
||
padding: 60px 0;
|
||
text-align: center;
|
||
}
|
||
|
||
.hero h1 {
|
||
font-size: clamp(28px, 5vw, 48px);
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.hero .subtitle {
|
||
font-size: clamp(16px, 3vw, 24px);
|
||
opacity: 0.9;
|
||
margin-bottom: 30px;
|
||
}
|
||
|
||
.btn {
|
||
display: inline-block;
|
||
padding: 12px 24px;
|
||
border: none;
|
||
border-radius: 8px;
|
||
font-size: 16px;
|
||
cursor: pointer;
|
||
transition: all 0.2s;
|
||
}
|
||
|
||
.btn-primary {
|
||
background: #00cc88;
|
||
color: white;
|
||
}
|
||
|
||
.btn-primary:hover {
|
||
background: #00aa77;
|
||
}
|
||
|
||
.btn-secondary {
|
||
background: #e0e0e0;
|
||
color: #333;
|
||
}
|
||
|
||
.btn-secondary:hover {
|
||
background: #d0d0d0;
|
||
}
|
||
|
||
.btn-edit {
|
||
background: #0066cc;
|
||
color: white;
|
||
padding: 8px 16px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.btn-delete {
|
||
background: #dc3545;
|
||
color: white;
|
||
padding: 8px 16px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
main {
|
||
padding: 40px 0;
|
||
}
|
||
|
||
.filters {
|
||
margin-bottom: 30px;
|
||
}
|
||
|
||
#search {
|
||
width: 100%;
|
||
padding: 12px 16px;
|
||
border: 2px solid #e0e0e0;
|
||
border-radius: 8px;
|
||
font-size: 16px;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.chips {
|
||
display: flex;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.chip {
|
||
padding: 8px 16px;
|
||
background: #e0e0e0;
|
||
border-radius: 20px;
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
transition: all 0.2s;
|
||
}
|
||
|
||
.chip.active {
|
||
background: #0066cc;
|
||
color: white;
|
||
}
|
||
|
||
.stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||
gap: 20px;
|
||
margin-bottom: 30px;
|
||
}
|
||
|
||
.stat-card {
|
||
background: white;
|
||
padding: 20px;
|
||
border-radius: 12px;
|
||
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
||
text-align: center;
|
||
}
|
||
|
||
.stat-card .number {
|
||
font-size: 36px;
|
||
font-weight: bold;
|
||
color: #0066cc;
|
||
}
|
||
|
||
.stat-card .label {
|
||
color: #666;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.events-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
||
gap: 20px;
|
||
}
|
||
|
||
.event-card {
|
||
background: white;
|
||
border-radius: 12px;
|
||
padding: 24px;
|
||
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
||
transition: transform 0.2s;
|
||
}
|
||
|
||
.event-card:hover {
|
||
transform: translateY(-4px);
|
||
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
|
||
}
|
||
|
||
.event-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.event-title {
|
||
font-size: 20px;
|
||
font-weight: 600;
|
||
color: #1a1a2e;
|
||
}
|
||
|
||
.event-status {
|
||
padding: 4px 12px;
|
||
border-radius: 12px;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.status-запланировано { background: #e3f2fd; color: #1976d2; }
|
||
.status-в_процессе { background: #fff3e0; color: #f57c00; }
|
||
.status-завершено { background: #e8f5e9; color: #388e3c; }
|
||
.status-отменено { background: #ffebee; color: #d32f2f; }
|
||
|
||
.event-meta {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 15px;
|
||
margin-bottom: 15px;
|
||
font-size: 14px;
|
||
color: #666;
|
||
}
|
||
|
||
.event-meta span {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 5px;
|
||
}
|
||
|
||
.event-description {
|
||
color: #444;
|
||
margin-bottom: 20px;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.event-actions {
|
||
display: flex;
|
||
gap: 10px;
|
||
}
|
||
|
||
.modal {
|
||
display: none;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: rgba(0,0,0,0.5);
|
||
z-index: 1000;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 20px;
|
||
}
|
||
|
||
.modal.on {
|
||
display: flex;
|
||
}
|
||
|
||
.modal-content {
|
||
background: white;
|
||
border-radius: 16px;
|
||
padding: 30px;
|
||
width: 100%;
|
||
max-width: 500px;
|
||
max-height: 90vh;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.modal-content h2 {
|
||
margin-bottom: 20px;
|
||
color: #1a1a2e;
|
||
}
|
||
|
||
.form-group {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.form-group label {
|
||
display: block;
|
||
margin-bottom: 8px;
|
||
font-weight: 500;
|
||
color: #333;
|
||
}
|
||
|
||
.form-group input,
|
||
.form-group select,
|
||
.form-group textarea {
|
||
width: 100%;
|
||
padding: 10px 14px;
|
||
border: 2px solid #e0e0e0;
|
||
border-radius: 8px;
|
||
font-size: 16px;
|
||
font-family: inherit;
|
||
}
|
||
|
||
.form-group input:focus,
|
||
.form-group select:focus,
|
||
.form-group textarea:focus {
|
||
outline: none;
|
||
border-color: #0066cc;
|
||
}
|
||
|
||
.form-actions {
|
||
display: flex;
|
||
gap: 10px;
|
||
margin-top: 25px;
|
||
justify-content: center;
|
||
}
|
||
|
||
.form-actions button {
|
||
min-width: 120px;
|
||
}
|
||
|
||
.empty-state {
|
||
text-align: center;
|
||
padding: 60px 20px;
|
||
color: #666;
|
||
}
|
||
|
||
.empty-state h3 {
|
||
margin-bottom: 10px;
|
||
color: #1a1a2e;
|
||
}
|
||
|
||
.gloves-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
background: white;
|
||
border-radius: 12px;
|
||
overflow: hidden;
|
||
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
|
||
}
|
||
|
||
.gloves-table th {
|
||
background: #0066cc;
|
||
color: white;
|
||
padding: 14px 12px;
|
||
text-align: left;
|
||
font-weight: 600;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.gloves-table td {
|
||
padding: 14px 12px;
|
||
border-bottom: 1px solid #e0e0e0;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.gloves-table tr:hover {
|
||
background: #f5f7fa;
|
||
}
|
||
|
||
.gloves-table tr:last-child td {
|
||
border-bottom: none;
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.hero {
|
||
padding: 40px 0;
|
||
}
|
||
|
||
.events-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.event-actions {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.gloves-table {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.gloves-table th,
|
||
.gloves-table td {
|
||
padding: 8px 6px;
|
||
}
|
||
}
|