Skip to content

Instantly share code, notes, and snippets.

@iamcarrico
Created November 26, 2014 15:49
Show Gist options
  • Save iamcarrico/f100921304a7383667ef to your computer and use it in GitHub Desktop.
Save iamcarrico/f100921304a7383667ef to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
@mixin your-mixin-name($color: #8cc63f) {
border: 1px solid darken($color, 5%) !important;
li + li {
border-top: 1px solid darken($color, 5%);
border-bottom:none;
}
a {
background: $color;
}
a:hover {
background:darken($color, 5%)
}
}
$sibone-color: #8cc63f;
$stabilit-color: #00477F;
.block-link-list--education-center.sibone .info {
@include your-mixin-name($sibone-color);
}
.block-link-list--education-center.stabilit .info {
@include your-mixin-name($stabilit-color);
}
.block-link-list--education-center.sibone .info {
border: 1px solid #7fb636 !important;
}
.block-link-list--education-center.sibone .info li + li {
border-top: 1px solid #7fb636;
border-bottom: none;
}
.block-link-list--education-center.sibone .info a {
background: #8cc63f;
}
.block-link-list--education-center.sibone .info a:hover {
background: #7fb636;
}
.block-link-list--education-center.stabilit .info {
border: 1px solid #003966 !important;
}
.block-link-list--education-center.stabilit .info li + li {
border-top: 1px solid #003966;
border-bottom: none;
}
.block-link-list--education-center.stabilit .info a {
background: #00477F;
}
.block-link-list--education-center.stabilit .info a:hover {
background: #003966;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment