You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Santiago Gala <sg...@hisitech.com> on 2001/10/15 12:09:57 UTC
[PATCH] default.css
I think the following patch makes the stylesheets behave better, by
having the tabs stick into the line below them in default templates. I
send it instead of committing because I'm not sure that it has no
side-effect. On Mozilla, the visual difference is big.
Can Paul (and of course others) check? he seems to have deep knowledge
of stylesheets. Just commit it or tell me to do it.
cvs server: Diffing webapp/css
Index: webapp/css/default.css
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/css/default.css,v
retrieving revision 1.3
diff -c -r1.3 default.css
*** webapp/css/default.css 2001/09/06 11:37:37 1.3
--- webapp/css/default.css 2001/10/15 10:01:12
***************
*** 39,45 ****
.TabStyleClass
{
! padding: 1;
}
.TitleStyleClass
--- 39,45 ----
.TabStyleClass
{
! padding: 0;
}
.TitleStyleClass
***************
*** 62,65 ****
--- 62,66 ----
.TabContentStyleClass
{
background-color: #FFFFFF;
+ padding: 1;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
Re: [PATCH] default.css
Posted by Paul Spencer <pa...@mikon.com>.
Santiago,
I use a similar stylesheet. Like yours, I removed the line under the
tab. I also:
o Do not uppercase the Portlet Title
o Removed the box around the portlet content
o Added Bordered classes for Title, Content, and Protlet
See patch below.
Paul Spencer
Index: default.css
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/css/default.css,v
retrieving revision 1.3
diff -c -r1.3 default.css
*** default.css 2001/09/06 11:37:37 1.3
--- default.css 2001/10/15 11:21:30
***************
*** 30,50 ****
.MESSAGENEW:link {font-family: "Verdana"; font-size: 8pt;
color: NAVY;font-weight: bold}
.MESSAGENEW:visited {font-family: "Verdana"; font-size: 8pt;
color: BLACK;font-weight: bold}
.PortletStyleClass
{
! padding: 1;
background-color: #AAAAAA;
- border: thin gray solid;
}
.TabStyleClass
{
! padding: 1;
}
.TitleStyleClass
{
- text-transform: uppercase;
font-weight: bold;
}
--- 30,68 ----
.MESSAGENEW:link {font-family: "Verdana"; font-size: 8pt;
color: NAVY;font-weight: bold}
.MESSAGENEW:visited {font-family: "Verdana"; font-size: 8pt;
color: BLACK;font-weight: bold}
+ .BorderedContentStyleClass
+ {
+ background-color: #FFFFFF;
+ border-top: thin gray solid;
+ }
+
+ .BorderdPortletStyleClass
+ {
+ padding: 1;
+ background-color: #AAAAAA;
+ border: thin gray solid;
+ }
+
+ .BorderedTitleStyleClass
+ {
+ padding: 1;
+ font-weight: bold;
+ border: thin gray solid;
+ }
+
.PortletStyleClass
{
! padding: 0;
background-color: #AAAAAA;
}
.TabStyleClass
{
! padding: 0;
}
.TitleStyleClass
{
font-weight: bold;
}
***************
*** 56,62 ****
.ContentStyleClass
{
background-color: #FFFFFF;
- border-top: thin gray solid;
}
.TabContentStyleClass
--- 74,79 ----
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org