python.video_converter_v3/client/index_style.css
2025-04-24 11:37:30 +02:00

238 lines
3.7 KiB
CSS
Executable file

/* === Allgemeines Design === */
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #121212;
color: #eee;
}
a {
color: #90caf9;
}
/* === Menü oben === */
header {
background-color: #1e1e1e;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #333;
}
header h1 {
margin: 0;
font-size: 1.5rem;
}
nav button {
background-color: #333;
color: #fff;
border: none;
padding: 0.5rem 1rem;
margin-left: 0.5rem;
cursor: pointer;
border-radius: 5px;
}
nav button:hover {
background-color: #444;
}
/* === Bereich: Aktive Konvertierungen === */
#active-conversions {
padding: 1rem;
border-bottom: 1px solid #333;
}
#active-conversions h2 {
margin-top: 0;
}
.video-card {
background-color: #1f1f1f;
padding: 1rem;
margin-bottom: 1rem;
border-radius: 8px;
position: relative;
}
.video-card h3 {
margin: 0 0 0.5rem;
}
.video-card-values {
display: grid;
grid-template-columns: 1fr 1fr 1fr auto;
grid-auto-rows: auto;
gap: 10px;
}
.video-card-values-items {
padding: 5px;
text-align: center;
font-size: 0.8rem;
}
.video-card .actions button {
background-color: #444;
color: white;
border: none;
padding: 0.4rem 0.8rem;
margin-right: 0.5rem;
cursor: pointer;
border-radius: 4px;
}
.video-card .actions button:hover {
background-color: #666;
}
.delete-button {
grid-column: 4;
grid-row: 1 / span 3; /* oder wie viele Zeilen du hast */
display: flex;
align-items: center;
justify-content: center;
}
.tooltip {
position: absolute;
background-color: #333;
color: #eee;
padding: 0.5rem;
border-radius: 6px;
top: 100%;
left: 0;
z-index: 1;
display: none;
width: max-content;
max-width: 300px;
font-size: 0.7rem;
}
.video-card:hover .tooltip {
display: block;
}
.progress-container {
width: 100%;
background: #333;
border-radius: 5px;
margin-top: 10px;
height: 10px;
overflow: hidden;
}
.progress-bar {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #4caf50, #00c853);
transition: width 0.5s ease-in-out;
}
/* === Bereich: Warteschleife === */
#queue {
padding: 1rem;
}
#queue h2 {
margin-top: 0;
}
/* === Statistik-Bereich === */
#statistics {
padding: 1rem;
border-top: 1px solid #333;
}
#statistics h2 {
margin-top: 0;
}
.conversion_icons {
width: 50px;
height: auto;
}
.conversion_url {
font-size: 0.7rem;
text-align: center;
}
.popup {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.7);
}
.popup-content {
background-color: #000000;
margin: 15% auto;
padding: 20px;
border: 1px solid #444;
width: 90%;
border-radius: 10px;
color: #eee;
}
.close {
color: #aaa;
float: right;
font-size: 24px;
font-weight: bold;
cursor: pointer;
}
.close:hover {
color: #fff;
}
.flex-row {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
}
@media (max-width: 768px) {
header h1 {
font-size: 1.4rem; /* vorher 1.75rem */
}
nav button {
padding: 0.4rem 0.8rem; /* etwas kleiner */
font-size: 0.85rem;
}
.video-card {
padding: 0.8rem;
}
.video-card h3 {
font-size: 1rem;
}
.video-card-values-items {
font-size: 0.65rem;
}
.conversion_url {
font-size: 0.6rem;
}
.popup-content {
width: 90%; /* vorher 90% */
font-size: 0.85rem;
}
.conversion_icons {
width: 40px;
}
}