# HG changeset patch # User bsw # Date 1340919523 -7200 # Node ID 88e2278e142796d4dde2d22722199f4d514d845f # Parent c5bdf4e6790d9cb481956c13148e24205548b9e1 Make more event link in event list more visible diff -r c5bdf4e6790d -r 88e2278e1427 app/main/event/_list.lua --- a/app/main/event/_list.lua Thu Jun 28 23:25:27 2012 +0200 +++ b/app/main/event/_list.lua Thu Jun 28 23:38:43 2012 +0200 @@ -192,6 +192,7 @@ if #events > 0 then ui.link{ + attr = { class = "more_events_links" }, text = _"Show older events", module = request.get_module(), view = request.get_view(), diff -r c5bdf4e6790d -r 88e2278e1427 static/style.css --- a/static/style.css Thu Jun 28 23:25:27 2012 +0200 +++ b/static/style.css Thu Jun 28 23:38:43 2012 +0200 @@ -617,7 +617,6 @@ border: 1px solid #bbb; } - .ui_filter_head a.active { border: 1px solid #666; text-decoration: none; @@ -651,6 +650,7 @@ .ui_paginate_select a { padding: 0.5em; + border-radius: 4px; } /************************************************************************* @@ -906,27 +906,6 @@ border-radius: 8px 8px 0 0; } - - -/************************************************************************* - * Events - */ - -.events .date { - font-size: 150%; - font-weight: bold; - margin-top: 2ex; - line-height: 150%; -} - -.event_list .event div { -} - -.event_list .event .member_id { - float: right; -} - - /************************************************************************* * Issues */ @@ -987,6 +966,21 @@ font-weight: bold; } +.more_events_links { + margin-left: 255px; + padding: 1ex; + background-color: #444; + background: -webkit-linear-gradient(top, #888, #222); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #888), color-stop(100%,#222)); + background: -moz-linear-gradient(#888, #222); + background: -ms-linear-gradient(#888, #222); + background: -o-linear-gradient(#888, #222); + background: linear-gradient(#888, #222); + color: #fff; + border-radius: 8px; + font-weight: bold; +} + @media screen and (max-width: 720px) { .event_info { width: auto; @@ -995,9 +989,12 @@ border-radius: 8px 8px 0 0; } .events .issue { - clear: left; - + clear: left; } + .more_events_links { + margin-left: 0px; + } + } @media screen and (max-width: 480px) {