Go 100% SASS (CC-28)

pull/56/head
HardiReady 2019-02-22 08:14:46 +01:00
parent 66e5b2db9e
commit 143fb734f3
111 changed files with 130 additions and 64 deletions

View File

@ -21,9 +21,10 @@
"src/favicon.ico" "src/favicon.ico"
], ],
"styles": [ "styles": [
"src/styles.css", "src/styles.scss",
"node_modules/jquery-ui-bundle/jquery-ui.css", "node_modules/jquery-ui-bundle/jquery-ui.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css" "node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css",
], ],
"scripts": [ "scripts": [
"node_modules/jquery/dist/jquery.js", "node_modules/jquery/dist/jquery.js",
@ -146,4 +147,4 @@
"prefix": "app" "prefix": "app"
} }
} }
} }

View File

@ -0,0 +1 @@
@import url('../style/overview.scss');

View File

@ -3,7 +3,7 @@ import {Component} from '@angular/core';
@Component({ @Component({
selector: 'cc-admin-component', selector: 'cc-admin-component',
templateUrl: './admin.component.html', templateUrl: './admin.component.html',
styleUrls: ['./admin.component.css', '../style/overview.css'] styleUrls: ['./admin.component.scss']
}) })
export class AdminComponent { export class AdminComponent {
constructor() { constructor() {

View File

@ -0,0 +1,2 @@
@import url('../../style/entry-form.scss');
@import url('../../style/overview.scss');

View File

@ -11,7 +11,7 @@ import {AppUserService} from '../../services/app-user-service/app-user.service';
@Component({ @Component({
templateUrl: './edit-app-user.component.html', templateUrl: './edit-app-user.component.html',
styleUrls: ['./edit-app-user.component.css', '../../style/entry-form.css', '../../style/overview.css'], styleUrls: ['./edit-app-user.component.scss'],
}) })
export class EditAppUserComponent implements OnInit { export class EditAppUserComponent implements OnInit {

View File

@ -1,3 +1,5 @@
@import url('../../style/list-entry.scss');
.icon-award { .icon-award {
width: 27px; width: 27px;
height: 42px; height: 42px;

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-app-user-item', selector: 'cc-app-user-item',
templateUrl: './app-user-item.component.html', templateUrl: './app-user-item.component.html',
styleUrls: ['./app-user-item.component.css', '../../style/list-entry.css'], styleUrls: ['./app-user-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class AppUserItemComponent { export class AppUserItemComponent {

View File

@ -0,0 +1 @@
@import url('../../style/select-list.scss');

View File

@ -14,7 +14,7 @@ import {SquadService} from '../../services/army-management/squad.service';
@Component({ @Component({
selector: 'cc-app-user-list', selector: 'cc-app-user-list',
templateUrl: './app-user-list.component.html', templateUrl: './app-user-list.component.html',
styleUrls: ['./app-user-list.component.css', '../../style/select-list.css'] styleUrls: ['./app-user-list.component.scss']
}) })
export class AppUserListComponent { export class AppUserListComponent {

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-army-squad', selector: 'cc-army-squad',
templateUrl: './army-squad.component.html', templateUrl: './army-squad.component.html',
styleUrls: ['./army-squad.component.css'] styleUrls: ['./army-squad.component.scss']
}) })
export class ArmySquadComponent { export class ArmySquadComponent {

View File

@ -3,7 +3,7 @@ import {Component, OnInit} from '@angular/core';
@Component({ @Component({
selector: 'app-not-found', selector: 'app-not-found',
templateUrl: 'not-found.component.html', templateUrl: 'not-found.component.html',
styleUrls: ['not-found.component.css'] styleUrls: ['not-found.component.scss']
}) })
export class NotFoundComponent implements OnInit { export class NotFoundComponent implements OnInit {

View File

@ -4,7 +4,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-list-filter', selector: 'cc-list-filter',
templateUrl: './list-filter.component.html', templateUrl: './list-filter.component.html',
styleUrls: ['./list-filter.component.css'] styleUrls: ['./list-filter.component.scss']
}) })
export class ListFilterComponent { export class ListFilterComponent {

View File

@ -5,7 +5,7 @@ import {ActivatedRoute} from '@angular/router';
@Component({ @Component({
selector: 'cc-list-search', selector: 'cc-list-search',
templateUrl: './search-field.component.html', templateUrl: './search-field.component.html',
styleUrls: ['./search-field.component.css'] styleUrls: ['./search-field.component.scss']
}) })
export class SearchFieldComponent implements OnInit { export class SearchFieldComponent implements OnInit {

View File

@ -8,7 +8,7 @@ import {SnackBarService} from '../services/user-interface/snack-bar/snack-bar.se
@Component({ @Component({
moduleId: module.id, moduleId: module.id,
templateUrl: 'login.component.html', templateUrl: 'login.component.html',
styleUrls: ['login.component.css'] styleUrls: ['login.component.scss']
}) })
export class LoginComponent implements OnInit { export class LoginComponent implements OnInit {

View File

@ -8,7 +8,7 @@ import {SnackBarService} from '../services/user-interface/snack-bar/snack-bar.se
@Component({ @Component({
moduleId: module.id, moduleId: module.id,
templateUrl: './signup.component.html', templateUrl: './signup.component.html',
styleUrls: ['./login.component.css'] styleUrls: ['./login.component.scss']
}) })
export class SignupComponent implements OnInit { export class SignupComponent implements OnInit {

View File

@ -0,0 +1 @@
@import url('../../../style/list-entry.scss');

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'decoration-item', selector: 'decoration-item',
templateUrl: './decoration-item.component.html', templateUrl: './decoration-item.component.html',
styleUrls: ['./decoration-item.component.css', '../../../style/list-entry.css'], styleUrls: ['./decoration-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class DecorationItemComponent implements OnInit { export class DecorationItemComponent implements OnInit {

View File

@ -0,0 +1 @@
@import url('../../../style/select-list.scss');

View File

@ -13,7 +13,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'cc-decoration-list', selector: 'cc-decoration-list',
templateUrl: './decoration-list.component.html', templateUrl: './decoration-list.component.html',
styleUrls: ['./decoration-list.component.css', '../../../style/select-list.css'] styleUrls: ['./decoration-list.component.scss']
}) })
export class DecorationListComponent implements OnInit { export class DecorationListComponent implements OnInit {

View File

@ -0,0 +1,2 @@
@import url('../../../style/entry-form.scss');
@import url('../../../style/overview.scss');

View File

@ -10,7 +10,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
templateUrl: './edit-decoration.component.html', templateUrl: './edit-decoration.component.html',
styleUrls: ['./edit-decoration.component.css', '../../../style/entry-form.css', '../../../style/overview.css'] styleUrls: ['./edit-decoration.component.scss']
}) })
export class EditDecorationComponent implements OnInit, OnDestroy { export class EditDecorationComponent implements OnInit, OnDestroy {

View File

@ -0,0 +1,2 @@
@import url('../../../style/entry-form.scss');
@import url('../../../style/overview.scss');

View File

@ -11,7 +11,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
templateUrl: './edit-rank.component.html', templateUrl: './edit-rank.component.html',
styleUrls: ['./edit-rank.component.css', '../../../style/entry-form.css', '../../../style/overview.css'] styleUrls: ['./edit-rank.component.scss']
}) })
export class EditRankComponent implements OnInit, OnDestroy { export class EditRankComponent implements OnInit, OnDestroy {

View File

@ -1,3 +1,5 @@
@import url('../../../style/list-entry.scss');
.rank-list-preview { .rank-list-preview {
height: 54px; height: 54px;
float: left; float: left;

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-rank-item', selector: 'cc-rank-item',
templateUrl: './rank-item.component.html', templateUrl: './rank-item.component.html',
styleUrls: ['./rank-item.component.css', '../../../style/list-entry.css'], styleUrls: ['./rank-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class RankItemComponent implements OnInit { export class RankItemComponent implements OnInit {

View File

@ -0,0 +1 @@
@import url('../../../style/select-list.scss');

View File

@ -13,7 +13,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'cc-rank-list', selector: 'cc-rank-list',
templateUrl: './rank-list.component.html', templateUrl: './rank-list.component.html',
styleUrls: ['./rank-list.component.css', '../../../style/select-list.css'] styleUrls: ['./rank-list.component.scss']
}) })
export class RankListComponent implements OnInit { export class RankListComponent implements OnInit {

View File

@ -0,0 +1,2 @@
@import url('../../../style/entry-form.scss');
@import url('../../../style/overview.scss');

View File

@ -11,7 +11,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
templateUrl: './edit-squad.component.html', templateUrl: './edit-squad.component.html',
styleUrls: ['./edit-squad.component.css', '../../../style/entry-form.css', '../../../style/overview.css'] styleUrls: ['./edit-squad.component.scss']
}) })
export class EditSquadComponent implements OnInit, OnDestroy { export class EditSquadComponent implements OnInit, OnDestroy {

View File

@ -0,0 +1 @@
@import url('../../../style/list-entry.scss');

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-squad-item', selector: 'cc-squad-item',
templateUrl: './squad-item.component.html', templateUrl: './squad-item.component.html',
styleUrls: ['./squad-item.component.css', '../../../style/list-entry.css'], styleUrls: ['./squad-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class SquadItemComponent implements OnInit { export class SquadItemComponent implements OnInit {

View File

@ -1,3 +0,0 @@
.search-bar {
padding-bottom: 20px;
}

View File

@ -0,0 +1,5 @@
@import url('../../../style/select-list.scss');
.search-bar {
padding-bottom: 20px;
}

View File

@ -13,7 +13,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'cc-squad-list', selector: 'cc-squad-list',
templateUrl: './squad-list.component.html', templateUrl: './squad-list.component.html',
styleUrls: ['./squad-list.component.css', '../../../style/select-list.css'] styleUrls: ['./squad-list.component.scss']
}) })
export class SquadListComponent implements OnInit { export class SquadListComponent implements OnInit {

View File

@ -1,3 +1,6 @@
@import url('../../../style/overview.scss');
@import url('../../../style/hide-scrollbar.scss');
.decoration-preview { .decoration-preview {
background-color: white; background-color: white;
padding: 5px; padding: 5px;

View File

@ -11,7 +11,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
templateUrl: './award-user.component.html', templateUrl: './award-user.component.html',
styleUrls: ['./award-user.component.css', '../../../style/overview.css', '../../../style/hide-scrollbar.css'], styleUrls: ['./award-user.component.scss'],
}) })
export class AwardUserComponent implements OnInit { export class AwardUserComponent implements OnInit {

View File

@ -0,0 +1,2 @@
@import url('../../../style/entry-form.scss');
@import url('../../../style/overview.scss');

View File

@ -12,7 +12,7 @@ import {SnackBarService} from '../../../services/user-interface/snack-bar/snack-
@Component({ @Component({
templateUrl: './edit-user.component.html', templateUrl: './edit-user.component.html',
styleUrls: ['./edit-user.component.css', '../../../style/entry-form.css', '../../../style/overview.css'], styleUrls: ['./edit-user.component.scss'],
}) })
export class EditUserComponent implements OnInit { export class EditUserComponent implements OnInit {

View File

@ -1,3 +1,5 @@
@import url('../../../style/list-entry.scss');
.icon-award { .icon-award {
width: 27px; width: 27px;
height: 42px; height: 42px;

View File

@ -6,7 +6,7 @@ import {LoginService} from '../../../services/app-user-service/login-service';
@Component({ @Component({
selector: 'cc-user-item', selector: 'cc-user-item',
templateUrl: './user-item.component.html', templateUrl: './user-item.component.html',
styleUrls: ['./user-item.component.css', '../../../style/list-entry.css'], styleUrls: ['./user-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class UserItemComponent { export class UserItemComponent {

View File

@ -0,0 +1 @@
@import url('../../../style/select-list.scss');

View File

@ -14,7 +14,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'cc-user-list', selector: 'cc-user-list',
templateUrl: './user-list.component.html', templateUrl: './user-list.component.html',
styleUrls: ['./user-list.component.css', '../../../style/select-list.css'] styleUrls: ['./user-list.component.scss']
}) })
export class UserListComponent { export class UserListComponent {

View File

@ -7,7 +7,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-decoration-panel', selector: 'cc-decoration-panel',
templateUrl: './decoration-panel.component.html', templateUrl: './decoration-panel.component.html',
styleUrls: ['./decoration-panel.component.css'] styleUrls: ['./decoration-panel.component.scss']
}) })
export class DecorationPanelComponent { export class DecorationPanelComponent {

View File

@ -5,7 +5,7 @@ import {Fraction} from '../../../utils/fraction.enum';
@Component({ @Component({
selector: 'cc-rank-panel', selector: 'cc-rank-panel',
templateUrl: './rank-panel.component.html', templateUrl: './rank-panel.component.html',
styleUrls: ['./rank-panel.component.css'] styleUrls: ['./rank-panel.component.scss']
}) })
export class RankPanelComponent { export class RankPanelComponent {

View File

@ -1,3 +1,5 @@
@import url('../../style/overview.scss');
.overview { .overview {
width: 100% !important; width: 100% !important;
margin-left: 25px !important; margin-left: 25px !important;

View File

@ -11,7 +11,7 @@ import {SnackBarService} from '../../services/user-interface/snack-bar/snack-bar
@Component({ @Component({
templateUrl: './req-award.component.html', templateUrl: './req-award.component.html',
styleUrls: ['./req-award.component.css', '../../style/overview.css'], styleUrls: ['./req-award.component.scss'],
}) })
export class RequestAwardComponent implements OnInit { export class RequestAwardComponent implements OnInit {

View File

@ -1,3 +1,5 @@
@import url('../../style/overview.scss');
.overview { .overview {
margin-left: 25px !important; margin-left: 25px !important;
} }

View File

@ -7,7 +7,7 @@ import {SnackBarService} from '../../services/user-interface/snack-bar/snack-bar
@Component({ @Component({
templateUrl: './confirm-award.component.html', templateUrl: './confirm-award.component.html',
styleUrls: ['./confirm-award.component.css', '../../style/overview.css'], styleUrls: ['./confirm-award.component.scss'],
}) })
export class ConfirmAwardComponent implements OnInit { export class ConfirmAwardComponent implements OnInit {

View File

@ -1,3 +1,5 @@
@import url('../../style/overview.scss');
.overview { .overview {
margin-left: 25px !important; margin-left: 25px !important;
} }

View File

@ -8,7 +8,7 @@ import {SnackBarService} from '../../services/user-interface/snack-bar/snack-bar
@Component({ @Component({
templateUrl: './confirm-promotion.component.html', templateUrl: './confirm-promotion.component.html',
styleUrls: ['./confirm-promotion.component.css', '../../style/overview.css'], styleUrls: ['./confirm-promotion.component.scss'],
}) })
export class ConfirmPromotionComponent implements OnInit { export class ConfirmPromotionComponent implements OnInit {

View File

@ -1,3 +1,5 @@
@import url('../../style/overview.scss');
.overview { .overview {
margin-left: 25px !important; margin-left: 25px !important;
} }

View File

@ -11,7 +11,7 @@ import {SnackBarService} from '../../services/user-interface/snack-bar/snack-bar
@Component({ @Component({
templateUrl: './req-promotion.component.html', templateUrl: './req-promotion.component.html',
styleUrls: ['./req-promotion.component.css', '../../style/overview.css'], styleUrls: ['./req-promotion.component.scss'],
}) })
export class RequestPromotionComponent implements OnInit { export class RequestPromotionComponent implements OnInit {

View File

@ -5,7 +5,7 @@ import {SettingsService} from '../services/settings.service';
@Component({ @Component({
selector: 'cc-request-root', selector: 'cc-request-root',
templateUrl: 'request.component.html', templateUrl: 'request.component.html',
styleUrls: ['request.component.css'] styleUrls: ['request.component.scss']
}) })
export class RequestComponent { export class RequestComponent {
constructor(private translate: TranslateService, constructor(private translate: TranslateService,

View File

@ -1,3 +1,5 @@
@import url('../../style/overview.scss');
.overview { .overview {
margin-left: 25px !important; margin-left: 25px !important;
} }

View File

@ -9,7 +9,7 @@ import {AwardingService} from '../../services/army-management/awarding.service';
@Component({ @Component({
templateUrl: './sql-dashboard.component.html', templateUrl: './sql-dashboard.component.html',
styleUrls: ['./sql-dashboard.component.css', '../../style/overview.css'], styleUrls: ['./sql-dashboard.component.scss'],
}) })
export class SqlDashboardComponent implements OnInit { export class SqlDashboardComponent implements OnInit {

View File

@ -15,7 +15,7 @@ import {CampaignService} from '../../../services/logs/campaign.service';
@Component({ @Component({
selector: 'campaign-navigation', selector: 'campaign-navigation',
templateUrl: './campaign-navigation.component.html', templateUrl: './campaign-navigation.component.html',
styleUrls: ['./campaign-navigation.component.css'] styleUrls: ['./campaign-navigation.component.scss']
}) })
export class CampaignNavigationComponent implements OnInit { export class CampaignNavigationComponent implements OnInit {

View File

@ -1,3 +1,7 @@
@import url('../../../style/overview.scss');
@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.player-campaign-detail-container { .player-campaign-detail-container {
padding: 0 1% 0 1%; padding: 0 1% 0 1%;
border-top: thin solid lightgrey; border-top: thin solid lightgrey;

View File

@ -9,8 +9,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'campaign-player-detail', selector: 'campaign-player-detail',
templateUrl: './campaign-player-detail.component.html', templateUrl: './campaign-player-detail.component.html',
styleUrls: ['./campaign-player-detail.component.scss', '../../../style/list-entry.css', styleUrls: ['./campaign-player-detail.component.scss']
'../../../style/hide-scrollbar.css', '../../../style/overview.css']
}) })
export class CampaignPlayerDetailComponent implements OnInit { export class CampaignPlayerDetailComponent implements OnInit {

View File

@ -1,3 +0,0 @@
form {
margin-top: 45px;
}

View File

@ -0,0 +1,6 @@
@import url('../../../style/entry-form.scss');
@import url('../../../style/overview.scss');
form {
margin-top: 45px;
}

View File

@ -10,7 +10,7 @@ import {SnackBarService} from '../../../services/user-interface/snack-bar/snack-
@Component({ @Component({
selector: 'campaign-submit', selector: 'campaign-submit',
templateUrl: './campaign-submit.component.html', templateUrl: './campaign-submit.component.html',
styleUrls: ['./campaign-submit.component.css', '../../../style/entry-form.css', '../../../style/overview.css'] styleUrls: ['./campaign-submit.component.scss']
}) })
export class CampaignSubmitComponent { export class CampaignSubmitComponent {

View File

@ -1,3 +1,9 @@
@import url('../../../style/overview.scss');
@import url('../../../style/list-entry.scss');
$highscore-table-width: 320px;
$highscore-table-height: 394px;
h2 { h2 {
margin-left: 10%; margin-left: 10%;
} }
@ -12,8 +18,9 @@ h2 {
} }
.highscore-table-container { .highscore-table-container {
width: 320px; width: $highscore-table-width;
max-height: 394px; min-height: $highscore-table-height;
max-height: $highscore-table-height;
margin: 50px 0 50px 8%; margin: 50px 0 50px 8%;
float: left; float: left;
overflow-x: hidden; overflow-x: hidden;
@ -28,7 +35,7 @@ h2 {
:host /deep/ table.mat-table > thead { :host /deep/ table.mat-table > thead {
position: absolute; position: absolute;
width: 320px; width: $highscore-table-width;
display: inherit; display: inherit;
margin-left: -1px; margin-left: -1px;
margin-top: -57px; margin-top: -57px;

View File

@ -11,7 +11,7 @@ import {PlayerUtils} from '../../../utils/player-utils';
@Component({ @Component({
selector: 'cc-stats-highscore', selector: 'cc-stats-highscore',
templateUrl: './highscore.component.html', templateUrl: './highscore.component.html',
styleUrls: ['./highscore.component.css', '../../../style/list-entry.css', '../../../style/overview.css'] styleUrls: ['./highscore.component.scss']
}) })
export class StatisticHighScoreComponent implements OnInit { export class StatisticHighScoreComponent implements OnInit {

View File

@ -9,7 +9,7 @@ import {WarService} from '../../../services/logs/war.service';
@Component({ @Component({
selector: 'cc-campaign-overview', selector: 'cc-campaign-overview',
templateUrl: './campaign-overview.component.html', templateUrl: './campaign-overview.component.html',
styleUrls: ['./campaign-overview.component.css'] styleUrls: ['./campaign-overview.component.scss']
}) })
export class StatisticOverviewComponent implements OnInit { export class StatisticOverviewComponent implements OnInit {

View File

@ -9,7 +9,7 @@ import {WarService} from '../services/logs/war.service';
@Component({ @Component({
selector: 'cc-stats', selector: 'cc-stats',
templateUrl: './stats.component.html', templateUrl: './stats.component.html',
styleUrls: ['./stats.component.css'] styleUrls: ['./stats.component.scss']
}) })
export class StatisticComponent implements OnInit { export class StatisticComponent implements OnInit {

View File

@ -1,3 +1,6 @@
@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.chart-select-group { .chart-select-group {
display: flex; display: flex;
width: fit-content; width: fit-content;

View File

@ -8,7 +8,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'war-detail-fraction', selector: 'war-detail-fraction',
templateUrl: './fraction-stats.component.html', templateUrl: './fraction-stats.component.html',
styleUrls: ['./fraction-stats.component.scss', '../../../style/list-entry.css', '../../../style/hide-scrollbar.css'] styleUrls: ['./fraction-stats.component.scss']
}) })
export class FractionStatsComponent implements OnInit, OnChanges { export class FractionStatsComponent implements OnInit, OnChanges {

View File

@ -1,3 +1,6 @@
@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.scoreboard-table { .scoreboard-table {
width: 1058px; width: 1058px;
margin: auto; margin: auto;

View File

@ -10,7 +10,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'cc-scoreboard', selector: 'cc-scoreboard',
templateUrl: './scoreboard.component.html', templateUrl: './scoreboard.component.html',
styleUrls: ['./scoreboard.component.css', '../../../style/list-entry.css', '../../../style/hide-scrollbar.css'] styleUrls: ['./scoreboard.component.scss']
}) })
export class ScoreboardComponent implements OnChanges { export class ScoreboardComponent implements OnChanges {

View File

@ -1,3 +1,6 @@
@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.chart-select-group { .chart-select-group {
display: flex; display: flex;
width: fit-content; width: fit-content;

View File

@ -7,7 +7,7 @@ import {ChartUtils} from '../../../utils/chart-utils';
@Component({ @Component({
selector: 'cc-server-statistics', selector: 'cc-server-statistics',
templateUrl: './server-stats.component.html', templateUrl: './server-stats.component.html',
styleUrls: ['./server-stats.component.scss', '../../../style/list-entry.css', '../../../style/hide-scrollbar.css'] styleUrls: ['./server-stats.component.scss']
}) })
export class ServerStatsComponent implements OnInit, OnChanges { export class ServerStatsComponent implements OnInit, OnChanges {

View File

@ -1,3 +1,6 @@
@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.war-header-container { .war-header-container {
width: 920px; width: 920px;
min-height: 165px; min-height: 165px;

View File

@ -11,7 +11,7 @@ import {ScoreboardComponent} from '../scoreboard/scoreboard.component';
@Component({ @Component({
selector: 'war-detail', selector: 'war-detail',
templateUrl: './war-header.component.html', templateUrl: './war-header.component.html',
styleUrls: ['./war-header.component.scss', '../../../style/list-entry.css', '../../../style/hide-scrollbar.css'] styleUrls: ['./war-header.component.scss']
}) })
export class WarHeaderComponent implements OnInit { export class WarHeaderComponent implements OnInit {

View File

@ -5,7 +5,7 @@ import {LoginService} from '../../../services/app-user-service/login-service';
@Component({ @Component({
selector: 'cc-war-item', selector: 'cc-war-item',
templateUrl: './war-item.component.html', templateUrl: './war-item.component.html',
styleUrls: ['./war-item.component.css'], styleUrls: ['./war-item.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush changeDetection: ChangeDetectionStrategy.OnPush
}) })
export class WarItemComponent implements OnInit { export class WarItemComponent implements OnInit {

View File

@ -10,7 +10,7 @@ import {TranslateService} from '@ngx-translate/core';
@Component({ @Component({
selector: 'war-list', selector: 'war-list',
templateUrl: './war-list.component.html', templateUrl: './war-list.component.html',
styleUrls: ['./war-list.component.css'] styleUrls: ['./war-list.component.scss']
}) })
export class WarListComponent implements OnChanges { export class WarListComponent implements OnChanges {

Some files were not shown because too many files have changed in this diff Show More