Add war list mouseover and background color select state
parent
75a20e54cb
commit
2c99565b13
|
@ -3,6 +3,11 @@
|
||||||
border-right: 1px solid #dadada;
|
border-right: 1px solid #dadada;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.war-item:hover, .selected{
|
||||||
|
background: linear-gradient(80deg, white 0%, #e7e7e7 120%);
|
||||||
|
border-bottom: 1px solid #dadada;
|
||||||
|
}
|
||||||
|
|
||||||
.war-item-box {
|
.war-item-box {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,21 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-header:hover, .selected{
|
||||||
|
background: linear-gradient(80deg, white 0%, #e7e7e7 120%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-header-battles {
|
||||||
|
border-bottom: 1px solid #dadada;
|
||||||
|
border-right: 1px solid #dadada;
|
||||||
|
border-left: 4px solid transparent;
|
||||||
|
padding: 25px;
|
||||||
|
font-size: 16px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: #333333;
|
||||||
|
border-bottom: 1px solid #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
.mat-icon {
|
.mat-icon {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<div class="war-menu">
|
||||||
<div class="war-list-header" *ngIf="!collapsed && loginService.hasPermission(3)">
|
<div class="war-list-header" *ngIf="!collapsed && loginService.hasPermission(3)">
|
||||||
<button mat-stroked-button (click)="selectNewCampaign()">
|
<button mat-stroked-button (click)="selectNewCampaign()">
|
||||||
{{'stats.sidebar.campaign.add' | translate}}
|
{{'stats.sidebar.campaign.add' | translate}}
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
<span *ngIf="!collapsed">{{'stats.sidebar.highscore' | translate}}</span>
|
<span *ngIf="!collapsed">{{'stats.sidebar.highscore' | translate}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="list-header" style="cursor: default; border-bottom: 1px solid #f1f1f1;">
|
<div class="list-header-battles">
|
||||||
<mat-icon [matTooltip]="collapsed ? toolTipTranslation['stats.sidebar.battles'] : ''"
|
<mat-icon [matTooltip]="collapsed ? toolTipTranslation['stats.sidebar.battles'] : ''"
|
||||||
matTooltipPosition="right"
|
matTooltipPosition="right"
|
||||||
svgIcon="battle"></mat-icon>
|
svgIcon="battle"></mat-icon>
|
||||||
|
@ -52,3 +53,4 @@
|
||||||
<div class="fill-vertical-border"
|
<div class="fill-vertical-border"
|
||||||
[ngClass]="{collapsed: collapsed}">
|
[ngClass]="{collapsed: collapsed}">
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue