Tri4 commited on
Commit
7678e61
·
verified ·
1 Parent(s): 0a8e2ef

Create design.css

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