views: fix positioning of form hints.
Position <span class="hint"> elements to the right of normal <input> elements and underneath <textarea> elements. Fixes form hints being badly positioned on some pages.
This commit is contained in:
@@ -90,7 +90,6 @@ table tfoot {
|
||||
.hint {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
.tn {
|
||||
|
||||
@@ -20,11 +20,18 @@ form.simple_form {
|
||||
max-width: 20em;
|
||||
}
|
||||
|
||||
span.hint {
|
||||
display: block;
|
||||
.hint {
|
||||
padding-left: 1em;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
&.text {
|
||||
.hint {
|
||||
padding-left: 0em;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 70%;
|
||||
font-size: 1.2em;
|
||||
|
||||
@@ -10,20 +10,6 @@ div#c-artists, div#excerpt {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
div#a-edit, div#a-new {
|
||||
textarea {
|
||||
height: 10em;
|
||||
|
||||
&#artist_other_names_string {
|
||||
height: 3em;
|
||||
}
|
||||
}
|
||||
|
||||
.hint {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
div.recent-posts {
|
||||
margin-top: 1em;
|
||||
|
||||
|
||||
@@ -14,18 +14,6 @@ div#c-moderator-dashboards {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
div#ip-addr-search {
|
||||
margin-bottom: 2em;
|
||||
|
||||
.hint {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
div#activity-search {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
div#c-news-updates {
|
||||
div#a-edit, div#a-new {
|
||||
.hint {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,10 +31,6 @@ div#add-to-pool-dialog {
|
||||
h1 {
|
||||
font-size: $h3_size;
|
||||
}
|
||||
|
||||
.hint {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
div#c-pools {
|
||||
|
||||
@@ -37,10 +37,6 @@ div#c-uploads {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hint {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.field_with_errors {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
@@ -56,11 +56,6 @@ div#c-users {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
div.input span.hint {
|
||||
display: block;
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
.active {
|
||||
color: black;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
div#c-wiki-pages {
|
||||
form span.hint {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#a-new {
|
||||
div.notice {
|
||||
font-size: 0.8em;
|
||||
|
||||
Reference in New Issue
Block a user