#linksharedinfo fixes, as per @jancborchardt's suggestions: download links fixed; download anchor now looks like a button
parent
8c6e80d2c7
commit
80de19bcda
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
if (isset($_['link_shared_calendar_name'])) {
|
||||
?>
|
||||
<div id="linksharedinfo">User <?php p($_['link_shared_calendar_owner'])?> shared "<?php p($_['link_shared_calendar_name'])?>" calendar with you; explore below or download using this link:<br/><a href="<?php p($_['link_shared_calendar_url'])?>&download"><?php p($_['link_shared_calendar_url'])?>&download</a></div>
|
||||
<div id="linksharedinfo"><?php p($l->t('Calendar')) ?> "<?php p($_['link_shared_calendar_name'])?>", <?php p($l->t('shared by'))?>: <?php p($_['link_shared_calendar_owner'])?>; <?php p($l->t('download or use in your calendar application:'))?> <a class="download-link" href="<?php echo $_['link_shared_calendar_url']; ?>&download"><?php p($l->t('Download'))?></a></div>
|
||||
<?php } ?>
|
||||
<div id="controls">
|
||||
<form id="view">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php if (isset($_['link_shared_event'])) { ?>
|
||||
<div id="linksharedinfo">User <?php p($_['link_shared_event']['uid_owner'])?> shared "<?php p($_['link_shared_event']['item_target'])?>" event with you; explore below or download using this link:<br/><a href="<?php p($_['link_shared_calendar_url'])?>&download"><?php p($_['link_shared_event_url'])?>&download</a></div>
|
||||
<div id="linksharedinfo"><?php p($l->t('Event')) ?> "<?php p($_['link_shared_event']['item_target'])?>", <?php p($l->t('shared by'))?>: <?php p($_['link_shared_event']['uid_owner'])?>; <?php p($l->t('download or use in your calendar application:'))?> <a class="download-link" href="<?php echo $_['link_shared_event_url']; ?>&download"><?php p($l->t('Download'))?></a></div>
|
||||
<?php } ?>
|
||||
<div id="event" class="event <?php if(isset($_['link_shared_event'])): ?>link-shared<?php endif; ?>" title="<?php p($l->t("View an event"));?>">
|
||||
<?php if (!isset($_['link_shared_event'])): ?>
|
||||
|
|
Loading…
Reference in New Issue