aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+admin/users/user-list/user-list.component.scss2
-rw-r--r--client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss2
-rw-r--r--client/src/assets/images/global/add.svg (renamed from client/src/assets/images/admin/add.svg)0
-rw-r--r--client/src/sass/include/_mixins.scss4
4 files changed, 4 insertions, 4 deletions
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 4a66b5d8d..4fc36e11e 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
@@ -2,5 +2,5 @@
2@import '_mixins'; 2@import '_mixins';
3 3
4.add-button { 4.add-button {
5 @include create-button; 5 @include create-button('../../../../assets/images/global/add.svg');
6} 6}
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
index bcb58eac2..56a637a82 100644
--- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
+++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
@@ -2,7 +2,7 @@
2@import '_mixins'; 2@import '_mixins';
3 3
4.create-button { 4.create-button {
5 @include create-button; 5 @include create-button('../../../assets/images/global/add.svg');
6} 6}
7 7
8/deep/ .action-button { 8/deep/ .action-button {
diff --git a/client/src/assets/images/admin/add.svg b/client/src/assets/images/global/add.svg
index 42b269c43..42b269c43 100644
--- a/client/src/assets/images/admin/add.svg
+++ b/client/src/assets/images/global/add.svg
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index dce3430fd..748c98afa 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -400,7 +400,7 @@
400 } 400 }
401} 401}
402 402
403@mixin create-button { 403@mixin create-button ($imageUrl) {
404 @include peertube-button-link; 404 @include peertube-button-link;
405 @include orange-button; 405 @include orange-button;
406 406
@@ -408,6 +408,6 @@
408 @include icon(22px); 408 @include icon(22px);
409 409
410 margin-right: 3px; 410 margin-right: 3px;
411 background-image: url('/assets/images/admin/add.svg'); 411 background-image: url($imageUrl);
412 } 412 }
413} 413}