keep white input background with package class [ci skip]

This commit is contained in:
wvengen 2014-01-09 10:51:48 +01:00
parent 5a7c9b817c
commit 56bd527a8b

View file

@ -281,16 +281,21 @@ tr.unavailable {
display: inline; display: inline;
} }
// show package icon after amount of package numbers // show package icon after amount of wholesale units
.package-image (@align) {
background-image: url(package-bg.png);
background-repeat: no-repeat;
background-position: @align center;
}
input.package { input.package {
background: url(package-bg.png) no-repeat right center; .package-image(right);
// disabled and readonly definitions though // disabled and readonly definitions though
&[disabled], &[readonly] { &[disabled], &[readonly] {
background-color: @inputDisabledBackground; background-color: @inputDisabledBackground;
} }
} }
i.package { i.package {
background: url(package-bg.png) no-repeat left center; .package-image(left);
min-width: 18px; min-width: 18px;
font-style: normal; font-style: normal;
padding-left: 20px; padding-left: 20px;