-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.css
121 lines (120 loc) · 2.87 KB
/
input.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
113
114
115
116
117
118
119
120
121
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;
input[type="range"] {
accent-color: #009a9c;
}
:root {
--btn-color: #009a9c;
--btn-ripple-color: #def8e8;
}
.btn1 {
color: var(--btn-ripple-color);
text-align: justify;
font-size: 20px;
font-weight: 700;
letter-spacing: 0.08em;
background: var(--btn-color);
position: relative;
overflow: hidden;
z-index: 0;
}
span {
z-index: -1;
position: absolute;
background: white;
transform: translate(-50%, -50%);
border-radius: 50%;
animation: animate 0.5s infinite;
}
@keyframes animate {
0% {
width: 0px;
height: 0px;
opacity: 0.1;
}
100% {
width: 230px;
height: 230px;
opacity: 0.3;
}
}
.disable_gen {
cursor: not-allowed;
background-color: rgb(197, 197, 197);
color: var(--btn-color);
}
.btn {
color: var(--btn-color);
text-align: justify;
font-size: 20px;
font-weight: 700;
letter-spacing: 0.08em;
background: transparent;
position: relative;
overflow: hidden;
z-index: 0;
transition: all 0.5s ease-in-out;
}
.btn::before {
content: "";
top: var(--y-pos);
left: var(--x-pos);
width: 0px;
height: 0px;
z-index: -1;
position: absolute;
background: var(--btn-color);
transform: translate(-50%, -50%);
border-radius: 50%;
transition: all 0.5s ease-in-out;
}
.btn:hover::before {
width: 400px;
height: 400px;
}
.btn:hover {
--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04))
drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
var(--tw-sepia) var(--tw-drop-shadow);
color: #def8e8;
}
.disabled {
color: var(--btn-color);
}
.disabled:hover::before {
width: 0px;
height: 0px;
}
.disabled:hover {
--tw-drop-shadow: drop-shadow(0 0 #0000);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
var(--tw-sepia) var(--tw-drop-shadow);
color: var(--btn-color);
cursor: not-allowed;
}
.selected {
--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04))
drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
var(--tw-sepia) var(--tw-drop-shadow);
color: #def8e8;
background-color: var(--btn-color);
color: var(--btn-ripple-color);
}
.selected:hover::before {
width: 0px;
height: 0px;
}
.selected:hover {
--tw-drop-shadow: drop-shadow(0 0 #0000);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
var(--tw-sepia) var(--tw-drop-shadow);
color: var(--btn-ripple-color);
}