small styling tweaks !wip

This commit is contained in:
TidusJar 2018-07-31 12:26:49 +01:00
commit b842fd679c
4 changed files with 10 additions and 32 deletions

View file

@ -45,8 +45,6 @@
<div>
<div *ngFor="let request of movieRequests">
<div class="row">
<div class="myBg backdrop" [style.background-image]="request.backgroundPath"></div>

View file

@ -4,22 +4,9 @@
</div>
</div>
<br />
<!--TODO: I believe this +1 is causing off by one error skipping loading of tv shows
When removed and scrolling very slowly everything works as expected, however
if you scroll really quickly then you start getting duplicates of movies
since it's async and some subsequent results return first and then incrementer
is increased so you see movies which had already been gotten show up...
Removing infinte-scroll and setting max to 1000 till we work out some sort of fix
-->
<!--<div infinite-scroll
[infiniteScrollDistance]="1"
[infiniteScrollThrottle]="100"
(scrolled)="loadMore()">-->
<div>
<div *ngIf="tvRequests">
<div *ngFor="let node of tvRequests.collection">
<div *ngFor="let node of tvRequests.collection">
<!--This is the section that holds the parent level results set-->
<div>
<div class="row">
@ -32,7 +19,7 @@
</div>
<div class="col-sm-5 small-padding">
<div class="col-sm-5 small-padding">
<div>
<a href="http://www.imdb.com/title/{{node.imdbId}}/" target="_blank">
<h4 class="request-title">{{node.title}} ({{node.releaseDate | date: 'yyyy'}})</h4>
@ -114,8 +101,11 @@
<div *ngIf="node.open">
<tvrequests-children [childRequests]="node.childRequests" [isAdmin]="isAdmin" (requestDeleted)="childRequestDeleted($event)"></tvrequests-children>
</div>
<br/>
<br/>
</div>
</div>
<p-paginator [rows]="10" [totalRecords]="totalTv" (onPageChange)="paginate($event)"></p-paginator>
</div>

View file

@ -24,3 +24,7 @@ $bg-colour-disabled: #252424;
background: $primary-colour !important;
color: white;
}*/
.label {
margin: 3px;
}

View file

@ -883,11 +883,6 @@ textarea {
display: none;
}
.ui-treetable-toggler.fa.fa-fw.ui-clickable.fa-caret-right,
.ui-treetable-toggler.fa.fa-fw.ui-clickable.fa-caret-down {
display: none;
}
.ui-state-highlight {
background: $primary-colour;
}
@ -900,15 +895,6 @@ textarea {
border: 1px solid $form-color-lighter;
}
.ui-treetable tfoot td, .ui-treetable th {
text-align: left;
}
.ui-treetable tbody td {
white-space: inherit;
overflow: visible;
}
table a:not(.btn) {
text-decoration: none;
}