From 27f04100c8d9b2cb44db4443bf87c161296302d0 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Mon, 8 Aug 2016 14:05:33 +0200 Subject: [PATCH] frio: unify size of notif-images + background color for unseen notifs --- view/theme/frio/css/style.css | 7 ++++++- view/theme/frio/templates/notifications.tpl | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index bd2cf90ff6..1802905809 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2181,12 +2181,17 @@ ul.notif-network-list > li { padding-left: 15px; padding-right: 15px; } +ul.notif-network-list li.unseen { + border-left: 3px solid #f3fcfd; + background-color: #f3fcfd; +} .intro-wrapper.media { overflow: visible; word-wrap: break-word; margin-top: 0; } -.intro-photo-wrapper img.intro-photo { +.intro-photo-wrapper img.intro-photo, +.notif-item img.notif-image { height:80px; width: 80px; border-radius: 4px; diff --git a/view/theme/frio/templates/notifications.tpl b/view/theme/frio/templates/notifications.tpl index 82f11c8be4..126001e933 100644 --- a/view/theme/frio/templates/notifications.tpl +++ b/view/theme/frio/templates/notifications.tpl @@ -26,3 +26,13 @@ {{* The pager *}} {{$notif_paginate}} + +{{* Since only the DIV's inside the notification-list are marked with the class "unseen", +we need some js to transfer this class to the parent li list-elements *}} + \ No newline at end of file