Created
December 12, 2015 00:01
-
-
Save hallvors/33c5c301ff4158d95e45 to your computer and use it in GitHub Desktop.
Turning the "filter" buttons on webcompat.com/issues into arrows (sort of)
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
.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