Author: thuy.nguyen
Date: 2009-11-11 02:45:34 -0500 (Wed, 11 Nov 2009)
New Revision: 560
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UITabSystem/UITabs/Stylesheet.css
Log:
GTNPORTAL-89: Some improvements when add new tab in Dashboard page
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css 2009-11-11
07:42:29 UTC (rev 559)
+++
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css 2009-11-11
07:45:34 UTC (rev 560)
@@ -17,7 +17,6 @@
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-<<<<<<< .mine
.UIWindow .UIDashboardPortlet {
margin: 0px;
}
@@ -36,7 +35,6 @@
.UIDashboard {
height: 100%;
- background: url('background/BgRepeat.gif') repeat-y left bottom;
}
.UIDashboard .DashboardContainer {
@@ -65,31 +63,32 @@
}
.UITabPaneDashboard .LtTabDashboard {
- background: url('background/NavUser.gif') no-repeat left top;
+ background: #ffcf01 url('background/NavUser.gif') no-repeat left top;
padding-left: 3px;
- height: 32px;
}
.UITabPaneDashboard .RtTabDashboard {
- background: url('background/NavUser.gif') no-repeat right top;
+ background: #ffcf01 url('background/NavUser.gif') no-repeat right top;
padding-right: 3px;
- height: 32px;
}
.UITabPaneDashboard .CtTabDashboard {
- height: 32px;
- background: url('background/NavUser.gif') repeat-x center bottom;
+ background: #ffcf01 url('background/NavUser.gif') repeat-x center -32px;
padding: 0px 6px;
}
.UITabPaneDashboard .UIHorizontalTabs {
- padding-top: 10px;
+ padding: 5px 0 8px;
}
.UITabPaneDashboard .UIHorizontalTabs .TabsContainer {
- height: 25px;
+ height: auto;
}
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle {
+ padding: 4px 2px 0 0;
+}
+
.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .MiddleTab,
.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .MiddleTab {
padding: 0px;
@@ -111,6 +110,7 @@
width: 34px; height: 22px;
float: left;
cursor: pointer;
+ margin-top: 4px;
}
.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .LeftTab {
@@ -366,8 +366,9 @@
.UIDashboardContainer .GadgetContainer {
overflow: auto;
- min-height: 400px;
- _height: 400px;
+ height: 100%;
+ min-height: 400px;
+ _height: 400px;
}
/**html .UIDashboardContainer .GadgetContainer {
@@ -514,30 +515,30 @@
#UIAddGadgetPopup .PopupTitle {
margin-left: 22px;
}
-/*----------------------UIDashboardMask-------------------*/
+/*----------------------Maximized-------------------*/
-.UIDashboardMask .UIGadget {
+.Maximized .UIGadget {
padding: 5px;
margin: 0px;
}
-.UIDashboardMask .UIGadget .GadgetControl {
+.Maximized .UIGadget .GadgetControl {
float: none;
padding: 0px;
height: auto; width: auto;
}
-.UIDashboardMask .UIGadget .GadgetControl .LeftControlBar {
+.Maximized .UIGadget .GadgetControl .LeftControlBar {
background: none;
padding: 0px;
}
-.UIDashboardMask .UIGadget .GadgetControl .RightControlBar {
+.Maximized .UIGadget .GadgetControl .RightControlBar {
background: none;
padding: 0px;
}
-.UIDashboardMask .UIGadget .GadgetControl .CenterControlBar {
+.Maximized .UIGadget .GadgetControl .CenterControlBar {
background: url('background/BgTitleGadget.gif') repeat-x left top;
height: 23px;
line-height: 23px;
@@ -546,31 +547,31 @@
border-top: none;
}
-.UIDashboardMask .UIGadget .GadgetControl .GadgetDragHandleArea {
+.Maximized .UIGadget .GadgetControl .GadgetDragHandleArea {
display: none;
}
-.UIDashboardMask .UIGadget .TLGadget {
+.Maximized .UIGadget .TLGadget {
display: none;
}
-.UIDashboardMask .UIGadget .MLGadget {
+.Maximized .UIGadget .MLGadget {
background: #f2f2f3;
border: 1px solid #c3c3c3;
border-top: none;
padding: 3px;
}
-.UIDashboardMask .UIGadget .MRGadget {
+.Maximized .UIGadget .MRGadget {
background: white;
padding: 0 0 1px;
}
-.UIDashboardMask .UIGadget .BLGadget {
+.Maximized .UIGadget .BLGadget {
display: none;
}
-.UIDashboardMask .GadgetTitle {
+.Maximized .GadgetTitle {
float: left; /* orientation=lt */
float: right; /* orientation=rt */
padding: 0px 5px;
@@ -581,6 +582,6 @@
white-space: nowrap;
}
-.UIDashboardMask iframe {
+.Maximized iframe {
width: 100%;
}
\ No newline at end of file
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UITabSystem/UITabs/Stylesheet.css
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UITabSystem/UITabs/Stylesheet.css 2009-11-11
07:42:29 UTC (rev 559)
+++
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UITabSystem/UITabs/Stylesheet.css 2009-11-11
07:45:34 UTC (rev 560)
@@ -308,8 +308,8 @@
/***************************** GrayTabStyle ************************/
.UIHorizontalTabs .GrayTabStyle {
- margin: 4px 2px 0 0; /* orientation=lt */
- margin: 4px 0 0 2px; /* orientation=rt */
+ margin-right: 2px; /* orientation=lt */
+ margin-left: 2px; /* orientation=rt */
}
.UIHorizontalTabs .GrayTabStyle .NormalTab .LeftTab {