aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-22 10:02:32 +0200
committerChocobozzz <me@florianbigard.com>2019-08-22 10:02:32 +0200
commit79a899410fdf6d7d4fcb22f05314c9ed3fc5d591 (patch)
treefe896dd8905d4a102aebdf25ea38b4325a824d24 /client
parent6e44fb37634ce1280b5ff03e2d367f2eaa334272 (diff)
downloadPeerTube-79a899410fdf6d7d4fcb22f05314c9ed3fc5d591.tar.gz
PeerTube-79a899410fdf6d7d4fcb22f05314c9ed3fc5d591.tar.zst
PeerTube-79a899410fdf6d7d4fcb22f05314c9ed3fc5d591.zip
Cleanup SASS imports
Diffstat (limited to 'client')
-rw-r--r--client/src/app/app.component.ts2
-rw-r--r--client/src/sass/application.scss1
-rw-r--r--client/src/sass/player/_player-variables.scss6
-rw-r--r--client/src/sass/player/peertube-skin.scss6
4 files changed, 7 insertions, 8 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 83a751dd6..50c5f5b9b 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -226,7 +226,7 @@ export class AppComponent implements OnInit {
226 new Hotkey('g o', (event: KeyboardEvent): boolean => { 226 new Hotkey('g o', (event: KeyboardEvent): boolean => {
227 this.router.navigate([ '/videos/overview' ]) 227 this.router.navigate([ '/videos/overview' ])
228 return false 228 return false
229 }, undefined, this.i18n('Go to the videos discover page')), 229 }, undefined, this.i18n('Go to the discover videos page')),
230 new Hotkey('g t', (event: KeyboardEvent): boolean => { 230 new Hotkey('g t', (event: KeyboardEvent): boolean => {
231 this.router.navigate([ '/videos/trending' ]) 231 this.router.navigate([ '/videos/trending' ])
232 return false 232 return false
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index c64a8ebf8..4fa722327 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -1,5 +1,4 @@
1$icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; 1$icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
2@import '_bootstrap';
3 2
4@import '_variables'; 3@import '_variables';
5@import '_mixins'; 4@import '_mixins';
diff --git a/client/src/sass/player/_player-variables.scss b/client/src/sass/player/_player-variables.scss
index 4e9e8736c..0c2359ac7 100644
--- a/client/src/sass/player/_player-variables.scss
+++ b/client/src/sass/player/_player-variables.scss
@@ -11,9 +11,3 @@ $slider-bg-color: lighten($primary-background-color, 33%);
11$progress-margin: 10px; 11$progress-margin: 10px;
12 12
13$assets-path: '../../assets/' !default; 13$assets-path: '../../assets/' !default;
14
15body {
16 --embedForegroundColor: #{$primary-foreground-color};
17
18 --embedBigPlayBackgroundColor: #{$primary-background-color};
19}
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss
index 996024ade..1a5144b11 100644
--- a/client/src/sass/player/peertube-skin.scss
+++ b/client/src/sass/player/peertube-skin.scss
@@ -2,6 +2,12 @@
2@import '_mixins'; 2@import '_mixins';
3@import './_player-variables'; 3@import './_player-variables';
4 4
5body {
6 --embedForegroundColor: #{$primary-foreground-color};
7
8 --embedBigPlayBackgroundColor: #{$primary-background-color};
9}
10
5@mixin big-play-button-triangle-size($triangle-size) { 11@mixin big-play-button-triangle-size($triangle-size) {
6 width: $triangle-size; 12 width: $triangle-size;
7 height: $triangle-size; 13 height: $triangle-size;