blob: fdf4e3edbdcf2919fc06859869a76be27614c966 (
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 *;
.video-actions {
height: 40px; // Align with the title
display: flex;
align-items: center;
.action-button:not(:first-child),
.action-dropdown,
my-video-actions-dropdown {
@include margin-left(5px);
}
::ng-deep.action-button {
@include peertube-button;
@include button-with-icon(21px, 0, -1px);
font-size: 100%;
font-weight: $font-semibold;
display: inline-block;
padding: 0 10px;
white-space: nowrap;
background-color: transparent !important;
color: pvar(--actionButtonColor);
text-transform: uppercase;
&::after {
display: none;
}
&:hover {
opacity: 0.9;
}
&.action-button-support {
color: pvar(--supportButtonColor);
my-global-icon {
@include apply-svg-color(pvar(--supportButtonColor));
}
}
&.action-button-support {
my-global-icon {
::ng-deep path:first-child {
fill: pvar(--supportButtonHeartColor) !important;
}
}
}
&.action-button-save,
&.action-button-download {
my-global-icon {
top: 0 !important;
right: -1px;
}
}
.icon-text {
@include margin-left(3px);
}
}
}
.likes-dislikes-bar-outer-container {
position: relative;
}
.likes-dislikes-bar-inner-container {
position: absolute;
height: 20px;
}
.likes-dislikes-bar {
$likes-bar-height: 2px;
height: $likes-bar-height;
margin-top: -$likes-bar-height;
width: 120px;
background-color: #ccc;
position: relative;
top: 10px;
.likes-bar {
height: 100%;
background-color: #909090;
&.liked {
background-color: pvar(--activatedActionButtonColor);
}
}
}
@media screen and (max-width: 450px) {
.action-button .icon-text {
display: none !important;
}
}
|