alternative form style

This commit is contained in:
albert
2011-03-10 19:07:45 -05:00
parent 81aec6b950
commit 2549d643f3
4 changed files with 73 additions and 122 deletions

View File

@@ -266,30 +266,10 @@ body > header > h1 {
/*** Simple Form ***/
form.simple_form {
input[type=submit] {
margin-left: 10.3em;
}
div.input.boolean {
padding-left: 10em;
label {
margin: 0;
text-align: left;
display: inline;
width: none;
}
}
div#multiple-buttons {
margin-left: 10em;
input {
margin: 0 0.5em 0 0;
}
}
margin: 1em 0;
div.input {
margin-bottom: 0.5em;
margin-bottom: 1em;
input[type=text], input[type=file], textarea {
width: 300px;
@@ -300,21 +280,14 @@ form.simple_form {
}
label {
vertical-align: top;
display: inline-block;
width: 10em;
display: block;
cursor: pointer;
font-weight: bold;
margin-top: 3px;
margin-right: 10px;
text-align: right;
}
span.hint {
margin-left: 11em;
color: #666;
font-style: italic;
vertical-align: top;
display: block;
}
@@ -569,6 +542,14 @@ div#c-posts {
color: black;
}
}
section#edit {
fieldset {
label {
display: inline;
}
}
}
}
}
@@ -715,42 +696,16 @@ div.users {
}
/*** Uploads ***/
div.uploads {
div.new {
div#c-uploads {
div#a-new {
div#upload-guide-notice {
margin-bottom: 2em;
}
}
}
/*** notify ***/
.notify-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
.notify-notification {
position: relative;
.notify-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
background-color: #333;
z-index: 1;
}
.notify-message {
position: relative;
z-index: 2;
padding: 20px;
text-align: center;
color: #FFF;
fieldset.ratings {
label {
display: inline;
}
}
}
}