]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/video/abstract-video-list.scss
Add explicit step and aria-current attribute in register form
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.scss
CommitLineData
e66883b3
RK
1@import '_bootstrap-variables';
2@import '_variables';
244e76a5 3@import '_mixins';
830b4faf 4@import '_miniature';
244e76a5 5
e66883b3
RK
6.videos {
7 display: grid;
8 column-gap: calc(10px + .2%);
9 grid-template-columns: repeat(
10 auto-fill,
11 minmax(
12 var(--miniature-min-width, #{$video-thumbnail-width}),
13 1fr
14 )
15 );
16
17 @media screen and (min-width: #{breakpoint(xxl)}) {
18 --miniature-min-width: 300px;
19 }
20}
21
017c3dca
C
22.videos-header {
23 display: flex;
13adf228 24 justify-content: space-between;
13adf228 25 align-items: baseline;
017c3dca
C
26
27 .title-page.title-page-single {
13adf228
RK
28 display: flex;
29
30 my-feed {
31 display: inline-block;
32 top: 1px;
33 margin-left: 5px;
34 width: max-content;
c9ad38f4
RK
35 opacity: 0;
36 transition: ease-in .2s opacity;
37 }
38 &:hover my-feed {
39 opacity: 1;
13adf228 40 }
017c3dca 41 }
cc1561f9 42
13adf228
RK
43 .action-block {
44 a button {
45 @include peertube-button;
46 @include grey-button;
47 @include button-with-icon(18px, 3px, -1px);
48 }
017c3dca
C
49 }
50
51 .moderation-block {
52 display: flex;
53 flex-grow: 1;
54 justify-content: flex-end;
55 align-items: center;
56 }
244e76a5
RK
57}
58
34c7f429
C
59.date-title {
60 font-size: 16px;
61 font-weight: $font-semibold;
62 margin-bottom: 20px;
63 margin-top: -10px;
64 padding-top: 20px;
65
e66883b3
RK
66 // make the element span a full grid row within .videos grid
67 grid-column: 1 / -1;
68
34c7f429
C
69 &:not(:first-child) {
70 border-top: 1px solid $separator-border-color;
71 }
72}
73
e66883b3
RK
74:host-context(.main-col:not(.expanded)) .margin-content {
75 @include adapt-margin-content-width($fluid: true);
7193ad10 76}
11dd0c2e 77
4682468d
K
78@media screen and (max-width: $mobile-view) {
79 .videos-header {
80 flex-direction: column;
81 align-items: center;
82 height: auto;
83
84 .title-page {
85 margin-bottom: 10px;
86 margin-right: 0px;
87 }
88 }
89}