-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.css
125 lines (122 loc) · 2.38 KB
/
popup.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
122
123
124
125
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
:root {
width: 315px !important;
}
html {
box-sizing: border-box;
background: #263238;
}
.container {
background: #263238;
max-width: 100vw;
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
justify-items: center;
align-items: center;
}
.container__btn {
display: grid;
/* grid-gap: 2px; */
justify-items: center;
align-items: center;
}
@media screen and (max-width: 100px) {
.container__btn {
grid-template-columns: 100px;
grid-template-rows: repeat(auto-fit);
}
}
textarea {
border-radius: 12px;
outline: unset;
outline-offset: unset;
box-shadow: 0 5px 8px rgba(0, 0, 0, .4);
}
textarea:focus-visible {
outline: unset;
outline-offset: unset;
filter: saturate(400%);
}
/* ALL BUTTONS */
.btn {
margin-bottom: 4px;
margin-top: 4px;
font-family: 'Poppins', sans-serif;
font-size: 14px;
border: none;
letter-spacing: 1px;
text-transform: full-width;
border-radius: 12px;
color: #fff;
position: relative;
cursor: pointer;
box-shadow: 0 5px 8px rgba(0, 0, 0, .4);
max-width: 200px;
max-height: 1.5em;
}
.btn:focus, .btn:focus::after {
outline: none;
}
.btn:active {
transform: translateY(2px);
}
/* BUTTON BLUE */
.btn-shine {
padding-left: 2em;
padding-right: 2em;
/* padding-top: 1em;
padding-bottom: 1em; */
background-image: linear-gradient(to right, #1bdbd1, #1fa2ff);
overflow: hidden;
}
.btn-shine span {
z-index: 20;
}
.btn-shine::after {
background: #fff;
content: "";
height: 155px;
top: -50px;
left: -75px;
opacity: 0.3;
position: absolute;
transform: rotate(35deg);
transition: all 650ms cubic-bezier(0.19, 1, 0.22, 1);
width: 50px;
z-index: 0;
}
.btn-shine:hover::after {
left: 120%;
transition: all 650ms cubic-bezier(0.19, 1, 0.22, 1);
}
/* BTN GRADIENTS */
.btn-gradients {
padding-left: 2em;
padding-right: 2em;
/* padding-top: 1em;
padding-bottom: 1em; */
background: transparent;
z-index: 1;
overflow: hidden;
}
.btn-gradients::after {
background-image: linear-gradient(to right, #6f16fd, #fb0779);
content: "";
height: 100%;
width: 200%;
top: 0;
left: 0;
position: absolute;
transition: all 2.5s cubic-bezier(0.19, 1, 0.22, 1);
z-index: -1;
}
.btn-gradients:hover::after {
left: -120px;
transition: all 2.5s cubic-bezier(0.19, 1, 0.22, 1);
color: #fff;
}