162 lines
4.0 KiB
SCSS
162 lines
4.0 KiB
SCSS
@import "variables";
|
|
@import "mixins";
|
|
@import "commons";
|
|
$validated-font-color: #4fde23;
|
|
$validated-background: #164109;
|
|
$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);
|
|
}
|
|
&__avatar {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
width: 80px;
|
|
border-radius: 50%;
|
|
}
|
|
&__display-name {
|
|
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 {
|
|
// transition: all .4s;
|
|
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%);
|
|
// height: calc(20% - 190px);
|
|
// height: 150px;
|
|
// border: 1px solid greenyellow;
|
|
}
|
|
&-description {
|
|
padding: 10px 10px 15px 10px;
|
|
font-size: 13px;
|
|
border-bottom: 1px solid black;
|
|
&__content {
|
|
width: calc(100%);
|
|
word-break: break-word;
|
|
}
|
|
}
|
|
&-fields {
|
|
font-size: 13px;
|
|
border-bottom: 1px solid black;
|
|
&__field {
|
|
&:not(:last-child) {
|
|
border-bottom: 1px solid black;
|
|
}
|
|
&--name {
|
|
padding: 10px;
|
|
border-right: 1px solid black;
|
|
text-align: center;
|
|
width: calc(33%);
|
|
background-color: #0b0d13;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
&--value {
|
|
padding: 10px;
|
|
width: calc(66%);
|
|
float: right;
|
|
white-space: nowrap;
|
|
}
|
|
&--validated {
|
|
background-color: $validated-background;
|
|
// border: 1px solid $validated-font-color;
|
|
}
|
|
}
|
|
@include clearfix;
|
|
}
|
|
&-no-toots {
|
|
text-align: center;
|
|
margin: 15px;
|
|
border: 2px solid whitesmoke;
|
|
}
|
|
}
|
|
|
|
//Mastodon styling
|
|
:host ::ng-deep .profile-fields__field--value {
|
|
// font-size: 14px;
|
|
color: $status-primary-color;
|
|
& a,
|
|
.mention,
|
|
.ellipsis {
|
|
color: $status-links-color;
|
|
}
|
|
& .invisible {
|
|
display: none;
|
|
}
|
|
& p {
|
|
margin: 0px; //font-size: .9em;
|
|
// font-size: 14px;
|
|
}
|
|
}
|
|
|
|
:host ::ng-deep .profile-fields__field--validated {
|
|
// font-size: 14px;
|
|
color: $validated-font-color;
|
|
& a,
|
|
.mention,
|
|
.ellipsis {
|
|
color: $validated-font-color;
|
|
}
|
|
& .invisible {
|
|
display: none;
|
|
}
|
|
& p {
|
|
margin: 0px; //font-size: .9em;
|
|
// font-size: 14px;
|
|
}
|
|
} |