From 960ed9540d443e0d577d7aefe1918b74343f4e0e Mon Sep 17 00:00:00 2001 From: shpuld Date: Sat, 25 Feb 2017 14:34:05 +0200 Subject: [PATCH 01/37] Make use of template literals instead of string concat. --- src/components/user_card_content/user_card_content.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index a30eadf5ef..4dc1c6f10c 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -63,15 +63,15 @@ headingStyle () { let rgb = this.$store.state.config.colors['base00'].match(/\d+/g) return { - backgroundColor: 'rgb(' + Math.floor(rgb[0] * 0.53) + ', ' + - Math.floor(rgb[1] * 0.56) + ', ' + - Math.floor(rgb[2] * 0.59) + ')', + backgroundColor: `rgb(${Math.floor(rgb[0] * 0.53)}, + ${Math.floor(rgb[1] * 0.56)}, + ${Math.floor(rgb[2] * 0.59)})`, backgroundImage: `url(${this.user.cover_photo})` } }, bodyStyle () { return { - background: 'linear-gradient(to bottom, rgba(0, 0, 0, 0), ' + this.$store.state.config.colors['base00'] + ' 80%)' + background: `linear-gradient(to bottom, rgba(0, 0, 0, 0), ${this.$store.state.config.colors['base00']} 80%)` } }, isOtherUser () { From 015bf78dd9b17a1eac11119e38d8e83be8d791ae Mon Sep 17 00:00:00 2001 From: shpuld Date: Sun, 26 Feb 2017 22:36:54 +0200 Subject: [PATCH 02/37] Heading text floats left, initial attempt at load more in the right side of the heading. --- src/App.scss | 4 ++-- src/components/timeline/timeline.vue | 12 +++++++++--- .../user_card_content/user_card_content.vue | 5 +++++ 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/App.scss b/src/App.scss index 0945c76b72..8a1942c63a 100644 --- a/src/App.scss +++ b/src/App.scss @@ -109,8 +109,8 @@ main-router { .panel-heading { border-radius: 10px 10px 0 0; background-size: cover; - padding: 0.6em 0; - text-align: center; + padding: 0.6em 1.0em; + text-align: left; font-size: 1.3em; line-height: 24px; } diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 45886f6cf0..078d954c74 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -1,7 +1,7 @@