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