web-apps/apps/presentationeditor/mobile/resources/sass/_application-mixins.scss
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

19 lines
580 B
SCSS

@mixin application-icon-normal($name, $index) {
.x-button-icon.#{$name},
.list-icon.#{$name} {
background-image: url($icons-default-path);
background-color: transparent;
background-position: 0 -1 * $index * $icons-default-size;
background-size: $icons-default-image-width $icons-default-image-height;
}
.x-button-pressing,
.x-button-pressed,
.x-button-active,
.x-item-pressed {
.x-button-icon.#{$name},
.list-icon.#{$name} {
background-position: -1 * $icons-default-size -1 * $index * $icons-default-size;
}
}
}