SixSummits wrote: Hi Jim,
For those of us who are not yet adept at using the module class suffice, I'd sure appreciate your sharing with us exactly what code you added and where.
Thanks!
Scott
Scott, sure thing... First of all, the template I'm using allows for "Custom CSS" in template config, so it makes it easy to add without worry about overwriting with template updates later on. If your template doesn't accommodate that, the just add the CSS below to your "template.css" file. Then use the class name in the SCLogin Module's "module class suffix" field (without the leading "."). Let me know if this isn't clear enough. You can see how I've used this at
afxmedia.com.
/* Add a Shaded Border to any Module by using
a module class suffix in advanced module configuration */
.myModuleBorderGray
{
border-radius: 5px;
background-color: #fdfdfd;
background-image: -moz-linear-gradient(top,#fff,#fafafa);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fafafa));
background-image: -webkit-linear-gradient(top,#fff,#fafafa);
background-image: -o-linear-gradient(top,#fff,#fafafa);
background-image: linear-gradient(to bottom,#fff,#fafafa);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fffafafa', GradientType=0);
border: 1px solid #DADADA;
}
.myModuleBorderGreen
{
border-radius: 5px;
background-color: #fdfdfd;
background-image: -moz-linear-gradient(top,#fff,#fafafa);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fafafa));
background-image: -webkit-linear-gradient(top,#fff,#fafafa);
background-image: -o-linear-gradient(top,#fff,#fafafa);
background-image: linear-gradient(to bottom,#fff,#fafafa);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fffafafa', GradientType=0);
border: 1px solid #4E7401;
}
.myModuleBorderBrown
{
border-radius: 5px;
background-color: #fdfdfd;
background-image: -moz-linear-gradient(top,#fff,#fafafa);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fafafa));
background-image: -webkit-linear-gradient(top,#fff,#fafafa);
background-image: -o-linear-gradient(top,#fff,#fafafa);
background-image: linear-gradient(to bottom,#fff,#fafafa);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fffafafa', GradientType=0);
border: 1px solid #996633;
}
.myModuleBorderBlue
{
border-radius: 5px;
background-color: #fdfdfd;
background-image: -moz-linear-gradient(top,#fff,#fafafa);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fafafa));
background-image: -webkit-linear-gradient(top,#fff,#fafafa);
background-image: -o-linear-gradient(top,#fff,#fafafa);
background-image: linear-gradient(to bottom,#fff,#fafafa);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fffafafa', GradientType=0);
border: 1px solid #5569B0;
}
.myModuleBorderOrange
{
border-radius: 5px;
background-color: #fdfdfd;
background-image: -moz-linear-gradient(top,#fff,#fafafa);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#fafafa));
background-image: -webkit-linear-gradient(top,#fff,#fafafa);
background-image: -o-linear-gradient(top,#fff,#fafafa);
background-image: linear-gradient(to bottom,#fff,#fafafa);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fffafafa', GradientType=0);
border: 1px solid #E75F2F;
}
/* End of Border module class suffixes */