-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrt.css
119 lines (110 loc) · 2.06 KB
/
rt.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
*{
margin:0%;
padding:0%;
}
.body {
background-color: lightgrey;
}
.hero{
height: 100%;
width: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url(background.jpg);
background-position: center;
background-size: cover;
position: absolute;
}
/* for form */
.form-box{
width: 450px;
height: 480px;
position: absolute;
right:10px;
margin: 6% auto;
background: #fff;
padding: 2px;
overflow: hidden;
}
.button-box{
width: 220px;
margin: 35px auto;
position: relative;
border-radius: 30px;
}
.toggle-btn{
transition: all .3s;
padding: 10px 30px;
cursor: pointer;
background: rgba(250,128,144,0.3);
border: 1px;
outline: none;
position: relative;
color: white;
font-weight: bold;
}
.toggle-btn.selected {
background: #fa1b08;
}
.input-group{
top: 180px;
position:absolute;
right: 10px;
width:280px;
transition:0.5s;
}
.input-field{
transition: all .3s;
position: relative;
margin: 5px 15px;
border: 1px solid rgba(255,127,80,0.2);
border-radius: 5px;
width: 100%;
outline: none;
padding: 10px;
}
.input-field:focus {
border: 1px solid rgba(255,127,80,1);
border-radius: 10px;
}
.input-field:hover {
cursor: text;
}
#submit-btn {
transition: all .3s;
width: 69%;
color: white;
padding: 10px 30px;
cursor: pointer;
display:block;
margin: auto;
border: 1px solid white;
background-color: #fa1b08;
outline: none;
border-radius: 24px;
}
#submit-btn:hover {
background: white;
border: 1px solid #fa1b08;
color: #fa1b08;
}
#registration-form div, #login-form div {
display: flex;
justify-content: space-around;
align-items: center;
}
[id$="-form"] {
transition: all 1s, opacity .3s;
width: 100%;
position: relative;
left: 50%;
transform: translate(-51%);
}
#login-form {
opacity: 0;
position: absolute;
transform: translate(51%);
}
#form-container {
transition: all 1s;
height: 250px;
}