diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/shared/shared-video-miniature/abstract-video-list.scss | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/abstract-video-list.scss')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/abstract-video-list.scss | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss new file mode 100644 index 000000000..7f23098aa --- /dev/null +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss | |||
@@ -0,0 +1,75 @@ | |||
1 | @import '_bootstrap-variables'; | ||
2 | @import '_variables'; | ||
3 | @import '_mixins'; | ||
4 | @import '_miniature'; | ||
5 | |||
6 | .videos-header { | ||
7 | display: flex; | ||
8 | justify-content: space-between; | ||
9 | align-items: baseline; | ||
10 | |||
11 | .title-page.title-page-single { | ||
12 | display: flex; | ||
13 | |||
14 | my-feed { | ||
15 | display: inline-block; | ||
16 | top: 1px; | ||
17 | margin-left: 5px; | ||
18 | width: max-content; | ||
19 | opacity: 0; | ||
20 | transition: ease-in .2s opacity; | ||
21 | } | ||
22 | &:hover my-feed { | ||
23 | opacity: 1; | ||
24 | } | ||
25 | } | ||
26 | |||
27 | .action-block { | ||
28 | a button { | ||
29 | @include peertube-button; | ||
30 | @include grey-button; | ||
31 | @include button-with-icon(18px, 3px, -1px); | ||
32 | } | ||
33 | } | ||
34 | |||
35 | .moderation-block { | ||
36 | display: flex; | ||
37 | flex-grow: 1; | ||
38 | justify-content: flex-end; | ||
39 | align-items: center; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | .date-title { | ||
44 | font-size: 16px; | ||
45 | font-weight: $font-semibold; | ||
46 | margin-bottom: 20px; | ||
47 | margin-top: -10px; | ||
48 | |||
49 | // make the element span a full grid row within .videos grid | ||
50 | grid-column: 1 / -1; | ||
51 | |||
52 | &:not(:first-child) { | ||
53 | margin-top: .5rem; | ||
54 | padding-top: 20px; | ||
55 | border-top: 1px solid $separator-border-color; | ||
56 | } | ||
57 | } | ||
58 | |||
59 | .margin-content { | ||
60 | @include fluid-videos-miniature-layout; | ||
61 | } | ||
62 | |||
63 | @media screen and (max-width: $mobile-view) { | ||
64 | .videos-header { | ||
65 | flex-direction: column; | ||
66 | align-items: center; | ||
67 | height: auto; | ||
68 | margin-bottom: 10px; | ||
69 | |||
70 | .title-page { | ||
71 | margin-bottom: 10px; | ||
72 | margin-right: 0px; | ||
73 | } | ||
74 | } | ||
75 | } | ||