Last active
February 16, 2016 04:50
-
-
Save thanhluu/7e9ccdbb71e6487a61a7 to your computer and use it in GitHub Desktop.
Show status of questions like DW Question & Answer 1.3
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
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'); | |
.dwqa-questions-list .dwqa-question-item { | |
padding-left: 70px; | |
} | |
.dwqa-questions-list .dwqa-question-item .avatar { | |
position: static; | |
width: 12px; | |
height: 12px; | |
margin-right: 5px; | |
margin-top: 0; | |
} | |
.dwqa-question-item .dwqa-status { | |
position: absolute; | |
left: 15px; | |
top: 50%; | |
width: 36px; | |
height: 36px; | |
margin-top: -18px; | |
border-radius: 36px; | |
text-indent: -9999px; | |
padding: 0; | |
background: none; | |
box-shadow: 0 0 0 1px #e67e22 inset; | |
} | |
.dwqa-question-item .dwqa-status:after { | |
content: "\f128"; | |
display: block; | |
font: normal normal normal 14px/1 FontAwesome; | |
font-size: inherit; | |
text-rendering: auto; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
color: #e67e22; | |
text-indent: 0; | |
font-size: 18px; | |
width: 36px; | |
height: 36px; | |
line-height: 36px; | |
text-align: center; | |
top: 0; | |
position: absolute; | |
} | |
.dwqa-question-item .dwqa-status-closed { | |
box-shadow: 0 0 0 1px #666 inset; | |
} | |
.dwqa-question-item .dwqa-status-closed:after { | |
color: #666; | |
content: "\f023"; | |
} | |
.dwqa-question-item .dwqa-status-resolved { | |
box-shadow: 0 0 0 1px #578824 inset; | |
} | |
.dwqa-question-item .dwqa-status-resolved:after { | |
color: #578824; | |
content: "\f00c"; | |
} | |
.dwqa-question-item .dwqa-status-answered { | |
box-shadow: 0 0 0 1px #1ba1e2 inset; | |
} | |
.dwqa-question-item .dwqa-status-answered:after { | |
color: #1ba1e2; | |
content: "\f112"; | |
font-size: 14px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment