Socialify

Folder ..

Viewing sidebar.component.scss
80 lines (72 loc) • 1.3 KB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.placeholder::before {
  content: "";
  display: block;
  position: absolute;
  left: -300px;
  top: 0;
  height: 100%;
  width: 300px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #474747 50%,
    transparent 100%
  );
  animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes load {
  from {
    left: -300px;
  }
  to {
    left: 100%;
  }
}

.fs {
  width: 100%;
  height: 90vh;
  overflow: scroll;
  padding: 5vh 0%;
  position: relative;
  user-select: none;

  .avatar {
    width: 128px;
    height: 128px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.pro-badge {
  position: absolute;
  top: calc(5vh + 96px);
  left: calc(128px);
  transform: translateX(8px);
  background-color: hsl(10deg 100% 60%);
  font-size: 14px;
  line-height: 0;
  font-weight: 500;
  color: #fff;
  padding: 1em 0.7em;
  border-radius: 100vh;
}

.information {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.light {
    font-weight: 300;
}

.username {
    margin-top: -15px;
    color: rgb(121, 121, 121)
}