This is a migrated thread and some comments may be shown as answers.

[Solved] Cannot convert 2008 Q3 custom skin to work with 2009 Q1

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 26 May 2009, 04:32 PM
I have tried the on-line skin converter at http://converter.telerik.com/skinconverter/WebBased.aspx as suggested in Tervel Peykov's blog, but the output was exactly the same as my input.  I simply pasted the contents of my .css files into the window and pressed the Run button: was there more to it than that?  (I didn't see any other instructions.)

I am keen to upgrade to 2009 Q1 but obviously cannot do so if it will break my existing skins!  In case anyone can help, the CSS code I was trying to convert is given below.

All advice greatly appreciated,

Ed Graham

P.S.  The ASPX code defining the RadPanelBar in question is:

      <telerik:RadPanelBar ID="rpbLHNav" runat="server" EnableEmbeddedSkins="false" Skin="PSA" ExpandMode="SingleExpandedItem" Width="236px"></telerik:RadPanelBar>

**************************************

CSS code:

/* RadPanelBar PSA skin */

.RadPanelBar_PSA
{
    background: #ffffff;
    white-space: normal;
}

.RadPanelBar_PSA .rpImage
{
    margin: 4px 0px;
}

.RadPanelBar_PSA .rpGroup .rpSelected,
.RadPanelBar_PSA .rpGroup .rpSelected:hover
{
    background: none;
    border-bottom: 0;
}

/* Added by Ed */
.RadPanelBar_PSA .rpGroup .rpSelected .rpText
{
    border: 0;
    border-bottom: solid 1px #accb2d;
    background: #d1e2f1;
    color: #333;
}

.RadPanelBar_PSA .rpGroup .rpExpanded .rpText
{
    color: #000;
    background: #d1e2f1;
}

.RadPanelBar_PSA .rpSelected .rpText
{
    background: #8eadc1 url("/assets/gfx/pageBlocks/blockHomePageDarkBlue_arrow.gif") no-repeat 98% center;
}
/* End of Ed */

.RadPanelBar_PSA .rpExpanded .rpText
{
    background: url('/assets/gfx/Telerik/ExpandedBg.gif') no-repeat 98% center;
    font-weight: bold;
}
/* Added by Ed */
.RadPanelBar_PSA .rpText
{
    padding-left: 14px;
    font-size: 12px;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: solid 1px #ffffff;
    border-bottom: solid 1px #ffffff;
}

.RadPanelBar_PSA .rpLevel1 .rpText
{
    line-height: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom-color: #ffffff;
}

.RadPanelBar_PSA .rpLevel2 .rpText
{
    padding-left: 26px;
    line-height: 18px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-bottom-color: #ffffff;
}
/* End of Ed */

.RadPanelBar_PSA .rpLevel3 .rpText { padding-left: 48px; }
.RadPanelBar_PSA .rpLevel4 .rpText { padding-left: 60px; }

.RadPanelBar_PSA .rpGroup .rpLink,
.RadPanelBar_PSA .rpGroup .rpLast .rpItem .rpLink,
.RadPanelBar_PSA .rpGroup .rpLink .rpText,
.RadPanelBar_PSA .rpGroup .rpLast .rpItem .rpLink .rpText
{
    border-bottom-width: 1px;
}

.RadPanelBar_PSA .rpGroup .rpLast .rpLink,
.RadPanelBar_PSA .rpGroup .rpLast .rpLast .rpLink,
.RadPanelBar_PSA .rpGroup .rpLast .rpLink .rpText,
.RadPanelBar_PSA .rpGroup .rpLast .rpLast .rpLink .rpText
{
    border-bottom-width: 0;
}

.RadPanelBar_PSA .rpGroup .rpTemplate
{
    font-size: 11px;
    color: #666;
}

.RadPanelBar_PSA .rpGroup .rpText
{
    border: 0;
    background: none;
    color: #333;
    font-weight: normal;
    font-size: 12px;
}

.RadPanelBar_PSA .rpGroup .rpLink
{
    background: none;
    border-bottom: solid 1px #f0f2f3;
}

.RadPanelBar_PSA .rpGroup .rpLink:hover
{
    background: #e7f1ff;
    border-bottom-color: #d8dde0;
}

.RadPanelBar_PSA .rpRootGroup
{
    border: solid 1px;
}

.RadPanelBar_PSA .rpRootGroup .rpDisabled:hover,
.RadPanelBar_PSA .rpRootGroup .rpDisabled .rpText
{
    background: #8eadc1;
    color: #ccc;
    cursor: default;
}

.RadPanelBar_PSA .rpGroup .rpDisabled:hover,
.RadPanelBar_PSA .rpGroup .rpDisabled .rpText
{
    text-decoration: none;
    border-bottom: solid 1px #f0f2f3;
    background: none;
    color: #ccc;
    cursor: default;
}

.RadPanelBar_PSA .rpGroup
{
    overflow-x: hidden;
    overflow-y: auto;
}

.RadPanelBar_PSA .rpRootGroup
{
    border-color: #30678a;
}

.RadPanelBar_PSA .rpText
{
    color: #30678a;
    background: url('/assets/gfx/pageBlocks/blockDarkBlue_Arrow.gif') no-repeat 98% center;
    border-bottom-color: #30678a;
}

.RadPanelBar_PSA .rpLink
{
    background: #b5cbd9;
}

2 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 27 May 2009, 06:37 AM
Hello Ed,

Could you please open a support ticket and send us the original skin (before the conversion) including all images and a screenshot that shows how the control looked like before the upgrade.

Thanks,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ed
Top achievements
Rank 1
answered on 01 Jun 2009, 02:51 PM
Will do, Paul; thanks for the reply.

Ed
Tags
General Discussions
Asked by
Ed
Top achievements
Rank 1
Answers by
Paul
Telerik team
Ed
Top achievements
Rank 1
Share this question
or