aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/account/actor-avatar-info.component.scss
blob: 40ba4269bb3e14078a1a9941d137665816de08b6 (plain) (blame)
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
81
82
83
84
85
86
87
88
89
90
91
92
@import '_variables';
@import '_mixins';

.actor {
  display: flex;

  img {
    margin-right: 15px;

    &:not(.channel) {
      @include avatar(100px);
    }

    &.channel {
      @include channel-avatar(100px);
    }
  }

  .actor-img-edit-container {
    position: relative;
    width: 0;

    .actor-img-edit-button {
      @include peertube-button-file(21px);
      @include button-with-icon(19px);
      @include orange-button;

      margin-top: 10px;
      margin-bottom: 5px;
      border-radius: 50%;
      top: 55px;
      right: 45px;
      cursor: pointer;

      input {
        width: 30px;
        height: 30px;
      }

      my-global-icon {
        right: 7px;
      }
    }
  }

  .actor-info {
    justify-content: center;
    display: inline-flex;
    flex-direction: column;

    .actor-info-names {
      display: flex;
      align-items: center;

      .actor-info-display-name {
        font-size: 20px;
        font-weight: $font-bold;

        @media screen and (max-width: $small-view) {
          font-size: 16px;
        }
      }

      .actor-info-username {
        margin-left: 7px;
        position: relative;
        top: 2px;
        font-size: 14px;
        color: $grey-actor-name;
      }
    }

    .actor-info-followers {
      font-size: 15px;
      padding-bottom: .5rem;
    }
  }
}

.actor-img-edit-container ::ng-deep .popover-avatar-info .popover-body {
  padding: 0;

  .dropdown-item {
    padding: 6px 10px;
    border-radius: 4px;

    &:first-child {
      @include peertube-file;
      display: block;
    }
  }
}