blob: b4c5b451d7fae4138299ec2460044cc111c9268a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
* {
margin: 0;
padding: 0;
font-family: monospace;
font-weight: 500;
color: #A3A3A3;
}
h1 {
text-align: center;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;
width: 100vw;
background: #181A1B;
}
.textareaContainer {
position: relative;
display: flex;
gap: 10px;
padding: 10px;
height: 60vh;
}
textarea {
width: 100%;
border: none;
border-radius: 16px;
padding: 20px;
font-size: 20px;
}
textarea::placeholder {
opacity: 0.5;
}
textarea:focus {
outline: none;
}
#input:hover {
background-color: #1e202131;
}
#input {
resize: none;
background-color: #141414;
border: #181A1B 1px solid;
transition: background-color 0.3s, transform 0.3s;
}
#input:focus {
background-color: #1E2021
}
#output {
resize: none;
background-color: #141414;
transition: background-color 0.3s, transform 0.3s;
}
#output:hover {
background-color: #1e202131;
}
.havOutput {
background: #1E2021 !important;
}
#btnContainer {
padding: 10px;
padding-top: 0px;
}
#copyBtn {
background-color: #141414;
border: #181A1B 1px solid;
border-radius: 8px;
transition: background-color 0.3s, transform 0.3s;
font-size: 20px;
width: 100%;
height: 100px;
}
#copyBtn:focus {
outline: none;
}
@keyframes copyBtnAnimation {
0% {
transform: scale(1.1);
}
25% {
transform: scale(1);
}
50% {
transform: scaleX(0.5);
}
75% { transform: rotate(0deg); }
80% { transform: rotate(.15deg); }
85% { transform: rotate(0eg); }
90% { transform: rotate(-.10deg); }
100% { transform: rotate(0deg); }
}
@keyframes shake {
0% { transform: rotate(0deg); }
25% { transform: rotate(.5deg); }
50% { transform: rotate(0eg); }
75% { transform: rotate(-.5deg); }
100% { transform: rotate(0deg); }
}
#copyBtn:disabled {
background-color: #1E2021;
animation: shake 250ms infinite;
}
#copyBtn:active {
animation: copyBtnAnimation 250ms;
}
#center {
}
|