Last active
December 14, 2015 16:09
-
-
Save seanadkinson/5113422 to your computer and use it in GitHub Desktop.
"blue-doc-hover.css" is the generated CSS with naming the icon with a dash. "blue-doc_hover.css" is with an underscore". Both obviously contain "blue-doc.png". What's weird is that the dash case doesn't produce a "blue-doc-hover" class, which seems to me that it is recognizing something special about the naming.
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
$icons-spacing: 10px; | |
@import "icons/*.png"; | |
@include all-icons-sprites; |
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
/* line 50, icons/*.png */ | |
.icons-sprite, .icons-blue-doc { | |
background: url('../img/icons-sc15de23035.png') no-repeat; | |
} | |
/* line 60, ../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */ | |
.icons-blue-doc { | |
background-position: 0 -42px; | |
} |
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
/* line 60, ../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */ | |
.icons-blue-doc { | |
background-position: 0 -42px; | |
} | |
/* line 43, ../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/sprites/_base.scss */ | |
.icons-blue-doc:hover, .icons-blue-doc.blue-doc_hover, .icons-blue-doc.blue-doc-hover { | |
background-position: 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The class ".icons-blue-doc.blue-doc_hover" fails our Recess validation built into our CI. https://github.com/twitter/recess