From cdc2fb35ae656b6d34f160c2affa84e927cedf6f Mon Sep 17 00:00:00 2001 From: HardiReady Date: Sat, 4 Aug 2018 12:54:37 +0200 Subject: [PATCH] Use material toggle in campaign overview --- ...nt.css => campaign-overview.component.css} | 10 ++++---- ....html => campaign-overview.component.html} | 23 +++++++++++-------- ...nent.ts => campaign-overview.component.ts} | 16 ++++--------- static/src/app/statistic/stats.routing.ts | 2 +- 4 files changed, 25 insertions(+), 26 deletions(-) rename static/src/app/statistic/campaign/overview/{stats-overview.component.css => campaign-overview.component.css} (73%) rename static/src/app/statistic/campaign/overview/{stats-overview.component.html => campaign-overview.component.html} (56%) rename static/src/app/statistic/campaign/overview/{stats-overview.component.ts => campaign-overview.component.ts} (91%) diff --git a/static/src/app/statistic/campaign/overview/stats-overview.component.css b/static/src/app/statistic/campaign/overview/campaign-overview.component.css similarity index 73% rename from static/src/app/statistic/campaign/overview/stats-overview.component.css rename to static/src/app/statistic/campaign/overview/campaign-overview.component.css index 2666e75..cba6aac 100644 --- a/static/src/app/statistic/campaign/overview/stats-overview.component.css +++ b/static/src/app/statistic/campaign/overview/campaign-overview.component.css @@ -6,13 +6,13 @@ padding-left: 5%; } -:host /deep/ .carousel-indicators { - display: none; +mat-button-toggle.mat-button-toggle-checked { + background: #ffffff; } -:host /deep/ .carousel-control { - width: 5%; - cursor: pointer; +mat-button-toggle { + color: #666666; + background: #e7e7e7; } :host /deep/ .chart-legend { diff --git a/static/src/app/statistic/campaign/overview/stats-overview.component.html b/static/src/app/statistic/campaign/overview/campaign-overview.component.html similarity index 56% rename from static/src/app/statistic/campaign/overview/stats-overview.component.html rename to static/src/app/statistic/campaign/overview/campaign-overview.component.html index e1e92e2..c26878e 100644 --- a/static/src/app/statistic/campaign/overview/stats-overview.component.html +++ b/static/src/app/statistic/campaign/overview/campaign-overview.component.html @@ -1,14 +1,19 @@
-
Gesamtpunktzahl -
-
Punkte je Schlacht -
-
Spielerzahlen -
+ + + Gesamtpunktzahl + + + Punkte je Schlacht + + + Spielerzahlen + +
+