diff --git a/src/routes/pages/stats.rs b/src/routes/pages/stats.rs index 30bab36..b8f18fa 100644 --- a/src/routes/pages/stats.rs +++ b/src/routes/pages/stats.rs @@ -26,6 +26,7 @@ pub fn view(_auth: Authorized, db: State<'_, sled::Db>) -> Result, } @@ -97,6 +98,7 @@ pub fn view(_auth: Authorized, db: State<'_, sled::Db>) -> Result li:nth-of-type(odd) { - background-color: #f0f0f0; + background-color: #3f4a53; } .category_entry { @@ -50,7 +71,7 @@ ul.striped_list > li:nth-of-type(odd) { .category_button_container { margin: 0.1em; - background-color: #c1c1c1; + background-color: #a4829c; border-radius: 3.5em; width: 7em; height: 7em; @@ -64,7 +85,7 @@ ul.striped_list > li:nth-of-type(odd) { margin-top: 25px; background-color: transparent; - border-color: transparent transparent transparent #202020; + border-color: transparent transparent transparent #302f3b; transition: 100ms all ease; will-change: border-width; cursor: pointer; @@ -89,15 +110,15 @@ ul.striped_list > li:nth-of-type(odd) { } .history_entry_duration { - color: #892be1; + color: #e4c9ff; } .history_entry_started { - color: #cc661e; + color: #fdab70; } .history_entry_ended { - color: #9f2727; + color: #ffa9a9; } .history_entry_delete_button { diff --git a/templates/stats.hbs b/templates/stats.hbs index f3b8397..54c25b0 100644 --- a/templates/stats.hbs +++ b/templates/stats.hbs @@ -38,6 +38,7 @@

Andel per timme:

+
{{this.bars_max}}%
{{#each this.bars}}