From d52d240da4c8fc70c91bb8aec1d1f7ad37d4d152 Mon Sep 17 00:00:00 2001 From: Foissac Nicola <nicola.foissac@etudiant.univ-lr.fr> Date: Wed, 23 Jan 2019 15:37:26 +0100 Subject: [PATCH 1/2] feat #15: add title to sidebar --- visualize_treatments/views/components/sidebar_classic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/visualize_treatments/views/components/sidebar_classic.php b/visualize_treatments/views/components/sidebar_classic.php index ab6bed5..4d94d27 100644 --- a/visualize_treatments/views/components/sidebar_classic.php +++ b/visualize_treatments/views/components/sidebar_classic.php @@ -3,6 +3,9 @@ <nav class="col-md-2 d-none d-md-block bg-light sidebar"> <div class="sidebar-sticky"> <ul class="nav flex-column"> + <li class="title"> + <h4>Critères de recherche</h4> + </li> <li class="form-check"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" -- GitLab From ff4d68aee20626ced242a89bb0cc98442acac5d8 Mon Sep 17 00:00:00 2001 From: Foissac Nicola <nicola.foissac@etudiant.univ-lr.fr> Date: Wed, 23 Jan 2019 15:38:18 +0100 Subject: [PATCH 2/2] feat #15: set style for title --- assets/css/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 8ee5632..9a61eed 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -80,6 +80,13 @@ body { display: none; } +.sidebar li.title { + text-align: center; + font-weight: bold; + color: #409ad5; + padding-bottom: 1rem; +} + .sidebar .nav-link.active, .sidebar .form-check[active]{ color: #007bff; -- GitLab