Skip to content

Commit

Permalink
card shadow (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored May 13, 2021
1 parent 3a5f94f commit 5acce58
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/app/administration/api-token/api-keys.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="card card-content">
<div class="card card-content card-shadow">
<div class="card-body" *ngIf="apiKeys$ | async; let apiKeys">
<div class="card-body">
<div class="table-responsive" *ngIf="apiKeys$ | async; let apiKeys">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<div class="card card-content">
<div class="card card-content card-shadow">
<h6 class="card-header projects-header">Change password
</h6>
<div class="card-body">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="card card-content">
<div class="card card-content card-shadow">
<div class="card-body" *ngIf="projects$ | async; let projects">
<div class="card-body">
<div class="table-responsive" *ngIf="projects$ | async; let projects">
Expand Down
2 changes: 1 addition & 1 deletion src/app/administration/users/users.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="card card-content">
<div class="card card-content card-shadow">
<div class="card-body" *ngIf="users$ | async; let users">
<div class="card-body">
<div class="table-responsive" *ngIf="users$ | async; let users">
Expand Down
4 changes: 2 additions & 2 deletions src/app/dashboard/dashboard.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="stats">
<div class="row" *ngIf="overallStats">
<div class="col">
<div class="card">
<div class="card card-shadow">
<div class="card-body">
<div class="row">

Expand Down Expand Up @@ -65,7 +65,7 @@ <h2 *ngIf="overallStats.totalDuration < 60" class="card-title">{{
<div class="recent-runs">
<div class="row">
<div class="col">
<div class="card recent-runs">
<div class="card recent-runs card-shadow">
<h6 class="card-header bg-transparent">Recent Test Runs</h6>
<div class="card-body ">
<div class="table-responsive">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card" *ngIf="customChartsOptions">
<div class="card card-shadow" *ngIf="customChartsOptions">
<h6 class="card-header bg-transparent">
Custom Chart
<span class="float-right">
Expand Down
8 changes: 4 additions & 4 deletions src/app/item-detail/item-detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<div class="row">
<div class="col-sm">
<div class="card">
<div class="card-body performance-overview-card">
<div class="card-body performance-overview-card card-shadow">

<div class="row">
<div class="col-sm">
Expand Down Expand Up @@ -190,7 +190,7 @@ <h2 class="card-title">{{itemData.overview.errorRate}} <span

</div>

<div class="overview-additional">
<div class="overview-additional card-shadow">
<div class="row info">
<div class="col-sm">
<div class="date top">
Expand Down Expand Up @@ -254,7 +254,7 @@ <h2 class="card-title">{{itemData.overview.errorRate}} <span
<ng-template ngbNavContent>
<div class="row charts chart-fix">
<div class="col">
<div class="card overview-chart-card">
<div class="card overview-chart-card card-shadow">
<h6 class="card-header bg-transparent">Overall Chart</h6>
<div class="card-body">
<div class="chart">
Expand Down Expand Up @@ -291,7 +291,7 @@ <h6 class="card-header bg-transparent">Overall Chart</h6>

<div class="row" *ngIf="itemData.sutOverview && itemData.sutOverview.length > 1">
<div class="col">
<div class="card table-stats">
<div class="card table-stats card-shadow">
<h6 class="card-header bg-transparent">SUT Statistics <span class="compare">
</span></h6>
<div class="card-body card-body-request-stats">
Expand Down
2 changes: 1 addition & 1 deletion src/app/item-detail/label-chart/label-chart.component.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card" *ngIf="labelChartOptions">
<div class="card card-shadow" *ngIf="labelChartOptions">
<h6 class="card-header bg-transparent">
Label Chart - {{labelChartMetric}}
<span *ngIf="!labelCompareChartOptions" class="float-right">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<div class="card"
<div class="card card-shadow"
[ngClass]="(perfAnalysis.onePerc.failed || perfAnalysis.variability.failed || perfAnalysis.throughputVariability.failed) ? 'performance-analysis-warning' : 'performance-analysis-success'">
<div class="card-body">
<h6 class="overview-body perf-analysis">Performance Analysis</h6>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card table-stats request-stats">
<div class="card table-stats request-stats card-shadow">

<h6 class="card-header bg-transparent">Request Statistics <span class="compare">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Error rate increase toleration: {{itemData.thresholds.thresholds.errorRate}}%
</p>
</ng-template>
<div class="card perf-issue">
<div class="card perf-issue card-shadow">
<div class="card-body">
<h6 class="card-title text-alizarin">Performance threshold failure <i class="ttp text-secondary"
placement="bottom" [ngbTooltip]="tipContent"><i class="far fa-question-circle icon"></i></i></h6>
Expand Down
12 changes: 6 additions & 6 deletions src/app/project/project.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</div>
<div class="row" *ngIf="filteredScenarios && viewType === 'cards'">
<div class="col-md-3" *ngFor="let _ of filteredScenarios">
<div class="card card-scenario">
<div class="card card-scenario card-shadow">
<h6 class="card-header bg-transparent">
<a routerLink="/project/{{projectName}}/scenario/{{_.name}}/items">{{_.name}}</a>
</h6>
Expand All @@ -55,17 +55,17 @@ <h6 class="card-header bg-transparent">
</div>
<div class="row" *ngIf="filteredScenarios && viewType === 'list'">
<div class="col">
<div class="card card-list">
<h6 class="card-header">Scenarios</h6>
<div class="card card-list card-shadow">
<h6 class="card-header bg-transparent">Scenarios</h6>
<div class="card-body">
<div class="labels-detail table-responsive">
<table class="table" [mfData]="filteredScenarios" #mf="mfDataTable">
<table class="table jtl-table" [mfData]="filteredScenarios" #mf="mfDataTable">
<thead>
<tr>
<th scope="col" class="hd">
<th scope="col" class="hd jtl-head">
<mfDefaultSorter by="name">name</mfDefaultSorter>
</th>
<th scope="col" class="hd">
<th scope="col" class="hd jtl-head">
<mfDefaultSorter by="data[0].startDate">last run</mfDefaultSorter>
</th>
</tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card scenario-custom-chart">
<div class="card scenario-custom-chart card-shadow">
<h6 class="card-header bg-transparent">
Scenario Trends
<span class="float-right">
Expand Down
8 changes: 4 additions & 4 deletions src/app/scenario/scenario.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<div class="card">
<div class="card card-shadow">
<h6 class="card-header bg-transparent">90% response time</h6>
<div class="card-body">
<div class="graph">
Expand All @@ -46,7 +46,7 @@ <h6 class="card-header bg-transparent">90% response time</h6>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card card-shadow">
<h6 class="card-header bg-transparent">Throughput</h6>
<div class="card-body">
<div class="graph">
Expand All @@ -57,7 +57,7 @@ <h6 class="card-header bg-transparent">Throughput</h6>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card card-shadow">
<h6 class="card-header bg-transparent">Error rate</h6>
<div class="card-body">
<div class="graph">
Expand All @@ -70,7 +70,7 @@ <h6 class="card-header bg-transparent">Error rate</h6>
</div>
<div class="row rr">
<div class="col" *ngIf="items$ | async; let items">
<div class="card recent-runs">
<div class="card recent-runs card-shadow">
<h6 class="card-header bg-transparent">Test Runs
<span title="Total ready items" class="text-secondary total">{{items.total}} <i
class="far fa-check-circle"></i></span>
Expand Down
4 changes: 4 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,7 @@ a:hover {
font-weight: 600;
padding-top: 1.25rem;
}

.card-shadow {
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

0 comments on commit 5acce58

Please sign in to comment.