Skip to content

Commit

Permalink
making leagues and series stuff look better..
Browse files Browse the repository at this point in the history
  • Loading branch information
jmadewell committed Apr 4, 2015
1 parent 6e6bb63 commit 2c209fd
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 26 deletions.
9 changes: 8 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,20 @@ gulp.task('images', function(cb) {
}))
.pipe(gulp.dest('./build/img/')),

gulp.src('./web/appDependencies/img/divisions/*.png')
gulp.src('./web/appDependencies/img/divisions/division*.png')
.pipe(sprite({
name: 'divisions',
margin: 0
}))
.pipe(gulp.dest('./build/img/')),

gulp.src('./web/appDependencies/img/divisions/league*.png')
.pipe(sprite({
name: 'leagues',
margin: 0
}))
.pipe(gulp.dest('./build/img/')),

gulp.src('./web/appDependencies/img/misc/*.png')
.pipe(gulp.dest('./build/img/'))
).on('end', cb);
Expand Down
Binary file removed web/appDependencies/img/divisions/bronze_small.png
Binary file not shown.
Binary file not shown.
Binary file removed web/appDependencies/img/divisions/diamond_small.png
Binary file not shown.
Binary file removed web/appDependencies/img/divisions/gold_small.png
Binary file not shown.
Binary file removed web/appDependencies/img/divisions/master_small.png
Binary file not shown.
Binary file removed web/appDependencies/img/divisions/platinum_small.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
48 changes: 24 additions & 24 deletions web/appDependencies/sass/_divisions.scss
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
.divisions {
background-image: url('/img/divisions.png');
background-repeat: no-repeat;
background-size: 20px;
background-size: 24px;
margin: auto;
}

.division-master {
@extend .divisions;
height: 16px;
min-width: 20px;
height: 19px;
min-width: 24px;
background-position: 0px 0px;
}

.division-bronze {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -20px;
height: 19px;
min-width: 24px;
background-position: 0px -24px;
}

.division-challenger {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -40px;;
height: 19px;
min-width: 24px;
background-position: 0px -48px;
}

.division-diamond {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -60px;
height: 19px;
min-width: 24px;
background-position: 0px -72px;
}

.division-gold {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -80px;
height: 19px;
min-width: 24px;
background-position: 0px -96px;
}

.division-platinum {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -100px;
height: 19px;
min-width: 24px;
background-position: 0px -120px;
}

.division-silver {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -120px;
height: 19px;
min-width: 24px;
background-position: 0px -144px;
}

.division-unranked {
@extend .divisions;
height: 16px;
min-width: 20px;
background-position: 0px -140px;
height: 19px;
min-width: 24px;
background-position: 0px -168px;
}
2 changes: 1 addition & 1 deletion web/appDependencies/sass/_optimlol.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@

.division-label {
font-weight: 400;
font-size: 10px;
font-size: 12px;
margin: auto;
}
}
Expand Down

0 comments on commit 2c209fd

Please sign in to comment.