shinsuke 2004/11/07 14:28:35
Modified: portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/css
styles.css
portal/src/webapp/WEB-INF/decorations/portlet/html/tigris
decorator.vm
Log:
modified the font size for portlet
Revision Changes Path
1.4 +114 -90
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/css/styles.css
Index: styles.css
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/css/styles.css,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- styles.css 7 Nov 2004 18:44:19 -0000 1.3
+++ styles.css 7 Nov 2004 22:28:35 -0000 1.4
@@ -31,6 +31,10 @@
else it will use the text height
**/
height:8px;
+}
+
+.portlet-tigris .PTitleContent
+{
font-weight:bold;
}
@@ -65,8 +69,24 @@
{
}
+/* font */
+.portlet-tigris .PTitleLeft,
+.portlet-tigris .PTitle,
+.portlet-tigris .PTitleContent,
+.portlet-tigris .PTitleRight,
+.portlet-tigris .PContentLeft,
+.portlet-tigris .PContent,
+.portlet-tigris .PContentRight,
+.portlet-tigris .PBottomLeft,
+.portlet-tigris .PBottom,
+.portlet-tigris .PBottomRight
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
-/* --------------------------------- */
/* --------------------------------- */
@@ -83,6 +103,17 @@
text-decoration: underline;
}
+/* font */
+.portlet-tigris A:link,
+.portlet-tigris A:visited,
+.portlet-tigris A:hover,
+.portlet-tigris A:active
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
/* --------------------------------- */
@@ -90,14 +121,21 @@
/* --------------------------------- */
.portlet-tigris .portlet-font {
- font-family: Verdana, Helvetica, Arial, sans-serif;
color: black;
}
.portlet-tigris .portlet-font-dim {
- font-family: Verdana, Helvetica, Arial, sans-serif;
color: gray;
}
+/* font */
+.portlet-tigris .portlet-font,
+.portlet-tigris .portlet-font-dim
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
@@ -135,6 +173,20 @@
min-height: 15px;
}
+/* font */
+.portlet-tigris .portlet-msg-status,
+.portlet-tigris .portlet-msg-info,
+.portlet-tigris .portlet-msg-error,
+.portlet-tigris .portlet-msg-alert,
+.portlet-tigris .portlet-msg-success
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
+
+
/* --------------------------------- */
/* PLT.C.4 Sections */
/* --------------------------------- */
@@ -143,9 +195,6 @@
background-repeat: no-repeat;
color: #fff;
background-color: #036;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: small;*/
padding: 5px;
margin-right: 2px;
margin-left: 2px;
@@ -155,7 +204,6 @@
.portlet-tigris .portlet-section-body {
background: #efefef;
border: none;
- font-family: Verdana, Helvetica, Arial, sans-serif;
padding: 2px 3px;
text-align: left;
vertical-align: top;
@@ -165,7 +213,6 @@
.portlet-tigris .portlet-section-alternate {
background: #ddd;
border: none;
- font-family: Verdana, Helvetica, Arial, sans-serif;
padding: 2px 3px;
text-align: left;
vertical-align: top;
@@ -176,7 +223,6 @@
/* TODO : ex. change color */
background: #ffe;
border: none;
- font-family: Verdana, Helvetica, Arial, sans-serif;
padding: 2px 3px;
text-align: left;
vertical-align: top;
@@ -189,9 +235,6 @@
background-repeat: no-repeat;
color: #fff;
background-color: #888;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: small;*/
padding: 5px;
margin-right: 2px;
margin-left: 2px;
@@ -204,74 +247,70 @@
background-color: #ddd;
background-image: url(content/tigris/images/sw_med_rond.gif);
color: #000;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
padding: 5px;
margin: .67em 2px;
margin-top: 0;
}
.portlet-tigris .portlet-section-text {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: small;*/
padding: 1em;
padding-bottom: .3em;
padding-left: 1em;
}
+/* font */
+.portlet-tigris .portlet-section-header,
+.portlet-tigris .portlet-section-body,
+.portlet-tigris .portlet-section-alternate,
+.portlet-tigris .portlet-section-selected,
+.portlet-tigris .portlet-section-subheader,
+.portlet-tigris .portlet-section-footer,
+.portlet-tigris .portlet-section-text,
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ font-size: x-small;
+}
+
+
/* --------------------------------- */
/* PLT.C.5 Forms */
/* --------------------------------- */
.portlet-tigris .portlet-form-label {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-form-input-field {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-form-button {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-icon-label {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-dlg-icon-label {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-form-field-label {
- font-family: Verdana, Helvetica, Arial, sans-serif;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-form-field {
+}
+
+/* font */
+.portlet-tigris .portlet-section-header,
+.portlet-tigris .portlet-section-body,
+.portlet-tigris .portlet-section-alternate,
+.portlet-tigris .portlet-section-selected,
+.portlet-tigris .portlet-section-subheader,
+.portlet-tigris .portlet-section-footer,
+.portlet-tigris .portlet-section-text,
+{
font-family: Verdana, Helvetica, Arial, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
- /*font-size: x-small;*/
+ font-size: x-small;
}
@@ -290,42 +329,27 @@
.portlet-tigris .portlet-menu-item {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: blue;
}
.portlet-tigris .portlet-menu-item-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
}
.portlet-tigris .portlet-menu-item-hover {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #f30 !important;
}
.portlet-tigris .portlet-menu-item-hover-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
font-weight: bold;
}
.portlet-tigris .portlet-menu-cascade-item {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
margin-top: .3em;
padding-bottom: 0;
color: blue;
@@ -333,17 +357,11 @@
.portlet-tigris .portlet-menu-cascade-item-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
font-weight: bold;
}
.portlet-tigris .portlet-menu-description {
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .portlet-menu-caption {
@@ -352,11 +370,26 @@
background: #ddd;
color: #555;
padding: 4px;
+}
+
+/* font */
+.portlet-tigris .portlet-menu,
+.portlet-tigris .portlet-menu-item,
+.portlet-tigris .portlet-menu-item-selected,
+.portlet-tigris .portlet-menu-item-hover,
+.portlet-tigris .portlet-menu-item-hover-selected,
+.portlet-tigris .portlet-menu-cascade-item,
+.portlet-tigris .portlet-menu-cascade-item-selected,
+.portlet-tigris .portlet-menu-description,
+.portlet-tigris .portlet-menu-caption
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
- /*font-size: x-small;*/
+ font-size: x-small;
}
+
/* --------------------------------- */
/* PLT.C.6 Menus (arrowfolder style) */
/* --------------------------------- */
@@ -372,9 +405,6 @@
.portlet-tigris .arrowfolder .portlet-menu-item {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: blue;
padding-left: 34px;
background-image: url(content/tigris/images/icon_arrowdoc_sml.gif);
@@ -384,9 +414,6 @@
.portlet-tigris .arrowfolder .portlet-menu-item-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
padding-left: 34px;
background-image: url(content/tigris/images/icon_arrowdoc_sml.gif);
@@ -395,9 +422,6 @@
.portlet-tigris .arrowfolder .portlet-menu-item-hover {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #f30 !important;
padding-left: 34px;
background-image: url(content/tigris/images/icon_arrowdoc_sml.gif);
@@ -406,9 +430,6 @@
.portlet-tigris .arrowfolder .portlet-menu-item-hover-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
font-weight: bold;
padding-left: 34px;
@@ -418,9 +439,6 @@
.portlet-tigris .arrowfolder .portlet-menu-cascade-item {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
margin-top: .3em;
padding-bottom: 0;
color: blue;
@@ -431,9 +449,6 @@
.portlet-tigris .arrowfolder .portlet-menu-cascade-item-selected {
text-decoration: none;
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
color: #555 !important;
font-weight: bold;
padding-left: 34px;
@@ -442,9 +457,6 @@
}
.portlet-tigris .arrowfolder .portlet-menu-description {
- voice-family: "\"}\"";
- voice-family: inherit;
- /*font-size: x-small;*/
}
.portlet-tigris .arrowfolder .portlet-menu-caption {
@@ -453,9 +465,21 @@
background: #ddd;
color: #555;
padding: 4px;
+}
+
+/* font */
+.portlet-tigris .arrowfolder .portlet-menu,
+.portlet-tigris .arrowfolder .portlet-menu-item,
+.portlet-tigris .arrowfolder .portlet-menu-item-selected,
+.portlet-tigris .arrowfolder .portlet-menu-item-hover,
+.portlet-tigris .arrowfolder .portlet-menu-item-hover-selected,
+.portlet-tigris .arrowfolder .portlet-menu-cascade-item,
+.portlet-tigris .arrowfolder .portlet-menu-cascade-item-selected,
+.portlet-tigris .arrowfolder .portlet-menu-description,
+.portlet-tigris .arrowfolder .portlet-menu-caption
+{
+ font-family: Verdana, Helvetica, Arial, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
- /*font-size: x-small;*/
+ font-size: x-small;
}
-
-
1.2 +1 -1
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm
Index: decorator.vm
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html/tigris/decorator.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- decorator.vm 29 Oct 2004 22:49:21 -0000 1.1
+++ decorator.vm 7 Nov 2004 22:28:35 -0000 1.2
@@ -36,7 +36,7 @@
<table border="0" cellpadding="0" cellspacing="0" width="100%"
<tr>
- <td align="left" valign="middle" >
+ <td align="left" valign="middle" class="PTitleContent">
$jetspeed.getTitle($myPE, $myF)
</td>
<td align="right" valign="middle" >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]