and and theme previewing for testbubble

This commit is contained in:
friendica 2012-01-12 17:50:02 -08:00
parent 4b6990e1ff
commit 4d07cfa2d0
4 changed files with 13 additions and 4 deletions

View file

@ -96,6 +96,7 @@ function initEditor(cb) {
$("#profile-nolocation-wrapper").show();
$("#profile-title-wrapper").show();
$("#profile-jot-plugin-wrapper").show();
$("#jot-preview-link").show();
{{ endif }}
$("#character-counter").show();
if (typeof cb!="undefined") cb();

View file

@ -44,6 +44,8 @@
<a id="profile-nolocation" class="icon border noglobe" title="$noloc" onclick="jotClearLocation(); return false;"></a>
</div>
<span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >$preview</span>
<div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
<input type="submit" id="profile-jot-submit" name="submit" value="$share" />
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" >
@ -55,6 +57,8 @@
</div>
<div id="profile-jot-tools-end"></div>
<div id="jot-preview-content" style="display:none;"></div>
<div style="display: none;">
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
$acl

View file

@ -1,4 +1,4 @@
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
<div class="wall-item-outside-wrapper$indent$previewing" id="wall-item-outside-wrapper-$id" >
<div class="wall-item-content-wrapper$indent" id="wall-item-content-wrapper-$id" >
<div class="wall-item-info" id="wall-item-info-$id">
<div class="wall-item-photo-wrapper mframe" id="wall-item-photo-wrapper-$id"

View file

@ -780,7 +780,11 @@ ul .sidebar-group-li .icon{
border: 1px solid #cccccc;
}
#profile-jot-perms, #profile-jot-submit {
.preview {
background: #FFFFC8;
}
#profile-jot-perms, #profile-jot-submit, #jot-preview-link {
width: 60px;
font-size: 12px;
-moz-box-shadow:inset 0px 1px 0px 0px #cfcfcf;
@ -818,13 +822,13 @@ ul .sidebar-group-li .icon{
margin-left: -30px;
}
#profile-jot-perms:hover, #profile-jot-submit:hover {
#profile-jot-perms:hover, #profile-jot-submit:hover, #jot-preview-link:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b20202), color-stop(1, #d60808) );
background:-moz-linear-gradient( center top, #b20202 5%, #d60808 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b20202', endColorstr='#d60808');
background-color:#b20202;
}
#profile-jot-perms:active, #profile-jot-submit:active {
#profile-jot-perms:active, #profile-jot-submit:active, #jot-preview-link:active {
position:relative;
top:1px;
}