aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card_content/user_card_content.vue
diff options
context:
space:
mode:
authorshpuld <shpuld@gmail.com>2017-03-05 19:00:35 +0200
committershpuld <shpuld@gmail.com>2017-03-05 19:00:35 +0200
commite19bfb9a22f1db562de7079b71dee6e53a8a54fb (patch)
tree8f12ac8f21679e036f42e0a156f345bf4d0f2156 /src/components/user_card_content/user_card_content.vue
parent015bf78dd9b17a1eac11119e38d8e83be8d791ae (diff)
parent049c74f8e87e0aa19ee416bb72c987296a3e2dc9 (diff)
Merged from develop, made 'new notices' into a 'show new' button placed on the heading element, updated headings and buttons to be more consistent with new changes (log-in, notifications/read, conversation/collapse), changed bottom 'load older' block to not disappear on click to keep screen from scrolling and changed its styling more consistent with everything else.
Diffstat (limited to 'src/components/user_card_content/user_card_content.vue')
-rw-r--r--src/components/user_card_content/user_card_content.vue6
1 files changed, 2 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 aa9a15e1..3fa34773 100644
--- a/src/components/user_card_content/user_card_content.vue
+++ b/src/components/user_card_content/user_card_content.vue
@@ -63,15 +63,13 @@
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 () {