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, ...How do I avoid my styles stepping on the pop-up dialogsHow do I avoid my styles stepping on the pop-up dialogs
Previous
 
Next
New Post
6/14/2012 6:55 PM
 

Hi,

I'm creating a skin.  I wanted a custom style for the li tag.  To avoid hitting the menu I wrapped my entire page in a div with id="Content" so I could write the css rule based on:

#Content ul li

This works fine in my skin - it targets my lists and misses the menu. BUT - when I hover over the Manage button the popped up menu is trashed by my style changes.

I added another rule based on

#Content .dnnActionMenu ul li

To reverse my rule back to the rule in default.css.  This is not very nice as I have to duplcate what's already there.

Is there a better way for me to avoid hitting the styles used by the pop-ups?

Thanks


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/15/2012 3:53 AM
 

You are right, this is an issue.
I have logged it a while ago, but cannot find the issue any more (support.dotnetnuke.com)
IMO the Manage menu should be injected outside the div in the container that shows the content.

I did not find a way around this and I don't think there is one...
I solved it exactly as you suggested.

Might be good to log it again...

 
New Post
6/15/2012 6:59 AM
 

Just had the same issue on a mobile skin I'm working on and I looked into it again.

I solved it by using the DNNModuleContent class:

.DNNModuleContent ul, .DNNModuleContent li{padding:0;margin:0;}
.DNNModuleContent li{padding-left:1em; list-style-type:none; background:transparent url(Img/UlDot.png) left center no-repeat;}

I don't have strange dots in the manage lists now.. (while with .Normal you would)

I'll write a blog post about this somewere next week.

 
New Post
6/15/2012 7:30 AM
 
Hi Timo,

Great suggestion. I just changed my skin styles so that (almost) everything targets .DNNModuleContent plus whatever I really need.

Works very nicely. Thanks for looking at it again.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/15/2012 11:34 AM
 

Found this does not completely solve the "issue" .

Logged it here: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=21714&PROJID=2

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How do I avoid my styles stepping on the pop-up dialogsHow do I avoid my styles stepping on the pop-up dialogs


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