1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-02-28 00:54:31 +01:00

Bookmark: resolving Style issues fix #653

This commit is contained in:
Brice Maron 2013-03-02 15:42:54 +01:00
parent d6db39c5e7
commit 0badbd76b9
2 changed files with 10 additions and 7 deletions

View File

@ -1,12 +1,11 @@
#content { overflow: auto; height: 100%; }
#firstrun small { display: block; font-weight: normal; font-size: 0.5em; }
#firstrun .button { font-size: 0.7em; }
#firstrun .bkm_hint { display: block; font-weight: normal; /*font-size: 0.5em; */ }
#firstrun .title { font-weight:bold; }
#distance {
width:1px;
height:50%;
background-color:#fc6;
margin-bottom:-13.75em; /* half of container's height */
float:left;
}
@ -66,6 +65,10 @@ input.disabled, input.disabled:hover, input.disabled:focus {
#add_form {
padding-bottom: 2em;
}
#add_form input {
margin: 0.3em;
}
#add_url {
width: 12em;
}

View File

@ -12,7 +12,7 @@ function bookmarklet(){
$blet .= OCP\Util::linkToAbsolute('bookmarks', 'addBm.php');
$blet .= "?output=popup&url='+c(b.location)+'&title='+e,'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=400px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300);})();";
$help_msg = $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:');
return '<small>'.$help_msg.'</small><br /><a class="button bookmarklet" href="' . $blet . '">' . $l->t('Read later') . '</a>';
return '<div class="bkm_hint">'.$help_msg.'</div><br /><a class="button bookmarklet" href="' . $blet . '">' . $l->t('Read later') . '</a>';
}
?>
@ -50,13 +50,13 @@ function bookmarklet(){
<div id="firstrun" style="display: none;">
<div id="distance"></div>
<div id="firstrun_message">
<?php
<p class="title"><?php
p($l->t('You have no bookmarks'));
$embedded = true;
print_unescaped(bookmarklet());?><br/><br />
print_unescaped(bookmarklet());?></p><br/><br />
<small><a href="#" id="firstrun_setting"><?php p($l->t('You can also try to import a bookmark file'));?></a></small>
<div class="bkm_hint"><a href="#" id="firstrun_setting"><?php p($l->t('You can also try to import a bookmark file'));?></a></div>
</div>
</div>
<div class="bookmarks_list"></div>