From ee3079e90e86d7a42cdefa76dc104cfb5881e1d4 Mon Sep 17 00:00:00 2001 From: Darren Date: Mon, 30 Jun 2014 15:53:36 +0100 Subject: [PATCH] Touch-screen friendly 100% nick list on narrow screens --- client/assets/themes/basic/style.css | 5 +++++ client/assets/themes/relaxed/style.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/client/assets/themes/basic/style.css b/client/assets/themes/basic/style.css index 4a6575e..8c5c0b7 100644 --- a/client/assets/themes/basic/style.css +++ b/client/assets/themes/basic/style.css @@ -188,6 +188,11 @@ #kiwi .memberlists ul { list-style: none; margin-left:2px; } #kiwi .memberlists ul.active { } #kiwi .memberlists ul li { padding:0 2px; } +#kiwi.narrow .memberlists ul li { + padding: 0.5em 1em; + border-bottom: 1px solid lightgray; + text-align: center; +} #kiwi .memberlists ul li:hover {} #kiwi .memberlists ul li a.nick { display:block; color:black; } diff --git a/client/assets/themes/relaxed/style.css b/client/assets/themes/relaxed/style.css index 6240767..c263108 100644 --- a/client/assets/themes/relaxed/style.css +++ b/client/assets/themes/relaxed/style.css @@ -201,6 +201,11 @@ #kiwi .memberlists ul { list-style: none; } #kiwi .memberlists ul.active { } #kiwi .memberlists ul li { padding: 0.2em 1em; } +#kiwi.narrow .memberlists ul li { + padding: 0.5em 1em; + border-bottom: 1px solid lightgray; + text-align: center; +} #kiwi .memberlists ul li:hover { border-left: 5px solid #88C56A; -webkit-transition: 0.2s ease; -- 2.25.1