UI Comments: Minor style adjustments and fixes.
This commit is contained in:
parent
b96731a939
commit
093f4101cf
@ -1,32 +1,32 @@
|
|||||||
$comments-width-max: 710px
|
$comments-width-max: 710px
|
||||||
|
|
||||||
.comments-tree
|
.comments-tree
|
||||||
|
@extend .position-relative
|
||||||
|
@extend .w-100
|
||||||
max-width: $comments-width-max
|
max-width: $comments-width-max
|
||||||
position: relative
|
|
||||||
width: 100%
|
|
||||||
|
|
||||||
.comments-list-title
|
.comments-list-title
|
||||||
padding: 15px 0 10px 0
|
@extend .py-2
|
||||||
font-size: 1.1em
|
font-size: 1.1em
|
||||||
font-weight: 300
|
font-weight: 300
|
||||||
color: rgba($color-text, .5)
|
color: $color-text-dark-hint
|
||||||
|
|
||||||
/* Each comment on the list*/
|
/* Each comment on the list*/
|
||||||
.comment-container,
|
.comment-container,
|
||||||
.comment-reply-container
|
.comment-reply-container
|
||||||
display: flex
|
@extend .d-flex
|
||||||
position: relative
|
@extend .py-2
|
||||||
padding: 15px 0
|
@extend .position-relative
|
||||||
transition: background-color 150ms ease-in-out, padding 150ms ease-in-out, margin 150ms ease-in-out
|
transition: background-color 150ms ease-in-out, padding 150ms ease-in-out, margin 150ms ease-in-out
|
||||||
|
|
||||||
&.comment-linked
|
&.comment-linked
|
||||||
|
@extend .px-3
|
||||||
background-color: $color-background-light !important
|
background-color: $color-background-light !important
|
||||||
box-shadow: inset 3px 0 0 $color-info
|
box-shadow: inset 5px 0 0 $color-primary
|
||||||
padding-right: 20px
|
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
bottom: 15px
|
bottom: 15px
|
||||||
color: $color-info
|
color: $color-primary
|
||||||
content: 'Linked Comment'
|
content: 'Linked Comment'
|
||||||
font-size: .8em
|
font-size: .8em
|
||||||
position: absolute
|
position: absolute
|
||||||
@ -108,18 +108,21 @@ $comments-width-max: 710px
|
|||||||
padding-bottom: 0
|
padding-bottom: 0
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
strong
|
||||||
|
color: $color-text-dark-primary
|
||||||
|
|
||||||
&.is-reply
|
&.is-reply
|
||||||
padding:
|
padding:
|
||||||
left: 20px
|
left: 20px
|
||||||
top: 5px
|
top: 5px
|
||||||
margin-left: 35px
|
margin-left: 35px
|
||||||
box-shadow: inset 3px 0 0 $color-background
|
box-shadow: inset 5px 0 0 $color-background
|
||||||
|
|
||||||
+media-xs
|
+media-xs
|
||||||
padding-left: 15px
|
padding-left: 15px
|
||||||
|
|
||||||
&.comment-linked
|
&.comment-linked
|
||||||
box-shadow: inset 3px 0 0 $color-info
|
box-shadow: inset 5px 0 0 $color-primary
|
||||||
|
|
||||||
&.is-first
|
&.is-first
|
||||||
border-top: 1px solid $color-background
|
border-top: 1px solid $color-background
|
||||||
@ -154,13 +157,12 @@ $comments-width-max: 710px
|
|||||||
.comment-action-rating.up:before
|
.comment-action-rating.up:before
|
||||||
content: '\e83f' // Heart filled
|
content: '\e83f' // Heart filled
|
||||||
|
|
||||||
|
|
||||||
.comment-rating-value
|
.comment-rating-value
|
||||||
padding-right: 15px
|
|
||||||
color: $color-text-dark-secondary
|
color: $color-text-dark-secondary
|
||||||
cursor: default
|
cursor: default
|
||||||
|
|
||||||
.comment-action-rating
|
.comment-action-rating
|
||||||
|
@extend .px-2
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
font-family: 'pillar-font'
|
font-family: 'pillar-font'
|
||||||
height: 25px
|
height: 25px
|
||||||
@ -169,22 +171,22 @@ $comments-width-max: 710px
|
|||||||
.comment-action-rating.up
|
.comment-action-rating.up
|
||||||
&:hover
|
&:hover
|
||||||
color: $color-upvote
|
color: $color-upvote
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
content: '\e83e' // Heart outlined
|
content: '\e83e' // Heart outlined
|
||||||
top: 2px
|
|
||||||
position: relative
|
position: relative
|
||||||
|
top: 3px
|
||||||
|
|
||||||
.comment-action
|
.comment-action
|
||||||
color: $color-primary
|
|
||||||
padding-left: 10px
|
padding-left: 10px
|
||||||
margin-left: 10px
|
|
||||||
|
|
||||||
.action
|
.action
|
||||||
|
color: $color-primary
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
margin-left: 15px
|
margin-left: 15px
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
color: $color-primary
|
color: lighten($color-primary, 10%)
|
||||||
text-decoration: underline
|
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
color: $color-text-dark-secondary
|
color: $color-text-dark-secondary
|
||||||
@ -386,21 +388,15 @@ $comments-width-max: 710px
|
|||||||
content: ''
|
content: ''
|
||||||
color: transparent
|
color: transparent
|
||||||
|
|
||||||
.user-badges ul.blender-id-badges
|
.user-badges ul
|
||||||
list-style: none
|
@extend .list-unstyled
|
||||||
padding: 0
|
@extend .mt-1
|
||||||
margin: 4px 0 0 0
|
|
||||||
|
|
||||||
li
|
|
||||||
margin: 2px 0 !important
|
|
||||||
|
|
||||||
li, li a, li img
|
|
||||||
padding: 0 !important
|
|
||||||
li
|
|
||||||
display: inline
|
|
||||||
img
|
img
|
||||||
width: 16px
|
|
||||||
height: 16px
|
height: 16px
|
||||||
|
width: 16px
|
||||||
|
|
||||||
|
li
|
||||||
|
line-height: 1.2em
|
||||||
|
|
||||||
.comment-avatar
|
.comment-avatar
|
||||||
@extend .d-flex
|
@extend .d-flex
|
||||||
@ -409,10 +405,10 @@ $comments-width-max: 710px
|
|||||||
|
|
||||||
.user-avatar
|
.user-avatar
|
||||||
img
|
img
|
||||||
border-radius: 50%
|
@extend .rounded-circle
|
||||||
width: 2em
|
|
||||||
height: 2em
|
|
||||||
box-shadow: 0 0 0 0.2em $color-background-light
|
box-shadow: 0 0 0 0.2em $color-background-light
|
||||||
|
height: 2em
|
||||||
|
width: 2em
|
||||||
|
|
||||||
.drag-hover
|
.drag-hover
|
||||||
outline-style: solid
|
outline-style: solid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user