Tri4 commited on
Commit
8f1e0dc
·
verified ·
1 Parent(s): 5527542

Update static/css/design.css

Browse files
Files changed (1) hide show
  1. static/css/design.css +32 -58
static/css/design.css CHANGED
@@ -1,80 +1,54 @@
1
  body {
2
- overflow: hidden;
3
- /*background-color: #121212; */
 
 
4
  }
5
 
6
  .mic-container {
7
- height: 100vh;
8
- width: 100vw;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
 
12
 
13
- .circle {
14
  width: 80px;
15
  height: 80px;
16
  border-radius: 50%;
17
- background: #ffffff; /*#4b83ad*/
18
  display: flex;
19
  justify-content: center;
20
  align-items: center;
21
  z-index: 1;
22
  transition: 0.5s;
23
  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);
 
 
24
 
25
- i {
26
- color: #b2b1b1;
27
- font-size: 23px;
28
- transition: 0.9s;
29
- }
30
-
31
- &:before {
32
- content: '';
33
- width: 80px;
34
- height: 80px;
35
- border-radius: 50%;
36
- opacity: 0.2;
37
- z-index: -1;
38
- position: absolute;
39
- }
40
- }
41
-
42
- .circle.active {
43
- background: #ff0000;
44
-
45
- &:before {
46
- background: gray;
47
- animation: bounce 0.8s ease-in-out infinite 0.5s;
48
- }
49
 
50
- i {
51
- color: #ffffff;
52
- }
53
- }
54
  }
55
 
56
- @keyframes bounce {
57
- 0% {
58
- transform: scale(1);
59
- }
60
- 25% {
61
- transform: scale(1.4);
62
- }
63
- 75% {
64
- transform: scale(1);
65
- }
66
- 100% {
67
- transform: scale(1.3);
68
- }
69
  }
70
 
71
  .output-container {
72
- position: fixed;
73
- bottom: 20px;
74
- left: 50%;
75
- transform: translateX(-50%);
76
- background: rgba(255, 255, 255, 0.8);
77
- border-radius: 10px;
78
- padding: 10px 20px;
79
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 
80
  }
 
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
  }