Forked from felippenardi/gist:ff56297c002c9a937b0df160fb1d4b1f
Last active
August 7, 2022 09:10
-
-
Save ManishPoduval/18eb8d8b6860c9d881e66cb967d2b847 to your computer and use it in GitHub Desktop.
Mark as complete on Circle communities
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
<style> | |
/* Add "Completed" to like buttons */ | |
.view-space--357856 .action-like.action-item { | |
background-color: #f06e64; | |
padding: 4px 8px; | |
border-radius: 5px; | |
opacity: 1; | |
position: absolute; | |
left: 415px; | |
} | |
.view-space--357856 .post__actions--like { | |
background-color: #f06e64; | |
padding: 4px 8px; | |
border-radius: 5px; | |
opacity: 1; | |
} | |
.view-space--357856 .post__engagement { | |
display: none; | |
} | |
.view-space--357856 .action-link:hover, | |
.view-space--357856 .action-like.action-item:hover { | |
opacity: .8; | |
} | |
.view-space--357856 .action-link.liked:hover, | |
.view-space--357856 .action-like.liked.action-item:hover { | |
opacity: 1; | |
} | |
.view-space--357856 .action-link.liked, | |
.view-space--357856 .action-like.action-item.liked { | |
background-color: inherit; | |
} | |
.view-space--357856 .action-link.liked .icon-like use, | |
.view-space--357856 .action-like.liked .icon-like use { | |
fill: var(--color-text-dark)!important; | |
} | |
.view-space--357856 .action-link .icon-like use, | |
.view-space--357856 .action-like .icon-like use { | |
fill: var(--white)!important; | |
} | |
.view-space--357856 .action-link .action__label, | |
.view-space--357856 .action-like .count { | |
visibility: hidden; | |
width: inherit; | |
} | |
.view-space--357856 .action-link .action__label { | |
text-indent: -1.5em; | |
} | |
.view-space--357856 .action-link .action__label:before, | |
.view-space--357856 .action-like .count:before { | |
content: "Mark Completed"; | |
visibility: visible; | |
font-weight: 700; | |
color: var(--white)!important; | |
} | |
.view-space--357856 .action-link .action__label:before { | |
position: relative; | |
left: 1.5em; | |
} | |
.view-space--357856 .action-link.liked .action__label:before, | |
.view-space--357856 .action-like.liked .count:before { | |
content: "Completed"; | |
font-weight: 500; | |
color: var(--color-text-dark)!important; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment