aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-03-31 21:14:36 +0300
committerHenry Jameson <me@hjkos.com>2018-04-07 16:34:11 +0300
commitaa0564406a95824cc45c815571292716b65806a1 (patch)
treef3a282f88afe1e5ed6f9f08e0649bdf1bf2a892a /src/components/user_card/user_card.vue
parent936ca1a38cc1b9206dea8970eda6885fc7d4391d (diff)
getting rid of baseXX, some small fixes. Seems to be usable.
Diffstat (limited to 'src/components/user_card/user_card.vue')
-rw-r--r--src/components/user_card/user_card.vue34
1 files changed, 18 insertions, 16 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index dd14d1b4..0561fa95 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -1,5 +1,5 @@
<template>
- <div class="card base00-background">
+ <div class="card">
<a href="#">
<img @click.prevent="toggleUserExpanded" class="avatar" :src="user.profile_image_url">
</a>
@@ -21,24 +21,24 @@
<script src="./user_card.js"></script>
<style lang="scss">
- .name-and-screen-name {
+.name-and-screen-name {
margin-left: 0.7em;
margin-top:0.0em;
margin-right: 2em;
text-align: left;
width: 100%;
- }
+}
- .follows-you {
+.follows-you {
margin-left: 2em;
float: right;
- }
+}
- .follows {
+.follows {
- }
+}
- .card {
+.card {
display: flex;
flex: 1 0;
padding-top: 0.6em;
@@ -47,18 +47,17 @@
padding-left: 1em;
border-bottom: 1px solid;
margin: 0;
- border-bottom-color: inherit;
-
+ border-bottom-color: var(--border);
.avatar {
- margin-top: 0.2em;
- width:32px;
- height: 32px;
- border-radius: 50%;
+ margin-top: 0.2em;
+ width:32px;
+ height: 32px;
+ border-radius: 50%;
}
- }
+}
- .usercard {
+.usercard {
width: fill-available;
margin: 0.2em 0 0.7em 0;
border-radius: 10px;
@@ -67,6 +66,9 @@
border-width: 1px;
overflow: hidden;
+ .panel-heading {
+ background: transparent;
+ }
p {
margin-bottom: 0;
}