-
diff --git a/src/app/components/stream/user-profile/user-profile.component.scss b/src/app/components/stream/user-profile/user-profile.component.scss
index ee83dfc5..ee9befd5 100644
--- a/src/app/components/stream/user-profile/user-profile.component.scss
+++ b/src/app/components/stream/user-profile/user-profile.component.scss
@@ -1,4 +1,5 @@
@import "variables";
+@import "mixins";
@import "commons";
$header-height: 160px;
@@ -6,19 +7,21 @@ $header-height: 160px;
.profile {
// overflow: auto;
height: calc(100%);
+ overflow: auto;
&-header {
background-size: cover;
position: relative; // height: 140px;
overflow: hidden; // background-color: black;
border-bottom: 1px solid black;
+
& h2 {
font-size: $default-font-size;
}
&__inner {
overflow: auto;
height: $header-height;
- background-color: rgba(0, 0, 0, .45);
+ background-color: rgba(0, 0, 0, .45);
}
&__avatar {
position: absolute;
@@ -31,20 +34,59 @@ $header-height: 160px;
position: absolute;
top: 105px;
left: 15px;
+ width: calc(100% - 30px);
+ overflow: hidden;
color: white;
}
&__fullhandle a {
position: absolute;
top: 130px;
left: 15px;
+ width: calc(100% - 30px);
+ overflow: hidden;
color: white;
}
+ &__follow{
+ position: absolute;
+ top: 10px;
+ right: 15px;
+ font-size: 28px;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+
+ &--button{
+ @include clearButton;
+ }
+
+ &--unfollowed {
+
+ }
+
+ &--followed {
+ color: #38abff;
+ color: #5fbcff;
+ color: #85ccff;
+ }
+ }
+ &__state {
+ position: absolute;
+ top: 50px;
+ right: 15px;
+ font-size: 12px;
+
+ &--data{
+ text-align: right;
+ }
+ }
+
}
&-sub-header {
- overflow: auto;
- height: calc(100% - #{$header-height});
- height: calc(100%);
+ // overflow: auto;
+ // height: calc(100% - #{$header-height});
+
+ // height: calc(100%);
// height: calc(20% - 190px);
// height: 150px;
// border: 1px solid greenyellow;
diff --git a/src/app/components/stream/user-profile/user-profile.component.ts b/src/app/components/stream/user-profile/user-profile.component.ts
index 5e7fa9cd..112dbd76 100644
--- a/src/app/components/stream/user-profile/user-profile.component.ts
+++ b/src/app/components/stream/user-profile/user-profile.component.ts
@@ -1,5 +1,7 @@
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { HttpErrorResponse } from '@angular/common/http';
+import { faUser, faHourglassHalf, faUserCheck } from "@fortawesome/free-solid-svg-icons";
+import { faUser as faUserRegular } from "@fortawesome/free-regular-svg-icons";
import { Account, Status } from "../../../services/models/mastodon.interfaces";
import { MastodonService } from '../../../services/mastodon.service';
@@ -13,6 +15,10 @@ import { NotificationService } from '../../../services/notification.service';
styleUrls: ['./user-profile.component.scss']
})
export class UserProfileComponent implements OnInit {
+ faUser = faUser;
+ faUserRegular = faUserRegular;
+ faHourglassHalf = faHourglassHalf;
+ faUserCheck = faUserCheck;
account: Account;
hasNote: boolean;