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/+admin | |
parent | 8beea2d37d90e9a12d895f4a9eebc1e532313d8c (diff) | |
download | PeerTube-27bc95867442c772841fb183a625bbda61dede51.tar.gz PeerTube-27bc95867442c772841fb183a625bbda61dede51.tar.zst PeerTube-27bc95867442c772841fb183a625bbda61dede51.zip |
Bidi support
Diffstat (limited to 'client/src/app/+admin')
11 files changed, 33 insertions, 20 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index cc2a98a17..b99a779a1 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | |||
@@ -14,6 +14,7 @@ form { | |||
14 | 14 | ||
15 | input[type=text] { | 15 | input[type=text] { |
16 | @include peertube-input-text($form-base-input-width); | 16 | @include peertube-input-text($form-base-input-width); |
17 | |||
17 | display: block; | 18 | display: block; |
18 | } | 19 | } |
19 | 20 | ||
@@ -53,13 +54,14 @@ my-select-checkbox { | |||
53 | input[type=submit] { | 54 | input[type=submit] { |
54 | @include peertube-button; | 55 | @include peertube-button; |
55 | @include orange-button; | 56 | @include orange-button; |
57 | @include margin-left(auto); | ||
56 | 58 | ||
57 | display: flex; | 59 | display: flex; |
58 | margin-left: auto; | ||
59 | 60 | ||
60 | + .form-error { | 61 | + .form-error { |
62 | @include margin-left(5px); | ||
63 | |||
61 | display: inline; | 64 | display: inline; |
62 | margin-left: 5px; | ||
63 | } | 65 | } |
64 | } | 66 | } |
65 | 67 | ||
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.scss b/client/src/app/+admin/follows/followers-list/followers-list.component.scss index 35f38aae0..8a120bd61 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.scss +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.scss | |||
@@ -18,6 +18,6 @@ a { | |||
18 | 18 | ||
19 | .action-cell { | 19 | .action-cell { |
20 | my-button:first-child { | 20 | my-button:first-child { |
21 | margin-right: 10px; | 21 | @include margin-right(10px); |
22 | } | 22 | } |
23 | } | 23 | } |
diff --git a/client/src/app/+admin/follows/follows.component.scss b/client/src/app/+admin/follows/follows.component.scss index 1ed0d925f..55256c273 100644 --- a/client/src/app/+admin/follows/follows.component.scss +++ b/client/src/app/+admin/follows/follows.component.scss | |||
@@ -1,8 +1,9 @@ | |||
1 | @import 'mixins'; | 1 | @import 'mixins'; |
2 | 2 | ||
3 | .form-sub-title { | 3 | .form-sub-title { |
4 | @include margin-right(30px); | ||
5 | |||
4 | flex-grow: 0; | 6 | flex-grow: 0; |
5 | margin-right: 30px; | ||
6 | } | 7 | } |
7 | 8 | ||
8 | .badge { | 9 | .badge { |
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss index 30b9f2147..ff9a83fea 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.scss | |||
@@ -25,7 +25,7 @@ a { | |||
25 | 25 | ||
26 | .select-filter-block { | 26 | .select-filter-block { |
27 | &:not(:last-child) { | 27 | &:not(:last-child) { |
28 | margin-right: 10px; | 28 | @include margin-right(10px); |
29 | } | 29 | } |
30 | 30 | ||
31 | label { | 31 | label { |
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss index a6f931e3b..39e54c315 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss | |||
@@ -1,7 +1,7 @@ | |||
1 | @import 'mixins'; | 1 | @import 'mixins'; |
2 | 2 | ||
3 | my-feed { | 3 | my-feed { |
4 | margin-left: 5px; | 4 | @include margin-left(5px); |
5 | display: inline-block; | 5 | display: inline-block; |
6 | width: 15px; | 6 | width: 15px; |
7 | } | 7 | } |
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss index 20f169e13..7e532f931 100644 --- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss +++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.scss | |||
@@ -18,12 +18,13 @@ | |||
18 | margin-bottom: 15px; | 18 | margin-bottom: 15px; |
19 | 19 | ||
20 | my-global-icon { | 20 | my-global-icon { |
21 | margin-right: 5px; | 21 | @include margin-right(5px); |
22 | } | 22 | } |
23 | } | 23 | } |
24 | 24 | ||
25 | .badge { | 25 | .badge { |
26 | @include margin-left(15px); | ||
27 | |||
26 | font-size: 13px; | 28 | font-size: 13px; |
27 | font-weight: $font-semibold; | 29 | font-weight: $font-semibold; |
28 | margin-left: 15px; | ||
29 | } | 30 | } |
diff --git a/client/src/app/+admin/plugins/shared/plugin-list.component.scss b/client/src/app/+admin/plugins/shared/plugin-list.component.scss index 47cb1e6e5..0ca49aef4 100644 --- a/client/src/app/+admin/plugins/shared/plugin-list.component.scss +++ b/client/src/app/+admin/plugins/shared/plugin-list.component.scss | |||
@@ -12,8 +12,9 @@ | |||
12 | margin-bottom: 10px; | 12 | margin-bottom: 10px; |
13 | 13 | ||
14 | .plugin-name { | 14 | .plugin-name { |
15 | @include margin-right(10px); | ||
16 | |||
15 | font-size: 16px; | 17 | font-size: 16px; |
16 | margin-right: 10px; | ||
17 | font-weight: $font-semibold; | 18 | font-weight: $font-semibold; |
18 | } | 19 | } |
19 | 20 | ||
@@ -22,7 +23,7 @@ | |||
22 | } | 23 | } |
23 | 24 | ||
24 | .plugin-icon { | 25 | .plugin-icon { |
25 | margin-left: 10px; | 26 | @include margin-left(10px); |
26 | 27 | ||
27 | my-global-icon { | 28 | my-global-icon { |
28 | @include apply-svg-color(pvar(--greyForegroundColor)); | 29 | @include apply-svg-color(pvar(--greyForegroundColor)); |
@@ -34,11 +35,11 @@ | |||
34 | } | 35 | } |
35 | 36 | ||
36 | .buttons { | 37 | .buttons { |
37 | margin-left: auto; | 38 | @include margin-left(auto); |
38 | width: max-content; | 39 | width: max-content; |
39 | 40 | ||
40 | > *:not(:last-child) { | 41 | > *:not(:last-child) { |
41 | margin-right: 10px; | 42 | @include margin-right(10px); |
42 | } | 43 | } |
43 | } | 44 | } |
44 | } | 45 | } |
diff --git a/client/src/app/+admin/system/jobs/jobs.component.scss b/client/src/app/+admin/system/jobs/jobs.component.scss index 65ee6ec5f..6698646cd 100644 --- a/client/src/app/+admin/system/jobs/jobs.component.scss +++ b/client/src/app/+admin/system/jobs/jobs.component.scss | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | .select-filter-block { | 26 | .select-filter-block { |
27 | &:not(:last-child) { | 27 | &:not(:last-child) { |
28 | margin-right: 10px; | 28 | @include margin-right(10px); |
29 | } | 29 | } |
30 | 30 | ||
31 | label { | 31 | label { |
@@ -43,7 +43,7 @@ | |||
43 | } | 43 | } |
44 | 44 | ||
45 | td .glyphicon { | 45 | td .glyphicon { |
46 | margin-right: 10px; | 46 | @include margin-right(10px); |
47 | } | 47 | } |
48 | 48 | ||
49 | pre { | 49 | pre { |
diff --git a/client/src/app/+admin/system/logs/logs.component.scss b/client/src/app/+admin/system/logs/logs.component.scss index 1a7c3be75..e2e5a5932 100644 --- a/client/src/app/+admin/system/logs/logs.component.scss +++ b/client/src/app/+admin/system/logs/logs.component.scss | |||
@@ -19,8 +19,9 @@ | |||
19 | } | 19 | } |
20 | 20 | ||
21 | .log-level { | 21 | .log-level { |
22 | @include margin-right(5px); | ||
23 | |||
22 | font-weight: $font-semibold; | 24 | font-weight: $font-semibold; |
23 | margin-right: 5px; | ||
24 | } | 25 | } |
25 | 26 | ||
26 | .log-by { | 27 | .log-by { |
@@ -54,7 +55,7 @@ | |||
54 | my-button, | 55 | my-button, |
55 | .peertube-select-container, | 56 | .peertube-select-container, |
56 | ng-select { | 57 | ng-select { |
57 | margin-left: 10px; | 58 | @include margin-left(10px); |
58 | } | 59 | } |
59 | } | 60 | } |
60 | 61 | ||
@@ -65,8 +66,9 @@ | |||
65 | .peertube-select-container, | 66 | .peertube-select-container, |
66 | ng-select, | 67 | ng-select, |
67 | my-button { | 68 | my-button { |
69 | @include margin-left(0 !important); | ||
70 | |||
68 | width: 100% !important; | 71 | width: 100% !important; |
69 | margin-left: 0 !important; | ||
70 | margin-bottom: 10px !important; | 72 | margin-bottom: 10px !important; |
71 | } | 73 | } |
72 | 74 | ||
@@ -84,8 +86,9 @@ | |||
84 | .peertube-select-container, | 86 | .peertube-select-container, |
85 | ng-select, | 87 | ng-select, |
86 | my-button { | 88 | my-button { |
89 | @include margin-left(0 !important); | ||
90 | |||
87 | width: 100% !important; | 91 | width: 100% !important; |
88 | margin-left: 0 !important; | ||
89 | margin-bottom: 10px !important; | 92 | margin-bottom: 10px !important; |
90 | } | 93 | } |
91 | 94 | ||
diff --git a/client/src/app/+admin/system/system.component.scss b/client/src/app/+admin/system/system.component.scss index 766d7853b..3ffcb67c0 100644 --- a/client/src/app/+admin/system/system.component.scss +++ b/client/src/app/+admin/system/system.component.scss | |||
@@ -1,4 +1,8 @@ | |||
1 | @import '_variables'; | ||
2 | @import '_mixins'; | ||
3 | |||
1 | .form-sub-title { | 4 | .form-sub-title { |
5 | @include margin-right(30px); | ||
6 | |||
2 | flex-grow: 0; | 7 | flex-grow: 0; |
3 | margin-right: 30px; | ||
4 | } | 8 | } |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.scss b/client/src/app/+admin/users/user-list/user-list.component.scss index db4979a51..f004775c0 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.scss +++ b/client/src/app/+admin/users/user-list/user-list.component.scss | |||
@@ -24,9 +24,10 @@ tr.banned > td { | |||
24 | } | 24 | } |
25 | 25 | ||
26 | .user-table-primary-text .glyphicon { | 26 | .user-table-primary-text .glyphicon { |
27 | @include margin-left(0.1rem); | ||
28 | |||
27 | font-size: 80%; | 29 | font-size: 80%; |
28 | color: #808080; | 30 | color: #808080; |
29 | margin-left: 0.1rem; | ||
30 | } | 31 | } |
31 | 32 | ||
32 | p-tableCheckbox { | 33 | p-tableCheckbox { |