From b483d5413f309a0e152fe509e49b95cecc38c950 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 10 Jul 2020 23:46:36 +0100 Subject: [PATCH] Add badge to notification icon --- app/scss/custom.scss | 14 ++++++++++++++ app/templates/base.html | 11 ++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/app/scss/custom.scss b/app/scss/custom.scss index 5aaf146..e16a75c 100644 --- a/app/scss/custom.scss +++ b/app/scss/custom.scss @@ -28,6 +28,20 @@ h3 { letter-spacing: .05em } +.badge-notify { + background:yellow; /* #00bc8c;*/ + color: black; + position:relative; + top: -12px; + left: -10px; + margin-right: -10px; + font-size:10px; +} + +a:hover .badge-notify { + color: black; +} + p, .content li { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased !important; diff --git a/app/templates/base.html b/app/templates/base.html index f3877b7..90e49a8 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -7,7 +7,7 @@ {% block title %}title{% endblock %} - {{ config.USER_APP_NAME }} - + @@ -60,8 +60,13 @@