-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
114 lines (94 loc) · 1.63 KB
/
main.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
.parent {
display: grid;
place-items: center;
}
.mt-10 {
margin-top: 10px;
}
.mb-10 {
margin-bottom: 10px;
}
.mr-10 {
margin-right: 10px;
}
.ml-10 {
margin-left: 10px;
}
.ml-70 {
margin-left: 70px;
}
body {
font-size: 10px;
font-family: Roboto, sans-serif;
background: rgb(2,0,36);
background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(6,104,168,1) 30%, rgba(151,177,194,1) 100%);
display: grid;
width: 300px;
height: 200px;
place-items: center;
}
.group {
display: flex;
line-height: 28px;
align-items: center;
position: relative;
max-width: 190px;
}
.input {
width: 100%;
height: 40px;
line-height: 28px;
padding: 0 1rem;
padding-left: 2.5rem;
border: 2px solid transparent;
border-radius: 8px;
outline: none;
background-color: #f3f3f4;
color: #0d0c22;
transition: .3s ease;
}
.input::placeholder {
color: #9e9ea7;
}
.input:focus, input:hover {
outline: none;
border-color: #3654ff;
background-color: #fff;
box-shadow: 0 0 0 4px #3654ff;
}
.icon {
position: absolute;
left: 1rem;
fill: #9e9ea7;
width: 1rem;
height: 1rem;
}
.button {
background-color: #ffffff00;
color: #fff;
width: 11.5em;
height: 2.9em;
border: #3654ff 0.2em solid;
border-radius: 11px;
text-align: right;
font-size: larger;
white-space: nowrap;
transition: all 0.6s ease;
}
.button:hover {
background-color: #3654ff;
cursor: pointer;
}
.button svg {
width: 1.6em;
margin: -0.2em 0.8em 1em;
position: absolute;
display: flex;
transition: all 0.6s ease;
}
.button:hover svg {
transform: translateX(5px);
}
.text {
margin: 0 1.5em
}