Created
October 12, 2015 10:29
-
-
Save kalinchernev/16d29eb69ad2b471d834 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$internal_links_patterns: 'beta.ec.europa.eu' 'devcloud.acquia-sites.com' 'webgate.ec.europa.eu'; | |
@mixin internal-icon($patterns) { | |
@each $url in $patterns { | |
&:not([href*="#{$url}"]) { | |
@content | |
}; | |
} | |
} | |
a { | |
@include internal-icon($internal_links_patterns) { | |
color: white; | |
} | |
} |
This file contains hidden or 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
a:not([href*="beta.ec.europa.eu"]) { | |
color: white; | |
} | |
a:not([href*="devcloud.acquia-sites.com"]) { | |
color: white; | |
} | |
a:not([href*="webgate.ec.europa.eu"]) { | |
color: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment