This page requires java-script to be enabled. Please adjust your browser-settings.
streber
PM
Login
|
Register
Home
Recent changes
Your Tasks
Efforts
Bookmarks
Overall changes
P
rojects
for
streber commun...
streber
People
Companies
S
earch:
streber
>
Tasks
|
Topics
|
Milestones
|
Versions
|
Files
|
Changes
Help
User Documenta...
>
Advanced Topics
> Topic
adjusting streber's interface with CSS
/
#2971
New topic
Bookmark
Topics
User Documentation
Advanced Topics
syntax hilighting for codeblocks
"Database exception" - help
Task labels
adjusting streber's interface with CSS
SVN integration with Streber as issue/bug tracking system
why php5
moving to another server
Config variables
system info
Wiki vs. deleting
Using SEF / Clean Urls
Created
Nov 11, 2006
/
pixtur
Modified
Jan 6, 2009
/
phsouzacruz
View previous 8 versions
Attached files
No files uploaded
Move files
Mark as bookmark
This page is a very rough draft
About themes
π
main theme "Clean"
additional themes like "WebbPlatsen"
located at
themes/*
individual for each user
restrict "edit own profile" to enforce a theme
How CSS is used in streber
π
To see how much is done with CSS, you can switch the theme off. If you are using Firefox, go to "View > Page Style > No Style". As you can see, there is almost no formatting at all. With some knowledge of CSS you could completely rebuild the interface to a different look and layout. E.g. Navigation on the left side, instead on the top of the page.
There are no <Table>s being used (except from lists)
Most html-elements have a unique class-attribute to allow formatting
Creating a new theme
π
There a two ways of creating a new theme:
Use the custom-theme and overwrite settings.
Duplicate one of the existing themes and start adjusting the css code
Creating a custom theme
π
In
themes/custom/*
you find the framework of a theme that completely includes the
Clean
theme. This allows you to add any adjusting css-code after the
@import
statements in the respective css-files.
Although this slightly increases the download size and sometimes requires to look inside the Clean theme for how things are done there, it gives you a fast and easy solution to quickly adjust things like colors, font families, background images, etc.
Creating a new theme from a copy
π
If you build your own theme from a copy of another theme, you need to be aware, that the html structure of streber changes over time. Since
pixtur
develops with the clean theme, this one will always work. But it requires you — as the author of a theme — to check for changes between the different streber versions (e.g. the changes made to
clean/theme.css
) and adjusting your theme respectively.
More on CSS
π
Web Developer tools for Firefox
π
This extension will tremedously speed up your styling. E.g. it allows you click on an element and lists where in which css-files and which lines this style is defined.
pixtur
can't do anything without this tool.
Suggested reading
π
"Eric Meyer on CSS":
http://www.amazon.com/Eric-Meyer-CSS-Mastering-Language/dp/073571245X
"The Zen of CSS Design":
http://www.amazon.com/Zen-CSS-Design-Visual-Enlightenment/dp/0321303474/
Please Edit Description instead of adding comments.
2 Comments
goldstift
:
Firebug extension
5 years ago
Hi,
I personally favour the firebug extension of firefox to create new or adjust existing css settings. This extension is incredible when it comes to breaking down the effects of many different settings on a single html element.
Read more at
http://www.getfirebug.com/
pixtur
:
me too
5 years ago
yeah,
times are changing quickly. I also use firebug all the time. It's is actually THE killerfeature of firefox.