portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r602405 - /portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css
Date Sat, 08 Dec 2007 09:32:36 GMT
Author: smilek
Date: Sat Dec  8 01:32:35 2007
New Revision: 602405

URL: http://svn.apache.org/viewvc?rev=602405&view=rev
Log:
The following revision comments are from branches/JETSPEED-2.1.3 revisions which were not
individually checked-in to trunk
=== ---------------------------------------------------------------- ===
[ from branches/JETSPEED-2.1.3 r584864 ] | smilek | 2007-10-15 13:31:42 -0600 (Mon, 15 Oct
2007) | 1 line

added class selector .portletWindow-tigris to compensate for IE6 lack of support for chained
class selectors (i.e. cannot use '.tigris.portletWindow')
=== ---------------------------------------------------------------- ===
[ from branches/JETSPEED-2.1.3 r578917 ] | smilek | 2007-09-24 13:17:01 -0600 (Mon, 24 Sep
2007) | 1 line

desktop overhaul
=== ---------------------------------------------------------------- ===

Modified:
    portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css

Modified: portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css?rev=602405&r1=602404&r2=602405&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css
(original)
+++ portals/jetspeed-2/trunk/jetspeed-portal-resources/src/main/resources/webapp/decorations/portlet/tigris/css/desktop.css
Sat Dec  8 01:32:35 2007
@@ -1,86 +1,60 @@
-/*
+/*
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You 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  */
+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.
+*/
+
+/* since IE6 doesn't support chained class selectors, we create a separate class
+   for the combination of .portletWindow and the portlet decorator name
+   if not for IE6, the next selector would be: ".tigris.portletWindow" instead of ".portletWindow-tigris"
+*/
+.portletWindow-tigris {
+    margin: 2px !important;
+}
+
+.tigris .portletWindowClient {
+    margin: 2px !important;
+}
+
+.tigris .portletWindowTitleBar {
+    background: #98FB98;    /* palegreen */ 
+}
+
+.tigris .portletWindowTitleText {
+	color: #4682B4;  /* steelblue */
+}
+
+.tigris .portletWindowActionButton {
+	height: 11px;
+	width: 11px;
+}
+
+.tigris .portletWindowTitleBarIcon {
+    margin-top: 3px;
+    margin-left: 2px;
+    margin-right: 3px;   /* these margin settings are restated from desktop/widget/PortletWindow.css
- to override the .tigris img styles in this file */
+}
+
+
+/*  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  */



---------------------------------------------------------------------
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