From 771d26ec3bc89967e57f51b5e35cb9027bd90f97 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 8 Jun 2024 10:01:25 -0400 Subject: [PATCH] Improved some styles --- assets/styles/kourend.sass | 11 ++++++++--- templates/benchmark/list.tmpl | 2 +- templates/hardware/list.tmpl | 2 +- templates/hardware/view.tmpl | 2 +- templates/test/list.tmpl | 2 +- templates/test/view.tmpl | 2 +- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/assets/styles/kourend.sass b/assets/styles/kourend.sass index 284a7b4..ea014be 100644 --- a/assets/styles/kourend.sass +++ b/assets/styles/kourend.sass @@ -56,6 +56,11 @@ table thead tr, table tr:nth-child(even) background: #eee +table tbody tr + transition: background 180ms ease-in-out + &:hover + background: lightgrey + /* Material card styles */ .card-1 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 line-height: 64px transition: all 200ms ease-in-out - &:hover - color: #eee - font-size: 2.5rem + &:hover + color: #eee + font-size: 2.5rem #main-content padding: 15px 25px diff --git a/templates/benchmark/list.tmpl b/templates/benchmark/list.tmpl index f555933..bebd020 100644 --- a/templates/benchmark/list.tmpl +++ b/templates/benchmark/list.tmpl @@ -4,7 +4,7 @@

Benchmark

Add new benchmark - +
diff --git a/templates/hardware/list.tmpl b/templates/hardware/list.tmpl index 55f7ad3..7c8dfaa 100644 --- a/templates/hardware/list.tmpl +++ b/templates/hardware/list.tmpl @@ -4,7 +4,7 @@

Hardware

Add new hardware -
Name
+
diff --git a/templates/hardware/view.tmpl b/templates/hardware/view.tmpl index c6cd4e5..38f642d 100644 --- a/templates/hardware/view.tmpl +++ b/templates/hardware/view.tmpl @@ -12,7 +12,7 @@ {{ $length := len .hardware.Tests }} {{ if eq $length 0 }}

There are currently no tests using this hardware component.

{{ else }} -
Name
+
diff --git a/templates/test/list.tmpl b/templates/test/list.tmpl index a5fdfbd..1c645ef 100644 --- a/templates/test/list.tmpl +++ b/templates/test/list.tmpl @@ -4,7 +4,7 @@

Tests

Create a new test -
Test
+
diff --git a/templates/test/view.tmpl b/templates/test/view.tmpl index 41de899..cd09e8f 100644 --- a/templates/test/view.tmpl +++ b/templates/test/view.tmpl @@ -69,7 +69,7 @@ {{ $length := len .test.Results }} {{ if eq $length 0 }}

There are currently no benchmarks recorded in this test.

{{ else }} -
Title
+
Benchmark