portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r774389 - in /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css: PortalTabContainer.css desktop.css
Date Wed, 13 May 2009 14:56:53 GMT
Author: woonsan
Date: Wed May 13 14:56:53 2009
New Revision: 774389

URL: http://svn.apache.org/viewvc?rev=774389&view=rev
Log:
JS2-1003: Fixing the bug (DOJO Tab Menus are not displayed in a consistent look and feel.)
Some css classes were redundantly defined in desktop.css and PortalTabContainer.css. That's
why this happened.
I guess that the change was originally intended to customized the tab's look and feel without
using images.
However, currently with dojo tab, the only way to customized the look and feel is to change
the images. (/decorations/layout/jetspeed/images/desktop/tabs/tab_*.gif)

Modified:
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/PortalTabContainer.css
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/desktop.css

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/PortalTabContainer.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/PortalTabContainer.css?rev=774389&r1=774388&r2=774389&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/PortalTabContainer.css
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/PortalTabContainer.css
Wed May 13 14:56:53 2009
@@ -16,166 +16,166 @@
 */
 
 .layout-jetspeed .dojoTabContainer {
-	position : relative;
+    position : relative;
 }
 
 .layout-jetspeed .dojoTabPaneWrapper {
-	border : 1px solid #6290d2;
-	_zoom: 1; /* force IE6 layout mode so top border doesnt disappear */
-	display: block;
-	clear: both;
+    border : 1px solid #6290d2;
+    _zoom: 1; /* force IE6 layout mode so top border doesnt disappear */
+    display: block;
+    clear: both;
     overflow: hidden;
 }
 
 .layout-jetspeed .dojoTabLabels-top {
-	position : relative;
-	top : 0px;
-	left : 0px;
-	overflow : visible;
-	margin-bottom : -1px;
-	width : 100%;
-	z-index: 2;	/* so the bottom of the tab label will cover up the border of dojoTabPaneWrapper
*/
+    position : relative;
+    top : 0px;
+    left : 0px;
+    overflow : visible;
+    margin-bottom : -1px;
+    width : 100%;
+    z-index: 2; /* so the bottom of the tab label will cover up the border of dojoTabPaneWrapper
*/
 }
 
 .layout-jetspeed .dojoTabNoLayout.dojoTabLabels-top .dojoTab {
-	margin-bottom: -1px;
-	_margin-bottom: 0px; /* IE filter so top border lines up correctly */
+    margin-bottom: -1px;
+    _margin-bottom: 0px; /* IE filter so top border lines up correctly */
 }
 
 .layout-jetspeed .dojoTab {
-	position : relative;
-	float : left;
-	padding-left : 9px;
-/* 	background : url(../images/desktop/tabs/tab_left.gif) no-repeat left top; */
-	cursor: pointer;
-	white-space: nowrap;
-	z-index: 3;
-	color: white;
+    position : relative;
+    float : left;
+    padding-left : 9px;
+    background : url(../images/desktop/tabs/tab_left.gif) no-repeat left top;
+    cursor: pointer;
+    white-space: nowrap;
+    z-index: 3;
+    color: white;
 }
 
 .layout-jetspeed .dojoTab div {
-	display : block;
-	padding : 4px 15px 4px 6px;
-/* background : url(../images/desktop/tabs/tab_top_right.gif) no-repeat right top; */
-	color : #333;
-	font-size : x-small;
+    display : block;
+    padding : 4px 15px 4px 6px;
+    background : url(../images/desktop/tabs/tab_top_right.gif) no-repeat right top;
+    color : #333;
+    font-size : x-small;
     font-weight: bold;
 }
 
 .layout-jetspeed .dojoTab .close {
-	display : inline-block;
-	height : 12px;
-	width : 12px;
-	padding : 0 12px 0 0;
-	margin : 0 -10px 0 10px;
-	cursor : default;
-	font-size: small;
+    display : inline-block;
+    height : 12px;
+    width : 12px;
+    padding : 0 12px 0 0;
+    margin : 0 -10px 0 10px;
+    cursor : default;
+    font-size: small;
 }
 
 .layout-jetspeed .dojoTab .closeImage {
-	background : url(../images/desktop/tabs/tab_close.gif) no-repeat right top;
+    background : url(../images/desktop/tabs/tab_close.gif) no-repeat right top;
 }
 
 .layout-jetspeed .dojoTab .closeHover {
-	background-image : url(../images/desktop/tabs/tab_close_h.gif);
+    background-image : url(../images/desktop/tabs/tab_close_h.gif);
 }
 
 .layout-jetspeed .dojoTab.current {
-	padding-bottom : 1px;
-	border-bottom : 0;
-	background-position : 0 -150px;
+    padding-bottom : 1px;
+    border-bottom : 0;
+    background-position : 0 -150px;
 }
 
 .layout-jetspeed .dojoTab.current div {
-	padding-bottom : 5px;
-	margin-bottom : -1px;
-	background-position : 100% -150px;
+    padding-bottom : 5px;
+    margin-bottom : -1px;
+    background-position : 100% -150px;
 }
 
 /* bottom tabs */
 
 .layout-jetspeed .dojoTabLabels-bottom {
-	position : relative;
-	bottom : 0px;
-	left : 0px;
-	overflow : visible;
-	margin-top : -1px;
-	width : 100%;
-	z-index: 2;
+    position : relative;
+    bottom : 0px;
+    left : 0px;
+    overflow : visible;
+    margin-top : -1px;
+    width : 100%;
+    z-index: 2;
 }
 
 .layout-jetspeed .dojoTabNoLayout.dojoTabLabels-bottom {
-	position : relative;
+    position : relative;
 }
 
 .layout-jetspeed .dojoTabLabels-bottom .dojoTab {
-	border-top :  1px solid #6290d2;
-	border-bottom : 0;
-	background : url(../images/desktop/tabs/tab_bot_left.gif) no-repeat left bottom;
+    border-top :  1px solid #6290d2;
+    border-bottom : 0;
+    background : url(../images/desktop/tabs/tab_bot_left.gif) no-repeat left bottom;
 }
 
 .layout-jetspeed .dojoTabLabels-bottom .dojoTab div {
-	background : url(../images/desktop/tabs/tab_bot_right.gif) no-repeat right bottom;
+    background : url(../images/desktop/tabs/tab_bot_right.gif) no-repeat right bottom;
 }
 
 .layout-jetspeed .dojoTabLabels-bottom .dojoTab.current {
-	border-top : 0;
-	background : url(../images/desktop/tabs/tab_bot_left_curr.gif) no-repeat left bottom;
+    border-top : 0;
+    background : url(../images/desktop/tabs/tab_bot_left_curr.gif) no-repeat left bottom;
 }
 
 .layout-jetspeed .dojoTabLabels-bottom .dojoTab.current div {
-	padding-top : 4px;
-	background : url(../images/desktop/tabs/tab_bot_right_curr.gif) no-repeat right bottom;
+    padding-top : 4px;
+    background : url(../images/desktop/tabs/tab_bot_right_curr.gif) no-repeat right bottom;
 }
 
 /* right-h tabs */
 
 .layout-jetspeed .dojoTabLabels-right-h {
-	overflow : visible;
-	margin-left : -1px;
-	z-index: 2;
+    overflow : visible;
+    margin-left : -1px;
+    z-index: 2;
 }
 
 .layout-jetspeed .dojoTabLabels-right-h .dojoTab {
-	padding-left : 0;
-	border-left :  1px solid #6290d2;
-	border-bottom : 0;
-	background : url(../images/desktop/tabs/tab_bot_right.gif) no-repeat right bottom;
-	float : none;
+    padding-left : 0;
+    border-left :  1px solid #6290d2;
+    border-bottom : 0;
+    background : url(../images/desktop/tabs/tab_bot_right.gif) no-repeat right bottom;
+    float : none;
 }
 
 .layout-jetspeed .dojoTabLabels-right-h .dojoTab div {
-	padding : 4px 15px 4px 15px;
+    padding : 4px 15px 4px 15px;
 }
 
 .layout-jetspeed .dojoTabLabels-right-h .dojoTab.current {
-	border-left :  0;
-	border-bottom :  1px solid #6290d2;
+    border-left :  0;
+    border-bottom :  1px solid #6290d2;
 }
 
 /* left-h tabs */
 
 .layout-jetspeed .dojoTabLabels-left-h {
-	overflow : visible;
-	margin-right : -1px;
-	z-index: 2;
+    overflow : visible;
+    margin-right : -1px;
+    z-index: 2;
 }
 
 .layout-jetspeed .dojoTabLabels-left-h .dojoTab {
-	border-right :  1px solid #6290d2;
-	border-bottom : 0;
-	float : none;
-	background : url(../images/desktop/tabs/tab_top_left.gif) no-repeat left top;
+    border-right :  1px solid #6290d2;
+    border-bottom : 0;
+    float : none;
+    background : url(../images/desktop/tabs/tab_top_left.gif) no-repeat left top;
 }
 
 .layout-jetspeed .dojoTabLabels-left-h .dojoTab.current {
-	border-right : 0;
-	border-bottom :  1px solid #6290d2;
-	padding-bottom : 0;
-	background : url(../images/desktop/tabs/tab_top_left.gif) no-repeat 0 -150px;
+    border-right : 0;
+    border-bottom :  1px solid #6290d2;
+    padding-bottom : 0;
+    background : url(../images/desktop/tabs/tab_top_left.gif) no-repeat 0 -150px;
 }
 
 .layout-jetspeed .dojoTabLabels-left-h .dojoTab div {
-	background : 0;
-	border-bottom :  1px solid #6290d2;
+    background : 0;
+    border-bottom :  1px solid #6290d2;
 }

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/desktop.css
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/desktop.css?rev=774389&r1=774388&r2=774389&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/desktop.css
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/layout/jetspeed/css/desktop.css
Wed May 13 14:56:53 2009
@@ -17,17 +17,11 @@
 
 /*  begin jetspeed desktop settings  */
 
-.layout-jetspeed .dojoTab div{
-color: white;
-}
-
 .layout-jetspeed #jetspeedPageControls {
     float: right;
     width: 100px;
 }
 
-.layout-jetspeed #jetspeed-menu-pages{position: relative; bottom: 0px; left: 0px;}
-
 .layout-jetspeed #portalBreadcrumbList {
     float: left;
     margin-left: 6px;
@@ -39,20 +33,21 @@
     width: 11px;
 }
 
-
 /*  end jetspeed desktop settings  */
 
 
-/*  begin layout decorator tigris additions  */
+/*  begin layout decorator jetspeed additions  */
 
 .layout-jetspeed #breadcrumbs {
     height: 20px;
+    width: auto;
+    
     voice-family: "\"}\"";
     voice-family: inherit;
+    
     padding: 3px;
     padding-left: 10px;
     padding-top: 8px;
-    width: auto;
 }
 .layout-jetspeed #breadcrumbs a{
 color:#666666;
@@ -60,11 +55,9 @@
 text-decoration:underline;
 }
 
-.layout-jetspeed .dojoAccordionPane .label{border: none}
-/*  end layout decorator tigris additions  */
+/*  end layout decorator jetspeed additions  */
 
-
-/*  begin layout decorator tigris embellishments  */
+/*  begin layout decorator jetspeed embellishments  */
 
 .layout-jetspeed #main {
     clear: both;
@@ -117,15 +110,3 @@
 .js-showloading-imgcontainer {
     padding-top: 4px;
 }
-
-.layout-jetspeed .jetspeed-menu-pages{margin-top: 25px;}
-
-body .layout-jetspeed .dojoTab div{color: white;
-font-size: inherit; font-weight: normal;
-padding-top: 7px;
-padding-bottom: 7px;
-}
-
-body .layout-jetspeed .dojoTabPaneWrapper {
-border: none;
-}



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