aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+stats/video/video-stats.component.scss
blob: 007d5fa0e9ed364dddba39fca42865f26fb947d2 (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
93
94
95
96
97
98
99
100
@use '_variables' as *;
@use '_mixins' as *;
@use '_nav' as *;

.stats-embed {
  display: flex;
  justify-content: space-between;
}

.overall-stats,
.global-stats {
  display: flex;
  flex-wrap: wrap;

  h2 {
    font-size: 16px;
    width: 100%;
  }
}

.overall-stats {
  justify-content: space-between;

  .cards {
    display: flex;
    flex-wrap: wrap;
  }

  .date-filter-wrapper {
    margin-bottom: 10px;
    min-width: 300px;
  }
}

.stats-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
  min-height: 100px;
  min-width: 200px;
  margin-right: 15px;
  background-color: pvar(--submenuBackgroundColor);
  margin-bottom: 15px;

  .label,
  .more-info {
    font-size: 14px;
  }

  .value {
    font-size: 24px;
    font-weight: $font-semibold;
  }

  @media screen and (max-width: $mobile-view) {
    min-height: fit-content;
    min-width: fit-content;
    padding: 15px;
  }
}

my-embed {
  display: block;
  max-width: 500px;
  width: 100%;
}

.stats-with-date {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid $separator-border-color;
}

@include on-small-main-col {
  my-embed {
    display: none;
  }
}

.tab-content {
  margin-top: 5px;
}

.nav-tabs {
  @include peertube-nav-tabs($border-width: 2px);
}

.chart-container {
  margin-bottom: 10px;
}

.zoom-container {
  display: flex;
  justify-content: center;

  .description {
    font-style: italic;
  }
}