]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/abstract-video-list.scss
Refactor feed component
[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
3da68f0a 8::ng-deep my-video-list-header {
5bcbcbe3
RK
9 display: flex;
10 flex-grow: 1;
11}
12
017c3dca
C
13.videos-header {
14 display: flex;
13adf228 15 justify-content: space-between;
2b587cad 16 align-items: center;
017c3dca 17
205e4f56
C
18 my-feed {
19 display: inline-block;
20 width: calc(#{$iconSize} - 2px);
017c3dca
C
21 }
22
23 .moderation-block {
606bcaf2
C
24
25 my-global-icon {
26 position: relative;
27 width: $iconSize;
2b587cad
RK
28 }
29
0aa52e17 30 margin-left: .4rem;
017c3dca 31 display: flex;
017c3dca
C
32 justify-content: flex-end;
33 align-items: center;
34 }
244e76a5
RK
35}
36
34c7f429
C
37.date-title {
38 font-size: 16px;
39 font-weight: $font-semibold;
40 margin-bottom: 20px;
41 margin-top: -10px;
34c7f429 42
e66883b3
RK
43 // make the element span a full grid row within .videos grid
44 grid-column: 1 / -1;
45
34c7f429 46 &:not(:first-child) {
d840487f
RK
47 margin-top: .5rem;
48 padding-top: 20px;
34c7f429
C
49 border-top: 1px solid $separator-border-color;
50 }
51}
52
cf78883c 53.margin-content {
0f7407d9 54 @include grid-videos-miniature-layout;
7193ad10 55}
11dd0c2e 56
4d5e572f
C
57.display-as-row.videos {
58 margin-left: pvar(--horizontalMarginContent);
59 margin-right: pvar(--horizontalMarginContent);
60
61 .video-wrapper {
62 margin-bottom: 15px;
63 }
64}
65
4682468d
K
66@media screen and (max-width: $mobile-view) {
67 .videos-header {
68 flex-direction: column;
69 align-items: center;
70 height: auto;
cf78883c 71 margin-bottom: 10px;
4682468d
K
72
73 .title-page {
74 margin-bottom: 10px;
75 margin-right: 0px;
76 }
77 }
78}