]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/abstract-video-list.scss
Don't take into account ended lives in concurrent lives check
[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 {
2b587cad
RK
33 div {
34 @include button-with-icon($iconSize, 3px, -1px);
35 }
36
37 margin-left: .2rem;
017c3dca 38 display: flex;
017c3dca
C
39 justify-content: flex-end;
40 align-items: center;
41 }
244e76a5
RK
42}
43
34c7f429
C
44.date-title {
45 font-size: 16px;
46 font-weight: $font-semibold;
47 margin-bottom: 20px;
48 margin-top: -10px;
34c7f429 49
e66883b3
RK
50 // make the element span a full grid row within .videos grid
51 grid-column: 1 / -1;
52
34c7f429 53 &:not(:first-child) {
d840487f
RK
54 margin-top: .5rem;
55 padding-top: 20px;
34c7f429
C
56 border-top: 1px solid $separator-border-color;
57 }
58}
59
cf78883c
C
60.margin-content {
61 @include fluid-videos-miniature-layout;
7193ad10 62}
11dd0c2e 63
4682468d
K
64@media screen and (max-width: $mobile-view) {
65 .videos-header {
66 flex-direction: column;
67 align-items: center;
68 height: auto;
cf78883c 69 margin-bottom: 10px;
4682468d
K
70
71 .title-page {
72 margin-bottom: 10px;
73 margin-right: 0px;
74 }
75 }
76}