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 jf...@apache.org on 2004/07/20 23:36:31 UTC
cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/css styles.css
jford 2004/07/20 14:36:31
Modified: portal/src/webapp/WEB-INF/decorations/layout/html/metal
decorator-top.vm
portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed
decorator-top.vm
portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed
decorator.vm
portal/src/webapp/WEB-INF/decorations/layout/html/minty-blue
decorator-top.vm
portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css
styles.css
portal/src/webapp/WEB-INF/decorations/portlet/html/metal
decorator.vm
portal/src/webapp/WEB-INF/decorations/portlet/html/minty-blue
decorator.vm
Added: portal/src/webapp/WEB-INF/decorations/portlet/html/metal/css
styles.css
portal/src/webapp/WEB-INF/decorations/portlet/html/minty-blue/css
styles.css
portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/css
styles.css
Log:
Split skin definitions into sepearte files
Renamed top level class to better describe skin sections (layout-$skinName, portlet-$skinName)
Implemented changes described by decorations document
PR: JS2-89
Submitted by: Enrique Lara
Revision Changes Path
1.2 +7 -2 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/metal/decorator-top.vm
Index: decorator-top.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/metal/decorator-top.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- decorator-top.vm 20 Jul 2004 15:51:11 -0000 1.1
+++ decorator-top.vm 20 Jul 2004 21:36:31 -0000 1.2
@@ -19,10 +19,15 @@
<html>
<head>
<title>Welcome to Jetspeed 2</title>
- <link href="content/css/styles.css" type="text/css" rel="stylesheet">
+ <style type="text/css" media="all">
+ #set($cssUrls = $renderRequest.getPortletSession().getAttribute("cssUrls"))
+ #foreach($cssUrl in $cssUrls)
+ #parse("$cssUrl")
+ #end
+ </style>
</head>
-<body>
+<body class="layout-Metal">
1.5 +21 -6 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm
Index: decorator-top.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/decorator-top.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- decorator-top.vm 18 Jun 2004 20:50:18 -0000 1.4
+++ decorator-top.vm 20 Jul 2004 21:36:31 -0000 1.5
@@ -19,13 +19,22 @@
<html>
<head>
<title>Welcome to Jetspeed 2</title>
- <link href="content/css/styles.css" type="text/css" rel="stylesheet">
+ <style type="text/css" media="all">
+ #set($cssUrls = $renderRequest.getPortletSession().getAttribute("cssUrls"))
+ #foreach($cssUrl in $cssUrls)
+ #parse("$cssUrl")
+ #end
+ </style>
</head>
+<body class="layout-Jetspeed">
-<body>
-
-
-
+#*
+<ol>
+#foreach($cssUrl in $cssUrls)
+ <li>$cssUrl</li>
+#end
+</ol>
+*#
<!-- BEGIN: layout/html/jetspeed/decorator.vm -->
@@ -36,4 +45,10 @@
## $jetspeed.include($jetspeed.currentFragment)
-<!-- END: layout/html/jetspeed/decorator.vm -->
\ No newline at end of file
+<!-- END: layout/html/jetspeed/decorator.vm -->
+
+
+
+
+
+
1.10 +1 -1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm
Index: decorator.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/decorator.vm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- decorator.vm 20 Jul 2004 15:54:25 -0000 1.9
+++ decorator.vm 20 Jul 2004 21:36:31 -0000 1.10
@@ -24,7 +24,7 @@
<!-- Begin portlet/html/jetspeed/decorator.vm -->
-<div class="Jetspeed" >
+<div class="portlet-Jetspeed" >
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
##
## Portlet Title Bar
1.1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/metal/css/styles.css
Index: styles.css
===================================================================
/*
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/**
Metal Skin that uses the cascading capability of CSS
**/
.portlet-Metal .PTitleLeft
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
/** Always use relative path ! **/
background: url(content/metal/images/titleleft.gif);
}
.portlet-Metal .PTitle
{
/**Specify the height of the image usedelse it will use the text height**/
height:16px;
color:#FFFFFF;
background: url(content/metal/images/title.gif);
font-family : monospace;
font-weight:bold;
font-size:12pt;
}
.portlet-Metal .PTitleRight
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
background: url(content/metal/images/titleright.gif);
}
.portlet-Metal .PContentLeft
{
width:10px;
background: url(content/metal/images/contentleft.gif);
height : 100%;
}
.portlet-Metal .PContent
{
padding-left:5px;
background-color:#717171;
}
.portlet-Metal .PContentRight
{
width:10px;
background: url(content/metal/images/contentright.gif);
}
.portlet-Metal .PBottomLeft
{
width:10px;
background: url(content/metal/images/bottomleft.gif);
}
.portlet-Metal .PBottom
{
/**
Specify the height of the image used
else it won't appear
**/
height:13px;
background: url(content/metal/images/bottom.gif);
}
.portlet-Metal .PBottomRight
{
width:10px;
background: url(content/metal/images/bottomright.gif);
}
/* --------------------------------- */
/* --------------------------------- */
/* PLT.C.1 Links (Anchor) */
/* --------------------------------- */
.portlet-Metal A:link,
.portlet-Metal A:visited {
color:#0000FF;
text-decoration: none;
}
.portlet-Metal A:hover,
.portlet-Metal A:active {
color:#CC0033;
}
/* --------------------------------- */
/* PLT.C.2 Fonts */
/* --------------------------------- */
.portlet-Metal .portlet-font {
color: black;
}
.portlet-Metal .portlet-font-dim {
color:#F0F8FF;
}
/* --------------------------------- */
/* PLT.C.3 Messages */
/* --------------------------------- */
.portlet-Metal .portlet-msg-status {
font-style:italic;
font-family: courier, serif;
}
.portlet-Metal .portlet-msg-info {
font-weight:bold;
}
.portlet-Metal .portlet-msg-error {
color:#CC0033;
font-weight:bold;
}
.portlet-Metal .portlet-msg-alert {
color:#CCCC00;
font-weight:bold;
font-style:italic;
}
.portlet-Metal .portlet-msg-success {
color:#00CC33;
font-weight:bold;
}
/* --------------------------------- */
/* PLT.C.4 Sections */
/* --------------------------------- */
.portlet-Metal .portlet-section-header {
background-color: #C0C0C0;
font-weight:bold;
}
.portlet-Metal .portlet-section-body {
background-color: white;
text-align:left;
}
.portlet-Metal .portlet-section-alternate {
color: black;
background-color:#666633;
text-align:left;
}
.portlet-Metal .portlet-section-selected {
background-color: #000000;
color: #FF0000;
font-weight:bold;
text-align:left;
}
.portlet-Metal .portlet-section-subheader {
background-color: #C0C0C0;
font-weight:bold;
font-style:italic;
}
.portlet-Metal .portlet-section-footer {
background-color: #C0C0C0;
text-align:center;
}
.portlet-Metal .portlet-section-text {
text-decoration:underline;
}
/* --------------------------------- */
/* PLT.C.5 Forms */
/* --------------------------------- */
.portlet-Metal .portlet-form-label {
font-weight:bold;
}
.portlet-Metal .portlet-form-input-field {
font-family: arial, "lucida console", sans-serif;
}
.portlet-Metal .portlet-form-button {
font-family: arial, "lucida console", sans-serif;
}
.portlet-Metal .portlet-icon-label {
/* XXX */
}
.portlet-Metal .portlet-dlg-icon-label {
/* XXX */
}
.portlet-Metal .portlet-form-field-label {
font-family: arial, "lucida console", sans-serif;
}
.portlet-Metal .portlet-form-field {
background-color:transparent;
}
/* --------------------------------- */
/* PLT.C.6 Menus */
/* --------------------------------- */
.portlet-Metal .portlet-menu {
background-color: #C0C0C0;
}
.portlet-Metal .portlet-menu-item {
background-color: #C0C0C0;
}
.portlet-Metal .portlet-menu-item-selected {
background-color:#CCCC00;
}
.portlet-Metal .portlet-menu-item-hover {
background-color: #000000;
color: #FF0000;
}
.portlet-Metal .portlet-menu-item-hover-selected {
background-color:#000000;
color:#0000FF;
}
.portlet-Metal .portlet-menu-cascade-item {
background-color:#666633;
color:black;
text-decoration:none;
}
.portlet-Metal .portlet-menu-cascade-item-selected {
background-color:#CCCC00;
}
.portlet-Metal .portlet-menu-description {
background-color: #C0C0C0;
}
.portlet-Metal .portlet-menu-caption {
/* XXX */
}
1.2 +7 -2 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/minty-blue/decorator-top.vm
Index: decorator-top.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/minty-blue/decorator-top.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- decorator-top.vm 20 Jul 2004 15:51:11 -0000 1.1
+++ decorator-top.vm 20 Jul 2004 21:36:31 -0000 1.2
@@ -19,10 +19,15 @@
<html>
<head>
<title>Welcome to Jetspeed 2</title>
- <link href="content/css/styles.css" type="text/css" rel="stylesheet">
+ <style type="text/css" media="all">
+ #set($cssUrls = $renderRequest.getPortletSession().getAttribute("cssUrls"))
+ #foreach($cssUrl in $cssUrls)
+ #parse("$cssUrl")
+ #end
+ </style>
</head>
-<body>
+<body class="layout-MintyBlue">
1.1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/minty-blue/css/styles.css
Index: styles.css
===================================================================
/*
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.portlet-MintyBlue .PTitleLeft
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
/** Always use relative path ! **/
background: url(content/minty-blue/images/titleleft.gif);
}
.portlet-MintyBlue .PTitle
{
/**Specify the height of the image usedelse it will use the text height**/
height:16px;
color:#FFFFFF;
background: url(content/minty-blue/images/title.gif);
font-family : monospace;
font-weight:bold;
font-size:12pt;
}
.portlet-MintyBlue .PTitleRight
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
background: url(content/minty-blue/images/titleright.gif);
}
.portlet-MintyBlue .PContentLeft
{
width:10px;
background: url(content/minty-blue/images/contentleft.gif);
height : 100%;
}
.portlet-MintyBlue .PContent
{
padding-left:5px;
}
.portlet-MintyBlue .PContentRight
{
width:10px;
background: url(content/minty-blue/images/contentright.gif);
}
.portlet-MintyBlue .PBottomLeft
{
width:10px;
background: url(content/minty-blue/images/bottomleft.gif);
}
.portlet-MintyBlue .PBottom
{
/**
Specify the height of the image used
else it won't appear
**/
height:13px;
background: url(content/minty-blue/images/bottom.gif);
}
.portlet-MintyBlue .PBottomRight
{
width:10px;
background: url(content/minty-blue/images/bottomright.gif);
}
/* --------------------------------- */
/* --------------------------------- */
/* PLT.C.1 Links (Anchor) */
/* --------------------------------- */
.portlet-MintyBlue A:link,
.portlet-MintyBlue A:visited {
text-decoration: none;
}
.portlet-MintyBlue A:hover,
.portlet-MintyBlue A:active {
text-decoration: underline;
}
/* --------------------------------- */
/* PLT.C.2 Fonts */
/* --------------------------------- */
.portlet-MintyBlue .portlet-font {
color: black;
}
.portlet-MintyBlue .portlet-font-dim {
color: gray;
}
/* --------------------------------- */
/* PLT.C.3 Messages */
/* --------------------------------- */
.portlet-MintyBlue .portlet-msg-status {
font-style:italic;
font-family: courier, serif;
}
.portlet-MintyBlue .portlet-msg-info {
}
.portlet-MintyBlue .portlet-msg-error {
color:#FF0000;
}
.portlet-MintyBlue .portlet-msg-alert {
color:#CCCC00;
font-style:italic;
}
.portlet-MintyBlue .portlet-msg-success {
color:#00CC33;
}
/* --------------------------------- */
/* PLT.C.4 Sections */
/* --------------------------------- */
.portlet-MintyBlue .portlet-section-header {
font-weight:bold;
background-color:#0000CC;
color:yellow;
padding:2px;
}
.portlet-MintyBlue .portlet-section-body {
background-color:#66FF66;
text-align:left;
}
.portlet-MintyBlue .portlet-section-alternate {
background-color:#C0C0C0;
text-align:left;
}
.portlet-MintyBlue .portlet-section-selected {
background-color:#0000CC;
color:white;
font-weight:bold;
text-align:left;
}
.portlet-MintyBlue .portlet-section-subheader {
background-color:#0066CC;
color:white;
font-weight:bold;
font-style:italic;
padding:1px;
}
.portlet-MintyBlue .portlet-section-footer {
background-color:#0066CC;
color:white;
font-family: courier, serif;
text-align:center;
}
.portlet-MintyBlue .portlet-section-text {
text-decoration:underline;
}
/* --------------------------------- */
/* PLT.C.5 Forms */
/* --------------------------------- */
.portlet-MintyBlue .portlet-form-label {
font-weight:bold;
}
.portlet-MintyBlue .portlet-form-input-field {
font-family: arial, "lucida console", sans-serif;
background-color:#66CCFF;
}
.portlet-MintyBlue .portlet-form-button {
font-family: arial, "lucida console", sans-serif;
}
.portlet-MintyBlue .portlet-icon-label {
/* XXX */
}
.portlet-MintyBlue .portlet-dlg-icon-label {
/* XXX */
}
.portlet-MintyBlue .portlet-form-field-label {
font-family: arial, "lucida console", sans-serif;
}
.portlet-MintyBlue .portlet-form-field {
background-color:transparent;
}
/* --------------------------------- */
/* PLT.C.6 Menus */
/* --------------------------------- */
.portlet-MintyBlue .portlet-menu {
background-color:#00CC66;
}
.portlet-MintyBlue .portlet-menu-item {
background-color:#00CC66;
}
.portlet-MintyBlue .portlet-menu-item-selected {
background-color:#0000CC;
color:white;
}
.portlet-MintyBlue .portlet-menu-item-hover {
background-color:#003366;
color:#FFFFFF;
}
.portlet-MintyBlue .portlet-menu-item-hover-selected {
background-color:#003366;
color:#FFFFFF;
}
.portlet-MintyBlue .portlet-menu-cascade-item {
background-color:#00CC66;
color:black;
text-decoration:none;
}
.portlet-MintyBlue .portlet-menu-cascade-item-selected {
background-color:#0000CC;
color:white;
}
.portlet-MintyBlue .portlet-menu-description {
background-color:#F0F8FF;
}
.portlet-MintyBlue .portlet-menu-caption {
/* XXX */
}
1.9 +1 -709 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css
Index: styles.css
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed/css/styles.css,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- styles.css 20 Jul 2004 15:58:22 -0000 1.8
+++ styles.css 20 Jul 2004 21:36:31 -0000 1.9
@@ -15,714 +15,6 @@
*/
-.Jetspeed .PTitleLeft
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
-
- /** Always use relative path ! **/
- background: url(content/jetspeed/images/titleleft.gif);
-}
-
-.Jetspeed .PTitle
-{
- /**
- Specify the height of the image used
- else it will use the text height
- **/
- height:10px;
- color:#FFFFFF;
- font-weight:bold;
- background: url(content/jetspeed/images/title.gif);
-}
-
-.Jetspeed .PTitleRight
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
- background: url(content/jetspeed/images/titleright.gif);
-}
-
-.Jetspeed .PContentLeft
-{
- width:10px;
- background: url(content/jetspeed/images/contentleft.gif);
- height : 100%;
-
-}
-
-.Jetspeed .PContent
-{
- overflow : scroll;
-
-}
-
-.Jetspeed .PContentRight
-{
- width:10px;
- background: url(content/jetspeed/images/contentright.gif);
- height : 100%;
-
-}
-
-.Jetspeed .PBottomLeft
-{
- width:10px;
- background: url(content/jetspeed/images/bottomleft.gif);
-}
-
-.Jetspeed .PBottom
-{
- /**
- Specify the height of the image used
- else it won't appear
- **/
- height:13px;
- background: url(content/jetspeed/images/bottom.gif);
-}
-
-.Jetspeed .PBottomRight
-{
- width:10px;
- background: url(content/jetspeed/images/bottomright.gif);
-}
-
-
-/* --------------------------------- */
-
-
-/* --------------------------------- */
-/* PLT.C.1 Links (Anchor) */
-/* --------------------------------- */
-
-.Jetspeed A:link,
-.Jetspeed A:visited {
- text-decoration: none;
-}
-
-.Jetspeed A:hover,
-.Jetspeed A:active {
- text-decoration: underline;
-}
+BODY.layout-Jetspeed {
-
-
-/* --------------------------------- */
-/* PLT.C.2 Fonts */
-/* --------------------------------- */
-
-.Jetspeed .portlet-font {
- color: black;
-}
-.Jetspeed .portlet-font-dim {
- color: gray;
-}
-
-
-
-
-/* --------------------------------- */
-/* PLT.C.3 Messages */
-/* --------------------------------- */
-.Jetspeed .portlet-msg-status {
- font-style:italic;
- font-family: courier, serif;
-}
-.Jetspeed .portlet-msg-info {
-}
-.Jetspeed .portlet-msg-error {
- color:#FF0000;
-}
-.Jetspeed .portlet-msg-alert {
- color:#CCCC00;
- font-style:italic;
-}
-.Jetspeed .portlet-msg-success {
- color:#00CC33;
-}
-
-/* --------------------------------- */
-/* PLT.C.4 Sections */
-/* --------------------------------- */
-.Jetspeed .portlet-section-header {
- font-weight:bold;
- background-color:#C0C0C0;
-}
-.Jetspeed .portlet-section-body {
- background-color:#F0F8FF;
- text-align:left;
-}
-.Jetspeed .portlet-section-alternate {
- background-color: #33CCFF;
- text-align:left;
-}
-.Jetspeed .portlet-section-selected {
- background-color: #003366;
- color: #FFFFFF;
- font-weight:bold;
- text-align:left;
-}
-.Jetspeed .portlet-section-subheader {
- font-weight:bold;
- font-style:italic;
-}
-.Jetspeed .portlet-section-footer {
- background-color:#C0C0C0;
- font-family: courier, serif;
- text-align:center;
-}
-.Jetspeed .portlet-section-text {
- text-decoration:underline;
-}
-
-/* --------------------------------- */
-/* PLT.C.5 Forms */
-/* --------------------------------- */
-.Jetspeed .portlet-form-label {
- font-weight:bold;
-}
-.Jetspeed .portlet-form-input-field {
- font-family: arial, "lucida console", sans-serif;
- background-color:#F0F8FF;
-}
-.Jetspeed .portlet-form-button {
- font-family: arial, "lucida console", sans-serif;
-}
-.Jetspeed .portlet-icon-label {
- /* XXX */
-}
-.Jetspeed .portlet-dlg-icon-label {
- /* XXX */
}
-.Jetspeed .portlet-form-field-label {
- font-family: arial, "lucida console", sans-serif;
-}
-.Jetspeed .portlet-form-field {
- background-color:transparent;
-}
-
-
-/* --------------------------------- */
-/* PLT.C.6 Menus */
-/* --------------------------------- */
-.Jetspeed .portlet-menu {
- background-color:#FFFFFF;
-}
-.Jetspeed .portlet-menu-item {
- background-color:#FFFFFF;
-}
-.Jetspeed .portlet-menu-item-selected {
- background-color:#CCCC00;
-}
-
-.Jetspeed .portlet-menu-item-hover {
- background-color: #003366;
- color: #FFFFFF;
-}
-.Jetspeed .portlet-menu-item-hover-selected {
- background-color:#FFFF00;
-}
-.Jetspeed .portlet-menu-cascade-item {
- background-color: #33CCFF;
- color:black;
- text-decoration:none;
-}
-.Jetspeed .portlet-menu-cascade-item-selected {
- background-color:#CCCC00;
-}
-.Jetspeed .portlet-menu-description {
- background-color:#FFFFFF;
-}
-.Jetspeed .portlet-menu-caption {
- /* XXX */
-}
-
-/**
-
-The following css styles should be moved into their respective decorators.
-They are being included in this css for simplicity and proof of concept at this time.
-These should be removed when the PageAggregator modifications are completed.
-Also, in order to see these skins, the page decorator should always be set to "Jetspeed".
-
-**/
-
-/**
- Metal Skin that uses the cascading capability of CSS
-**/
-
-.Metal .PTitleLeft
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
-
- /** Always use relative path ! **/
- background: url(content/metal/images/titleleft.gif);
-
-}
-
-.Metal .PTitle
-{
- /**Specify the height of the image usedelse it will use the text height**/
- height:16px;
- color:#FFFFFF;
- background: url(content/metal/images/title.gif);
- font-family : monospace;
- font-weight:bold;
- font-size:12pt;
-}
-
-.Metal .PTitleRight
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
- background: url(content/metal/images/titleright.gif);
-}
-
-.Metal .PContentLeft
-{
- width:10px;
- background: url(content/metal/images/contentleft.gif);
- height : 100%;
-
-}
-
-.Metal .PContent
-{
- padding-left:5px;
- background-color:#717171;
-}
-
-.Metal .PContentRight
-{
- width:10px;
- background: url(content/metal/images/contentright.gif);
-}
-
-.Metal .PBottomLeft
-{
- width:10px;
- background: url(content/metal/images/bottomleft.gif);
-}
-
-.Metal .PBottom
-{
- /**
- Specify the height of the image used
- else it won't appear
- **/
- height:13px;
- background: url(content/metal/images/bottom.gif);
-}
-
-.Metal .PBottomRight
-{
- width:10px;
- background: url(content/metal/images/bottomright.gif);
-}
-
-
-/* --------------------------------- */
-
-
-/* --------------------------------- */
-/* PLT.C.1 Links (Anchor) */
-/* --------------------------------- */
-
-.Metal A:link,
-.Metal A:visited {
- color:#0000FF;
- text-decoration: none;
-}
-
-.Metal A:hover,
-.Metal A:active {
- color:#CC0033;
-}
-
-
-
-/* --------------------------------- */
-/* PLT.C.2 Fonts */
-/* --------------------------------- */
-
-.Metal .portlet-font {
- color: black;
-}
-.Metal .portlet-font-dim {
- color:#F0F8FF;
-}
-
-
-
-
-/* --------------------------------- */
-/* PLT.C.3 Messages */
-/* --------------------------------- */
-.Metal .portlet-msg-status {
- font-style:italic;
- font-family: courier, serif;
-}
-.Metal .portlet-msg-info {
- font-weight:bold;
-}
-.Metal .portlet-msg-error {
- color:#CC0033;
- font-weight:bold;
-}
-.Metal .portlet-msg-alert {
- color:#CCCC00;
- font-weight:bold;
- font-style:italic;
-}
-.Metal .portlet-msg-success {
- color:#00CC33;
- font-weight:bold;
-}
-
-/* --------------------------------- */
-/* PLT.C.4 Sections */
-/* --------------------------------- */
-.Metal .portlet-section-header {
- background-color: #C0C0C0;
- font-weight:bold;
-}
-.Metal .portlet-section-body {
- background-color: white;
- text-align:left;
-}
-.Metal .portlet-section-alternate {
- color: black;
- background-color:#666633;
- text-align:left;
-}
-.Metal .portlet-section-selected {
- background-color: #000000;
- color: #FF0000;
- font-weight:bold;
- text-align:left;
-}
-.Metal .portlet-section-subheader {
- background-color: #C0C0C0;
- font-weight:bold;
- font-style:italic;
-}
-.Metal .portlet-section-footer {
- background-color: #C0C0C0;
- text-align:center;
-}
-.Metal .portlet-section-text {
- text-decoration:underline;
-}
-
-/* --------------------------------- */
-/* PLT.C.5 Forms */
-/* --------------------------------- */
-.Metal .portlet-form-label {
- font-weight:bold;
-}
-.Metal .portlet-form-input-field {
- font-family: arial, "lucida console", sans-serif;
-}
-.Metal .portlet-form-button {
- font-family: arial, "lucida console", sans-serif;
-}
-.Metal .portlet-icon-label {
- /* XXX */
-}
-.Metal .portlet-dlg-icon-label {
- /* XXX */
-}
-.Metal .portlet-form-field-label {
- font-family: arial, "lucida console", sans-serif;
-}
-.Metal .portlet-form-field {
- background-color:transparent;
-}
-
-
-/* --------------------------------- */
-/* PLT.C.6 Menus */
-/* --------------------------------- */
-.Metal .portlet-menu {
- background-color: #C0C0C0;
-}
-.Metal .portlet-menu-item {
- background-color: #C0C0C0;
-}
-.Metal .portlet-menu-item-selected {
- background-color:#CCCC00;
-}
-
-.Metal .portlet-menu-item-hover {
- background-color: #000000;
- color: #FF0000;
-}
-.Metal .portlet-menu-item-hover-selected {
- background-color:#000000;
- color:#0000FF;
-}
-.Metal .portlet-menu-cascade-item {
- background-color:#666633;
- color:black;
- text-decoration:none;
-}
-.Metal .portlet-menu-cascade-item-selected {
- background-color:#CCCC00;
-}
-.Metal .portlet-menu-description {
- background-color: #C0C0C0;
-}
-.Metal .portlet-menu-caption {
- /* XXX */
-}
-
-
-
-.MintyBlue .PTitleLeft
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
-
- /** Always use relative path ! **/
- background: url(content/minty-blue/images/titleleft.gif);
-
-}
-
-.MintyBlue .PTitle
-{
- /**Specify the height of the image usedelse it will use the text height**/
- height:16px;
- color:#FFFFFF;
- background: url(content/minty-blue/images/title.gif);
- font-family : monospace;
- font-weight:bold;
- font-size:12pt;
-}
-
-.MintyBlue .PTitleRight
-{
- /**
- Needs to specify the width of image used
- otherwise it won't show !
- **/
- width:10px;
- background: url(content/minty-blue/images/titleright.gif);
-}
-
-.MintyBlue .PContentLeft
-{
- width:10px;
- background: url(content/minty-blue/images/contentleft.gif);
- height : 100%;
-
-}
-
-.MintyBlue .PContent
-{
- padding-left:5px;
-}
-
-.MintyBlue .PContentRight
-{
- width:10px;
- background: url(content/minty-blue/images/contentright.gif);
-}
-
-.MintyBlue .PBottomLeft
-{
- width:10px;
- background: url(content/minty-blue/images/bottomleft.gif);
-}
-
-.MintyBlue .PBottom
-{
- /**
- Specify the height of the image used
- else it won't appear
- **/
- height:13px;
- background: url(content/minty-blue/images/bottom.gif);
-}
-
-.MintyBlue .PBottomRight
-{
- width:10px;
- background: url(content/minty-blue/images/bottomright.gif);
-}
-
-
-
-/* --------------------------------- */
-
-
-
-/* --------------------------------- */
-/* PLT.C.1 Links (Anchor) */
-/* --------------------------------- */
-
-.MintyBlue A:link,
-.MintyBlue A:visited {
- text-decoration: none;
-}
-
-.MintyBlue A:hover,
-.MintyBlue A:active {
- text-decoration: underline;
-}
-
-
-
-/* --------------------------------- */
-/* PLT.C.2 Fonts */
-/* --------------------------------- */
-
-.MintyBlue .portlet-font {
- color: black;
-}
-.MintyBlue .portlet-font-dim {
- color: gray;
-}
-
-
-
-
-/* --------------------------------- */
-/* PLT.C.3 Messages */
-/* --------------------------------- */
-.MintyBlue .portlet-msg-status {
- font-style:italic;
- font-family: courier, serif;
-}
-.MintyBlue .portlet-msg-info {
-}
-.MintyBlue .portlet-msg-error {
- color:#FF0000;
-}
-.MintyBlue .portlet-msg-alert {
- color:#CCCC00;
- font-style:italic;
-}
-.MintyBlue .portlet-msg-success {
- color:#00CC33;
-}
-
-/* --------------------------------- */
-/* PLT.C.4 Sections */
-/* --------------------------------- */
-.MintyBlue .portlet-section-header {
- font-weight:bold;
- background-color:#0000CC;
- color:yellow;
- padding:2px;
-}
-.MintyBlue .portlet-section-body {
- background-color:#66FF66;
- text-align:left;
-}
-.MintyBlue .portlet-section-alternate {
- background-color:#C0C0C0;
- text-align:left;
-}
-.MintyBlue .portlet-section-selected {
- background-color:#0000CC;
- color:white;
- font-weight:bold;
- text-align:left;
-}
-.MintyBlue .portlet-section-subheader {
- background-color:#0066CC;
- color:white;
- font-weight:bold;
- font-style:italic;
- padding:1px;
-}
-.MintyBlue .portlet-section-footer {
- background-color:#0066CC;
- color:white;
- font-family: courier, serif;
- text-align:center;
-}
-.MintyBlue .portlet-section-text {
- text-decoration:underline;
-}
-
-/* --------------------------------- */
-/* PLT.C.5 Forms */
-/* --------------------------------- */
-.MintyBlue .portlet-form-label {
- font-weight:bold;
-}
-.MintyBlue .portlet-form-input-field {
- font-family: arial, "lucida console", sans-serif;
- background-color:#66CCFF;
-}
-.MintyBlue .portlet-form-button {
- font-family: arial, "lucida console", sans-serif;
-}
-.MintyBlue .portlet-icon-label {
- /* XXX */
-}
-.MintyBlue .portlet-dlg-icon-label {
- /* XXX */
-}
-.MintyBlue .portlet-form-field-label {
- font-family: arial, "lucida console", sans-serif;
-}
-.MintyBlue .portlet-form-field {
- background-color:transparent;
-}
-
-
-/* --------------------------------- */
-/* PLT.C.6 Menus */
-/* --------------------------------- */
-.MintyBlue .portlet-menu {
- background-color:#00CC66;
-}
-.MintyBlue .portlet-menu-item {
- background-color:#00CC66;
-}
-.MintyBlue .portlet-menu-item-selected {
- background-color:#0000CC;
- color:white;
-}
-
-.MintyBlue .portlet-menu-item-hover {
- background-color:#003366;
- color:#FFFFFF;
-}
-.MintyBlue .portlet-menu-item-hover-selected {
- background-color:#003366;
- color:#FFFFFF;
-}
-.MintyBlue .portlet-menu-cascade-item {
- background-color:#00CC66;
- color:black;
- text-decoration:none;
-}
-.MintyBlue .portlet-menu-cascade-item-selected {
- background-color:#0000CC;
- color:white;
-}
-.MintyBlue .portlet-menu-description {
- background-color:#F0F8FF;
-}
-.MintyBlue .portlet-menu-caption {
- /* XXX */
-}
-
1.8 +1 -1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/metal/decorator.vm
Index: decorator.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/metal/decorator.vm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- decorator.vm 20 Jul 2004 15:54:25 -0000 1.7
+++ decorator.vm 20 Jul 2004 21:36:31 -0000 1.8
@@ -24,7 +24,7 @@
<!-- Begin portlet/html/jetspeed/decorator.vm -->
-<div class="Metal" >
+<div class="portlet-Metal" >
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
##
## Portlet Title Bar
1.9 +1 -1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/minty-blue/decorator.vm
Index: decorator.vm
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/minty-blue/decorator.vm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- decorator.vm 20 Jul 2004 15:54:25 -0000 1.8
+++ decorator.vm 20 Jul 2004 21:36:31 -0000 1.9
@@ -24,7 +24,7 @@
<!-- Begin portlet/html/jetspeed/decorator.vm -->
-<div class="MintyBlue" >
+<div class="portlet-MintyBlue" >
<table border="0" cellpadding="0" cellspacing="0" width="100%" >
##
## Portlet Title Bar
1.1 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/jetspeed/css/styles.css
Index: styles.css
===================================================================
/*
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.portlet-Jetspeed .PTitleLeft
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
/** Always use relative path ! **/
background: url(content/jetspeed/images/titleleft.gif);
}
.portlet-Jetspeed .PTitle
{
/**
Specify the height of the image used
else it will use the text height
**/
height:10px;
color:#FFFFFF;
font-weight:bold;
background: url(content/jetspeed/images/title.gif);
}
.portlet-Jetspeed .PTitleRight
{
/**
Needs to specify the width of image used
otherwise it won't show !
**/
width:10px;
background: url(content/jetspeed/images/titleright.gif);
}
.portlet-Jetspeed .PContentLeft
{
width:10px;
background: url(content/jetspeed/images/contentleft.gif);
height : 100%;
}
.portlet-Jetspeed .PContent
{
overflow : scroll;
}
.portlet-Jetspeed .PContentRight
{
width:10px;
background: url(content/jetspeed/images/contentright.gif);
height : 100%;
}
.portlet-Jetspeed .PBottomLeft
{
width:10px;
background: url(content/jetspeed/images/bottomleft.gif);
}
.portlet-Jetspeed .PBottom
{
/**
Specify the height of the image used
else it won't appear
**/
height:13px;
background: url(content/jetspeed/images/bottom.gif);
}
.portlet-Jetspeed .PBottomRight
{
width:10px;
background: url(content/jetspeed/images/bottomright.gif);
}
/* --------------------------------- */
/* --------------------------------- */
/* PLT.C.1 Links (Anchor) */
/* --------------------------------- */
.portlet-Jetspeed A:link,
.portlet-Jetspeed A:visited {
text-decoration: none;
}
.portlet-Jetspeed A:hover,
.portlet-Jetspeed A:active {
text-decoration: underline;
}
/* --------------------------------- */
/* PLT.C.2 Fonts */
/* --------------------------------- */
.portlet-Jetspeed .portlet-font {
color: black;
}
.portlet-Jetspeed .portlet-font-dim {
color: gray;
}
/* --------------------------------- */
/* PLT.C.3 Messages */
/* --------------------------------- */
.portlet-Jetspeed .portlet-msg-status {
font-style:italic;
font-family: courier, serif;
}
.portlet-Jetspeed .portlet-msg-info {
}
.portlet-Jetspeed .portlet-msg-error {
color:#FF0000;
}
.portlet-Jetspeed .portlet-msg-alert {
color:#CCCC00;
font-style:italic;
}
.portlet-Jetspeed .portlet-msg-success {
color:#00CC33;
}
/* --------------------------------- */
/* PLT.C.4 Sections */
/* --------------------------------- */
.portlet-Jetspeed .portlet-section-header {
font-weight:bold;
background-color:#C0C0C0;
}
.portlet-Jetspeed .portlet-section-body {
background-color:#F0F8FF;
text-align:left;
}
.portlet-Jetspeed .portlet-section-alternate {
background-color: #33CCFF;
text-align:left;
}
.portlet-Jetspeed .portlet-section-selected {
background-color: #003366;
color: #FFFFFF;
font-weight:bold;
text-align:left;
}
.portlet-Jetspeed .portlet-section-subheader {
font-weight:bold;
font-style:italic;
}
.portlet-Jetspeed .portlet-section-footer {
background-color:#C0C0C0;
font-family: courier, serif;
text-align:center;
}
.portlet-Jetspeed .portlet-section-text {
text-decoration:underline;
}
/* --------------------------------- */
/* PLT.C.5 Forms */
/* --------------------------------- */
.portlet-Jetspeed .portlet-form-label {
font-weight:bold;
}
.portlet-Jetspeed .portlet-form-input-field {
font-family: arial, "lucida console", sans-serif;
background-color:#F0F8FF;
}
.portlet-Jetspeed .portlet-form-button {
font-family: arial, "lucida console", sans-serif;
}
.portlet-Jetspeed .portlet-icon-label {
/* XXX */
}
.portlet-Jetspeed .portlet-dlg-icon-label {
/* XXX */
}
.portlet-Jetspeed .portlet-form-field-label {
font-family: arial, "lucida console", sans-serif;
}
.portlet-Jetspeed .portlet-form-field {
background-color:transparent;
}
/* --------------------------------- */
/* PLT.C.6 Menus */
/* --------------------------------- */
.portlet-Jetspeed .portlet-menu {
background-color:#FFFFFF;
}
.portlet-Jetspeed .portlet-menu-item {
background-color:#FFFFFF;
}
.portlet-Jetspeed .portlet-menu-item-selected {
background-color:#CCCC00;
}
.portlet-Jetspeed .portlet-menu-item-hover {
background-color: #003366;
color: #FFFFFF;
}
.portlet-Jetspeed .portlet-menu-item-hover-selected {
background-color:#FFFF00;
}
.portlet-Jetspeed .portlet-menu-cascade-item {
background-color: #33CCFF;
color:black;
text-decoration:none;
}
.portlet-Jetspeed .portlet-menu-cascade-item-selected {
background-color:#CCCC00;
}
.portlet-Jetspeed .portlet-menu-description {
background-color:#FFFFFF;
}
.portlet-Jetspeed .portlet-menu-caption {
/* XXX */
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org