feat: some persona variables for topic list

main
psychobunny 4 years ago
parent 507d2e6cd6
commit 023fc50ae7

@ -1,4 +1,4 @@
.topic .necro-post {
border-bottom: 1px solid @gray-lighter;
padding-bottom: 20px;
border-bottom: 1px solid @post-border-color;
padding-bottom: @post-padding;
}

@ -1,3 +1,5 @@
@import "variables";
@import "style";
@import "topic";

@ -106,7 +106,7 @@
top: -2px;
right: 6px;
font-size: 16px;
color: darken(@brand-info, 20%);
color: darken(@post-highlight, 20%);
opacity: 0;
.transition(0.75s ease-in-out opacity);
}
@ -119,7 +119,7 @@
[component="post/anchor"] {
position: relative;
top: -20px; /* 20px used here as that is the bottom margin of the hr in between posts */
top: -@post-padding;
}
[component="post/upvote"], [component="post/downvote"] {
@ -192,7 +192,7 @@
[component="post/replies"] {
margin-left: 61px;
margin-top: 20px;
margin-top: @post-padding;
border-left: 5px solid #eee;
padding-left: 20px;
@ -224,7 +224,7 @@
}
.content {
margin-top: 20px;
margin-top: @post-padding;
padding-bottom: 1px;
margin-top: -43px;
margin-left: 61px;
@ -259,7 +259,7 @@
.tags {
vertical-align: -40%;
margin-bottom: 20px;
margin-bottom: @post-padding;
}
h1 {
@ -385,9 +385,9 @@
[component="post"] {
position: relative;
border-bottom: 1px solid @gray-lighter;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid @post-border-color;
padding-bottom: @post-padding;
margin-bottom: @post-padding;
.transition(0.75s ease-in-out border-color);
@ -406,8 +406,8 @@
}
&.highlight {
border-color: darken(@brand-info, 20%);
box-shadow: 0px 2px 2px -2px @brand-info;
border-color: darken(@post-highlight, 20%);
box-shadow: 0px 2px 2px -2px @post-highlight;
.bookmarked {
opacity: 1;

@ -0,0 +1,7 @@
//== Topic List
//
//## Post objects found on the category, recent, popular, etc. pages
@post-padding: 20px;
@post-border-color: @gray-lighter;
@post-highlight: @brand-info;
Loading…
Cancel
Save