File size: 3,791 Bytes
74cf6bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0ad6b1b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* Custom styles */

/* Video Carousel */
.carousel-item {
    scroll-snap-align: center;
}

/* Make carousel items responsive but maintain minimum width */
@media (max-width: 640px) {
    .carousel-item {
        min-width: 200px;
    }
}

@media (min-width: 640px) {
    .carousel-item {
        min-width: 250px;
    }
}

/* Carousel container - don't let arrows overlap content */
.carousel {
    overflow-x: hidden;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari/Opera */
}

/* Navigation arrow styles */
.btn-circle.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Video card styling - ensure proper structure */
.carousel-item .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carousel-item .card figure {
    width: 100%;
    flex: 0 0 auto;
}

.carousel-item .card .card-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Transcript container */
.transcript-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

/* Transcript segments */
.transcript-segment {
    padding: 0.625rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background-color: var(--base-200, #f3f4f6);
}

.transcript-segment:hover {
    background-color: var(--base-300, #e5e7eb);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.transcript-segment.highlight {
    background-color: var(--primary-focus, rgba(59, 130, 246, 0.2));
    border-left: 3px solid var(--primary, #3b82f6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transcript-segment.hidden-segment {
    display: none;
}

/* Timestamp */
.timestamp {
    display: inline-block;
    background-color: var(--neutral, #e5e7eb);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--neutral-content, #4b5563);
    margin-right: 0.5rem;
}

/* Score badge */
.score-badge {
    display: inline-block;
    background-color: var(--primary, #3b82f6);
    color: var(--primary-content, white);
    border-radius: 9999px;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Search result */
.search-result {
    transition: all 0.2s ease;
}

.search-result:hover {
    transform: translateY(-2px);
}

/* Metadata tags */
.metadata-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.metadata-tag {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    background-color: var(--accent, #d8b4fe);
    color: var(--accent-content, #581c87);
    white-space: nowrap;
}

/* Truncate text lines for search results */
.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal styles */
.modal-box {
    max-width: 80vw;
    width: 100%;
}

@media (min-width: 768px) {
    .modal-box {
        max-width: 700px;
    }
}

@media (min-width: 1024px) {
    .modal-box {
        max-width: 900px;
    }
}

/* Search results in modal */
#search-results-container {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--base-200);
}

#search-results-container::-webkit-scrollbar {
    width: 8px;
}

#search-results-container::-webkit-scrollbar-track {
    background: var(--base-200);
    border-radius: 10px;
}

#search-results-container::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
    border: 2px solid var(--base-200);
}