[DE] Optimizing less files.

This commit is contained in:
Julia Radzhabova 2016-11-09 14:36:29 +03:00
parent 22a5046f0a
commit 8933204f73
3 changed files with 8 additions and 11 deletions

View file

@ -447,7 +447,7 @@ define([
this.btnPrev = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'review-prev',
iconCls: 'img-commonctrl review-prev',
value: 1,
hint: this.txtPrev,
hintAnchor: 'top'
@ -456,7 +456,7 @@ define([
this.btnNext = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'review-next',
iconCls: 'img-commonctrl review-next',
value: 2,
hint: this.txtNext,
hintAnchor: 'top'
@ -507,7 +507,7 @@ define([
this.btnClose = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'review-close',
iconCls: 'img-commonctrl review-close',
hint: this.txtClose,
hintAnchor: 'top'
});

View file

@ -138,8 +138,10 @@
@common-controls-width: 100px;
.img-commonctrl,
.theme-colorpalette .color-transparent, .palette-color-ext .color-transparent, .dropdown-menu li .checked:before, .input-error:before {
background: e(%("url(%s)",'@{common-image-path}/@{common-controls}')) no-repeat;
.theme-colorpalette .color-transparent, .palette-color-ext .color-transparent, .dropdown-menu li .checked:before, .input-error:before,
.btn-toolbar .btn-icon.img-commonctrl {
background-image: e(%("url(%s)",'@{common-image-path}/@{common-controls}'));
background-repeat: no-repeat;
@media
only screen and (-webkit-min-device-pixel-ratio: 2),

View file

@ -41,11 +41,6 @@
height: 19px;
}
.btn-toolbar {
span.btn-icon {
.background-ximage('@{common-image-path}/@{common-controls}', '@{common-image-path}/@{common-controls2x}', 100px);
}
}
.review-prev {background-position: -40px -250px;}
button.active > .review-prev,
button:active > .review-prev {background-position: -60px -250px !important;}