163 lines
2.8 KiB
CSS
163 lines
2.8 KiB
CSS
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background: #1a1a2e;
|
|
min-height: 100vh;
|
|
color: #fff;
|
|
}
|
|
|
|
.header { text-align: center; margin-bottom: 30px; }
|
|
h1 { font-size: 2.5em; color: #00d4ff; }
|
|
|
|
.status {
|
|
padding: 15px;
|
|
margin: 15px 0;
|
|
border-radius: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.loading { background: #333; color: #ffd700; animation: pulse 1.5s infinite; }
|
|
.success { background: #28a745; color: white; }
|
|
.error { background: #dc3545; color: white; }
|
|
.downloading { background: #007bff; color: white; }
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
.film-list {
|
|
list-style: none;
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.film-item {
|
|
background: #16213e;
|
|
padding: 15px;
|
|
border-radius: 12px;
|
|
border-left: 4px solid #00d4ff;
|
|
transition: all 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.film-item:hover {
|
|
background: #0f3460;
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.film-poster {
|
|
width: 80px;
|
|
height: 120px;
|
|
object-fit: cover;
|
|
border-radius: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.film-info {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.film-title {
|
|
font-size: 1.2em;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
}
|
|
|
|
.btn {
|
|
background: #00d4ff;
|
|
color: #1a1a2e;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.btn:hover { background: #00b8e6; }
|
|
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
|
|
.refresh-btn {
|
|
background: #00d4ff;
|
|
color: #1a1a2e;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.refresh-btn:hover { background: #00b8e6; }
|
|
|
|
/* Модальное окно выбора качества */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.8);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal.active {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: #16213e;
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
max-width: 400px;
|
|
width: 90%;
|
|
}
|
|
|
|
.modal h2 {
|
|
margin-bottom: 20px;
|
|
color: #00d4ff;
|
|
}
|
|
|
|
.quality-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.quality-btn {
|
|
background: #0f3460;
|
|
color: white;
|
|
border: 2px solid #00d4ff;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 1.1em;
|
|
text-align: left;
|
|
}
|
|
|
|
.quality-btn:hover {
|
|
background: #00d4ff;
|
|
color: #1a1a2e;
|
|
}
|
|
|
|
.quality-close {
|
|
margin-top: 15px;
|
|
background: transparent;
|
|
border: 1px solid #666;
|
|
color: #999;
|
|
}
|