[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Straw-devel] CSS/Layout Suggestions
From: |
Steven Garrity |
Subject: |
Re: [Straw-devel] CSS/Layout Suggestions |
Date: |
Thu, 08 Jul 2004 09:37:20 -0300 |
User-agent: |
Mozilla Thunderbird 0.6 (X11/20040519) |
Juri Pakaste wrote:
So thanks for the input, but I'm afraid I'm going to reject most of it
this time :-) I'd rather not change the view drastically with every
release.
Fair enough. For now, here are some more minor changes that address some
of the issues you mentioned. Replacing the three classes in straw.css
with those included below will:
- Make the box background and border a bit lighter (looks better)
- Hold the width of the right column open as wide as possible
(this keeps the fields in the same place)
- Adjusts the padding slightly to deal with the new column widths
I'd also suggest making the title bold - it stands out nicely. For now,
this should probably just be done by wrapping the title in
<strong></strong> or <b></b> in MainWindow.py.
As the CSS classes are structured right now, the CSS file can't have
fine-grained control over individual fields. I might submit a patch to
change that later on.
Here are the updated CSS classes:
table.itemhead {
margin-bottom:10px;
width:100%;
background-color:#EEE;
color: #000;
border: 1px solid #999;
}
td.headleft {
padding: 2px 2px 2px 8px;
text-align:right;
font-weight: bold;
white-space: nowrap;
}
td.headright {
padding:2px 5px;
width: 100%;
}
Thanks,
Steven Garrity