diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-07 17:38:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-07 18:14:05 +0200 |
commit | 27bc95867442c772841fb183a625bbda61dede51 (patch) | |
tree | 6fe20951f1109c1f5388d9a681f0df0758d463e0 /client/src/app/shared/shared-video-miniature | |
parent | 8beea2d37d90e9a12d895f4a9eebc1e532313d8c (diff) | |
download | PeerTube-27bc95867442c772841fb183a625bbda61dede51.tar.gz PeerTube-27bc95867442c772841fb183a625bbda61dede51.tar.zst PeerTube-27bc95867442c772841fb183a625bbda61dede51.zip |
Bidi support
Diffstat (limited to 'client/src/app/shared/shared-video-miniature')
4 files changed, 19 insertions, 12 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 index d9cf7a14f..dd9ab18a8 100644 --- a/client/src/app/shared/shared-video-miniature/abstract-video-list.scss +++ b/client/src/app/shared/shared-video-miniature/abstract-video-list.scss | |||
@@ -21,7 +21,8 @@ $icon-size: 16px; | |||
21 | } | 21 | } |
22 | 22 | ||
23 | .moderation-block { | 23 | .moderation-block { |
24 | margin-left: .4rem; | 24 | @include margin-left(.4rem); |
25 | |||
25 | display: flex; | 26 | display: flex; |
26 | justify-content: flex-end; | 27 | justify-content: flex-end; |
27 | align-items: center; | 28 | align-items: center; |
@@ -54,8 +55,8 @@ $icon-size: 16px; | |||
54 | } | 55 | } |
55 | 56 | ||
56 | .display-as-row.videos { | 57 | .display-as-row.videos { |
57 | margin-left: pvar(--horizontalMarginContent); | 58 | @include margin-left(pvar(--horizontalMarginContent)); |
58 | margin-right: pvar(--horizontalMarginContent); | 59 | @include margin-right(pvar(--horizontalMarginContent)); |
59 | 60 | ||
60 | .video-wrapper { | 61 | .video-wrapper { |
61 | margin-bottom: 15px; | 62 | margin-bottom: 15px; |
@@ -70,8 +71,9 @@ $icon-size: 16px; | |||
70 | margin-bottom: 10px; | 71 | margin-bottom: 10px; |
71 | 72 | ||
72 | .title-page { | 73 | .title-page { |
74 | @include margin-right(0); | ||
75 | |||
73 | margin-bottom: 10px; | 76 | margin-bottom: 10px; |
74 | margin-right: 0; | ||
75 | } | 77 | } |
76 | } | 78 | } |
77 | } | 79 | } |
diff --git a/client/src/app/shared/shared-video-miniature/video-download.component.scss b/client/src/app/shared/shared-video-miniature/video-download.component.scss index b689b1046..b0d80e530 100644 --- a/client/src/app/shared/shared-video-miniature/video-download.component.scss +++ b/client/src/app/shared/shared-video-miniature/video-download.component.scss | |||
@@ -19,7 +19,7 @@ | |||
19 | } | 19 | } |
20 | 20 | ||
21 | .glyphicon { | 21 | .glyphicon { |
22 | margin-right: 5px; | 22 | @include margin-right(5px); |
23 | } | 23 | } |
24 | } | 24 | } |
25 | 25 | ||
@@ -46,9 +46,9 @@ | |||
46 | 46 | ||
47 | .peertube-radio-container { | 47 | .peertube-radio-container { |
48 | @include peertube-radio-container; | 48 | @include peertube-radio-container; |
49 | @include margin-right(30px); | ||
49 | 50 | ||
50 | display: inline-block; | 51 | display: inline-block; |
51 | margin-right: 30px; | ||
52 | } | 52 | } |
53 | } | 53 | } |
54 | 54 | ||
@@ -66,8 +66,9 @@ | |||
66 | margin-bottom: 12px; | 66 | margin-bottom: 12px; |
67 | 67 | ||
68 | .metadata-attribute-label { | 68 | .metadata-attribute-label { |
69 | @include padding-right(5px); | ||
70 | |||
69 | min-width: 142px; | 71 | min-width: 142px; |
70 | padding-right: 5px; | ||
71 | display: inline-block; | 72 | display: inline-block; |
72 | color: pvar(--greyForegroundColor); | 73 | color: pvar(--greyForegroundColor); |
73 | font-weight: $font-bold; | 74 | font-weight: $font-bold; |
@@ -75,6 +76,7 @@ | |||
75 | 76 | ||
76 | a.metadata-attribute-value { | 77 | a.metadata-attribute-value { |
77 | @include disable-default-a-behaviour; | 78 | @include disable-default-a-behaviour; |
79 | |||
78 | color: pvar(--mainForegroundColor); | 80 | color: pvar(--mainForegroundColor); |
79 | 81 | ||
80 | &:hover { | 82 | &:hover { |
diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss index 0bbdff1e6..8f632edb4 100644 --- a/client/src/app/shared/shared-video-miniature/video-miniature.component.scss +++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.scss | |||
@@ -13,7 +13,7 @@ $more-button-width: 40px; | |||
13 | } | 13 | } |
14 | 14 | ||
15 | my-actor-avatar { | 15 | my-actor-avatar { |
16 | margin: 10px 10px 0 0; | 16 | @include margin(10px, 10px, 0, 0); |
17 | } | 17 | } |
18 | 18 | ||
19 | .video-miniature-created-at-views { | 19 | .video-miniature-created-at-views { |
@@ -155,10 +155,11 @@ my-actor-avatar { | |||
155 | } | 155 | } |
156 | 156 | ||
157 | my-video-thumbnail { | 157 | my-video-thumbnail { |
158 | @include margin-right(10px); | ||
159 | |||
158 | min-width: var(--rowThumbnailWidth); | 160 | min-width: var(--rowThumbnailWidth); |
159 | max-width: var(--rowThumbnailWidth); | 161 | max-width: var(--rowThumbnailWidth); |
160 | height: var(--rowThumbnailHeight); | 162 | height: var(--rowThumbnailHeight); |
161 | margin-right: 10px; | ||
162 | } | 163 | } |
163 | 164 | ||
164 | .video-miniature-name { | 165 | .video-miniature-name { |
diff --git a/client/src/app/shared/shared-video-miniature/videos-selection.component.scss b/client/src/app/shared/shared-video-miniature/videos-selection.component.scss index a2939d521..fa751eeca 100644 --- a/client/src/app/shared/shared-video-miniature/videos-selection.component.scss +++ b/client/src/app/shared/shared-video-miniature/videos-selection.component.scss | |||
@@ -11,8 +11,9 @@ | |||
11 | position: fixed; | 11 | position: fixed; |
12 | 12 | ||
13 | .action-button { | 13 | .action-button { |
14 | @include margin-left(55px); | ||
15 | |||
14 | display: block; | 16 | display: block; |
15 | margin-left: 55px; | ||
16 | } | 17 | } |
17 | } | 18 | } |
18 | 19 | ||
@@ -29,10 +30,11 @@ | |||
29 | } | 30 | } |
30 | 31 | ||
31 | .checkbox-container { | 32 | .checkbox-container { |
33 | @include margin-right(20px); | ||
34 | @include margin-left(12px); | ||
35 | |||
32 | display: flex; | 36 | display: flex; |
33 | align-items: center; | 37 | align-items: center; |
34 | margin-right: 20px; | ||
35 | margin-left: 12px; | ||
36 | } | 38 | } |
37 | 39 | ||
38 | my-video-miniature { | 40 | my-video-miniature { |