Author: pranayp
Date: Mon Jun 13 09:13:14 2016
New Revision: 1748145
URL: http://svn.apache.org/viewvc?rev=1748145&view=rev
Log:
[OFBIZ-7268] Improved the styling for the anchor links inside the 'button-bar'
to fix styling for CommonButtonBarMenu. Reverted the changes committed under
OFBIZ-7006, since these UI improvements fix that issue as well by extending
CommonButtonBarMenu.
Thanks Swapnil M Mane for the contribution.
Modified:
ofbiz/trunk/framework/webtools/widget/Menus.xml
ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css
ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/maincss.css
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-amber.less
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-emerald.less
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-ruby.less
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-saphir.less
ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css
Modified: ofbiz/trunk/framework/webtools/widget/Menus.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/Menus.xml?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/widget/Menus.xml (original)
+++ ofbiz/trunk/framework/webtools/widget/Menus.xml Mon Jun 13 09:13:14 2016
@@ -277,7 +277,7 @@ under the License.
</menu-item>
</menu>
- <menu name="FindCache" extends="CommonTabBarMenu"
extends-resource="component://common/widget/CommonMenus.xml">
+ <menu name="FindCache" extends="CommonButtonBarMenu"
extends-resource="component://common/widget/CommonMenus.xml">
<menu-item name="refresh" title="${uiLabelMap.CommonRefresh}"
widget-style="buttontext refresh">
<link target="FindUtilCache"/>
</menu-item>
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=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css (original)
+++ ofbiz/trunk/themes/bizznesstime/webapp/bizznesstime/css/style.css Mon Jun
13 09:13:14 2016
@@ -977,7 +977,7 @@ a.buttontext,.buttontextdisabled {
/*white-space: nowrap;*/
}
-a.buttontext {
+a.buttontext, .button-bar li.buttontext a {
background:url(../images/btn-bg.gif) center left repeat-x;
border:2px solid #ddd;
color:#444444;
Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css Mon Jun 13 09:13:14
2016
@@ -309,7 +309,7 @@ A.browsecategorybutton {
font-weight: bold;
}
-A.buttontext,.buttontextdisabled {
+A.buttontext,.buttontextdisabled, .button-bar li.buttontext a {
background-color: #ffffff;
border: #999999 solid 0.1em;
font-weight: bold;
@@ -319,11 +319,11 @@ A.buttontext,.buttontextdisabled {
/*white-space: nowrap;*/
}
-A.buttontext {
+A.buttontext, .button-bar li.buttontext a {
color: #000099;
}
-A.buttontext:hover {
+A.buttontext:hover, .button-bar li.buttontext a:hover {
color: #ff0000;
}
Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
(original)
+++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css Mon
Jun 13 09:13:14 2016
@@ -314,7 +314,7 @@ color: #333333;
font-weight: bold;
}
-A.buttontext,.buttontextdisabled {
+A.buttontext,.buttontextdisabled, .button-bar li.buttontext a {
background-color: #ffffff;
border: #999999 solid 0.1em;
font-weight: bold;
@@ -324,11 +324,11 @@ padding: 0.1em 0.4em 0.1em 0.4em;
/*white-space: nowrap;*/
}
-A.buttontext {
+A.buttontext, .button-bar li.buttontext a {
color: #000099;
}
-A.buttontext:hover {
+A.buttontext:hover, .button-bar li.buttontext a:hover {
color: #ff0000;
}
Modified: ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css (original)
+++ ofbiz/trunk/themes/flatgrey/webapp/flatgrey/maincss.css Mon Jun 13 09:13:14
2016
@@ -695,6 +695,7 @@ display: inline; /* IE Fix */
.button-bar ul li ul li {
float: left;
font-weight: bold;
+margin-right: 0.5em;
}
.button-bar ul .opposed {
@@ -1463,11 +1464,12 @@ textarea {
vertical-align: middle;
}
+.button-bar li.buttontext a,
a.buttontext,
a.buttontextbig,
.smallSubmit,
.smallSubmit:hover,
-.mediumSubmit,
+.mediumSubmit,
.largeSubmit,
.loginButton,
.button-style-1 a,
Modified: ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/maincss.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/maincss.css?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/maincss.css (original)
+++ ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/maincss.css Mon Jun 13
09:13:14 2016
@@ -562,6 +562,7 @@ text-decoration: underline;
.button-bar ul li ul li {
float: left;
font-weight: bold;
+ margin-right: 0.5em;
}
.button-bar ul .opposed {
@@ -1878,4 +1879,4 @@ html>/**/body .jstree-default a {
float :right;
}
-/*end addon modification generic-portlet*/
\ No newline at end of file
+/*end addon modification generic-portlet*/
Modified:
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-amber.less
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-amber.less?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-amber.less
(original)
+++ ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-amber.less
Mon Jun 13 09:13:14 2016
@@ -1911,6 +1911,7 @@ ul.paginate-pg-list li:hover{
/* Button Style */
/* ---------------------- */
+.button-bar li.buttontext a,
a.buttontext,
a.buttontextbig,
.smallSubmit,
@@ -1993,4 +1994,4 @@ input[type="button"] {
#footer-offset {
height: @footer-height + 10px;
width: 100%;
-}
\ No newline at end of file
+}
Modified:
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-emerald.less
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-emerald.less?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
---
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-emerald.less
(original)
+++
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-emerald.less
Mon Jun 13 09:13:14 2016
@@ -1912,6 +1912,7 @@ ul.paginate-pg-list li:hover{
/* Button Style */
/* ---------------------- */
+.button-bar li.buttontext a,
a.buttontext,
a.buttontextbig,
.smallSubmit,
@@ -1994,4 +1995,4 @@ input[type="button"] {
#footer-offset {
height: @footer-height + 10px;
width: 100%;
-}
\ No newline at end of file
+}
Modified:
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-ruby.less
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-ruby.less?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-ruby.less
(original)
+++ ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-ruby.less
Mon Jun 13 09:13:14 2016
@@ -1913,6 +1913,7 @@ ul.paginate-pg-list li:hover{
/* Button Style */
/* ---------------------- */
+.button-bar li.buttontext a,
a.buttontext,
a.buttontextbig,
.smallSubmit,
@@ -1995,4 +1996,4 @@ input[type="button"] {
#footer-offset {
height: @footer-height + 10px;
width: 100%;
-}
\ No newline at end of file
+}
Modified:
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-saphir.less
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-saphir.less?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
---
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-saphir.less
(original)
+++
ofbiz/trunk/themes/rainbowstone/webapp/rainbowstone/rainbowstone-saphir.less
Mon Jun 13 09:13:14 2016
@@ -1915,6 +1915,7 @@ ul.paginate-pg-list li:hover{
/* Button Style */
/* ---------------------- */
+.button-bar li.buttontext a,
a.buttontext,
a.buttontextbig,
.smallSubmit,
@@ -1997,4 +1998,4 @@ input[type="button"] {
#footer-offset {
height: @footer-height + 10px;
width: 100%;
-}
\ No newline at end of file
+}
Modified: ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css?rev=1748145&r1=1748144&r2=1748145&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css (original)
+++ ofbiz/trunk/themes/tomahawk/webapp/tomahawk/css/style.css Mon Jun 13
09:13:14 2016
@@ -1486,6 +1486,10 @@ font-weight: bold;
text-transform: uppercase;
}
+.button-bar ul li ul li {
+margin-right: 0.5em;
+}
+
.button-bar ul .opposed {
float: right;
}