Last active
June 23, 2018 01:01
-
-
Save pfgithub/1da7d2024a9748085fccfceaf2ce126d to your computer and use it in GitHub Desktop.
Comment Bars
This file contains 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
@-moz-document domain("tildes.net") { | |
.btn.btn-comment-collapse { | |
position: absolute; | |
transform: translate(-20px, -4px); | |
background-color: #eee; | |
border: none; | |
height: 100%; | |
transition: 0.1s background-color, 0.1s transform; | |
display: inline-flex; | |
text-align: right; | |
vertical-align: top; | |
padding-bottom: 100000000%; | |
padding-top:7px; | |
} | |
.btn.btn-comment-collapse:hover { | |
transform: translate(-15px, -4px); | |
background-color: #58f; | |
color: #fff; | |
} | |
.comment { | |
overflow: hidden; | |
position: relative; | |
display: block; | |
border:none; | |
} | |
.comment-itself { | |
padding-left: 10px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment