OK, this is the css I had for the old styling. I cannot for the life of me figure out how to properly reference the new classes and the documentation is not current. I don't really care what skin I use, as long as I can get a handle on getting the references.
I would appreciate if someone could maybe take what I have here and update it (at least partially) and also let me know how I should reference the style in the Grid control.
The grid reference:
Thanks!
I would appreciate if someone could maybe take what I have here and update it (at least partially) and also let me know how I should reference the style in the Grid control.
/* TELERIK RAD GRID */ |
.RadGrid_Office2007 |
{ |
border:solid 1px #bfbfbf; |
} |
.Custom .GridRow_Office2007 td, |
.Custom .GridAltRow_Office2007 td, |
.Custom .GridEditRow_Office2007 td, |
.Custom .GridFooter_Office2007 td, |
.Custom .GridGroupFooter_Office2007 td |
{ |
border:1px #e5e5e5; |
border-style:none none solid solid; |
padding-top:4px; |
padding-bottom:4px; |
} |
.Custom .GridRow_Office2007 |
{ |
background:none #ffffff; |
line-height:20px; |
} |
.Custom .GridAltRow_Office2007 |
{ |
background:none #f2f2f2; |
line-height:20px; |
} |
.Custom .GridEditRow_Office2007 |
{ |
background:none #ffffe1; |
} |
.Custom .SelectedRow_Office2007 |
{ |
background:none #ffffe1; |
} |
.Custom .SelectedRow_Office2007 td, |
.Custom .SelectedRow_Office2007>td:first-child |
{ |
border-color:#f2f2f2; |
} |
.Custom .GridRowOver_Office2007 |
{ |
background:none #666666; |
} |
.Custom .GridPager_Office2007 |
{ |
background: #edf5e5; |
color:#333333; |
} |
.Custom .GridPager_Office2007 td |
{ |
border:1px solid #bfbfbf; |
border-left:0px; |
border-right:0px; |
padding:1px 4px 2px; |
} |
.Custom .PagerLeft_Office2007 |
{ |
padding:5px; |
float:right; |
} |
.Custom .PagerRight_Office2007 |
{ |
padding:5px; |
float:left; |
} |
.Custom .GridHeader_Office2007 |
{ |
color: #666666; |
font-weight: bold; |
border-left:1px solid #e5e5e5; |
border-bottom: solid 1px #e5e5e5; |
background:none #f2f2f2; |
padding:5px; |
} |
.Custom .GridHeader_Office2007 a, a:link, a:visited |
{ |
text-decoration:none; |
font-weight:bold; |
color:#666666; |
} |
.Custom .GridHeader_Office2007 a:hover, a:active |
{ |
text-decoration:underline; |
font-weight:bold; |
color:#666666; |
} |
.Custom .InnerHeaderStyle_Office2007 a, a:link, a:visited |
{ |
text-decoration:none; |
font-weight:bold; |
color:#666666; |
} |
.Custom .InnerHeaderStyle_Office2007 a:hover, a:active |
{ |
text-decoration:underline; |
font-weight:bold; |
color:#666666; |
} |
.Custom .InnerHeaderStyle_Office2007 |
{ |
color: #666666; |
font-weight: bold; |
border-left:1px solid #e5e5e5; |
border-bottom: solid 1px #e5e5e5; |
background:none #f2f2f2; |
padding:5px; |
} |
.Custom input[type="text"] |
{ |
FONT: 11px Arial, Helvetica, sans-serif; |
COLOR: #333333; |
MARGIN: 0px 0px 0px 0px; |
TEXT-ALIGN: left; |
BORDER: solid 1px #7f9db9; |
} |
The grid reference:
<telerik:RadGrid ID="RadGridCE" runat="server" |
Skin="Office2007" |
CssClass="Custom" |
> |
Thanks!