Tri4 commited on
Commit
be16eb7
·
verified ·
1 Parent(s): f097f0b

Update static/css/design.css

Browse files
Files changed (1) hide show
  1. static/css/design.css +90 -32
static/css/design.css CHANGED
@@ -1,54 +1,112 @@
1
  body {
2
- background-color: #121212; /* Dark background */
3
- overflow: hidden;
4
- color: #e0e0e0; /* Light text color for contrast */
5
- font-family: Arial, sans-serif;
6
  }
7
 
8
  .mic-container {
9
- height: 100vh;
10
- width: 100vw;
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- }
15
 
16
- .circle {
17
  width: 80px;
18
  height: 80px;
19
  border-radius: 50%;
20
- background: #4b83ad;
21
  display: flex;
22
  justify-content: center;
23
  align-items: center;
 
24
  z-index: 1;
25
  transition: 0.5s;
26
- box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.2);
27
- position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
- .circle i {
31
- color: #b2b1b1;
32
- font-size: 23px;
33
- transition: 0.9s;
34
  }
35
 
36
- .circle.active {
37
- background: #ff0000; /* Red for recording */
 
 
 
38
  }
39
 
40
- .circle.active i {
41
- color: #ffffff;
 
 
 
 
 
 
42
  }
43
 
44
- .output-container {
45
- position: fixed;
46
- bottom: 20px;
47
- left: 50%;
48
- transform: translateX(-50%);
49
- background: rgba(255, 255, 255, 0.8);
50
- border-radius: 10px;
51
- padding: 10px 20px;
52
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
53
- color: #000; /* Dark text for visibility */
54
  }
 
1
  body {
2
+ overflow: hidden;
3
+ margin: 0;
4
+ font-family: Arial, sans-serif;
5
+ background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
6
  }
7
 
8
  .mic-container {
9
+ height: 100vh;
10
+ width: 100vw;
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ position: relative;
15
 
16
+ .circle {
17
  width: 80px;
18
  height: 80px;
19
  border-radius: 50%;
20
+ background: #ffffff;
21
  display: flex;
22
  justify-content: center;
23
  align-items: center;
24
+ position: relative;
25
  z-index: 1;
26
  transition: 0.5s;
27
+ box-shadow: 0 6px 10px rgba(0, 0, 0, 0.14), 0 1px 18px rgba(0, 0, 0, 0.12), 0 3px 5px rgba(0, 0, 0, 0.2);
28
+
29
+ i {
30
+ color: #b2b1b1;
31
+ font-size: 23px;
32
+ transition: 0.9s;
33
+ }
34
+
35
+ &:before {
36
+ content: '';
37
+ width: 80px;
38
+ height: 80px;
39
+ border-radius: 50%;
40
+ opacity: 0.2;
41
+ z-index: -1;
42
+ position: absolute;
43
+ background: transparent;
44
+ }
45
+ }
46
+
47
+ .circle.active {
48
+ background: #ff0000;
49
+
50
+ &:before {
51
+ background: gray;
52
+ animation: bounce 0.8s ease-in-out infinite 0.5s;
53
+ }
54
+
55
+ i {
56
+ color: #ffffff;
57
+ }
58
+ }
59
+ }
60
+
61
+ @keyframes bounce {
62
+ 0% {
63
+ transform: scale(1);
64
+ }
65
+ 25% {
66
+ transform: scale(1.4);
67
+ }
68
+ 75% {
69
+ transform: scale(1);
70
+ }
71
+ 100% {
72
+ transform: scale(1.3);
73
+ }
74
+ }
75
+
76
+ #transcribeButton {
77
+ display: block;
78
+ margin: 20px auto;
79
+ padding: 10px 20px;
80
+ background-color: #3498db;
81
+ color: white;
82
+ border: none;
83
+ border-radius: 5px;
84
+ cursor: pointer;
85
+ transition: background-color 0.3s, box-shadow 0.3s;
86
  }
87
 
88
+ #transcribeButton:hover {
89
+ background-color: #2980b9;
 
 
90
  }
91
 
92
+ #transcriptionResult {
93
+ text-align: center;
94
+ margin-top: 20px;
95
+ font-size: 18px;
96
+ color: #333;
97
  }
98
 
99
+ #loadingSpinner {
100
+ margin-top: 20px;
101
+ width: 50px;
102
+ height: 50px;
103
+ border: 5px solid rgba(0, 0, 0, 0.1);
104
+ border-left: 5px solid #3498db;
105
+ border-radius: 50%;
106
+ animation: spin 1s linear infinite;
107
  }
108
 
109
+ @keyframes spin {
110
+ 0% { transform: rotate(0deg); }
111
+ 100% { transform: rotate(360deg); }
 
 
 
 
 
 
 
112
  }