]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/abstract-video-list.scss
Fix broken views on mobile and small screens (#2671)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.scss
CommitLineData
244e76a5 1@import '_mixins';
830b4faf 2@import '_miniature';
244e76a5 3
017c3dca
C
4.videos-header {
5 display: flex;
13adf228 6 justify-content: space-between;
017c3dca 7 height: 80px;
13adf228 8 align-items: baseline;
017c3dca
C
9
10 .title-page.title-page-single {
13adf228
RK
11 display: flex;
12
13 my-feed {
14 display: inline-block;
15 top: 1px;
16 margin-left: 5px;
17 width: max-content;
c9ad38f4
RK
18 opacity: 0;
19 transition: ease-in .2s opacity;
20 }
21 &:hover my-feed {
22 opacity: 1;
13adf228 23 }
017c3dca 24 }
cc1561f9 25
13adf228
RK
26 .action-block {
27 a button {
28 @include peertube-button;
29 @include grey-button;
30 @include button-with-icon(18px, 3px, -1px);
31 }
017c3dca
C
32 }
33
34 .moderation-block {
35 display: flex;
36 flex-grow: 1;
37 justify-content: flex-end;
38 align-items: center;
39 }
244e76a5
RK
40}
41
34c7f429
C
42.date-title {
43 font-size: 16px;
44 font-weight: $font-semibold;
45 margin-bottom: 20px;
46 margin-top: -10px;
47 padding-top: 20px;
48
49 &:not(:first-child) {
50 border-top: 1px solid $separator-border-color;
51 }
52}
53
11dd0c2e 54.margin-content {
c8487f3f 55 @include adapt-margin-content-width;
7193ad10 56}
11dd0c2e 57
4682468d
K
58@media screen and (max-width: $mobile-view) {
59 .videos-header {
60 flex-direction: column;
61 align-items: center;
62 height: auto;
63
64 .title-page {
65 margin-bottom: 10px;
66 margin-right: 0px;
67 }
68 }
69}