As a follow up to #694382: Remove cosmetic cruft from module's css files and along with the patch for the aggregator #749530: Clean up aggregator css styles here's a patch for block module css file.
I just left a declaration in the that makes draggable rows work properly by hiding the empty text (I wonder if the javascript code can take care of it so that we can remove this last declaration and ship without a css file)
#blocks tr.region-populated {
display: none;
}
and deleted the following
#blocks tr.region-title td {
font-weight: bold;
}
#blocks tr.region-message {
font-weight: normal;
color: #999;
}
.block-region {
background-color: #ff6;
margin-top: 4px;
margin-bottom: 4px;
padding: 3px;
}
More css clean-ups are coming. Let me know if you think this is the right approach and if there's time to have this changes in Drupal 7.
Comments
Comment #1
jacineWe need to either add a heading or strong tag for the region title, since we are removing the CSS here. A better tag makes more sense semantically anyway. Not sure about the JavaScript, but I think it's worth a shot.
Comment #2
dodorama commentedA softer approach as suggested by Jacine with a strong tag added to the region title. The only visual difference is the region message. I think the emphasis is enough, no need to change color.
Comment #3
Jeff Burnz commentedComment #4
jacineUnfortunately, I think it's too late for this one too. We'll definitely revisit this as soon as we can start working on D8.
Comment #5
droplet commentedTH is more right if this is possible.
Comment #6
jacineTagging, and marking CNW, per #5. Also:
<th>, and should. Seeblock-admin-display-form.tpl.php.block-admin-display-formor something similar to the table and styling against that instead.Comment #7
cosmicdreams commentedI don't know if I'm doing something wrong but I can't apply this patch I keep getting the following error:
fatal: corrupt patch at line 36
Comment #8
yesct commentedcorrecting the tag to the more common one.
Comment #9
Bojan Zivkov commentedI think this is covered by #1216950: Clean up the CSS for Block module. Please reopen if I'm mistaken.
Comment #10
Bojan Zivkov commented