Skip to content

Instantly share code, notes, and snippets.

@hallvors
Created December 12, 2015 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hallvors/33c5c301ff4158d95e45 to your computer and use it in GitHub Desktop.
Save hallvors/33c5c301ff4158d95e45 to your computer and use it in GitHub Desktop.
Turning the "filter" buttons on webcompat.com/issues into arrows (sort of)
.wc-Filter{position:relative; padding-right: 24px;
padding-left: 29px;
margin-left: -28px;
border-left-width: 0;}
.wc-Filter::before{
right: -12px;
height: 0px;
display:block;
position: absolute;
padding:0; margin: 0;vertical-align: bottom;margin-top: -6px;
border-style: solid;
border-width: 14px 14px 14px 14px;
border-color: transparent;
content: "";
}
.wc-Filter--new{
border-left-width: 1px;
border-right-width: 0;
}
.wc-Filter--new::before{
border-color: #fff #fff #fff #ff8364
}
.wc-Filter--needsDiagnosis::before{
border-color: #fff #fff #fff #efce82
}
.wc-Filter--needsContact::before{
border-color: #fff #fff #fff #B9edce
}
.wc-Filter--ready::before{
border-color: #fff #fff #fff #7abce1
}
.wc-Filter--sitewait::before{
border-color: #fff #fff #fff #B0daf0
}
.wc-Filter--close::before{
display:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment