From 1f0215a908c3b447cef03c10d4b089c0788922bd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2017 16:08:43 +0200 Subject: Client: little refractoring --- client/src/app/videos/shared/loader/index.ts | 1 - .../app/videos/shared/loader/loader.component.html | 3 --- .../app/videos/shared/loader/loader.component.scss | 22 ---------------------- .../app/videos/shared/loader/loader.component.ts | 11 ----------- 4 files changed, 37 deletions(-) delete mode 100644 client/src/app/videos/shared/loader/index.ts delete mode 100644 client/src/app/videos/shared/loader/loader.component.html delete mode 100644 client/src/app/videos/shared/loader/loader.component.scss delete mode 100644 client/src/app/videos/shared/loader/loader.component.ts (limited to 'client/src/app/videos/shared/loader') diff --git a/client/src/app/videos/shared/loader/index.ts b/client/src/app/videos/shared/loader/index.ts deleted file mode 100644 index ab22584e4..000000000 --- a/client/src/app/videos/shared/loader/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './loader.component'; diff --git a/client/src/app/videos/shared/loader/loader.component.html b/client/src/app/videos/shared/loader/loader.component.html deleted file mode 100644 index 38d06950e..000000000 --- a/client/src/app/videos/shared/loader/loader.component.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
diff --git a/client/src/app/videos/shared/loader/loader.component.scss b/client/src/app/videos/shared/loader/loader.component.scss deleted file mode 100644 index 44cf1f9da..000000000 --- a/client/src/app/videos/shared/loader/loader.component.scss +++ /dev/null @@ -1,22 +0,0 @@ -// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d -.glyphicon-refresh-animate { - -animation: spin .7s infinite linear; - -ms-animation: spin .7s infinite linear; - -webkit-animation: spinw .7s infinite linear; - -moz-animation: spinm .7s infinite linear; -} - -@keyframes spin { - from { transform: scale(1) rotate(0deg);} - to { transform: scale(1) rotate(360deg);} -} - -@-webkit-keyframes spinw { - from { -webkit-transform: rotate(0deg);} - to { -webkit-transform: rotate(360deg);} -} - -@-moz-keyframes spinm { - from { -moz-transform: rotate(0deg);} - to { -moz-transform: rotate(360deg);} -} diff --git a/client/src/app/videos/shared/loader/loader.component.ts b/client/src/app/videos/shared/loader/loader.component.ts deleted file mode 100644 index e72d2f3f3..000000000 --- a/client/src/app/videos/shared/loader/loader.component.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Component, Input } from '@angular/core'; - -@Component({ - selector: 'my-loader', - styleUrls: [ './loader.component.scss' ], - templateUrl: './loader.component.html' -}) - -export class LoaderComponent { - @Input() loading: boolean; -} -- cgit v1.2.3