From 4f6d0ffbf71653b74d68e7ade494955617d0d684 Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Thu, 12 Apr 2018 23:29:13 +0200 Subject: [PATCH 1/4] slightly brighter dark --- templates/default-layout.lucius | 3 ++- templates/standalone/modal.lucius | 2 +- templates/widgets/navbar.lucius | 11 +++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index cc33bfe58..3574d3a43 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -20,7 +20,8 @@ --fontbase: #34303a; --fontsec: #5b5861; /* THEME 4 */ - --darkbase: #263C4C; + --darkerbase: #274a65; + --darkbase: #425d79; --lightbase: #598EB5; --lighterbase: #5F98C2; --whitebase: #FCFFFA; diff --git a/templates/standalone/modal.lucius b/templates/standalone/modal.lucius index a511f58c6..f9e1db4e2 100644 --- a/templates/standalone/modal.lucius +++ b/templates/standalone/modal.lucius @@ -70,7 +70,7 @@ justify-content: center; width: 30px; height: 30px; - background-color: var(--darkbase); + background-color: var(--darkerbase); border-radius: 2px; cursor: pointer; z-index: 20; diff --git a/templates/widgets/navbar.lucius b/templates/widgets/navbar.lucius index b04c47366..b1fe881c4 100644 --- a/templates/widgets/navbar.lucius +++ b/templates/widgets/navbar.lucius @@ -8,10 +8,10 @@ height: var(--header-height); padding-right: 5vw; padding-left: 340px; - background: var(--darkbase); /* Old browsers */ - background: -moz-linear-gradient(bottom, var(--darkbase) 0%, #425d79 100%); /* FF3.6-15 */ - background: -webkit-linear-gradient(bottom, var(--darkbase) 0%,#425d79 100%); /* Chrome10-25,Safari5.1-6 */ - background: linear-gradient(to top, var(--darkbase) 0%,#425d79 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ + background: var(--darkerbase); /* Old browsers */ + background: -moz-linear-gradient(bottom, var(--darkerbase) 0%, #425d79 100%); /* FF3.6-15 */ + background: -webkit-linear-gradient(bottom, var(--darkerbase) 0%,#425d79 100%); /* Chrome10-25,Safari5.1-6 */ + background: linear-gradient(to top, var(--darkerbase) 0%,#425d79 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ color: white; box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1); z-index: 10; @@ -86,8 +86,7 @@ } .navbar .navbar__list-item:not(.navbar__list-item--active):hover { - background-color: var(--darkbase); - color: var(--whitebase); + background-color: var(--darkerbase); } .navbar .navbar__list-item:not(.navbar__list-item--active):hover .navbar__link-wrapper { color: var(--whitebase); From 174297c2ba2119aa0cceebab585c86d81fcb50ed Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Thu, 12 Apr 2018 23:31:01 +0200 Subject: [PATCH 2/4] asidenav with distinguishable title and active-state --- templates/widgets/asidenav.hamlet | 9 +++++---- templates/widgets/asidenav.lucius | 19 ++++++++++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/templates/widgets/asidenav.hamlet b/templates/widgets/asidenav.hamlet index a46c06ad9..b19ab9d4f 100644 --- a/templates/widgets/asidenav.hamlet +++ b/templates/widgets/asidenav.hamlet @@ -18,10 +18,11 @@ $newline never WiSe 17/18