Skip to content

Commit

Permalink
updated all corp cards to be transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
yonbergman committed Aug 26, 2014
1 parent 19273e0 commit 2ec0969
Show file tree
Hide file tree
Showing 53 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gulp.task('vendorScripts', function() {
gulp.task('images', function() {
return gulp.src(paths.images)
// Pass in options to the task
.pipe(imagemin({optimizationLevel: 5}))
// .pipe(imagemin({optimizationLevel: 5}))
.pipe(gulp.dest(dest.imgs));
});

Expand Down
5 changes: 5 additions & 0 deletions src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ body{

.card {
position: relative;
img{
background: black;
background-image: url('https://scontent-b-lhr.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/p235x350/10516676_10152217464281010_8925684994098200246_n.jpg?oh=8d345c197e82f74a375b5c79ac04461a&oe=545D9E1D');
}
> div{
position: absolute;
}
Expand All @@ -48,6 +52,7 @@ body{
@include type();
}
.main-content{
width: 248px;
@include text();
.fluff {
font-style: italic;
Expand Down
Binary file removed src/images/ICE/ICE_Jinteki.jpg
Binary file not shown.
Binary file removed src/images/ICE/ICE_NBN.jpg
Binary file not shown.
Binary file removed src/images/ICE/ICE_Neutral.jpg
Binary file not shown.
Binary file removed src/images/ICE/ICE_Weyland.jpg
Binary file not shown.
Binary file removed src/images/ICE/ice_haas.jpg
Binary file not shown.
Binary file added src/images/ICE/ice_jinteki.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 src/images/ICE/ice_nbn.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 src/images/ICE/ice_neutral.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 src/images/ICE/ice_weyland.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 removed src/images/agenda/agenda_haas.jpg
Binary file not shown.
Binary file added src/images/agenda/agenda_haas.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 removed src/images/agenda/agenda_jinteki.jpg
Binary file not shown.
Binary file added src/images/agenda/agenda_jinteki.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 removed src/images/agenda/agenda_nbn.jpg
Binary file not shown.
Binary file added src/images/agenda/agenda_nbn.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 removed src/images/agenda/agenda_neutral.jpg
Binary file not shown.
Binary file added src/images/agenda/agenda_neutral.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 removed src/images/agenda/agenda_weyland.jpg
Binary file not shown.
Binary file added src/images/agenda/agenda_weyland.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 removed src/images/asset/asset_haas.jpg
Binary file not shown.
Binary file added src/images/asset/asset_haas.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 removed src/images/asset/asset_jinteki.jpg
Binary file not shown.
Binary file added src/images/asset/asset_jinteki.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 removed src/images/asset/asset_nbn.jpg
Binary file not shown.
Binary file added src/images/asset/asset_nbn.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 removed src/images/asset/asset_neutral.jpg
Diff not rendered.
Binary file added src/images/asset/asset_neutral.png
Binary file removed src/images/asset/asset_weyland.jpg
Diff not rendered.
Binary file added src/images/asset/asset_weyland.png
Binary file added src/images/ice/ice_haas.png
Binary file removed src/images/operation/Operation_Jinteki.jpg
Diff not rendered.
Binary file removed src/images/operation/Operation_NBN.jpg
Diff not rendered.
Binary file removed src/images/operation/Operation_Neutral.jpg
Diff not rendered.
Binary file removed src/images/operation/Operation_Weyland.jpg
Diff not rendered.
Binary file removed src/images/operation/operation_haas.jpg
Diff not rendered.
Binary file added src/images/operation/operation_haas.png
Binary file added src/images/operation/operation_jinteki.png
Binary file added src/images/operation/operation_nbn.png
Binary file added src/images/operation/operation_neutral.png
Binary file added src/images/operation/operation_weyland.png
Binary file removed src/images/upgrade/upgrade_haas.jpg
Diff not rendered.
Binary file added src/images/upgrade/upgrade_haas.png
Binary file removed src/images/upgrade/upgrade_jinteki.jpg
Diff not rendered.
Binary file added src/images/upgrade/upgrade_jinteki.png
Binary file removed src/images/upgrade/upgrade_nbn.jpg
Diff not rendered.
Binary file added src/images/upgrade/upgrade_nbn.png
Binary file removed src/images/upgrade/upgrade_neutral.jpg
Diff not rendered.
Binary file added src/images/upgrade/upgrade_neutral.png
Binary file removed src/images/upgrade/upgrade_weyland.jpg
Diff not rendered.
Binary file added src/images/upgrade/upgrade_weyland.png
4 changes: 2 additions & 2 deletions src/javascripts/models/card.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class App.Models.Card extends Backbone.Model
defaults:
side: 'corp'
faction: 'neutral'
kind: 'ice'
kind: 'agenda'

@SIDES: ['corp', 'runner']
@FACTIONS: {
Expand All @@ -27,6 +27,6 @@ class App.Models.Card extends Backbone.Model

image: ->
if @get('kind')
"/img/#{@get('kind')}/#{@get('kind')}_#{@get('faction')}.jpg"
"/img/#{@get('kind')}/#{@get('kind')}_#{@get('faction')}.png"
else
"/img/#{@get('side')}-back.jpg"

0 comments on commit 2ec0969

Please sign in to comment.