Files changed (1) hide show
  1. style.css +55 -10
style.css CHANGED
@@ -1,26 +1,32 @@
 
1
  body {
2
  background: #111;
3
  color: #eee;
4
  font-family: Arial, sans-serif;
5
  padding: 40px;
 
6
  }
7
 
8
  .container {
9
- width: 700px;
10
  margin: auto;
11
- background: #222;
12
  border-radius: 12px;
13
- padding: 25px;
 
14
  }
15
 
 
16
  .btn {
17
- padding: 12px 20px;
18
  background: #444;
19
  border: none;
20
  border-radius: 6px;
21
  cursor: pointer;
22
- margin: 5px;
23
  color: white;
 
 
24
  }
25
 
26
  .btn:hover {
@@ -31,24 +37,63 @@ body {
31
  background: #555;
32
  }
33
 
 
 
 
 
34
  .btn-green {
35
  background: #28a745;
36
  }
37
 
38
  .btn-green:hover {
39
- background: #218838;
40
  }
41
 
 
42
  .disfluency {
43
- color: #ff6b6b;
 
 
 
 
 
 
 
 
 
 
 
44
  font-weight: bold;
45
  }
46
 
 
47
  #transcriptionOutput {
48
  margin-top: 20px;
49
- padding: 15px;
50
  background: #000;
51
- border-radius: 8px;
52
- min-height: 120px;
 
 
53
  white-space: pre-wrap;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
 
1
+ /* ===== Global Layout ===== */
2
  body {
3
  background: #111;
4
  color: #eee;
5
  font-family: Arial, sans-serif;
6
  padding: 40px;
7
+ margin: 0;
8
  }
9
 
10
  .container {
11
+ width: 750px;
12
  margin: auto;
13
+ background: #1e1e1e;
14
  border-radius: 12px;
15
+ padding: 30px;
16
+ box-shadow: 0 0 20px rgba(0,0,0,0.5);
17
  }
18
 
19
+ /* ===== Buttons ===== */
20
  .btn {
21
+ padding: 10px 20px;
22
  background: #444;
23
  border: none;
24
  border-radius: 6px;
25
  cursor: pointer;
26
+ margin: 6px;
27
  color: white;
28
+ font-weight: bold;
29
+ transition: 0.2s;
30
  }
31
 
32
  .btn:hover {
 
37
  background: #555;
38
  }
39
 
40
+ .btn-secondary:hover {
41
+ background: #777;
42
+ }
43
+
44
  .btn-green {
45
  background: #28a745;
46
  }
47
 
48
  .btn-green:hover {
49
+ background: #1f8f36;
50
  }
51
 
52
+ /* ===== Highlighting ===== */
53
  .disfluency {
54
+ color: #ff4d4d;
55
+ font-weight: bold;
56
+ }
57
+
58
+ .interim {
59
+ color: #aaaaaa;
60
+ opacity: 0.6;
61
+ }
62
+
63
+ .pause {
64
+ color: #ffa500;
65
+ padding: 0 4px;
66
  font-weight: bold;
67
  }
68
 
69
+ /* ===== Transcription Box ===== */
70
  #transcriptionOutput {
71
  margin-top: 20px;
72
+ padding: 18px;
73
  background: #000;
74
+ border-radius: 10px;
75
+ min-height: 160px;
76
+ max-height: 380px;
77
+ overflow-y: auto;
78
  white-space: pre-wrap;
79
+ line-height: 1.5;
80
+ font-size: 17px;
81
+ border: 1px solid #333;
82
+ }
83
+
84
+ /* ===== Status Message ===== */
85
+ #statusMessage {
86
+ margin-top: 10px;
87
+ font-size: 15px;
88
+ color: #aaa;
89
+ }
90
+
91
+ /* ===== Dropdown ===== */
92
+ #languageSelect {
93
+ padding: 8px;
94
+ background: #333;
95
+ color: white;
96
+ border-radius: 6px;
97
+ border: 1px solid #555;
98
+ font-size: 14px;
99
  }