From 2e58595d5c58ad9937bfc4f85ba8894970d4719f Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Wed, 8 Feb 2012 13:56:54 -0800 Subject: adding new scss folder --- scss/imports/themes/default/_mixins.scss | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 scss/imports/themes/default/_mixins.scss (limited to 'scss/imports/themes/default/_mixins.scss') diff --git a/scss/imports/themes/default/_mixins.scss b/scss/imports/themes/default/_mixins.scss new file mode 100644 index 00000000..9f61e7ef --- /dev/null +++ b/scss/imports/themes/default/_mixins.scss @@ -0,0 +1,37 @@ +// +// This file contains proprietary software owned by Motorola Mobility, Inc.
+// No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+// (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +//
+ +// 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; + } + } + + +} + -- cgit v1.2.3