aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-28 16:41:07 +0200
committerChocobozzz <me@florianbigard.com>2021-04-28 17:53:57 +0200
commit931d3430184143ebd88e5243def6eb1d7acfdbf4 (patch)
tree909919bafd6fa8563d26d616c6257ebd0211c83c /client/src/app/shared/shared-moderation
parent7d026caf683e42fd57a243a3b52a5e4f476fbb4e (diff)
downloadPeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.gz
PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.zst
PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.zip
Move to stylelint
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/account-blocklist.component.scss3
-rw-r--r--client/src/app/shared/shared-moderation/moderation.scss22
-rw-r--r--client/src/app/shared/shared-moderation/server-blocklist.component.scss3
-rw-r--r--client/src/app/shared/shared-moderation/video-block.component.scss2
4 files changed, 16 insertions, 14 deletions
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.scss b/client/src/app/shared/shared-moderation/account-blocklist.component.scss
index 3eede44eb..63a9df823 100644
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.scss
+++ b/client/src/app/shared/shared-moderation/account-blocklist.component.scss
@@ -6,6 +6,7 @@
6 6
7 input { 7 input {
8 @include peertube-input-text(250px); 8 @include peertube-input-text(250px);
9
9 flex-grow: 1; 10 flex-grow: 1;
10 } 11 }
11} 12}
@@ -17,4 +18,4 @@
17.unblock-button { 18.unblock-button {
18 @include peertube-button; 19 @include peertube-button;
19 @include grey-button; 20 @include grey-button;
20} \ No newline at end of file 21}
diff --git a/client/src/app/shared/shared-moderation/moderation.scss b/client/src/app/shared/shared-moderation/moderation.scss
index cdcc12fe0..ab43d8457 100644
--- a/client/src/app/shared/shared-moderation/moderation.scss
+++ b/client/src/app/shared/shared-moderation/moderation.scss
@@ -17,12 +17,18 @@
17 word-wrap: break-word; 17 word-wrap: break-word;
18 18
19 ::ng-deep p:last-child { 19 ::ng-deep p:last-child {
20 margin-bottom: 0px !important; 20 margin-bottom: 0 !important;
21 } 21 }
22 } 22 }
23} 23}
24 24
25.screenratio { 25.screenratio {
26 @include block-ratio($selector: 'div, ::ng-deep iframe') {
27 width: 100% !important;
28 height: 100% !important;
29 left: 0;
30 };
31
26 div { 32 div {
27 @include miniature-thumbnail; 33 @include miniature-thumbnail;
28 34
@@ -31,12 +37,6 @@
31 align-items: center; 37 align-items: center;
32 color: pvar(--inputPlaceholderColor); 38 color: pvar(--inputPlaceholderColor);
33 } 39 }
34
35 @include block-ratio($selector: 'div, ::ng-deep iframe') {
36 width: 100% !important;
37 height: 100% !important;
38 left: 0;
39 };
40} 40}
41 41
42.input-group { 42.input-group {
@@ -93,15 +93,15 @@ my-action-dropdown.show {
93 display: inline-flex; 93 display: inline-flex;
94 94
95 .table-video-image { 95 .table-video-image {
96 @include miniature-thumbnail;
97
98 $image-height: 45px; 96 $image-height: 45px;
99 97
98 @include miniature-thumbnail;
99
100 height: $image-height; 100 height: $image-height;
101 width: #{(16/9) * $image-height}; 101 width: #{(16/9) * $image-height};
102 margin-right: 0.5rem; 102 margin-right: 0.5rem;
103 border-radius: 2px; 103 border-radius: 2px;
104 border: none; 104 border: 0;
105 background: transparent; 105 background: transparent;
106 display: inline-flex; 106 display: inline-flex;
107 justify-content: center; 107 justify-content: center;
@@ -139,7 +139,7 @@ my-action-dropdown.show {
139 139
140 div .glyphicon { 140 div .glyphicon {
141 font-size: 80%; 141 font-size: 80%;
142 color: gray; 142 color: #808080;
143 margin-left: 0.1rem; 143 margin-left: 0.1rem;
144 } 144 }
145 145
diff --git a/client/src/app/shared/shared-moderation/server-blocklist.component.scss b/client/src/app/shared/shared-moderation/server-blocklist.component.scss
index 31db4d92b..af21c0c20 100644
--- a/client/src/app/shared/shared-moderation/server-blocklist.component.scss
+++ b/client/src/app/shared/shared-moderation/server-blocklist.component.scss
@@ -5,7 +5,8 @@ a {
5 @include disable-default-a-behaviour; 5 @include disable-default-a-behaviour;
6 display: inline-block; 6 display: inline-block;
7 7
8 &, &:hover { 8 &,
9 &:hover {
9 color: pvar(--mainForegroundColor); 10 color: pvar(--mainForegroundColor);
10 } 11 }
11 12
diff --git a/client/src/app/shared/shared-moderation/video-block.component.scss b/client/src/app/shared/shared-moderation/video-block.component.scss
index afa0d96f7..a6e33070b 100644
--- a/client/src/app/shared/shared-moderation/video-block.component.scss
+++ b/client/src/app/shared/shared-moderation/video-block.component.scss
@@ -7,5 +7,5 @@ textarea {
7 7
8.live-info { 8.live-info {
9 font-size: 15px; 9 font-size: 15px;
10 margin: 40px 0 20px 0; 10 margin: 40px 0 20px;
11} 11}