Skip to content

Commit

Permalink
🎨 Minor UI styling
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Jan 27, 2020
1 parent 870484d commit f93fc4c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
4 changes: 4 additions & 0 deletions assets/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@ h4 {
font-weight: 700;
}

hr {
border-bottom: 1px dashed var(--brd-color);
}

.tooltip {
$bgcolor: var(--tt-color);
$fgcolor: var(--fg-color);
Expand Down
22 changes: 10 additions & 12 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -381,23 +381,21 @@
</div>
</div>
<div v-for="testReport in testReports">
<div v-if="testReport.result" class="flex-wrap">
<span :class="testReport.styles.class" class="info">
<div v-if="testReport.startBlock" class="info">
<h4>{{ testReport.startBlock }}</h4>
</div>
<p v-else-if="testReport.result" class="flex-wrap info">
<span :class="testReport.styles.class">
<i class="material-icons">
{{ testReport.styles.icon }}
</i>
<span>&nbsp; {{ testReport.result }}</span>
<span v-if="testReport.message">
<label>&nbsp;&nbsp; {{ testReport.message }}</label>
</span>
</span>
<ul v-if="testReport.message">
<li>
<label>{{ testReport.message }}</label>
</li>
</ul>
</div>
<div v-else-if="testReport.startBlock" class="info">
<h4>{{ testReport.startBlock }}</h4>
</div>
<div v-else-if="testReport.endBlock"><br /></div>
</p>
<div v-else-if="testReport.endBlock"><hr /></div>
</div>
</div>
</li>
Expand Down

0 comments on commit f93fc4c

Please sign in to comment.