portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r510246 - in /portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris: ./ css/ images/desktop/ templates/
Date Wed, 21 Feb 2007 21:43:35 GMT
Author: smilek
Date: Wed Feb 21 13:43:33 2007
New Revision: 510246

URL: http://svn.apache.org/viewvc?view=rev&rev=510246
Log:
added support for jetspeed desktop to tigris portlet decoration (moved files from tigris windowtheme)

Added:
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/PortletDefContainer.css
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/desktop.css
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/portal.css
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/decoratordesktop.properties
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/close.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/customize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/edit.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/help.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/maximized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/menu.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/minimized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/normal.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/print.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/removeportlet.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/resizeHandle.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/view.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainer.html
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainerItemTemplate.html
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/tigris.js
Modified:
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/styles.css

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/PortletDefContainer.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/PortletDefContainer.css?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/PortletDefContainer.css
(added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/PortletDefContainer.css
Wed Feb 21 13:43:33 2007
@@ -0,0 +1,124 @@
+/*
+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.
+*/
+
+.portletSelectorFloatingPane {
+	/* essential css */
+	position: relative;
+	overflow: hidden;		/* dojo says 'visible' with this explanation "so drop shadow is displayed""
*/
+                            /* we says 'hidden' cause IE likes to kindly expand div to fit
content otherwise */
+	z-index: 5;
+	-moz-box-sizing: border-box;
+	-khtml-box-sizing: border-box;
+	
+	/* styling css */
+	border: 1px solid;
+	border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
+	background-color: ThreeDFace;
+
+    width: 100%;
+}
+
+.portletSelectorTitleBar {
+	/* essential css */
+	z-index: 2;
+
+	/* styling css */
+	vertical-align: middle;
+	font: small-caption;
+	cursor: default;
+    line-height: 1.4em;
+
+    background: #98FB98;    /* palegreen */ 
+	color: #4682B4;  /* steelblue */
+
+    height: 22px;
+}
+
+.portletSelectorTitleBarIcon {
+    /* essential css */
+    float: left;
+
+    /* styling css */
+    margin-top: 3px;
+    margin-left: 2px;
+    margin-right: 3px;
+    height: 16px;
+	width: 16px;
+    /* height: 22px; */
+    /* vertical-align: middle; */
+}
+
+.portletSelectorTitleText {
+    padding: 2px 4px 2px 2px;
+    float: left;
+    color: #4682B4;  /* steelblue */
+}
+
+.portletSelectorTitleBarMinimizeIcon {
+	background-image: url(../images/desktop/minimize.gif);
+}
+.portletSelectorTitleBarMaximizeIcon {
+	background-image: url(../images/desktop/maximize.gif);
+}
+.portletSelectorTitleBarRestoreIcon {
+	background-image: url(../images/desktop/restore.gif);
+}
+.portletSelectorTitleBarCloseIcon {
+	background-image: url(../images/desktop/close.gif);
+}
+
+.portletSelectorTitleBarControlIcon {
+	vertical-align: middle;
+	height: 22px;
+	width: 22px;
+	float: right;
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+
+.portletSelectorFloatingPaneClient {
+	position: relative;
+	z-index: 10;
+	border: 1px solid;
+	border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow;
+	margin: 2px;
+	background-color: ThreeDFace;
+	padding: 8px;
+	font-family: Verdana, Helvetica, Garamond, sans-serif;
+	font-size: 12px;
+	overflow: auto;
+}
+
+/* height for resize bar is specified in var resizeBarHeight */
+.portletSelectorFloatingPaneResizebar {
+	z-index: 10;
+	background-color: ThreeDFace;
+    
+    height: 13px;
+}
+.portletSelectorResizeHandle {
+	float: right;
+	position: absolute;
+	right: 2px;
+	bottom: 2px;
+	width: 13px;
+	height: 13px;
+	z-index: 20;
+	cursor: nw-resize;
+	background-image: url(../images/desktop/resizeHandle.gif);
+    background-repeat: no-repeat;
+	line-height: 0px;
+}

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/desktop.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/desktop.css?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/desktop.css (added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/desktop.css Wed Feb
21 13:43:33 2007
@@ -0,0 +1,85 @@
+/*
+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.
+*/
+
+
+
+/*  begin dojo styles  */
+
+.tigris .dojoFloatingPaneTitleBar {
+    background: #98FB98;    /* palegreen */ 
+}
+
+.tigris .dojoFloatingPaneTitleText {
+	color: #4682B4;  /* steelblue */
+}
+
+.tigris .portletWindowActionButton {
+	height: 11px;
+	width: 11px;
+}
+
+/* minimize/maximize icons are specified by CSS only */
+.tigris .dojoFloatingPaneMinimizeIcon,
+.tigris .dojoFloatingPaneMaximizeIcon,
+.tigris .dojoFloatingPaneRestoreIcon,
+.tigris .dojoFloatingPaneCloseIcon {
+	vertical-align: middle;
+	height: 22px;
+	width: 22px;
+	float: right;
+}
+.tigris .dojoFloatingPaneMinimizeIcon {
+	background-image: url(../images/desktop/minimize.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.tigris .dojoFloatingPaneMaximizeIcon {
+    background-image: url(../images/desktop/maximize.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.tigris .dojoFloatingPaneRestoreIcon {
+    background-image: url(../images/desktop/restore.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.tigris .dojoFloatingPaneCloseIcon {
+	background-image: url(../images/desktop/close.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+
+.tigris .dojoFloatingPaneTitleBarIcon {
+    margin-top: 3px;
+    margin-left: 2px;
+    margin-right: 3px;   /* these margin settings are restated from desktop/widget/HtmlFloatingPane.css
- to override the .tigris img styles in this file */
+}
+
+/*  end dojo styles  */
+
+
+
+/*  begin portlet decorator tigris additions  */
+
+.tigris .PContent
+{    
+    padding-left: 10px; /* was 1em;  - dojo dies when calculating width of object - can't
convert to pixels */
+    white-space: normal;
+    /* background-color: #EFEFEF; */ /* desktop color should not be set here */
+    font-size: small;
+}
+
+/*  end portlet decorator tigris additions  */

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/portal.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/portal.css?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/portal.css (added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/portal.css Wed Feb
21 13:43:33 2007
@@ -0,0 +1,37 @@
+/*
+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.
+*/
+
+
+/*  begin portlet decorator tigris additions  */
+
+.tigris .PContentBorder
+{    
+    border-right: 1px solid #AAAAAA;
+    border-bottom: 1px solid #AAAAAA;
+}
+
+.tigris .PContent
+{    
+    padding-left: 1em;
+    white-space: normal;
+    background-color: #EFEFEF;
+    font-size: small;
+}
+
+/*  end portlet decorator tigris additions  */
+
+
+

Modified: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/styles.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/styles.css?view=diff&rev=510246&r1=510245&r2=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/styles.css (original)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/css/styles.css Wed Feb
21 13:43:33 2007
@@ -60,20 +60,9 @@
 {
 }
 
-.tigris .PContentBorder
-{    
-    border-right: 1px solid #AAAAAA;
-    border-bottom: 1px solid #AAAAAA;
-}
-
-.tigris .PContent
-{    
-    padding-left: 1em;
-    white-space: normal;
-    background-color: #EFEFEF;
-    font-size: small;
-}
+/* .tigris .PContentBorder located in portal.css and omitted from desktop.css */
 
+/* .tigris .PContent located in portal.css and desktop.css */
 
 
 .tigris .PContentRight

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/decoratordesktop.properties
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/decoratordesktop.properties?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/decoratordesktop.properties
(added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/decoratordesktop.properties
Wed Feb 21 13:43:33 2007
@@ -0,0 +1,14 @@
+# 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.
+

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/close.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/close.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/close.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/customize.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/customize.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/customize.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/edit.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/edit.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/edit.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/help.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/help.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/help.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/maximized.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/maximized.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/maximized.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/menu.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/menu.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/menu.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/minimized.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/minimized.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/minimized.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/normal.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/normal.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/normal.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/print.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/print.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/print.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/removeportlet.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/removeportlet.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/removeportlet.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/resizeHandle.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/resizeHandle.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/resizeHandle.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/view.gif
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/view.gif?view=auto&rev=510246
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/images/desktop/view.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainer.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainer.html?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainer.html
(added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainer.html
Wed Feb 21 13:43:33 2007
@@ -0,0 +1,4 @@
+<div id="${this.widgetId}" class="portletDefContainer">
+    Drag Portlet Definitions
+	<div id="${this.widgetId}_container" dojoAttachPoint="containerNode" class="portletDefContainerClient"></div>
+</div>

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainerItemTemplate.html
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainerItemTemplate.html?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainerItemTemplate.html
(added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/templates/PortletDefContainerItemTemplate.html
Wed Feb 21 13:43:33 2007
@@ -0,0 +1,14 @@
+<div class="portletSelectorFloatingPane">
+  <div class="portletSelectorTitleBar">
+    <img class="portletSelectorTitleBarIcon" dojoAttachPoint="itemIcon">
+    <div class="portletSelectorTitleText" dojoAttachPoint="itemText"></div>
+    <div class="portletSelectorTitleBarControlIcon portletSelectorTitleBarCloseIcon" ></div>
+    <div class="portletSelectorTitleBarControlIcon portletSelectorTitleBarMaximizeIcon"
></div>
+    <div class="portletSelectorTitleBarControlIcon portletSelectorTitleBarMinimizeIcon"
></div>
+  </div>
+  <div class="portletSelectorFloatingPaneClient">
+  </div>
+  <div class="portletSelectorFloatingPaneResizebar">
+    <div class="portletSelectorResizeHandle"></div>
+  </div>
+</div>

Added: portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/tigris.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/tigris.js?view=auto&rev=510246
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/tigris.js (added)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/portlet/tigris/tigris.js Wed Feb 21 13:43:33
2007
@@ -0,0 +1,2 @@
+({
+})



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message