diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-27 18:25:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-28 10:54:02 +0200 |
commit | 8cbc40b2fe9d36ef0505b9441276ca561342e9e9 (patch) | |
tree | 5777288d76c0926f5b4484e2689d0fe741462a36 /client/src/app/+my-library | |
parent | fa12eacc014aae8094d108634371640f2695bf9f (diff) | |
download | PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.gz PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.tar.zst PeerTube-8cbc40b2fe9d36ef0505b9441276ca561342e9e9.zip |
Move to sass module
Diffstat (limited to 'client/src/app/+my-library')
13 files changed, 29 insertions, 28 deletions
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss index d84bfdb03..d8bfe71b6 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channel-edit.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | label { | 4 | label { |
5 | font-weight: $font-regular; | 5 | font-weight: $font-regular; |
diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss index e707b1c14..9ef5513b6 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | h1 my-global-icon { | 4 | h1 my-global-icon { |
5 | position: relative; | 5 | position: relative; |
diff --git a/client/src/app/+my-library/my-history/my-history.component.scss b/client/src/app/+my-library/my-history/my-history.component.scss index 8d61cb68b..cb8507569 100644 --- a/client/src/app/+my-library/my-history/my-history.component.scss +++ b/client/src/app/+my-library/my-history/my-history.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .no-history { | 4 | .no-history { |
5 | display: flex; | 5 | display: flex; |
diff --git a/client/src/app/+my-library/my-library.component.scss b/client/src/app/+my-library/my-library.component.scss index 4439ecf45..1ec25315a 100644 --- a/client/src/app/+my-library/my-library.component.scss +++ b/client/src/app/+my-library/my-library.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .row { | 4 | .row { |
5 | @include sub-menu-h1; | 5 | @include sub-menu-h1; |
diff --git a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.scss b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.scss index 9468c9c4b..27d5998d3 100644 --- a/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.scss +++ b/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | .peertube-select-container { | 4 | .peertube-select-container { |
5 | @include peertube-select-container(350px); | 5 | @include peertube-select-container(350px); |
diff --git a/client/src/app/+my-library/my-ownership/my-ownership.component.scss b/client/src/app/+my-library/my-ownership/my-ownership.component.scss index c834bc768..296659ea0 100644 --- a/client/src/app/+my-library/my-ownership/my-ownership.component.scss +++ b/client/src/app/+my-library/my-ownership/my-ownership.component.scss | |||
@@ -1,5 +1,6 @@ | |||
1 | @use '_miniature'; | 1 | @use 'sass:math'; |
2 | @use '_mixins'; | 2 | @use '_miniature' as *; |
3 | @use '_mixins' as *; | ||
3 | 4 | ||
4 | .chip { | 5 | .chip { |
5 | @include chip; | 6 | @include chip; |
@@ -19,7 +20,7 @@ | |||
19 | @include margin-right(0.5rem); | 20 | @include margin-right(0.5rem); |
20 | 21 | ||
21 | height: $image-height; | 22 | height: $image-height; |
22 | width: #{(16/9) * $image-height}; | 23 | width: #{math.div(16, 9) * $image-height}; |
23 | border-radius: 2px; | 24 | border-radius: 2px; |
24 | border: 0; | 25 | border: 0; |
25 | background: transparent; | 26 | background: transparent; |
diff --git a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.scss b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.scss index b652d6774..edca06a66 100644 --- a/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.scss +++ b/client/src/app/+my-library/my-subscriptions/my-subscriptions.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | input[type=text] { | 4 | input[type=text] { |
5 | @include peertube-input-text(300px); | 5 | @include peertube-input-text(300px); |
diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss b/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss index 999677f29..2fc94e23a 100644 --- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss +++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | pre { | 4 | pre { |
5 | font-size: 11px; | 5 | font-size: 11px; |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss index b5e1491d6..420391322 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | label { | 4 | label { |
5 | font-weight: $font-regular; | 5 | font-weight: $font-regular; |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss index 00bf51f32..6aaf16834 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.scss | |||
@@ -1,6 +1,6 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | @use '_miniature'; | 3 | @use '_miniature' as *; |
4 | 4 | ||
5 | .root { | 5 | .root { |
6 | display: grid; | 6 | display: grid; |
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss index a61289d6f..07e50e53f 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlists.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | h1 { | 4 | h1 { |
5 | display: flex; | 5 | display: flex; |
diff --git a/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss b/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss index 2e9a2703d..0eb694162 100644 --- a/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss +++ b/client/src/app/+my-library/my-videos/modals/video-change-ownership.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | p-autocomplete { | 4 | p-autocomplete { |
5 | display: block; | 5 | display: block; |
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.scss b/client/src/app/+my-library/my-videos/my-videos.component.scss index da364b443..6c2ef6f76 100644 --- a/client/src/app/+my-library/my-videos/my-videos.component.scss +++ b/client/src/app/+my-library/my-videos/my-videos.component.scss | |||
@@ -1,5 +1,5 @@ | |||
1 | @use '_variables'; | 1 | @use '_variables' as *; |
2 | @use '_mixins'; | 2 | @use '_mixins' as *; |
3 | 3 | ||
4 | input[type=text] { | 4 | input[type=text] { |
5 | @include peertube-input-text(300px); | 5 | @include peertube-input-text(300px); |