From 80de19bcdafd8260309fe7a8ee44bb6ea29fb521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=27rysiek=27=20Wo=C5=BAniak?= Date: Sat, 1 Feb 2014 17:24:53 +0100 Subject: [PATCH] #linksharedinfo fixes, as per @jancborchardt's suggestions: download links fixed; download anchor now looks like a button --- css/style.css | 19 ++++++++++++++++++- templates/calendar.php | 2 +- templates/part.showevent.php | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 6b5f9ab8..69bf3407 100644 --- a/css/style.css +++ b/css/style.css @@ -281,7 +281,7 @@ button.category{margin:0 3px;} font-weight:bold; background: #777; color:#ddd; - padding:0.2em; + padding:0.7em; position:fixed; top:0px; width:100%; @@ -299,6 +299,23 @@ button.category{margin:0 3px;} color:white; } +#linksharedinfo .download-link { + display:inline-block; + background: #777; + border:solid 0.1em #ddd; + border-radius:0.2em; + padding:0.3em 1em; + color:#ddd; + text-decoration:none; +} + +#linksharedinfo .download-link:hover { + background:#ddd; + border-color:#555; + color:#777; + text-decoration:none; +} + #linksharedinfo + #controls { top:86px; } diff --git a/templates/calendar.php b/templates/calendar.php index bc6d815a..7c0a70ca 100644 --- a/templates/calendar.php +++ b/templates/calendar.php @@ -8,7 +8,7 @@ */ if (isset($_['link_shared_calendar_name'])) { ?> -
User shared "" calendar with you; explore below or download using this link:
&download
+
t('Calendar')) ?> "", t('shared by'))?>: ; t('download or use in your calendar application:'))?> t('Download'))?>
diff --git a/templates/part.showevent.php b/templates/part.showevent.php index ab43a1da..2da739e8 100644 --- a/templates/part.showevent.php +++ b/templates/part.showevent.php @@ -1,5 +1,5 @@ -
User shared "" event with you; explore below or download using this link:
&download
+
t('Event')) ?> "", t('shared by'))?>: ; t('download or use in your calendar application:'))?> t('Download'))?>