]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-miniature/abstract-video-list.scss
More robust tests
[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
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 71.margin-content {
0f7407d9 72 @include grid-videos-miniature-layout;
7193ad10 73}
11dd0c2e 74
4d5e572f
C
75.display-as-row.videos {
76 margin-left: pvar(--horizontalMarginContent);
77 margin-right: pvar(--horizontalMarginContent);
78
79 .video-wrapper {
80 margin-bottom: 15px;
81 }
82}
83
4682468d
K
84@media screen and (max-width: $mobile-view) {
85 .videos-header {
86 flex-direction: column;
87 align-items: center;
88 height: auto;
cf78883c 89 margin-bottom: 10px;
4682468d
K
90
91 .title-page {
92 margin-bottom: 10px;
93 margin-right: 0px;
94 }
95 }
96}