Skip to content

Commit 65e862a

Browse files
committed
style for go live
1 parent 92d1618 commit 65e862a

File tree

6 files changed

+44
-56
lines changed

6 files changed

+44
-56
lines changed

src/PrompterOne.Shared/GoLive/Components/GoLiveCameraPreviewCard.razor.css

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,22 @@
1414
background: #050508;
1515
}
1616

17-
.gl-monitor-preview .gl-monitor-feed {
17+
::deep .gl-monitor-feed {
1818
aspect-ratio: 16 / 9;
19-
}
20-
21-
.gl-preview-feed {
2219
position: relative;
23-
display: flex;
24-
align-items: center;
25-
justify-content: center;
2620
overflow: hidden;
27-
background:
28-
radial-gradient(circle at top right, rgba(96, 165, 250, .08), transparent 32%),
29-
#050508;
21+
background: #050508;
22+
}
23+
24+
::deep .gl-preview-video {
25+
position: absolute;
26+
inset: 0;
27+
width: 100%;
28+
height: 100%;
29+
display: block;
30+
object-fit: cover;
31+
object-position: center;
32+
background: #050508;
3033
}
3134

3235
.gl-preview-overlay {
@@ -50,17 +53,6 @@
5053
backdrop-filter: blur(10px);
5154
}
5255

53-
.gl-preview-video {
54-
width: 100%;
55-
height: 100%;
56-
display: block;
57-
max-width: 100%;
58-
max-height: 100%;
59-
object-fit: contain;
60-
object-position: center;
61-
background: #050508;
62-
}
63-
6456
.gl-air-dot-wrap {
6557
position: absolute;
6658
top: 7px;

src/PrompterOne.Shared/GoLive/Components/GoLiveProgramFeedCard.razor

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33

44
<section class="gl-program-monitor-shell"
55
data-live-state="@LiveState">
6-
<div class="gl-monitor-label-top gl-label-canvas">
7-
<span>@Title</span>
8-
</div>
9-
106
<div class="gl-monitor gl-monitor-program"
117
data-testid="@UiTestIds.GoLive.ProgramCard">
8+
<div class="gl-monitor-label-top gl-label-canvas">
9+
<span>@Title</span>
10+
</div>
1211
<GoLiveCameraSurface Camera="@Camera"
1312
ContainerClass="gl-monitor-feed"
1413
ContainerDomId="@UiDomIds.GoLive.ProgramStage"

src/PrompterOne.Shared/GoLive/Components/GoLiveProgramFeedCard.razor.css

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
}
99

1010
.gl-monitor-label-top {
11-
display: flex;
12-
align-items: center;
13-
justify-content: space-between;
14-
gap: 12px;
15-
padding: 0 4px;
16-
font-size: 10px;
17-
font-weight: 700;
18-
letter-spacing: 1.2px;
11+
position: absolute;
12+
top: 10px;
13+
left: 12px;
14+
z-index: 5;
15+
pointer-events: none;
16+
font-size: 9px;
17+
font-weight: 800;
18+
letter-spacing: 2px;
19+
text-transform: uppercase;
1920
}
2021

2122
.gl-label-canvas {
22-
color: rgba(196, 160, 96, .6);
23+
color: rgba(196, 160, 96, .35);
2324
}
2425

2526
.gl-monitor {
@@ -40,26 +41,20 @@
4041
box-shadow: 0 0 40px rgba(0, 0, 0, .4), inset 0 0 0 1px var(--gold-06);
4142
}
4243

43-
.gl-monitor-feed {
44-
position: relative;
44+
::deep .gl-monitor-feed {
4545
flex: 1;
46-
display: flex;
47-
align-items: center;
48-
justify-content: center;
46+
position: relative;
4947
min-height: 0;
50-
aspect-ratio: 16 / 9;
5148
overflow: hidden;
52-
background:
53-
radial-gradient(circle at top right, rgba(96, 165, 250, .08), transparent 32%),
54-
#050508;
49+
background: #050508;
5550
}
5651

57-
.gl-program-video {
52+
::deep .gl-program-video {
53+
position: absolute;
54+
inset: 0;
5855
width: 100%;
5956
height: 100%;
6057
display: block;
61-
max-width: 100%;
62-
max-height: 100%;
6358
object-fit: contain;
6459
object-position: center;
6560
background: #050508;
@@ -91,13 +86,13 @@
9186
}
9287

9388
.gl-preview-empty {
89+
position: absolute;
90+
inset: 0;
9491
display: flex;
9592
flex-direction: column;
9693
align-items: center;
9794
justify-content: center;
9895
gap: 10px;
99-
width: 100%;
100-
height: 100%;
10196
padding: 24px;
10297
color: rgba(255, 255, 255, .16);
10398
text-align: center;

src/PrompterOne.Shared/GoLive/Components/GoLiveSourcesCard.razor.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
cursor: pointer;
9595
}
9696

97-
.gl-cam-thumb {
97+
::deep .gl-cam-thumb {
9898
position: relative;
9999
width: 100%;
100100
aspect-ratio: 16 / 9;
@@ -109,7 +109,9 @@
109109
background: rgba(255, 255, 255, .04);
110110
}
111111

112-
.gl-source-feed {
112+
::deep .gl-source-feed {
113+
position: absolute;
114+
inset: 0;
113115
width: 100%;
114116
height: 100%;
115117
display: block;

src/PrompterOne.Shared/Learn/Pages/LearnPage.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace PrompterOne.Shared.Pages;
99

1010
public partial class LearnPage : IAsyncDisposable
1111
{
12-
private const int DefaultContextWordCount = 2;
12+
private const int DefaultContextWordCount = 3;
1313
private const string EndOfScriptPhrase = "End of script.";
1414
private const string LoadLearnMessage = "Unable to load RSVP rehearsal right now.";
1515
private const string LoadLearnOperation = "Learn load";

src/PrompterOne.Shared/wwwroot/design/modules/30-rsvp.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,24 +101,24 @@
101101
display: flex;
102102
align-items: baseline;
103103
gap: 14px;
104-
font-size: clamp(30px, 2.4vw, 35px);
104+
font-size: clamp(26px, 2vw, 30px);
105105
font-weight: 400;
106-
color: rgba(232,213,176,.4);
106+
color: rgba(232,213,176,.35);
107107
line-height: 1;
108108
white-space: nowrap;
109-
overflow: visible;
109+
overflow: clip;
110110
flex: 1 1 0;
111111
min-width: 0;
112112
pointer-events: none;
113113
z-index: 0;
114114
}
115115
.rsvp-ctx-left {
116116
justify-content: flex-end;
117-
padding-right: 24px;
117+
padding-right: 60px;
118118
}
119119
.rsvp-ctx-right {
120120
justify-content: flex-start;
121-
padding-left: 24px;
121+
padding-left: 60px;
122122
}
123123

124124
.rsvp-focus-shell {

0 commit comments

Comments
 (0)