SKE-51 SKE-52 changes in competitions list
This commit is contained in:
parent
d519712c2d
commit
dfcb5e97d7
@ -14,9 +14,13 @@
|
||||
line-height: 90px;
|
||||
font-size: 25px;
|
||||
border-radius: 25px;
|
||||
border: 1px solid gray;
|
||||
border: 1px solid white;
|
||||
color: darkolivegreen;
|
||||
text-shadow: 2px 2px 6px ghostwhite;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.flex-item:hover {
|
||||
box-shadow: 0px 0px 10px #2196F3;
|
||||
}
|
||||
|
@ -7,16 +7,32 @@
|
||||
}
|
||||
|
||||
.flex-item {
|
||||
background-color: darkgrey;
|
||||
width: 300px;
|
||||
background-color: #DED4F4;
|
||||
width: 450px;
|
||||
margin: 10px;
|
||||
text-align: center;
|
||||
line-height: 90px;
|
||||
font-size: 20px;
|
||||
border-radius: 25px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid gray;
|
||||
border-left: 10px #739CB9 solid;
|
||||
color: darkblue;
|
||||
text-shadow: 2px 2px 6px ghostwhite;
|
||||
text-shadow: 2px 2px 6px #ab93ab;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.flex-item:hover {
|
||||
box-shadow: 0px 0px 10px #2196F3;
|
||||
}
|
||||
|
||||
.organizer {
|
||||
font-size: 14px;
|
||||
color: #f44336;
|
||||
font-weight: bold;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.bottom-flex {
|
||||
color: white;
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
@ -1,5 +1,11 @@
|
||||
<div class="flex-container" id="competitions-list-area">
|
||||
<div class="flex-item" (click)="goToDetail(competition)" *ngFor="let competition of (competitionsList | filterClasses : [2, 6])">
|
||||
{{ competition.name }}
|
||||
<div class="flex-item" (click)="goToDetail(competition)" *ngFor="let competition of (competitionsList | filterClasses : [1, 8])">
|
||||
<p><u>{{ competition.name }}</u></p>
|
||||
<div class="organizer">Organizowany przez: {{ competition.creatorName }}</div>
|
||||
|
||||
<div class="bottom-flex">
|
||||
<p>Czas trwania: {{ competition.startDate | date:"dd/MM/yyyy" }} - {{ competition.endDate | date:"dd/MM/yyyy" }}</p>
|
||||
<p>Przedział klasowy: {{ competition.minClass }}-{{ competition.maxClass }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user