Skip to content

Commit aa63370

Browse files
committed
add no-video pill
Signed-off-by: HarHarLinks <[email protected]>
1 parent 58ff8fa commit aa63370

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/components/Pill.astro

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,5 +213,23 @@ const slug = slugify(label);
213213
background-color: color.adjust($pill-color, $lightness: 2.5%);
214214
}
215215
}
216+
217+
.pill.no-video {
218+
$text-color: #000;
219+
$pill-color: #d64141;
220+
color: $text-color;
221+
background-color: $pill-color;
222+
&:hover {
223+
background-color: color.adjust($pill-color, $lightness: 2.5%);
224+
}
225+
&.selected {
226+
color: $pill-color;
227+
background-color: $text-color;
228+
border: 1px solid $pill-color;
229+
&:hover {
230+
background-color: color.adjust($text-color, $lightness: 15%);
231+
}
232+
}
233+
}
216234
</style>
217235
<Type class:list={['pill', slug]}>{ label }</div>

src/components/WatchCard.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ const slides = ["/watch/slides/", talk.slides].join("");
141141
<div class="talk-pills">
142142
{track && <Pill Type="div" label={ track } />}
143143
<Pill Type="div" label={ room } />
144+
<Pill Type="div" label="No Video" />
144145
</div>
145146
</div>
146147
</div>

0 commit comments

Comments
 (0)