]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-watch/shared/action-buttons/action-buttons.component.scss
Replace all glyphicon icons
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / shared / action-buttons / action-buttons.component.scss
CommitLineData
06a55579
C
1@use '_variables' as *;
2@use '_mixins' as *;
3
4.video-actions {
5 height: 40px; // Align with the title
6 display: flex;
7 align-items: center;
8
9 .action-button:not(:first-child),
10 .action-dropdown,
11 my-video-actions-dropdown {
12 @include margin-left(5px);
13 }
14
15 ::ng-deep.action-button {
16 @include peertube-button;
17 @include button-with-icon(21px, 0, -1px);
18
19 font-size: 100%;
20 font-weight: $font-semibold;
21 display: inline-block;
22 padding: 0 10px;
23 white-space: nowrap;
24 background-color: transparent !important;
25 color: pvar(--actionButtonColor);
26 text-transform: uppercase;
27
28 &::after {
29 display: none;
30 }
31
32 &:hover {
33 opacity: 0.9;
34 }
35
36 &.action-button-support {
37 color: pvar(--supportButtonColor);
38
39 my-global-icon {
40 @include apply-svg-color(pvar(--supportButtonColor));
41 }
42 }
43
44 &.action-button-support {
45 my-global-icon {
46 ::ng-deep path:first-child {
47 fill: pvar(--supportButtonHeartColor) !important;
48 }
49 }
50 }
51
3cf68b86
C
52 &.action-button-save,
53 &.action-button-download {
06a55579
C
54 my-global-icon {
55 top: 0 !important;
56 right: -1px;
57 }
58 }
59
60 .icon-text {
61 @include margin-left(3px);
62 }
63 }
64}
65
66.likes-dislikes-bar-outer-container {
67 position: relative;
68}
69
70.likes-dislikes-bar-inner-container {
71 position: absolute;
72 height: 20px;
73}
74
75.likes-dislikes-bar {
76 $likes-bar-height: 2px;
77
78 height: $likes-bar-height;
79 margin-top: -$likes-bar-height;
80
81 width: 120px;
82 background-color: #ccc;
83 position: relative;
84 top: 10px;
85
86 .likes-bar {
87 height: 100%;
88 background-color: #909090;
89
90 &.liked {
91 background-color: pvar(--activatedActionButtonColor);
92 }
93 }
94}
95
96@media screen and (max-width: 450px) {
97 .action-button .icon-text {
98 display: none !important;
99 }
100}