blob: 9f61e7efce2ac7c46437a7a6a9a797e758f43d5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// <copyright>
// This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
// No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
// (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
// </copyright>
// themes/themename/mixins.scss
// Mixins that are theme-dependent (e.g. sprite mixins, etc)
$Mx:0;
$My:0;
$opacity:1;
//Mixin to set the Image Sprite Sheet
@mixin background-pos($Mx, $My, $Size_x,$Size_y) {
background-image: url('../images/SpriteSheets/NinjaSpriteSheet2_5.png');
@if $Size_x == 26px
{
@if $Size_y == 23px
{
$offset_x:30px;
$offset_y:27px;
$offset_x:$offset_x*$Mx* -1;
$offset_y:$offset_y*$My* -1;
background-position: $offset_x $offset_y;
background-repeat:no-repeat;
height:$Size_y;
width: $Size_x;
}
}
}
|