getting rid of baseXX, some small fixes. Seems to be usable.

This commit is contained in:
Henry Jameson 2018-03-31 21:14:36 +03:00
parent 936ca1a38c
commit aa0564406a
32 changed files with 761 additions and 636 deletions

View file

@ -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;
}