aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-27 18:25:00 +0200
committerChocobozzz <me@florianbigard.com>2021-06-28 10:54:02 +0200
commit8cbc40b2fe9d36ef0505b9441276ca561342e9e9 (patch)
tree5777288d76c0926f5b4484e2689d0fe741462a36 /client/src/app/+accounts
parentfa12eacc014aae8094d108634371640f2695bf9f (diff)
downloadPeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.gz
PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.zst
PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.zip
Move to sass module
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r--client/src/app/+accounts/account-video-channels/account-video-channels.component.scss9
-rw-r--r--client/src/app/+accounts/accounts.component.scss8
2 files changed, 9 insertions, 8 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss
index d718d13bb..be9e94f69 100644
--- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss
+++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss
@@ -1,6 +1,7 @@
1@use '_variables'; 1@use 'sass:math';
2@use '_mixins'; 2@use '_variables' as *;
3@use '_miniature'; 3@use '_mixins' as *;
4@use '_miniature' as *;
4 5
5.margin-content { 6.margin-content {
6 @include grid-videos-miniature-margins; 7 @include grid-videos-miniature-margins;
@@ -100,7 +101,7 @@ my-subscribe-button {
100 position: absolute; 101 position: absolute;
101 right: 0; 102 right: 0;
102 background: linear-gradient(90deg, transparent 0, pvar(--channelBackgroundColor) 45px); 103 background: linear-gradient(90deg, transparent 0, pvar(--channelBackgroundColor) 45px);
103 padding: ($video-thumbnail-medium-height / 2 - 10px) 15px 0 60px; 104 padding: (math.div($video-thumbnail-medium-height, 2) - 10px) 15px 0 60px;
104 z-index: z(miniature) + 1; 105 z-index: z(miniature) + 1;
105 106
106 a { 107 a {
diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss
index 04fa8fb73..4c1f94024 100644
--- a/client/src/app/+accounts/accounts.component.scss
+++ b/client/src/app/+accounts/accounts.component.scss
@@ -1,7 +1,7 @@
1@use '_variables'; 1@use '_variables' as *;
2@use '_mixins'; 2@use '_mixins' as *;
3@use '_actor'; 3@use '_actor' as *;
4@use '_miniature'; 4@use '_miniature' as *;
5 5
6.root { 6.root {
7 --myGlobalTopPadding: 60px; 7 --myGlobalTopPadding: 60px;