Skip to content

Commit 0187a82

Browse files
committed
fix(registry): transparent backgrounds on all caption components
Replace opaque backgrounds (#0a0a0a, #000, #000000) with transparent on both html/body and the composition root div for all 15 caption components. Captions are overlays — opaque backgrounds cover the underlying video when loaded as sub-compositions.
1 parent 471b4ef commit 0187a82

15 files changed

Lines changed: 37 additions & 37 deletions

File tree

registry/components/caption-clip-wipe/caption-clip-wipe.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #0a0a0a;
26+
background: transparent;
2727
}
2828
#clip-wipe {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #0a0a0a;
33+
background: transparent;
3434
}
3535
#wp-video {
3636
position: absolute;
@@ -43,7 +43,7 @@
4343
.wp-overlay {
4444
position: absolute;
4545
inset: 0;
46-
background: rgba(0, 0, 0, 0.45);
46+
background: transparent;
4747
z-index: 1;
4848
pointer-events: none;
4949
}

registry/components/caption-editorial-emphasis/caption-editorial-emphasis.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
height: 1080px;
2525
margin: 0;
2626
overflow: hidden;
27-
background: #000;
27+
background: transparent;
2828
font-family: "Inter", sans-serif;
2929
}
3030

@@ -33,7 +33,7 @@
3333
width: 1920px;
3434
height: 1080px;
3535
overflow: hidden;
36-
background: #000;
36+
background: transparent;
3737
}
3838

3939
#bg-video {

registry/components/caption-emoji-pop/caption-emoji-pop.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
height: 1080px;
2525
margin: 0;
2626
overflow: hidden;
27-
background: #000000;
27+
background: transparent;
2828
font-family: "Gabarito", Arial, sans-serif;
2929
}
3030

@@ -33,7 +33,7 @@
3333
width: 1920px;
3434
height: 1080px;
3535
overflow: hidden;
36-
background: #000000;
36+
background: transparent;
3737
}
3838

3939
#avatar-video {

registry/components/caption-glitch-rgb/caption-glitch-rgb.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #0a0a0a;
26+
background: transparent;
2727
}
2828
#caption-glitch-rgb {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #0a0a0a;
33+
background: transparent;
3434
}
3535
#gl-video {
3636
position: absolute;

registry/components/caption-gradient-fill/caption-gradient-fill.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #0a0a0a;
26+
background: transparent;
2727
}
2828
#gradient-fill {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #0a0a0a;
33+
background: transparent;
3434
}
3535
#gr-container {
3636
position: absolute;

registry/components/caption-highlight/caption-highlight.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #0a0a0a;
26+
background: transparent;
2727
}
2828
#highlight {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #0a0a0a;
33+
background: transparent;
3434
}
3535
#hl-video {
3636
position: absolute;
@@ -43,7 +43,7 @@
4343
.hl-overlay {
4444
position: absolute;
4545
inset: 0;
46-
background: rgba(0, 0, 0, 0.4);
46+
background: transparent;
4747
z-index: 1;
4848
pointer-events: none;
4949
}

registry/components/caption-kinetic-slam/caption-kinetic-slam.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
height: 1080px;
2121
margin: 0;
2222
overflow: hidden;
23-
background: #0a0a0a;
23+
background: transparent;
2424
}
2525
#kinetic-slam {
2626
position: relative;
2727
width: 1920px;
2828
height: 1080px;
2929
overflow: hidden;
30-
background: #0a0a0a;
30+
background: transparent;
3131
}
3232
#kt-video {
3333
position: absolute;
@@ -40,7 +40,7 @@
4040
.kt-overlay {
4141
position: absolute;
4242
inset: 0;
43-
background: rgba(0, 0, 0, 0.45);
43+
background: transparent;
4444
z-index: 1;
4545
pointer-events: none;
4646
}

registry/components/caption-matrix-decode/caption-matrix-decode.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #000;
26+
background: transparent;
2727
}
2828
#matrix-decode {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #000;
33+
background: transparent;
3434
}
3535
#sc-video {
3636
position: absolute;
@@ -43,7 +43,7 @@
4343
.sc-overlay {
4444
position: absolute;
4545
inset: 0;
46-
background: rgba(0, 0, 0, 0.85);
46+
background: transparent;
4747
z-index: 1;
4848
pointer-events: none;
4949
}

registry/components/caption-neon-accent/caption-neon-accent.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
height: 1080px;
2525
margin: 0;
2626
overflow: hidden;
27-
background: #000000;
27+
background: transparent;
2828
font-family: "Montserrat", Arial, sans-serif;
2929
}
3030

@@ -33,7 +33,7 @@
3333
width: 1920px;
3434
height: 1080px;
3535
overflow: hidden;
36-
background: #000000;
36+
background: transparent;
3737
}
3838

3939
#avatar-video {

registry/components/caption-neon-glow/caption-neon-glow.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
height: 1080px;
2424
margin: 0;
2525
overflow: hidden;
26-
background: #000;
26+
background: transparent;
2727
}
2828
#neon-glow {
2929
position: relative;
3030
width: 1920px;
3131
height: 1080px;
3232
overflow: hidden;
33-
background: #000;
33+
background: transparent;
3434
}
3535
#ne-video {
3636
position: absolute;
@@ -43,7 +43,7 @@
4343
.ne-overlay {
4444
position: absolute;
4545
inset: 0;
46-
background: rgba(0, 0, 0, 0.75);
46+
background: transparent;
4747
z-index: 1;
4848
pointer-events: none;
4949
}

0 commit comments

Comments
 (0)