-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract pro icons CSS into separate file
- Loading branch information
Showing
5 changed files
with
25 additions
and
21 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
app/assets/stylesheets/responsive/alaveteli_pro/_icons.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.icon { | ||
background-size: 13px 13px; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
display: inline-block; | ||
height: 13px; | ||
width: 13px; | ||
margin-right: 0.3em; | ||
position: relative; | ||
top: 1px; | ||
@include image-replacement(); | ||
|
||
&.icon__download { | ||
background-image: image-url("alaveteli-pro/download.png"); | ||
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | ||
background-image: image-url("alaveteli-pro/[email protected]"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,23 +80,6 @@ $complete: rgb(112, 203, 99); | |
} | ||
} | ||
|
||
.download-icon { | ||
background-image: image-url('alaveteli-pro/download.png'); | ||
background-size: 13px 13px; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
display: inline-block; | ||
height: 13px; | ||
width: 13px; | ||
margin-right: 0.3em; | ||
position: relative; | ||
top: 1px; | ||
@include image-replacement(); | ||
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | ||
background-image: image-url('alaveteli-pro/[email protected]'); | ||
} | ||
} | ||
|
||
/* Blank slate - when there are no requests to show */ | ||
.blank-slate { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters