Update style.css
This commit is contained in:
parent
b0ae71e5fc
commit
d1e7c65920
287
style.css
287
style.css
|
@ -1,144 +1,143 @@
|
||||||
*{
|
*{
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0,0,0,0.8)),url(bg.jpg);
|
background-image: linear-gradient(rgba(0, 0, 0, 0.8),rgba(0,0,0,0.8)),url(bg.jpg);
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.container{
|
.container{
|
||||||
width: 360px;
|
width: 360px;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
margin: 8% auto;
|
margin: 8% auto;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
position:relative;
|
position:relative;
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3{
|
h3{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container form{
|
.container form{
|
||||||
width: 280px;
|
width: 280px;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:100px;
|
top:100px;
|
||||||
left: 40px;
|
left: 40px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form input{
|
form input{
|
||||||
width:100%;
|
width:100%;
|
||||||
padding: 10px 5px;
|
padding: 10px 5px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
border:0;
|
border:0;
|
||||||
border-bottom: 1px solid #999;
|
border-bottom: 1px solid #999;
|
||||||
outline: none;
|
outline: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
label{
|
label{
|
||||||
display:inline-flex;
|
display:inline-flex;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #777;
|
color: #777;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
.radio-inline input{
|
.radio-inline input{
|
||||||
display:inline-flex;
|
display:inline-flex;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::placeholder{
|
::placeholder{
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
.btn-box{
|
.btn-box{
|
||||||
width:100%;
|
width:100%;
|
||||||
margin: 30px auto;
|
margin: 30px auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
form button{
|
form button{
|
||||||
width: 110px;
|
width: 110px;
|
||||||
height:35px;
|
height:35px;
|
||||||
margin:0 10px;
|
margin:0 10px;
|
||||||
background: linear-gradient(to right, #9b06d6,#f905dc);
|
background: linear-gradient(to right, #9b06d6,#f905dc);
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
border:0;
|
border:0;
|
||||||
outline:none;
|
outline:none;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
#form2{
|
#form2, #form3 {
|
||||||
left:450px;
|
position: absolute;
|
||||||
}
|
transform: translateX(450px);
|
||||||
|
transition: transform 0.3s ease;
|
||||||
#form3{
|
}
|
||||||
left:450px;
|
|
||||||
}
|
|
||||||
|
.step-row{
|
||||||
.step-row{
|
width:360px;
|
||||||
width:360px;
|
height:40px;
|
||||||
height:40px;
|
margin:0 auto;
|
||||||
margin:0 auto;
|
display:flex;
|
||||||
display:flex;
|
align-items: center;
|
||||||
align-items: center;
|
box-shadow: 0 -1px 5px -1px #000;
|
||||||
box-shadow: 0 -1px 5px -1px #000;
|
position: relative;
|
||||||
position: relative;
|
}
|
||||||
}
|
.step-col{
|
||||||
.step-col{
|
width: 120px;
|
||||||
width: 120px;
|
text-align: center;
|
||||||
text-align: center;
|
color:#333;
|
||||||
color:#333;
|
position: relative;
|
||||||
position: relative;
|
|
||||||
|
}
|
||||||
}
|
#progress{
|
||||||
#progress{
|
position:absolute;
|
||||||
position:absolute;
|
height:100%;
|
||||||
height:100%;
|
width: 120px;
|
||||||
width: 120px;
|
background: linear-gradient(to right, #9b06d6,#f905dc);
|
||||||
background: linear-gradient(to right, #9b06d6,#f905dc);
|
transition: 1s;
|
||||||
transition: 1s;
|
}
|
||||||
}
|
#progress::after{
|
||||||
#progress::after{
|
content: '';
|
||||||
content: '';
|
position: absolute;
|
||||||
position: absolute;
|
width: 0;
|
||||||
width: 0;
|
height: 0;
|
||||||
height: 0;
|
border-top: 20px solid transparent;
|
||||||
border-top: 20px solid transparent;
|
border-bottom: 20px solid transparent;
|
||||||
border-bottom: 20px solid transparent;
|
top: 0;
|
||||||
top: 0;
|
right: -20px;
|
||||||
right: -20px;
|
border-left: 20px solid #f11de7;
|
||||||
border-left: 20px solid #f11de7;
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
.dropdown select{
|
||||||
.dropdown select{
|
position:relative;
|
||||||
position:relative;
|
min-width: 180px;
|
||||||
min-width: 18px;
|
padding: 5px 5px;
|
||||||
padding: 5px 5px;
|
display: inline-block;
|
||||||
display: inline-block;
|
color:#333
|
||||||
color:#333
|
}
|
||||||
}
|
|
||||||
|
.checkbox-group{
|
||||||
.checkbox-group{
|
display:inline-flex;
|
||||||
display:inline-flex;
|
position:relative ;
|
||||||
position:relative ;
|
|
||||||
|
}
|
||||||
}
|
.checkbox-group input{
|
||||||
.checkbox-group input{
|
|
||||||
|
margin-right: 5px;
|
||||||
margin-right: 5px;
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue