From d359e1d6203728783c97ed1313e62088dd44f386 Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 21 Apr 2017 17:31:50 +0200 Subject: Sort table by clicking on the header --- public/main.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/public/main.css b/public/main.css index da0b04e..29f031c 100644 --- a/public/main.css +++ b/public/main.css @@ -33,10 +33,23 @@ body { margin: 0; } } .line.title { + height: 60px; +} + +.line.title > * { + border: 0; background-color: #333333; color: white; - font-size: 18px; + cursor: pointer; height: 60px; + font-size: 17px; + padding: 0 15px; + text-align: left; + transition: background-color 0.2s ease-in-out; +} + +.line.title > *.sorted { + background-color: #505050; } .line.search { -- cgit v1.2.3