You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2009/10/23 00:38:57 UTC
svn commit: r828882 - in /ofbiz/trunk:
framework/common/widget/CommonScreens.xml
themes/bizznesstime/webapp/bizznesstime/css/style.css
themes/bluelight/webapp/bluelight/style.css
themes/flatgrey/webapp/flatgrey/maincss.css
Author: adrianc
Date: Thu Oct 22 22:38:57 2009
New Revision: 828882
URL: http://svn.apache.org/viewvc?rev=828882&view=rev
Log:
Added a new CSS class "page-title" intended to be used for the page title in the main content area of the page. Patch provided by Bruno Busco, https://issues.apache.org/jira/browse/OFBIZ-3044 with a minor modification by me.
Modified:
ofbiz/trunk/framework/common/widget/CommonScreens.xml
ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css
ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
Modified: ofbiz/trunk/framework/common/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/CommonScreens.xml?rev=828882&r1=828881&r2=828882&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/CommonScreens.xml Thu Oct 22 22:38:57 2009
@@ -421,10 +421,10 @@
<if-empty field="titleProperty"/>
</condition>
<widgets>
- <label style="h1" text="${title}"></label>
+ <container style="page-title"><label text="${title}"></label></container>
</widgets>
<fail-widgets>
- <label style="h1" text="${uiLabelMap[titleProperty]}"/>
+ <container style="page-title"><label text="${uiLabelMap[titleProperty]}"/></container>
</fail-widgets>
</section>
<decorator-section-include name="menu-bar"/>
Modified: ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css?rev=828882&r1=828881&r2=828882&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css Thu Oct 22 22:38:57 2009
@@ -1213,6 +1213,15 @@
text-align: right;
}
+.page-title {
+ color:#333333;
+ font-size:2em;
+ font-weight:700;
+ clear:both;
+ display:inline-block;
+ margin:5px 0 10px;
+}
+
/***********************************************
Screens (legacy style)
***********************************************/
Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css?rev=828882&r1=828881&r2=828882&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css Thu Oct 22 22:38:57 2009
@@ -660,6 +660,10 @@
background-color: #000000;
}
+.page-title {
+display: none;
+}
+
DIV.row {
background-color: #B4B0AA;
margin: 0 auto 0 auto;
@@ -813,11 +817,6 @@
margin-bottom: 2em;
}
-#content-main-section h1,
-#content-main-section .h1 {
-display: none;
-}
-
/* ===== New Styles ===== */
/* ================================ */
/* ===== Used to clear floats ===== */
Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css?rev=828882&r1=828881&r2=828882&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Thu Oct 22 22:38:57 2009
@@ -666,6 +666,13 @@
width: 100%;
}
+.page-title {
+color:#000099;
+margin-bottom:0.5em;
+font-size:1.6em;
+font-weight:bold;
+}
+
DIV.row {
background-color: #B4B0AA;
margin: 0 auto 0 auto;