VideoInpainterHF / app /static /video_base.css
Kevin L
Initial commit
5fd3fc6
Raw History Blame Contribute Delete
1.83 kB
#video_player {
display: flex;
width: 50vw;
height: fit-content;
padding: 30px;
flex-direction: column;
flex-wrap: nowrap;
justify-content: space-between;
}
#canvas_container {
background-color: darkgray;
width: 100%;
aspect-ratio: 16 / 9;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
#controls {
display: flex;
flex-flow: wrap;
}
.control_button {
flex: 1;
padding: 10px 4px;
margin: 2px 10px;
font-family: 'Montserrat', sans-serif;
background-color: white;
border: 1px solid black;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
white-space: nowrap;
}
@media (hover: hover) {
.control_button:hover {
background-color: #3c86fa;
}
}
#undo_button:disabled {
background-color: lightgray;
color: darkgray;
border-color: darkgray;
cursor: not-allowed;
}
.control_button:disabled {
cursor: not-allowed;
color: black;
}
#play_button {
flex: 2;
}
#slideshow {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
}
#seekbar {
margin: 10px 0;
}
#slider {
width: 100%;
margin: 0;
}
#markers {
display: flex;
justify-content: space-between;
margin: 0 8px;
pointer-events: none;
}
.tick {
height: 10px;
border-right: 1px solid black;
border-left: 1px solid black;
}
.highlight_tick {
border-right: 1px solid red;
border-left: 1px solid red;
}
/* Tablet */
@media (max-width: 1025px) {
.flex {
flex-direction: column;
}
#video_player {
padding-bottom: 0;
width: 90%;
}
}
/* Smartphone */
@media (max-width: 600px) {
#play_button {
flex: 1;
}
}