accounts.component.scss 2.2 KB
Newer Older
Chocobozzz's avatar
Chocobozzz committed
1
2
@import '_variables';
@import '_mixins';
Chocobozzz's avatar
Chocobozzz committed
3
4
5
6
@import '_actor';
@import '_miniature';

.root {
Chocobozzz's avatar
Chocobozzz committed
7
  --myGlobalTopPadding: 60px;
Chocobozzz's avatar
Chocobozzz committed
8
9
10
  --myImgMargin: 30px;
  --myFontSize: 16px;
  --myGreyFontSize: 16px;
11
12
}

Chocobozzz's avatar
Chocobozzz committed
13
14
.section-label {
  @include section-label-responsive;
15
16
}

Chocobozzz's avatar
Chocobozzz committed
17
.links {
Chocobozzz's avatar
Chocobozzz committed
18
  @include grid-videos-miniature-margins;
19

Chocobozzz's avatar
Chocobozzz committed
20
21
22
  display: flex;
  justify-content: space-between;
  align-items: center;
Chocobozzz's avatar
Chocobozzz committed
23
24
25
  max-width: $max-channels-width;

  simple-search-input {
Chocobozzz's avatar
Chocobozzz committed
26
    @include margin-left(auto);
Chocobozzz's avatar
Chocobozzz committed
27
  }
28
29
30
31
}

my-user-moderation-dropdown,
.badge {
Chocobozzz's avatar
Chocobozzz committed
32
  @include margin-left(10px);
33
34
35
36
37
38
39

  position: relative;
  top: 3px;
}

.badge {
  font-size: 13px;
40
41
42
}

.copy-button {
Chocobozzz's avatar
Chocobozzz committed
43
  border: 0;
Chocobozzz's avatar
Chocobozzz committed
44
45
46
}

.account-info {
Chocobozzz's avatar
Chocobozzz committed
47
  @include grid-videos-miniature-margins(false, 15px);
Chocobozzz's avatar
Chocobozzz committed
48

Chocobozzz's avatar
Chocobozzz committed
49
50
51
52
  display: grid;
  grid-template-columns: 1fr min-content;
  grid-template-rows: auto auto;

53
  background-color: pvar(--submenuBackgroundColor);
Chocobozzz's avatar
Chocobozzz committed
54
  margin-bottom: 45px;
Chocobozzz's avatar
Chocobozzz committed
55
  padding-top: var(--myGlobalTopPadding);
56
  padding-bottom: var(--myGlobalTopPadding);
Chocobozzz's avatar
Chocobozzz committed
57
58
59
60
61
62
63
64
65
  font-size: var(--myFontSize);
}

.account-avatar-row {
  @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize));
}

.description {
  grid-column: 1 / 3;
66
67
  max-width: 1000px;
  word-break: break-word;
Chocobozzz's avatar
Chocobozzz committed
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
}

.show-more {
  @include show-more-description;

  display: none;
  text-align: center;
}

.buttons {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;

  > *:not(:last-child) {
    margin-bottom: 15px;
  }
Chocobozzz's avatar
Chocobozzz committed
89
90
91
92

  > a {
    white-space: nowrap;
  }
Chocobozzz's avatar
Chocobozzz committed
93
94
95
96
}

@media screen and (max-width: $small-view) {
  .root {
Chocobozzz's avatar
Chocobozzz committed
97
    --myGlobalTopPadding: 45px;
Chocobozzz's avatar
Chocobozzz committed
98
99
100
101
102
103
104
105
106
    --myChannelImgMargin: 15px;
  }

  .account-info {
    display: block;
    padding-bottom: 60px;
  }

  .description:not(.expanded) {
107
    @include fade-text(30px, pvar(--submenuBackgroundColor));
Chocobozzz's avatar
Chocobozzz committed
108
109

    max-height: 70px;
Chocobozzz's avatar
Chocobozzz committed
110
111
112
113
114
115
116
117
118
  }

  .show-more {
    display: block;
  }

  .buttons {
    justify-content: center;
  }
119
}
120
121

@media screen and (max-width: $mobile-view) {
Chocobozzz's avatar
Chocobozzz committed
122
  .root {
Chocobozzz's avatar
Chocobozzz committed
123
    --myGlobalTopPadding: 15px;
Chocobozzz's avatar
Chocobozzz committed
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
    --myFontSize: 14px;
    --myGreyFontSize: 13px;
  }

  .account-info {
    display: block;
    padding-bottom: 30px;
  }

  .links {
    margin: auto !important;
    width: min-content;
  }

  .show-more {
    margin-bottom: 30px;
140
141
  }
}