Cleanup: Tweak comments and sort classes.

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

View File

@@ -3,10 +3,10 @@
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
@@ -33,11 +33,17 @@ body.is-mobile
.js-asset-list .js-asset-list
@extend .card-deck-vertical @extend .card-deck-vertical
// Overrides for when the timeline is against a dark background.
.timeline-dark .timeline-dark
.group-date .group
animation: fade-in 500ms forwards
opacity: 0
&-date // .group-date
color: $color-text-light-hint color: $color-text-light-hint
.group-title &-title // .group-title
@extend .bg-transparent @extend .bg-transparent
border-bottom-color: rgba($color-background, .2) !important border-bottom-color: rgba($color-background, .2) !important
color: rgba($color-background, .6) color: rgba($color-background, .6)

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,