Skip to content

Commit 4778fd4

Browse files
committed
Improve UI
1 parent d3936e0 commit 4778fd4

1 file changed

Lines changed: 36 additions & 22 deletions

File tree

extension/popup.html

Lines changed: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
99

1010
body {
11-
width: 640px;
11+
width: 520px;
1212
padding: 3rem;
1313
background: #071f29;
1414
color: #2A9ACA;
@@ -19,12 +19,12 @@
1919
background-size: cover;
2020
}
2121

22-
hr {
23-
border-color: #2A9ACA;
22+
h1 {
23+
font-size: 2rem;
2424
}
2525

2626
.get-started {
27-
padding: 0.5rem 1rem;
27+
padding: 1rem;
2828
background-color: rgba(255, 255, 255, 0.1);
2929
backdrop-filter: blur(4px);
3030
border-radius: 8px;
@@ -45,9 +45,22 @@
4545
border-radius: 96px;
4646
}
4747

48+
.radio-item {
49+
display: flex;
50+
gap: 0.5rem;
51+
align-items: start;
52+
margin-bottom: 2rem;
53+
}
54+
55+
.sub-text {
56+
font-size: 1rem;
57+
}
58+
4859
input {
60+
margin-top: 0.5rem;
4961
accent-color: #2A9ACA;
5062
width: 18px;
63+
height: 18px;
5164
}
5265

5366
label {
@@ -69,7 +82,7 @@
6982
<div>
7083
<div style="margin-bottom: 2rem;">
7184
<div style="display: flex; gap: 1rem; align-items: center;">
72-
<img src="./icon.png" width="48px" height="48px" alt="" />
85+
<img src="./icon.png" width="48px" height="48px" alt="Extension icon" />
7386
<div>
7487
<h1 style="margin: 0px;">TranscripTonic</h1>
7588
<p style="margin: 0px;">
@@ -79,30 +92,31 @@ <h1 style="margin: 0px;">TranscripTonic</h1>
7992
</div>
8093
</div>
8194

82-
<hr style="margin-bottom: 2rem;" />
8395

84-
<div style="display: flex; gap: 0.25rem;">
85-
<input type="radio" name="mode" id="auto-mode" />
86-
<label><b>Auto</b> (records transcripts for all meetings)</label>
87-
</div>
88-
<div style="margin-bottom: 2rem; display: flex; gap: 0.25rem;">
89-
<input type="radio" name="mode" id="manual-mode" />
90-
<label><b>Manual</b> (switch on transcript as needed) </label>
91-
</div>
9296
<div class="get-started">
93-
<h2>How to use TranscripTonic?</h2>
94-
<p>In both modes, transcript will be automatically downloaded as a text file at the end of each meeting. <b>Avoid
95-
closing the meeting tab.</b></p>
96-
<ul>
97-
<li><b>Auto mode:</b> Automatically records transcripts for all meetings</li>
98-
<li><b>Manual mode:</b> Switch on TranscripTonic by clicking on captions icon in Google Meet (CC icon)</li>
99-
</ul>
97+
<div class="radio-item">
98+
<input type="radio" name="mode" id="auto-mode" />
99+
<label for="auto-mode"><b>Auto mode</b>
100+
<br /><span class="sub-text">Records transcripts for all
101+
meetings</span>
102+
</label>
103+
</div>
104+
<div class="radio-item">
105+
<input type="radio" name="mode" id="manual-mode" />
106+
<label for="manual-mode"><b>Manual mode</b> <br />
107+
<span class="sub-text">Switch on transcript as needed using the CC icon in
108+
Google Meet</span>
109+
</label>
110+
</div>
111+
<p style="margin-bottom: 0rem;">In both modes, transcript will be downloaded as a text file at the end
112+
of each meeting.</p>
100113
</div>
114+
101115
<div>
102116
<div style="margin-bottom: 2.75rem">
103117
<a href="" id="last-meeting-transcript">Download last meeting transcript</a>
104118
&nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;
105-
<a href="https://github.com/vivek-nexus/transcriptonic#readme" target="_blank">Get more help</a>
119+
<a href="https://github.com/vivek-nexus/transcriptonic#readme" target="_blank">Get help</a>
106120
&nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp;
107121
<a href="https://github.com/vivek-nexus/transcriptonic/issues" target="_blank">Report a bug</a>
108122
</div>

0 commit comments

Comments
 (0)