style tweaks to homepage activity stream
This commit is contained in:
@@ -177,8 +177,8 @@ $node-type-post: #647bce
|
|||||||
border-radius: 3px
|
border-radius: 3px
|
||||||
box-shadow: 0 0 0 1px rgba(black, .05), 0 2px 5px rgba(black, .1)
|
box-shadow: 0 0 0 1px rgba(black, .05), 0 2px 5px rgba(black, .1)
|
||||||
|
|
||||||
&.post .activity-stream__list-details .title
|
&.active .activity-stream__list-details .title
|
||||||
color: darken($node-type-post, 15%)
|
color: $color-primary
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
.title
|
.title
|
||||||
@@ -218,12 +218,12 @@ $node-type-post: #647bce
|
|||||||
min-width: 35px
|
min-width: 35px
|
||||||
min-height: auto
|
min-height: auto
|
||||||
color: $node-type-comment
|
color: $node-type-comment
|
||||||
font-size: 1.4em
|
font-size: 1.25em
|
||||||
|
|
||||||
i
|
i
|
||||||
position: absolute
|
position: absolute
|
||||||
left: 21px
|
left: 22px
|
||||||
top: 18px
|
top: 17px
|
||||||
|
|
||||||
.activity-stream__list-details
|
.activity-stream__list-details
|
||||||
.title
|
.title
|
||||||
@@ -246,12 +246,11 @@ $node-type-post: #647bce
|
|||||||
content: ''
|
content: ''
|
||||||
|
|
||||||
&.post
|
&.post
|
||||||
border-right: 2px solid $node-type-post
|
|
||||||
|
|
||||||
.activity-stream__list-thumbnail
|
.activity-stream__list-thumbnail
|
||||||
border-color: $node-type-post
|
border-color: $node-type-post
|
||||||
background-color: $node-type-post
|
background-color: $node-type-post
|
||||||
.activity-stream__list-details .title
|
.activity-stream__list-details .title
|
||||||
|
color: darken($node-type-post, 15%)
|
||||||
font:
|
font:
|
||||||
size: 1.3em
|
size: 1.3em
|
||||||
weight: 500
|
weight: 500
|
||||||
@@ -259,10 +258,6 @@ $node-type-post: #647bce
|
|||||||
&.asset, &.comment, &.post
|
&.asset, &.comment, &.post
|
||||||
&:hover
|
&:hover
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
|
||||||
&.active
|
|
||||||
border-color: $color-primary
|
|
||||||
|
|
||||||
&.empty
|
&.empty
|
||||||
display: none
|
display: none
|
||||||
color: $color-text-dark-primary
|
color: $color-text-dark-primary
|
||||||
|
@@ -285,13 +285,8 @@ script.
|
|||||||
|
|
||||||
/* Click on the whole asset/comment row to go */
|
/* Click on the whole asset/comment row to go */
|
||||||
$('li.activity-stream__list-item.asset, li.activity-stream__list-item.comment').click(function(e){
|
$('li.activity-stream__list-item.asset, li.activity-stream__list-item.comment').click(function(e){
|
||||||
|
|
||||||
window.location.href = $(this).data('url');
|
window.location.href = $(this).data('url');
|
||||||
|
|
||||||
$(this).addClass('active');
|
$(this).addClass('active');
|
||||||
$(this).find('.activity-stream__list-thumbnail i')
|
|
||||||
.removeAttr('class')
|
|
||||||
.addClass('pi-spin spin');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
hopToTop(); // Display jump to top button
|
hopToTop(); // Display jump to top button
|
||||||
|
Reference in New Issue
Block a user