]> git.proxmox.com Git - sencha-touch.git/blob - src/resources/themes/stylesheets/sencha-touch/bb10/mixins/_Class.scss
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / resources / themes / stylesheets / sencha-touch / bb10 / mixins / _Class.scss
1 //$default-gradient: null;
2
3 ///**
4 // * @class Global_CSS
5 // */
6
7
8 @mixin bb-gradient($color, $offset: 2) {
9 background: $color;
10 @include background-image(linear-gradient(top, color-stops(lighten($color, $offset), darken($color, $offset))));
11 }
12
13 @mixin bb-icon($icon) {
14 .x-button-icon.#{$icon} {
15 background-image: theme_image('bb10', "icons/ic_#{$icon}.png");
16
17 &:before {
18 content: '' !important;
19 }
20 }
21 }