Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Optimized Default.css, No Edit-In-Place StylesOptimized Default.css, No Edit-In-Place Styles
Previous
 
Next
New Post
2/28/2008 10:38 AM
 

Hi All-

I optmized Default.css today and took out the Edit-in-Place section. We found that most of our users were very confused by the in-line editor, so we disable it by default. If you want to use it, that's fine, just make sure you grab them from the original file if you want to use this condensed version.

This CSS file assumes you've used your basic CSS reset styles in skin.css and you are using font-size:62.5% to reset everything to 10px, so it's easier to use EMs, and that you've declared your own global font-family. .Normal is blank because it seems to interfere with styles that we code into skin.css.

Also, I'm using a green color for classes like SubHead instead of the blue, but you can just Find & Replace against "#036", because this optimization was for a client of ours.

I noticed a lot of inconsistencies in how the file was created. Looks like it was written by different authors throughout the style sheet. Anyway, I got it down from 17k to 6.5k, tested it on my own copy of DNN 4.8 and it didn't seem to hurt the styles at all.

A couple notes for the DNN core team:

  1. It's not necessary to declare "background-color: transparent" that's a default property of all elements
  2. You don't have to put a measuring unit on 0, like 0px.
  3. padding:25px 25px 25px 25px = padding:25px; (read more about CSS shorthand)
  4. It would be nice if all the "admin-specific" styles would include themselves only to administrators logged in.

Here is the file for anyone interested. It is minified, so a little harder to read, but take the time to study the differences.

Download Default.css Optimized / Minified

Thanks, and let me know if you find any errors or problems and I will try to apply fixes to it.

 
New Post
2/28/2008 11:45 AM
 
UPDATE  Modified By Joseph Sak  on 2/28/2008 12:08:16 PM

UPDATE:

it appears the LEGACY styles are still necessary! I will come up with a new version shortly.

 

EDIT: default.css now updated with legacy styles

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Optimized Default.css, No Edit-In-Place StylesOptimized Default.css, No Edit-In-Place Styles


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out