summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Petsovits2008-06-28 07:53:07 (GMT)
committer Jakob Petsovits2008-06-28 07:53:07 (GMT)
commit876be3eae7c1d203830f7f61c1fc9088a386e637 (patch)
treee1270e64c072807a65ac54fe98faf8b7148f0c78
parentf6e5cbece63a09eb319038f682b01b97025acecd (diff)
Scrap hours of CSS tweaking for the previous (simpler) solution that6.x-1.0-beta1
also hides behind the moving table header. Yeah, simpler is always better.
-rw-r--r--filefield.css21
1 files changed, 5 insertions, 16 deletions
diff --git a/filefield.css b/filefield.css
index 8610169..fcd42fc 100644
--- a/filefield.css
+++ b/filefield.css
@@ -2,10 +2,6 @@
* Overall styles
*/
-.filefield-icon {
- float: left;
-}
-
.filefield-icon img {
display: inline;
}
@@ -34,6 +30,7 @@
*/
.filefield-item .filefield-icon {
+ float: left;
margin-right: 0.4em;
}
@@ -43,10 +40,6 @@
* General widget form styles (applicable to all widgets)
*/
-.filefield-file-edit {
- position: relative;
-}
-
.filefield-file-edit-flags {
float: right;
text-align: right;
@@ -80,18 +73,14 @@
* might hook into filefield (say, a widget with an image preview).
*/
-.filefield-generic-edit .filefield-icon img {
+.filefield-generic-edit .filefield-icon {
+ float: left;
margin-right: 0.7em;
- /* vertical centering with CSS is soo crufty. */
- position: absolute;
- top: 0;
- bottom: 0;
- margin: auto;
+ margin-top: 0.3em;
}
.filefield-generic-edit-description {
- margin-left: 35px;
- margin-right: 30px;
+ margin-right: 6em;
}
/* The text field is made unnecessarily long by node.css - shorten it */