]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - 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
1 @import '_bootstrap-variables';
2 @import '_variables';
3 @import '_mixins';
4 @import '_miniature';
5
6 $iconSize: 16px;
7
8 ::ng-deep my-video-list-header {
9 display: flex;
10 flex-grow: 1;
11 }
12
13 .videos-header {
14 display: flex;
15 justify-content: space-between;
16 align-items: center;
17
18 .action-block {
19 ::ng-deep my-feed {
20 my-global-icon {
21 width: calc(#{$iconSize} - 2px);
22 }
23 }
24
25 a button {
26 @include peertube-button;
27 @include grey-button;
28 @include button-with-icon($iconSize, 3px, -1px);
29 }
30 }
31
32 .moderation-block {
33
34 my-global-icon {
35 position: relative;
36 width: $iconSize;
37 top: -2px;
38 }
39
40 margin-left: .4rem;
41 display: flex;
42 justify-content: flex-end;
43 align-items: center;
44
45 .dropdown-item {
46 padding: 0;
47
48 ::ng-deep my-peertube-checkbox label {
49 padding: 3px 15px;
50 }
51 }
52 }
53 }
54
55 .date-title {
56 font-size: 16px;
57 font-weight: $font-semibold;
58 margin-bottom: 20px;
59 margin-top: -10px;
60
61 // make the element span a full grid row within .videos grid
62 grid-column: 1 / -1;
63
64 &:not(:first-child) {
65 margin-top: .5rem;
66 padding-top: 20px;
67 border-top: 1px solid $separator-border-color;
68 }
69 }
70
71 .margin-content {
72 @include grid-videos-miniature-layout;
73 }
74
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
84 @media screen and (max-width: $mobile-view) {
85 .videos-header {
86 flex-direction: column;
87 align-items: center;
88 height: auto;
89 margin-bottom: 10px;
90
91 .title-page {
92 margin-bottom: 10px;
93 margin-right: 0px;
94 }
95 }
96 }