From 35efb74fa892c25610ab51c9806f4ce4c5fc64f5 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Sun, 21 Apr 2019 12:23:18 +0200 Subject: [PATCH] some styling, hopefully for the better --- resources/app/stylesheets/app.less | 10 ++++++++++ src/wanijo/framework/view.clj | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/app/stylesheets/app.less b/resources/app/stylesheets/app.less index f755991..9b2240d 100644 --- a/resources/app/stylesheets/app.less +++ b/resources/app/stylesheets/app.less @@ -108,10 +108,20 @@ img, svg { grid-area: nav; .accent-border-element; + h2::before { + content: "▤ "; + color: @ci-blue; + } + h2 { margin-left: -1rem; padding-left: 1rem; } + + ul { + list-style-type: none; + padding-left: 1.8rem; + } } main { diff --git a/src/wanijo/framework/view.clj b/src/wanijo/framework/view.clj index 522ad00..b3b28e5 100644 --- a/src/wanijo/framework/view.clj +++ b/src/wanijo/framework/view.clj @@ -70,14 +70,14 @@ (when authed? (list [:section.schemas - [:h2 [:span.__icon "▤"] "Schemas"] + [:h2 "Schemas"] [:ul (for [schema (:schemas session)] [:li [:a {:href (path :instance-list {:schema-uuid (:uuid schema)})} (h (:name schema))]])]] [:section - [:h2 [:span.__icon "▤"] "Visualisation"] + [:h2 "Visualisation"] [:ul [:li [:a {:href (path :vis-all-instances)} "All Instances"]]]]))]