]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/abstract-video-list.scss
Fix rss feed with HLS videos
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-miniature / abstract-video-list.scss
CommitLineData
e66883b3
RK
1@import '_bootstrap-variables';
2@import '_variables';
244e76a5 3@import '_mixins';
830b4faf 4@import '_miniature';
244e76a5 5
2b587cad
RK
6$iconSize: 16px;
7
017c3dca
C
8.videos-header {
9 display: flex;
13adf228 10 justify-content: space-between;
2b587cad 11 align-items: center;
017c3dca
C
12
13 .title-page.title-page-single {
13adf228 14 display: flex;
2b587cad 15 flex-grow: 1;
017c3dca 16 }
cc1561f9 17
13adf228 18 .action-block {
2b587cad
RK
19 ::ng-deep my-feed {
20 my-global-icon {
21 width: calc(#{$iconSize} - 2px);
22 }
23 }
24
13adf228
RK
25 a button {
26 @include peertube-button;
27 @include grey-button;
2b587cad 28 @include button-with-icon($iconSize, 3px, -1px);
13adf228 29 }
017c3dca
C
30 }
31
32 .moderation-block {
606bcaf2
C
33
34 my-global-icon {
35 position: relative;
36 width: $iconSize;
37 top: -2px;
2b587cad
RK
38 }
39
0aa52e17 40 margin-left: .4rem;
017c3dca 41 display: flex;
017c3dca
C
42 justify-content: flex-end;
43 align-items: center;
0aa52e17
C
44
45 .dropdown-item {
46 padding: 0;
47
48 ::ng-deep my-peertube-checkbox label {
49 padding: 3px 15px;
50 }
51 }
017c3dca 52 }
244e76a5
RK
53}
54
34c7f429
C
55.date-title {
56 font-size: 16px;
57 font-weight: $font-semibold;
58 margin-bottom: 20px;
59 margin-top: -10px;
34c7f429 60
e66883b3
RK
61 // make the element span a full grid row within .videos grid
62 grid-column: 1 / -1;
63
34c7f429 64 &:not(:first-child) {
d840487f
RK
65 margin-top: .5rem;
66 padding-top: 20px;
34c7f429
C
67 border-top: 1px solid $separator-border-color;
68 }
69}
70
cf78883c
C
71.margin-content {
72 @include fluid-videos-miniature-layout;
7193ad10 73}
11dd0c2e 74
4682468d
K
75@media screen and (max-width: $mobile-view) {
76 .videos-header {
77 flex-direction: column;
78 align-items: center;
79 height: auto;
cf78883c 80 margin-bottom: 10px;
4682468d
K
81
82 .title-page {
83 margin-bottom: 10px;
84 margin-right: 0px;
85 }
86 }
87}