Cleanup: Tweak comments and sort classes.

This commit is contained in:
Pablo Vazquez 2019-04-01 12:37:01 +02:00
parent c93393ad10
commit 3906bab2ac
2 changed files with 24 additions and 17 deletions

View File

@ -3,16 +3,16 @@
opacity: 0 opacity: 0
animation: fade-in 500ms forwards animation: fade-in 500ms forwards
.group-date &-date // .group-date
color: rgba($color-text, .4) color: $color-text-dark-hint
.group-title &-title // .group-title
@extend .border-bottom @extend .border-bottom
@extend .bg-white @extend .bg-white
@extend .text-uppercase @extend .text-uppercase
@extend .font-weight-bold @extend .font-weight-bold
a a
color: $color-text color: $color-text
.node-details-description .node-details-description
font: font:
@ -33,14 +33,20 @@ body.is-mobile
.js-asset-list .js-asset-list
@extend .card-deck-vertical @extend .card-deck-vertical
.timeline-dark
.group-date
color: $color-text-light-hint
.group-title // Overrides for when the timeline is against a dark background.
@extend .bg-transparent .timeline-dark
border-bottom-color: rgba($color-background, .2) !important .group
color: rgba($color-background, .6) animation: fade-in 500ms forwards
opacity: 0
&-date // .group-date
color: $color-text-light-hint
&-title // .group-title
@extend .bg-transparent
border-bottom-color: rgba($color-background, .2) !important
color: rgba($color-background, .6)
blockquote blockquote
background-color: rgba($color-background, .1) background-color: rgba($color-background, .1)

View File

@ -73,7 +73,8 @@ mixin list-asset(name, url, image, type, date)
if block if block
block block
// used together with timeline.js
//- Used together with timeline.js
mixin timeline(projectid, sortdirection) mixin timeline(projectid, sortdirection)
section.timeline.placeholder( section.timeline.placeholder(
data-project-id=projectid, data-project-id=projectid,