* Add comment scores. * Rework voting buttons so that you can click the upvote/downvote buttons to toggle votes. * Hide the edit, delete, undelete, and report buttons behind a popup menu. * Show the upvote/downvote/reply buttons to logged out users. Redirect them to the login page instead.
31 lines
504 B
SCSS
31 lines
504 B
SCSS
div.popup-menu {
|
|
display: inline-block;
|
|
|
|
a.popup-menu-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
color: var(--muted-text-color);
|
|
|
|
&:focus, &:hover {
|
|
color: var(--link-color);
|
|
background-color: var(--subnav-menu-background-color);
|
|
}
|
|
}
|
|
|
|
ul.popup-menu-content {
|
|
display: none;
|
|
|
|
li {
|
|
margin: 0 2em 0.25em 0;
|
|
|
|
i.icon {
|
|
width: 2em;
|
|
}
|
|
}
|
|
}
|
|
}
|