Merge pull request #81 from tomtom84/master

fixes in diabook theme
This commit is contained in:
tomtom84 2012-03-04 17:46:48 -08:00
commit d369fcc994
3 changed files with 25 additions and 22 deletions

View File

@ -46,12 +46,11 @@
<input type="submit" id="profile-jot-submit" class="button creation2" name="submit" value="$share" /> <input type="submit" id="profile-jot-submit" class="button creation2" name="submit" value="$share" />
<button onclick="preview_post();" id="jot-preview-link" class="button creation1">$preview</button> <span onclick="preview_post();" id="jot-preview-link" class="tab button">$preview</span>
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" > <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
<a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang
</div> </div>
<div id="profile-jot-perms-end"></div>
<div id="profile-jot-plugin-wrapper"> <div id="profile-jot-plugin-wrapper">
@ -62,6 +61,9 @@
<img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> <img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
</div> </div>
</div>
<div id="profile-jot-perms-end"></div>
<div id="jot-preview-content" style="display:none;"></div> <div id="jot-preview-content" style="display:none;"></div>
<div style="display: none;"> <div style="display: none;">
@ -75,9 +77,8 @@
</div> </div>
</div>
<div id="profile-jot-end"></div>
</form> </form>
</div> </div>
{{ if $content }}<script>initEditor();</script>{{ endif }} {{ if $content }}<script>initEditor();</script>{{ endif }}

View File

@ -384,9 +384,7 @@ body {
font-size: 13px; font-size: 13px;
background-color: #ffffff; background-color: #ffffff;
color: #2d2d2d; color: #2d2d2d;
margin-left: : auto; margin: 50px auto auto;
margin-right: auto;
margin-top: 50px;
display: table; display: table;
} }
h4 { h4 {
@ -1005,24 +1003,24 @@ section {
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
width: 800px; width: 800px;
padding: 0px 0px 0px 10px; padding: 0px 0px 0px 12px;
} }
.tabs { .tabs {
background-position: 0 -20px; background-position: 0 -20px;
background-repeat: repeat-x; background-repeat: repeat-x;
height: 27px; height: 27px;
padding: 0; padding: 0;
} }
.tab.button { .tab.button {
margin-right: 15px; margin-right: 5px;
margin-left: 15px; margin-left: 5px;
background: none repeat scroll 0 0 #F8F8F8; /*background: none repeat scroll 0 0 #F8F8F8;*/
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px;
font-weight: bold; font-weight: normal;
padding: 3px; padding: 3px;
color: #333333;
} }
/* wall item */ /* wall item */
.tread-wrapper { .tread-wrapper {
@ -1045,6 +1043,8 @@ section {
display: table; display: table;
width: 780px; width: 780px;
} }
.wall-item-container .wall-item-item, .wall-item-container .wall-item-bottom { .wall-item-container .wall-item-item, .wall-item-container .wall-item-bottom {
display: table-row; display: table-row;
} }
@ -1221,8 +1221,12 @@ section {
border-right: 1px solid #A7C7F7; border-right: 1px solid #A7C7F7;
padding-right: 12px; padding-right: 12px;
} }
#jot-preview-content{
margin-top: 30px;}
#jot-preview-content .tread-wrapper { #jot-preview-content .tread-wrapper {
background-color: #fce94f; background-color: #fff797;
} }
.wall-item-tags { .wall-item-tags {
@ -1667,11 +1671,10 @@ ul.tabs {
} }
ul.tabs li { ul.tabs li {
float: left; float: left;
margin-left: 7px; margin-left: 5px;
} }
ul.tabs li .active { ul.tabs li .active {
background-color: #33ACFF; background-color: #333333;
background-image: -moz-linear-gradient(center top , #66C1FF 0%, #0097FF 100%);
border: 1px solid #777777; border: 1px solid #777777;
color: white; color: white;
border-radius: 3px 3px 3px 3px; border-radius: 3px 3px 3px 3px;

View File

@ -104,4 +104,3 @@
<div class="wall-item-comment-wrapper" > <div class="wall-item-comment-wrapper" >
$item.comment $item.comment
</div> </div>
tb