Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.

Commit

Permalink
Use SVG.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Mar 7, 2015
1 parent 18c761b commit 008fdaa
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 4 deletions.
Binary file removed app/assets/images/coupons/cog.png
Binary file not shown.
12 changes: 12 additions & 0 deletions app/assets/images/coupons/cog.svg
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 app/assets/images/coupons/dropdown.png
Binary file not shown.
10 changes: 10 additions & 0 deletions app/assets/images/coupons/dropdown.svg
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 app/assets/images/coupons/error.png
Binary file not shown.
14 changes: 14 additions & 0 deletions app/assets/images/coupons/error.svg
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 app/assets/images/coupons/remove.png
Binary file not shown.
10 changes: 10 additions & 0 deletions app/assets/images/coupons/remove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions app/assets/stylesheets/coupons/modules/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
input[type=text],
input[type=number] {
padding-right: 35px;
background: image-url('coupons/error.png') no-repeat right center;
background: image-url('coupons/error.svg') no-repeat right 10px center;
}
}

Expand Down Expand Up @@ -126,12 +126,13 @@ select {
font-size: inherit;
font-family: inherit;
border-radius: 0;
background: #fff image-url('coupons/dropdown.png') no-repeat right center;
background: #fff image-url('coupons/dropdown.svg') no-repeat right 10px center;
border: 1px solid $gray;
width: auto;
padding-right: 50px;
text-indent: 0.01px;
text-overflow: '';
cursor: pointer;
}

@-moz-document url-prefix() {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/coupons/modules/_icon_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
}

.icon-button.edit {
background-image: image-url('coupons/cog.png');
background-image: image-url('coupons/cog.svg');
width: 20px;
height: 20px;
}

.icon-button.remove {
background-image: image-url('coupons/remove.png');
background-image: image-url('coupons/remove.svg');
width: 20px;
height: 20px;
}

0 comments on commit 008fdaa

Please sign in to comment.