Improved some styles
This commit is contained in:
parent
da6397dd14
commit
771d26ec3b
@ -56,6 +56,11 @@ table thead tr,
|
|||||||
table tr:nth-child(even)
|
table tr:nth-child(even)
|
||||||
background: #eee
|
background: #eee
|
||||||
|
|
||||||
|
table tbody tr
|
||||||
|
transition: background 180ms ease-in-out
|
||||||
|
&:hover
|
||||||
|
background: lightgrey
|
||||||
|
|
||||||
/* Material card styles */
|
/* Material card styles */
|
||||||
.card-1
|
.card-1
|
||||||
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)
|
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)
|
||||||
@ -106,9 +111,9 @@ table tr:nth-child(even)
|
|||||||
font-size: 2.25rem
|
font-size: 2.25rem
|
||||||
line-height: 64px
|
line-height: 64px
|
||||||
transition: all 200ms ease-in-out
|
transition: all 200ms ease-in-out
|
||||||
&:hover
|
&:hover
|
||||||
color: #eee
|
color: #eee
|
||||||
font-size: 2.5rem
|
font-size: 2.5rem
|
||||||
|
|
||||||
#main-content
|
#main-content
|
||||||
padding: 15px 25px
|
padding: 15px 25px
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<h2>Benchmark</h2>
|
<h2>Benchmark</h2>
|
||||||
<a href="/benchmark/create">Add new benchmark</a>
|
<a href="/benchmark/create">Add new benchmark</a>
|
||||||
|
|
||||||
<table class="twelve columns card-1">
|
<table class="twelve columns card-2">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td>
|
<td>Name</td>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<h2>Hardware</h2>
|
<h2>Hardware</h2>
|
||||||
<a href="/hardware/create">Add new hardware</a>
|
<a href="/hardware/create">Add new hardware</a>
|
||||||
|
|
||||||
<table class="twelve columns card-1">
|
<table class="twelve columns card-2">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td>
|
<td>Name</td>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
{{ $length := len .hardware.Tests }} {{ if eq $length 0 }}
|
{{ $length := len .hardware.Tests }} {{ if eq $length 0 }}
|
||||||
<p>There are currently no tests using this hardware component.</p>
|
<p>There are currently no tests using this hardware component.</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<table class="u-full-width card-1">
|
<table class="u-full-width card-2">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Test</th>
|
<th>Test</th>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<h2>Tests</h2>
|
<h2>Tests</h2>
|
||||||
<a href="/test/create">Create a new test</a>
|
<a href="/test/create">Create a new test</a>
|
||||||
|
|
||||||
<table class="twelve columns card-1">
|
<table class="twelve columns card-2">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Title</td>
|
<td>Title</td>
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
{{ $length := len .test.Results }} {{ if eq $length 0 }}
|
{{ $length := len .test.Results }} {{ if eq $length 0 }}
|
||||||
<p>There are currently no benchmarks recorded in this test.</p>
|
<p>There are currently no benchmarks recorded in this test.</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<table class="u-full-width card-1">
|
<table class="u-full-width card-2">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Benchmark</th>
|
<th>Benchmark</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user