]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | //$default-gradient: null;\r |
2 | \r | |
3 | ///**\r | |
4 | // * @class Global_CSS\r | |
5 | // */\r | |
6 | \r | |
7 | $bb-icons-path: '#{$bb-images-path}/icons';\r | |
8 | $bb-icons-light-path: '#{$bb-images-path}/icons-light';\r | |
9 | \r | |
10 | @mixin bb-gradient($color, $offset: 2) {\r | |
11 | background: $color;\r | |
12 | @include background-image(linear-gradient(top, color-stops(lighten($color, $offset), darken($color, $offset))));\r | |
13 | }\r | |
14 | \r | |
15 | @mixin bb-icon($icon) {\r | |
16 | .x-button-icon.#{$icon} {\r | |
17 | content: '';\r | |
18 | background-image: url('#{$bb-icons-path}/ic_#{$icon}.png');\r | |
19 | \r | |
20 | &:before {\r | |
21 | content: '' !important;\r | |
22 | }\r | |
23 | }\r | |
24 | \r | |
25 | .x-button-light .x-button-icon.#{$icon}, .x-button-icon.#{$icon}-light, .x-button.bb-default .x-button-icon.#{$icon} {\r | |
26 | &:after {\r | |
27 | content: '';\r | |
28 | background-image: url('#{$bb-icons-light-path}/ic_#{$icon}.png');\r | |
29 | }\r | |
30 | &:before {\r | |
31 | content: '' !important;\r | |
32 | }\r | |
33 | }\r | |
34 | }\r |