Skip to content

Commit

Permalink
MINOR More spriting in CMS styles
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jan 6, 2012
1 parent 850ea4c commit fcc01a3
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions admin/css/screen.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed admin/images/dialog_close.png
Binary file not shown.
Binary file removed admin/images/sprites/32x32-s517e471e4e.png
Binary file not shown.
Binary file added admin/images/sprites_32x32-s98eda4974b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/sprites_32x32/dialog-close-over.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/sprites_32x32/dialog-close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion admin/scss/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
width: 16px;
float: left;
margin: 0 8px 0 3px;
background: url(../images/logout.png) no-repeat;
background: sprite($sprites32, logout) no-repeat;
text-indent: -9999em;
}
}
Expand Down
2 changes: 1 addition & 1 deletion admin/scss/_sprites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $icon24: sprite-map("menu_icons/24x24/*.png");
$icon16: sprite-map("menu_icons/16x16/*.png");

$btn_icons: sprite-map("btn_icons/*.png", $spacing: 10px);
$sprites32: sprite-map("sprites/32x32/*.png", $spacing: 10px);
$sprites32: sprite-map("sprites_32x32/*.png", $spacing: 10px);

@mixin icons($sprite) {
background: $sprite;
Expand Down
5 changes: 2 additions & 3 deletions admin/scss/_uitheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,12 @@
background: transparent;

& .ui-icon-closethick {
background-position: 0 -30px;
background: sprite($sprites32, dialog-close-over) no-repeat;
}
}

& .ui-icon-closethick {
background-image: url(../images/dialog_close.png);
background-position: 0 0;
background: sprite($sprites32, dialog-close) no-repeat;
width: 30px;
height: 30px;
}
Expand Down

0 comments on commit fcc01a3

Please sign in to comment.