Skip to content

Commit

Permalink
scss cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
whitewillem committed Jun 3, 2019
1 parent aa6021c commit b823186
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 115 deletions.
24 changes: 0 additions & 24 deletions static/sass/layout/_pokemon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,27 +61,3 @@
overflow-y: scroll;
}
}

#nest-search-results {
.i-icon{
position:relative;
.pokemon-icon {
background-image: url($spriteLarge);
background-image: var(--sprite-large);
background-repeat: no-repeat;
background-size: 1400px;
top: 0;
right: 0;
position: absolute;
-moz-transform-origin: 0 0;
height: 50px;
width: 50px;

@for $i from 1 through $numberOfPokemon {
&.n#{$i} {
background-position: -#{(($i - 1) % 28) * 50}px -#{floor(($i - 1) / 28) * 50}px
}
}
}
}
}
2 changes: 0 additions & 2 deletions static/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,4 @@
@import 'layout/pokestop';
@import 'layout/poi';

@import 'pokemon-sprite';
@import 'pokemon-raid-sprite';
@import 'nest';
36 changes: 0 additions & 36 deletions static/sass/nest.scss
Original file line number Diff line number Diff line change
@@ -1,39 +1,3 @@
.nest-pokemon-sprite {
background-image: url($spriteLarge);
background-image: var(--sprite-large);
background-repeat:no-repeat;
background-size: 800px;
top: 5px;
right: 2px;
position: absolute;
-moz-transform-origin: 0 0;
height: 28.57142857142857px;
width: 28.57142857142857px;

@for $i from 1 through $numberOfPokemon {
&.n#{$i} {
background-position: -#{(($i - 1) % 28) * 28.57142857142857}px -#{floor(($i - 1) / 28) * 28.57142857142857}px
}
}
}
.label-nest-pokemon-sprite {
background-image: url($spriteLarge);
background-image: var(--sprite-large);
background-repeat:no-repeat;
background-size: 800px;
top: 42px;
right: 119px;
position: absolute;
-moz-transform-origin: 0 0;
height: 28.57142857142857px;
width: 28.57142857142857px;

@for $i from 1 through $numberOfPokemon {
&.n#{$i} {
background-position: -#{(($i - 1) % 28) * 28.57142857142857}px -#{floor(($i - 1) / 28) * 28.57142857142857}px
}
}
}
.delete-nest{
position: absolute;
top: 0px;
Expand Down
18 changes: 0 additions & 18 deletions static/sass/pokemon-raid-sprite.scss

This file was deleted.

35 changes: 0 additions & 35 deletions static/sass/pokemon-sprite.scss

This file was deleted.

0 comments on commit b823186

Please sign in to comment.