Closed (fixed)
Project:
SpreadFirefox
Component:
Stylesheets
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Feb 2005 at 08:16 UTC
Updated:
14 Mar 2005 at 18:15 UTC
Jump to comment: Most recent file
These patches require that the images be moved to an images directory as per all previous themes. The only images outside of the directory should be screenshot and logo.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | sff_fix_urls.patch | 5.42 KB | TDobes |
| #11 | style_2.patch | 9.39 KB | carlmcdade |
| #5 | style_1.patch | 9.69 KB | carlmcdade |
| #4 | style_0.patch | 9.43 KB | carlmcdade |
| #3 | page_0.patch | 754 bytes | carlmcdade |
Comments
Comment #1
carlmcdade commentedThese patches require that the images be moved to an images directory as per all previous themes. The only images outside of the directory should be screenshot and logo.
Comment #2
carlmcdade commentedThese patches require that the images be moved to an images directory as per all previous themes. The only images outside of the directory should be screenshot and logo.
Comment #3
carlmcdade commentedThese patches require that the images be moved to an images directory as per all previous themes. The only images outside of the directory should be screenshot and logo.
Comment #4
carlmcdade commentedThese patches require that the images be moved to an images directory as per all previous themes. The only images outside of the directory should be screenshot and logo.
Comment #5
carlmcdade commentedI noticed that the header was taller than the original as I set it that way to test. When I readjusted it I saw the logo was 4 px too tall and the site title text was off. This patch fixes those slight adjustments. After this I could not find anything else wrong.
Comment #6
carlmcdade commentedthe slightly shorter logo
Comment #7
TDobes commentedPlease do not apply either of the patches for style.css as-is. For some reason, it renames the "picture" classes back to "avatar", which is horribly wrong for 4.5 and beyond. These changes need to be edited out. In 4.5, avatars were renamed to "user pictures". See the "upgrading themes to 4.5" page from the handbook.
Comment #8
carlmcdade commentedCan you give more detail on the problem? The names of CSS classes should not be factor in the rendering of PHP. I could not find anything specifically pointing to the names of the classes needing to be changed only the template variables and functions.
Comment #9
TDobes commentedYes. Here are the exact lines from the patch to style.css:
You'll note that the patch removes the picture classes and replaces them with avatar classes. This will effectively break the styling of user pictures on Drupal 4.5 or later.
Comment #10
TDobes commentedAlso, the picture div is generated by the function theme_user_picture in user.module. Here's the line of code in question:
return "<div class=\"picture\">$picture</div>";Comment #11
carlmcdade commentedGot it. That is weird that it does this. Diff is merging backwards on just those lines. I did a search and replace on the older style.css so that diff does not have to deal with it.
Comment #12
kbahey commentedCarl, thanks for the idea. I did not use your patches, but did the same thing you wanted done. It makes a lot of sense.
Moved all images to their own directory.
I did not commit the resizing of the header and the new logo. I need more detail on what that does. Perhaps a before and after screen shot to explain what and why, and a separate patch/issue is in order.
Comment #13
chrismessina commentedThe lack of images subdirectory is simply a leftover from this being a 4.4 theme.
Also, I wouldn't change the header size. While I should document the logo creation process, changing the CSS wily-nilly could be pretty dangerous.
The most important things to do are to simply convert all the styles to be 4.5 compatible. Innovation can happen once that's done.
Comment #14
TDobes commentedAs a side-effect of the move of images to a subdirectory, a lot of images are now broken due to misplaced quotes... for example,
background: url(images/"bg_header_top_left.gif") no-repeat;The attached patch simply removes these quotes, fixing the problem.
Comment #15
(not verified) commentedI see this has been fixed in style.css, but the problem still exists in modules.css and nav.css.
Comment #16
kbahey commentedFixed in CVS HEAD.
Comment #17
(not verified) commented