Admin page CSS? Help!
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Admin page CSS? Help!

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Mark@VERITAS
Guest





Posted: Fri Oct 28, 2005 12:51 am    Post subject: Admin page CSS? Help! Reply with quote

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Gustavo
Guest





Posted: Fri Oct 28, 2005 8:51 am    Post subject: RE: Admin page CSS? Help! Reply with quote

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

Quote:
I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Mark@VERITAS
Guest





Posted: Fri Oct 28, 2005 8:51 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

..CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
..CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
..CustomNavBar a:hover
{
text-decoration: underline ;
}
..ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
..ms-sbtable
{
background-color: #9a918c;
}
..ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
..ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
..ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
..ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
..UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Quote:
Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Gustavo
Guest





Posted: Sat Oct 29, 2005 4:50 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

Hi Mark,
You are making all the div with the color FFCC00 (tag
"Div.ms-titleareaframe"). If you make a Table instead of the Div, you will
have what you need (thus "Table.ms-titleareaframe" instead of
"Div.ms-titleareaframe")
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

Quote:
It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

.CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
.CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
.CustomNavBar a:hover
{
text-decoration: underline ;
}
.ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
.ms-sbtable
{
background-color: #9a918c;
}
.ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
.ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
.ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
.ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
.UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Mark@VERITAS
Guest





Posted: Sat Oct 29, 2005 8:50 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

But wouldn't that involve modifying the default.aspx file for the site
settings area?

"Gustavo" wrote:

Quote:
Hi Mark,
You are making all the div with the color FFCC00 (tag
"Div.ms-titleareaframe"). If you make a Table instead of the Div, you will
have what you need (thus "Table.ms-titleareaframe" instead of
"Div.ms-titleareaframe")
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

.CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
.CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
.CustomNavBar a:hover
{
text-decoration: underline ;
}
.ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
.ms-sbtable
{
background-color: #9a918c;
}
.ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
.ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
.ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
.ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
.UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Gustavo
Guest





Posted: Sun Oct 30, 2005 5:50 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

Hi Mark,
No, you change just the class in the css file. I presume you have made a new
style sheet to make your changes. If you don't, I recommend you make it in
this way, and don't make the changes in the original css file. Then, you have
a tag "Div.ms-titleareaframe", that you can change to
"Table.ms-titleareaframe", of you make a new one.
BTW, the tags are not used in the aspx file, I think, but in the WebControl
that take control of the header’s render action (and you can't change it).
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

Quote:
But wouldn't that involve modifying the default.aspx file for the site
settings area?

"Gustavo" wrote:

Hi Mark,
You are making all the div with the color FFCC00 (tag
"Div.ms-titleareaframe"). If you make a Table instead of the Div, you will
have what you need (thus "Table.ms-titleareaframe" instead of
"Div.ms-titleareaframe")
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

.CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
.CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
.CustomNavBar a:hover
{
text-decoration: underline ;
}
.ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
.ms-sbtable
{
background-color: #9a918c;
}
.ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
.ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
.ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
.ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
.UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Mark@VERITAS
Guest





Posted: Fri Nov 04, 2005 5:51 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

Thanks, Gustavo. I've been pretty busy so haven't been able to check on this
until now. I made the change as you specified, and the admin page is back to
the original color. The follow-up question I have now is I noticed that the
actual titlearea section of the admin page seems to be behaving differently.
Does this area have a different element name than the standard portal pages?


"Gustavo" wrote:

Quote:
Hi Mark,
No, you change just the class in the css file. I presume you have made a new
style sheet to make your changes. If you don't, I recommend you make it in
this way, and don't make the changes in the original css file. Then, you have
a tag "Div.ms-titleareaframe", that you can change to
"Table.ms-titleareaframe", of you make a new one.
BTW, the tags are not used in the aspx file, I think, but in the WebControl
that take control of the header’s render action (and you can't change it).
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

But wouldn't that involve modifying the default.aspx file for the site
settings area?

"Gustavo" wrote:

Hi Mark,
You are making all the div with the color FFCC00 (tag
"Div.ms-titleareaframe"). If you make a Table instead of the Div, you will
have what you need (thus "Table.ms-titleareaframe" instead of
"Div.ms-titleareaframe")
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

.CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
.CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
.CustomNavBar a:hover
{
text-decoration: underline ;
}
.ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
.ms-sbtable
{
background-color: #9a918c;
}
.ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
.ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
.ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
.ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
.UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
Gustavo
Guest





Posted: Sat Nov 05, 2005 5:50 pm    Post subject: RE: Admin page CSS? Help! Reply with quote

Hi Mark,
I presume they are different. They use the same WebControls to render the
page ("PageHeade" for the logo and "CategoryNavigationWebPart" for the menu),
but in the Admin pages this two controls are embedded inside another
WebControl ("TopPageSection") that can make the difference. Also, in the
Admin pages they use a parameter "DisplayStyle=HorizontalOneLayer" in the
WebControl "CategoryNavigationWebPart" that is not used in the Portal page;
that can change also the behavior of the rendered page (another style
classes, maybe). I'm not sure what the intention of those changes is, but you
can play a little bit with the code of the aspx pages to see if they have any
effect in the functionality.
Suerte,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

Quote:
Thanks, Gustavo. I've been pretty busy so haven't been able to check on this
until now. I made the change as you specified, and the admin page is back to
the original color. The follow-up question I have now is I noticed that the
actual titlearea section of the admin page seems to be behaving differently.
Does this area have a different element name than the standard portal pages?


"Gustavo" wrote:

Hi Mark,
No, you change just the class in the css file. I presume you have made a new
style sheet to make your changes. If you don't, I recommend you make it in
this way, and don't make the changes in the original css file. Then, you have
a tag "Div.ms-titleareaframe", that you can change to
"Table.ms-titleareaframe", of you make a new one.
BTW, the tags are not used in the aspx file, I think, but in the WebControl
that take control of the header’s render action (and you can't change it).
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

But wouldn't that involve modifying the default.aspx file for the site
settings area?

"Gustavo" wrote:

Hi Mark,
You are making all the div with the color FFCC00 (tag
"Div.ms-titleareaframe"). If you make a Table instead of the Div, you will
have what you need (thus "Table.ms-titleareaframe" instead of
"Div.ms-titleareaframe")
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

It's not the Central Administration pages that look different, but rather,
the Portal Site Settings page. To give you an idea of what I'm experiencing,
the default color of my Portal Home page is FFFFFF or WHITE. When I go to
the Portal "Site Settings" Page, the page color is FFCC00. How can this be?
For reference, I am including a cope of the contents of my CSS file, and I
can't find anywhere in its content that modifies the page color in this
respect.

.CustomNavBar
{
border-top: 3px #000 solid;
background-color: #9A918C;
padding-left: 10px ;
padding-top: 3px;
}
.CustomNavBar a
{
background-color: #9A918C;
font-family: Tahoma;
font-size: 70%;
font-weight: bold;
color: white;
text-decoration: none;
}
.CustomNavBar a:hover
{
text-decoration: underline ;
}
.ms-phnav1wrapper {
background-image: none;
border-top: 3px #000 solid;
background-color: #9A918C;
BACKGROUND-REPEAT: no-repeat;
}
.ms-sbtable
{
background-color: #9a918c;
}
.ms-sblbcorner
{
background-image: url(/_layouts/images/symc/cornerbl.gif);
}
.ms-sbtopcorner
{
background-image: url(/_layouts/images/symc/cornertop.gif);
}
.ms-titlearea
{
background-color: #FFCC00;
color: #000000;
font-family: SymantecSans,Verdana;
font-weight: bold;
font-size: 16pt;
}
Div.ms-titleareaframe
{
border-top: 3px solid black;
background-color: #FFCC00;
border-bottom: 3px solid black;
}
.ms-navframe, .ms-GRStatusBar
{
background-image: url(/_layouts/images/symc/vgradp.gif);
background-color: #FBFBFd;
BACKGROUND-REPEAT: repeat-y;
}
table.ms-toolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
background-color: #DCE3EB;
}
.UserToolbar
{
background-image: url(/_layouts/images/symc/toolgradp.gif);
border: 1px solid #DCE3EB;
}

"Gustavo" wrote:

Hi Mark,
Site Setting Pages uses "ows.css", "sps.css" and "menu.css" as all other
pages. The Portal Central Administration pages uses the style sheets in the
directory "...\60\template\admin\...".
Saludes,
Gustavo
http://www.gavd.net/servers/default.aspx


"Mark@VERITAS" wrote:

I've been doing modification of my Portal ASPX structure using CSS files,
and somehow I've modified the properties of the Site Settings Page that you
go to from the Portal Home Page. I don't know how I've done as as the rest
of my area links are running properly. Does the Site Settings area use
different CSS files that I may have forgotten about editing? And why isn't
this page following the convention that the other areas seem to be following?
Thanks in advance!
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB