[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. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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*/
|
||||
/*end addon modification generic-portlet*/
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user