File size: 1,825 Bytes
5fd3fc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#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;
    }
}