Compare commits

...

2 Commits

Author SHA1 Message Date
bc4cb181c3 Added some styles
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2025-07-23 23:54:12 -04:00
822f49bcc2 fixed display of tests on the dashboard 2025-07-23 23:26:22 -04:00
3 changed files with 43 additions and 2 deletions

View File

@ -1,5 +1,46 @@
@use "sass:color"
//$primary-color: #3399ff
$primary-color: cornflowerblue
$primary-color-highlight: color.adjust($primary-color, $lightness: -10%)
body
background: #eee
a
color: $primary-color
transition: color 225ms ease-in-out
&:hover
color: $primary-color-highlight
input[type=submit],
button
background: $primary-color
color: #eee
border-radius: 8px
transition: all 225ms ease-in-out
&:hover
background: $primary-color-highlight
color: white
#wrapper
background: white
padding: 1rem 2rem
border-radius: 8px
#main-nav
margin-bottom: 15px
background: $primary-color
border-bottom: 1px solid #eee
ul
background: none
a
color: #eee
font-weight: bold
&:hover
color: white
h1.invalid
color: red

View File

@ -15,7 +15,7 @@
<tbody>
<% tests.each do |t| %>
<tr>
<td><%= t.name %></td>
<td><a href="/test/<%= t.id %>"><%= t.name %></a></td>
<td><%= t.benchmark.length %></td>
<td><%= t.updated_at %></td>
</tr>

View File

@ -17,7 +17,7 @@
<%= erb :'partials/navbar', :locals => locals %>
<!-- main content -->
<div class="grid-container">
<div id="wrapper" class="grid-container">
<%= yield %>
</div>
</body>