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, ...Black Skin Problem with Admin PagesBlack Skin Problem with Admin Pages
Previous
 
Next
New Post
5/20/2006 6:56 PM
 

I have a skin with a black background.  Everything looks great in "user" mode, but when I goto an admin page, like the ModuleSettings several items are "hard coded" to use a black text, so it's unreadable in a black skin.

The modulepermissionsgrid displays it's text in back.

Is there anyway to change this without changing the core????

 
New Post
5/20/2006 8:04 PM
 

adding the following to the default admin container fixed my problem.......

#TransparentBox  TD { 
color: #FFFFFF;
}

#TransparentBox  TR {
color: #FFFFFF;
}

 
New Post
5/30/2006 1:16 PM
 
What is TransparentBox? I added this to the container.css, but it doesn't override the black.

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
5/30/2006 1:40 PM
 

TransparentBox is just the class name.  Here's the container and it's css file.  It will probably be more helpful that if I try to explain.  Let me know if you need additional info.

-------------------------------------------------------

My container (TransparentBox.ascx)...........

<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="SOLPARTACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TITLE" Src="~/Admin/Containers/Title.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON1" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON2" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON3" Src="~/Admin/Containers/ActionButton.ascx" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONBUTTON4" Src="~/Admin/Containers/ActionButton.ascx" %>
<table id="TransparentBox" class="TransparentBox"  align=center width="95%" border="0" cellspacing="4" cellpadding="0">
 <tr>
  <td>
   <table width="100%" border="0" cellspacing="1" cellpadding="5">
    <tr>
     <td>
      <table width="100%" border="0" cellspacing="3" cellpadding="0">
       <tr>
        <td valign="middle" nowrap><dnn:SOLPARTACTIONS runat="server" id="dnnSOLPARTACTIONS"/></td>
        <td width="100%" valign="middle" nowrap><dnn:TITLE runat="server" id="dnnTITLE" CssClass="Title"/></td>
       </tr valign="top">
       <tr>
        <hr>
       </tr> 
       <tr valign="top">
        <td id="ContentPane" runat="server" align="left" style="padding: 5px" colspan=2></td>
       </tr>       
      </table>
     </td>
    </tr>    
   </table>
  </td>
 </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <td height="0">
  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
    <td valign="middle" style="padding-left: 5px; padding-right: 5px;" nowrap><dnn:ACTIONBUTTON1 runat="server" id="dnnACTIONBUTTON1" CommandName="AddContent.Action" DisplayIcon="True" DisplayLink="True" /></td>
    <td width="100%" valign="middle" style="padding-right: 5px;" nowrap><dnn:ACTIONBUTTON4 runat="server" id="dnnACTIONBUTTON4" CommandName="ModuleSettings.Action" DisplayIcon="True" DisplayLink="False" /></td>
    <td valign="middle" style="padding-right: 5px;" nowrap><dnn:ACTIONBUTTON2 runat="server" id="dnnACTIONBUTTON2" CommandName="SyndicateModule.Action" DisplayIcon="True" DisplayLink="False" /></td>
    <td valign="middle" style="padding-right: 5px;" nowrap><dnn:ACTIONBUTTON3 runat="server" id="dnnACTIONBUTTON3" CommandName="PrintModule.Action" DisplayIcon="True" DisplayLink="False" /></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

----------------------------------------------

Container.css...........

#TransparentBox .Title
{
 font-weight: normal;
 font-size: 20px;
 color: #FFFFFF;
 font-family: Georgia, Arial;
 font-style: italic;
}

#TransparentBox .Head
{
 color: #FFFFFF;
}

#TransparentBox .SubHead
{
 color: #FFFFFF;
}

#TransparentBox .SubSubHead
{
 color: #FFFFFF;
}

#TransparentBox .Normal
{
 color: #FFFFFF;
}

#TransparentBox .NormalTextBox
{
}

#TransparentBox .NormalRed
{
}

#TransparentBox .NormalBold
{
}

#TransparentBox .CommandButton    
{
}

#TransparentBox A.Normal
{
 font-weight: bold;
 font-size: 11px;
 font-family: tahoma;
}
#TransparentBox A.Normal:link
{
 color: #C40000;
 text-decoration: none;
}
#TransparentBox A.Normal:visited
{
 color: #C40000;
 text-decoration: none;
}
#TransparentBox A.Normal:active
{
 color: #C40000;
 text-decoration: none;
}
#TransparentBox A.Normal:hover
{
 color: #FFCC00;
 text-decoration: underline;
}

#TransparentBox  TD { 
color: #FFFFFF;
}

#TransparentBox  TR {
color: #FFFFFF;
}

 
New Post
5/30/2006 2:58 PM
 
Hey thanks very helpful! I figured out what's actually happening here. You created a new id that overrides DNN's hardcoded style. Basic CSS stuff really -- I should have known this. The key is you have a table with id="TransparentBox" overriding the TD & TR. Actually, you don't need both TD and TR defined -- either or should work. Also, you don't need class="TransparentBox" since no where are you defining a class with that name. Thankfully there is only one admin table, since typically there can only be one id with the same name on a page, unlike a class.

It's ok to leave the redundent code in there -- might even help with some browsers or other parts of DNN that I haven't tested. But it's nice to know WHY something works though!

Jason Honingford - Web & Software Developer
www.PortVista.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Black Skin Problem with Admin PagesBlack Skin Problem with Admin Pages


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