-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (109 loc) · 2.51 KB
/
style.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
height: 100vh;
background-color: #101b3c;
font-family: "montserrat", sans-serif;
display: flex;
align-items: center;
justify-content: center;
}
input,
textarea,
button {
font-family: inherit;
}
.container {
width: 420px;
height: 530px;
padding: 25px;
background-color: #f3f4f7;
border-radius: 10px;
box-shadow: 0 0 25px 5px rgba(83, 87, 95, 0.25);
/* BounceIn Animation */
}
.container h1 {
padding: 20px 0;
color: #090909;
font-size: 30px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
}
.container .text-field {
width: 100%;
height: 230px;
margin: 20px 0;
padding: 10px;
background: transparent;
border: 1px solid #52565e;
font-size: 16px;
font-weight: 400;
outline: none;
resize: none;
}
.container .copy-btn {
padding: 10px 15px;
color: #f3f4f7; /* Use tertiary-color variable */
background-color: #037ef3;
border-radius: 5px;
font-size: 16px;
font-weight: 600;
text-transform: uppercase;
border: none;
outline: none;
cursor: pointer;
}
.container .copy-btn i {
margin-left: 5px; /* Add margin for spacing between text and icon */
}
.container .copy-btn:active {
transform: scale(0.98);
}
.container .copy-btn:hover {
color: #fff; /* Change text color to white on hover */
background-color: #093763; /* Change background color to blue on hover */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Added box-shadow */
transform: translateY(-2px); /* Added translateY for subtle hover effect */
}
.container .copy-btn.bounce-effect {
animation: bounceIn 0.8s linear;
}
@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3);
}
20% {
transform: scale(1.1);
color: #fff; /* Change to white */
background-color: #037ef3; /* Change to blue */
}
40% {
transform: scale(0.9);
color: #f3f4f7; /* Back to original text color */
background-color: #037ef3; /* Back to original background color */
}
60% {
opacity: 1;
transform: scale(1.03);
color: #fff; /* Change to white */
background-color: #037ef3; /* Change to blue */
}
80% {
transform: scale(0.97);
color: #f3f4f7; /* Back to original text color */
background-color: #037ef3; /* Back to original background color */
}
100% {
opacity: 1;
transform: scale(1);
color: #f3f4f7; /* Back to original text color */
background-color: #037ef3; /* Back to original background color */
}
}/*# sourceMappingURL=style.css.map */