Skip to content

Instantly share code, notes, and snippets.

@xavortm
Last active November 9, 2016 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xavortm/a0324bc02f5727c4ad78484bfb475b90 to your computer and use it in GitHub Desktop.
Save xavortm/a0324bc02f5727c4ad78484bfb475b90 to your computer and use it in GitHub Desktop.
**Updated**
/* BG E8F0E3 */
html body form.form {
background-color: #E8F0E3;
/* padding: 40px; */
}
html body .form .form-field {
background-color: #B3CE67;
margin-bottom: 20px;
display: block;
clear: both;
padding: 4px;
}
html body .form .form-field::after {
content: '';
display: table;
clear: both;
}
html body form.form p label {
color: white;
width: auto;
font-size: 15px;
font-weight: 600;
max-width: 46%;
}
html body form.form span.value {
display: inline-block;
width: 52%;
/* margin-left: 153px; */
margin: 0;
color: #333;
background: #fff;
text-align: center;
float: right;
}
html body form.form span.value label {
color: #333;
max-width: 46%;
}
html body form.form span.value span {
display: block;
}
html body form.form input[type="checkbox"] {
width: auto;
float: none;
height: auto;
}
html body form.form p.submit {
margin: 0 auto;
text-align: center;
}
html body form .submit input[type="submit"] {
background: #b3ce67;
color: #fff;
font-weight: bold;
border: none;
border-radius: 0;
box-shadow: none;
padding: 10px 15px;
height: auto;
display: inline-block;
margin: 0 auto;
float: none;
}
form.form p input,
form.form p select,
html body form.form input.text {
float: right;
width: 52%;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
display: inline-block;
height: 32px;
padding: 4px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
color: #666;
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
border-radius: 3px;
}
html body form.form p label {
text-align: left;
max-width: 46%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment