diff options
author | Jose Antonio Marquez | 2012-02-08 20:49:55 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-08 20:49:55 -0800 |
commit | 5d38e575b2bafeae9bd676247fce15ec5f78fa32 (patch) | |
tree | a612a4cd812d6f619d5fb7568399bdda459ae564 /_scss/imports/themes/default/_mixins.scss | |
parent | 9b45b897949bf934c8bf2c90ee2ff78f8713cb12 (diff) | |
parent | 35ad4d6d2fac4432046141c63c0209cf3d00be5c (diff) | |
download | ninja-5d38e575b2bafeae9bd676247fce15ec5f78fa32.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
Diffstat (limited to '_scss/imports/themes/default/_mixins.scss')
-rw-r--r-- | _scss/imports/themes/default/_mixins.scss | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/_scss/imports/themes/default/_mixins.scss b/_scss/imports/themes/default/_mixins.scss deleted file mode 100644 index 9f61e7ef..00000000 --- a/_scss/imports/themes/default/_mixins.scss +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | // <copyright> | ||
2 | // This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | // No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | // (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | // </copyright> | ||
6 | |||
7 | // themes/themename/mixins.scss | ||
8 | // Mixins that are theme-dependent (e.g. sprite mixins, etc) | ||
9 | |||
10 | $Mx:0; | ||
11 | $My:0; | ||
12 | $opacity:1; | ||
13 | |||
14 | //Mixin to set the Image Sprite Sheet | ||
15 | @mixin background-pos($Mx, $My, $Size_x,$Size_y) { | ||
16 | |||
17 | background-image: url('../images/SpriteSheets/NinjaSpriteSheet2_5.png'); | ||
18 | @if $Size_x == 26px | ||
19 | { | ||
20 | @if $Size_y == 23px | ||
21 | { | ||
22 | $offset_x:30px; | ||
23 | $offset_y:27px; | ||
24 | |||
25 | $offset_x:$offset_x*$Mx* -1; | ||
26 | $offset_y:$offset_y*$My* -1; | ||
27 | |||
28 | background-position: $offset_x $offset_y; | ||
29 | background-repeat:no-repeat; | ||
30 | height:$Size_y; | ||
31 | width: $Size_x; | ||
32 | } | ||
33 | } | ||
34 | |||
35 | |||
36 | } | ||
37 | |||