Skip to content

Instantly share code, notes, and snippets.

@AndreiShostik
Last active November 16, 2017 11:55
Show Gist options
  • Save AndreiShostik/b5daf0d00ab2e749adc0034b25d6ceaa to your computer and use it in GitHub Desktop.
Save AndreiShostik/b5daf0d00ab2e749adc0034b25d6ceaa to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
$status-green: 'green';
$status-yellow: 'yellow';
$negative-txt: 'negative';
$action-blue: 'blue';
$status-red: 'red';
$status-gray: 'gray';
@mixin py-status-base {
content: '';
display: inline-block;
margin-right: 10px;
}
.py-status-circle {
@include py-status-base;
width: 10px;
height: 10px;
border-radius: 5px;
}
.py-status-bagel {
@include py-status-base;
width: 12px;
height: 12px;
margin-bottom: -1px;
border-radius: 6px;
border: 3px solid;
}
.py-status-green {
&:before {
background-color: $status-green;
}
}
.py-status-orange {
&:before {
background-color: $status-yellow;
}
}
.py-status-negative {
&:before {
background-color: $negative-txt;
}
}
.py-status-blue {
&:before {
background-color: $action-blue;
}
}
.py-status-red {
&:before {
background-color: $status-red;
}
}
.py-status-gray {
&:before {
background-color: $status-gray;
}
}
.py-status-circle {
content: '';
display: inline-block;
margin-right: 10px;
width: 10px;
height: 10px;
border-radius: 5px;
}
.py-status-bagel {
content: '';
display: inline-block;
margin-right: 10px;
width: 12px;
height: 12px;
margin-bottom: -1px;
border-radius: 6px;
border: 3px solid;
}
.py-status-green:before {
background-color: "green";
}
.py-status-orange:before {
background-color: "yellow";
}
.py-status-negative:before {
background-color: "negative";
}
.py-status-blue:before {
background-color: "blue";
}
.py-status-red:before {
background-color: "red";
}
.py-status-gray:before {
background-color: "gray";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment