Skip to content

Commit

Permalink
some small formatting. changing to spaces instead of tabs and fixing …
Browse files Browse the repository at this point in the history
…a typo in a comment.
  • Loading branch information
heygrady committed Apr 30, 2012
1 parent 74a68e6 commit 82b9289
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion _jquery.textshadow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

// pull apart the individual arguments from the list
@if type-of(nth($shadow, 1)) == color {
// color first, blur, spread optional
// color first, blur optional, spread optional
@if $length >= 1 { $color: nth($shadow, 1); }
@if $length >= 2 { $offset-x: nth($shadow, 2); }
@if $length >= 3 { $offset-y: nth($shadow, 3); }
Expand Down
36 changes: 17 additions & 19 deletions jquery.textshadow.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
.ui-text-shadow, .ui-text-shadow-original {
position: relative;
position: relative;
}
.ui-text-shadow-original {
z-index: 1;
text-shadow: none;
z-index: 1;
text-shadow: none;
}
.ui-text-shadow-copy {
position: absolute;
z-index: 0;

/* default positioning */
left: 0;
top: 0;

/* turn off shadow */
text-shadow: none;

/* turn off selection */
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
position: absolute;
z-index: 0;

/* default positioning */
left: 0;
top: 0;

/* turn off shadow */
text-shadow: none;

/* turn off selection */
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

0 comments on commit 82b9289

Please sign in to comment.