-<div id="video-loading" class="col-md-12 text-center" *ngIf="loading">
+<div id="video-loading" *ngIf="loading">
<div class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></div>
</div>
-div {
- margin-top: 150px;
-}
-
// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
.glyphicon-refresh-animate {
-animation: spin .7s infinite linear;
font-size: 13px;
padding-left: 0;
}
+
+ my-loader {
+ display: inline-block;
+ margin-left: 5px;
+ }
}
.videos-miniatures {
-<my-loader [loading]="loading"></my-loader>
-
<div class="embed-responsive embed-responsive-19by9">
+ <my-loader [loading]="loading"></my-loader>
</div>
<div id="torrent-info">
+my-loader {
+ display: block;
+ padding-top: 200px;
+ width: 100%;
+ text-align: center;
+}
+
.embed-responsive {
height: 500px;
}