Author: smilek
Date: Wed Feb 21 13:44:50 2007
New Revision: 510247

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

Added:
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/blueocean.js
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/PortletDefContainer.css
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/desktop.css
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/portal.css
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/decoratordesktop.properties
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/close.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/maximized.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/menu.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/minimized.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/normal.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/refresh.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/removeportlet.gif
   (with props)
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/resizeHandle.gif
   (with props)
    portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainer.html
    
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainerItemTemplate.html

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/blueocean.js
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/blueocean.js?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/blueocean.js 
(added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/blueocean.js 
Wed Feb 21 13:44:50 2007
@@ -0,0 +1,4 @@
+({
+    windowActionNoImage: [ "tile", "untile", "heightexpand", "heightnormal", 
"edit", "view", "print", "help" ],
+    windowActionButtonHide: true
+})

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/PortletDefContainer.css
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/PortletDefContainer.css?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/PortletDefContainer.css
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/PortletDefContainer.css
 Wed Feb 21 13:44:50 2007
@@ -0,0 +1,58 @@
+/*
+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.
+*/
+
+.portletDefItemTable {
+    /*display: inline; */
+    padding: 0px;
+    margin: 0px 2px 6px 2px;
+    overflow: hidden;
+    width: 100%;
+    /*border-spacing: 0;*/  /* could get rid of cellspacing attribute if IE 
would support CSS2 better */
+}
+.portletDefItem {
+    background-image: url(../images/desktopmore/blue-metalic-28.jpg);
+    background-repeat: no-repeat;
+       height: 28px;
+    width: 100%;
+    overflow: hidden;
+    /*padding-right: 8px; */
+    cursor: pointer;
+}
+.portletDefItemEndCap {
+    background-image: url(../images/desktopmore/blue-metalic-endcap-28.jpg);
+    background-repeat: no-repeat;
+    height: 28px;
+       width: 4px;
+}
+
+.portletDefItemIcon {
+       vertical-align: top;
+       margin-right: 5px;
+       margin-left: 5px;
+    margin-top: 2px;
+    padding-top: 0px;
+       height: 16px;
+       width: 16px;
+}
+
+.portletDefItemText {
+       color: black;
+       text-decoration: none;
+    font-size: 9pt;
+    overflow: hidden;
+    white-space: nowrap;
+    text-overflow: ellipsis;
+}

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/desktop.css
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/desktop.css?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/desktop.css
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/desktop.css
 Wed Feb 21 13:44:50 2007
@@ -0,0 +1,74 @@
+/*
+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  */
+
+.blueocean .dojoFloatingPaneTitleBar {
+    /* background: #B0C4DE; */  /* lightsteelblue */
+    background: url(../images/desktopmore/stripe_blue_m4.gif);
+}
+
+.blueocean .dojoFloatingPaneTitleText {
+       color: #ffffff;
+}
+
+.blueocean .portletWindowActionButton {
+       height: 15px;
+       width: 15px;
+    margin-top: 4px;
+}
+
+/* minimize/maximize icons are specified by CSS only */
+.blueocean .dojoFloatingPaneMinimizeIcon,
+.blueocean .dojoFloatingPaneMaximizeIcon,
+.blueocean .dojoFloatingPaneRestoreIcon,
+.blueocean .dojoFloatingPaneCloseIcon {
+       vertical-align: middle;
+       height: 22px;
+       width: 22px;
+       float: right;
+}
+.blueocean .dojoFloatingPaneMinimizeIcon {
+       background-image: url(../images/desktop/minimize.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.blueocean .dojoFloatingPaneMaximizeIcon {
+    background-image: url(../images/desktop/maximize.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.blueocean .dojoFloatingPaneRestoreIcon {
+    background-image: url(../images/desktop/restore.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.blueocean .dojoFloatingPaneCloseIcon {
+       background-image: url(../images/desktop/close.gif);
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+
+.blueocean .dojoFloatingPaneTitleBarIcon {
+    margin-top: 3px;
+    margin-left: 2px;
+    margin-right: 3px;
+}
+
+
+/*  end dojo styles  */

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/portal.css
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/css/portal.css?view=auto&rev=510247
==============================================================================
    (empty)

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/decoratordesktop.properties
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/decoratordesktop.properties?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/decoratordesktop.properties
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/decoratordesktop.properties
 Wed Feb 21 13:44:50 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/blueocean/images/desktop/close.gif
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/images/desktop/close.gif?view=auto&rev=510247
==============================================================================
Binary file - no diff available.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added: 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainer.html
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainer.html?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainer.html
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainer.html
 Wed Feb 21 13:44:50 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/blueocean/templates/PortletDefContainerItemTemplate.html
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainerItemTemplate.html?view=auto&rev=510247
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainerItemTemplate.html
 (added)
+++ 
portals/jetspeed-2/trunk/src/webapp/decorations/portlet/blueocean/templates/PortletDefContainerItemTemplate.html
 Wed Feb 21 13:44:50 2007
@@ -0,0 +1 @@
+<table class="portletDefItemTable" cellspacing="0"><tr 
dojoAttachEvent="onClick"><td class="portletDefItem"><span 
class="portletDefItemText"><img dojoAttachPoint="itemIcon" 
class="portletDefItemIcon"><span 
dojoAttachPoint="itemText"></span></span></td><td 
class="portletDefItemEndCap"></td></tr></table>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to