61 lines
1.2 KiB
CSS
61 lines
1.2 KiB
CSS
|
.form {
|
||
|
min-width: 350px;
|
||
|
margin: 20px auto 0; padding: 20px;
|
||
|
background: #ffffff;
|
||
|
border: 1px solid #dddddd; border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
.form .avatar {
|
||
|
display: inline-block; vertical-align: middle;
|
||
|
border-radius: 100%;
|
||
|
width: 150px; height: 150px;
|
||
|
}
|
||
|
.form input[type="file"] {
|
||
|
display: inline-block; margin-left: 20px;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
.form form > div:not(:last-child) {
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
|
||
|
.form form label {
|
||
|
display: inline-block;
|
||
|
margin-bottom: 5px;
|
||
|
}
|
||
|
|
||
|
.form input[type='text'],
|
||
|
.form input[type='email'],
|
||
|
.form input[type='date'],
|
||
|
.form input[type='password'],
|
||
|
.form textarea {
|
||
|
display: block;
|
||
|
width: 100%; padding: 6px 2.5%;
|
||
|
border: 1px solid #abcdef;
|
||
|
}
|
||
|
.form input[type='text']:focus,
|
||
|
.form input[type='email']:focus,
|
||
|
.form input[type='date']:focus,
|
||
|
.form input[type='password']:focus,
|
||
|
.form textarea:focus {
|
||
|
box-shadow: 0 0 4px rgba(0, 102, 255, .9);
|
||
|
}
|
||
|
|
||
|
.form input[type="submit"] {
|
||
|
width: 100%;
|
||
|
background-color: #149641;
|
||
|
border-color: #0e692d;
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
.form input[type="submit"]:hover,
|
||
|
.form input[type="submit"]:focus,
|
||
|
.form input[type="submit"]:active {
|
||
|
background-color: #0f7331;
|
||
|
border-color: #073617;
|
||
|
}
|
||
|
|
||
|
.form form .msgerror {
|
||
|
color: red;
|
||
|
font-weight: 400;
|
||
|
margin-top: 5px;
|
||
|
}
|