Merge pull request #767 from tomtom84/master

update diabook-theme
This commit is contained in:
tomtom84 2013-09-07 19:35:13 -07:00
commit a8345a555a
10 changed files with 146 additions and 25 deletions

View file

@ -229,7 +229,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1263,6 +1263,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1398,6 +1401,9 @@ body .pageheader{
#id_openid_url { #id_openid_url {
width: 173px; width: 173px;
} }
.contact-edit-submit{
display: block;
}
#contact-edit-end { #contact-edit-end {
} }
.pager { .pager {
@ -1762,6 +1768,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

View file

@ -228,7 +228,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1223,6 +1223,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1358,6 +1361,9 @@ body .pageheader{
#id_openid_url { #id_openid_url {
width: 173px; width: 173px;
} }
.contact-edit-submit{
display: block;
}
#contact-edit-end { #contact-edit-end {
} }
.pager { .pager {
@ -1720,6 +1726,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

View file

@ -240,7 +240,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1234,6 +1234,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1371,6 +1374,9 @@ body .pageheader{
} }
#contact-edit-end { #contact-edit-end {
} }
.contact-edit-submit{
display: block;
}
.pager { .pager {
padding: 10px; padding: 10px;
text-align: center; text-align: center;
@ -1732,6 +1738,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

View file

@ -229,7 +229,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1246,6 +1246,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1383,6 +1386,9 @@ body .pageheader{
} }
#contact-edit-end { #contact-edit-end {
} }
.contact-edit-submit{
display: block;
}
.pager { .pager {
padding: 10px; padding: 10px;
text-align: center; text-align: center;
@ -1746,6 +1752,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

View file

@ -228,7 +228,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1245,6 +1245,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1382,6 +1385,9 @@ body .pageheader{
} }
#contact-edit-end { #contact-edit-end {
} }
.contact-edit-submit{
display: block;
}
.pager { .pager {
padding: 10px; padding: 10px;
text-align: center; text-align: center;
@ -1745,6 +1751,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

View file

@ -227,7 +227,7 @@
.type-unkn { background-position: -80px 0px; } .type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide { .icon.drop, .icon.drophide {
float: left; float: right;
} }
.icon { .icon {
@ -1250,6 +1250,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1385,6 +1388,9 @@ body .pageheader{
#id_openid_url { #id_openid_url {
width: 173px; width: 173px;
} }
.contact-edit-submit{
display: block;
}
#contact-edit-end { #contact-edit-end {
} }
.pager { .pager {
@ -1746,6 +1752,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 662 B

View file

@ -1769,14 +1769,7 @@ transition: all 0.2s ease-in-out;
margin-left: 45px; margin-left: 45px;
margin-top: 2px; margin-top: 2px;
} }
#jot-preview-link {
float: right;
margin-left: 10px;
margin-top: 2px;
font-size: 9px;
font-weight: bolder;
cursor: pointer;
}
#profile-jot-perms{ #profile-jot-perms{
float: right; float: right;
margin-left: 10px; margin-left: 10px;

View file

@ -168,11 +168,7 @@
} }
.unglobe { background-image: url("../../../view/theme/diabook/icons/unglobe.png"); .unglobe { background-image: url("../../../view/theme/diabook/icons/unglobe.png");
display: block; width: 28px; height: 28px; background-repeat: no-repeat; display: block; width: 28px; height: 28px; background-repeat: no-repeat;
} }
#jot-preview-link .tab { background-image: url("../../../view/theme/diabook/icons/preview.png");
display: block; width: 28px; height: 28px; background-repeat: no-repeat;
}
.edit {background-image: url("../../../view/theme/diabook/icons/pencil2.png"); .edit {background-image: url("../../../view/theme/diabook/icons/pencil2.png");
display: block; width: 28px; height: 28px; background-repeat: no-repeat;} display: block; width: 28px; height: 28px; background-repeat: no-repeat;}
.icon.block {background-image: url("../../../view/theme/diabook/icons/block.png"); .icon.block {background-image: url("../../../view/theme/diabook/icons/block.png");
@ -1048,6 +1044,12 @@ ul.menu-popup .empty {
background: #E7F2F7; background: #E7F2F7;
} }
.menu-profile-list-item{ .menu-profile-list-item{
padding-left: 5px;
padding-top: 0.5em;
display: inline;
vertical-align: middle;
}
#profile-side-status .menu-profile-list-item{
padding-left: 5px; padding-left: 5px;
padding-top: 0.6em; padding-top: 0.6em;
display: inline; display: inline;
@ -1286,6 +1288,9 @@ aside #login-extra-links{
height: 22px; height: 22px;
width: 22px; width: 22px;
} }
#group-all-contacts{
overflow: auto;
}
.icon.text_add { .icon.text_add {
background-image: url("../../../images/icons/16/add.png"); background-image: url("../../../images/icons/16/add.png");
float: right; float: right;
@ -1350,6 +1355,9 @@ body .pageheader{
#id_openid_url { #id_openid_url {
width: 173px; width: 173px;
} }
.contact-edit-submit{
display: block;
}
#contact-edit-end { #contact-edit-end {
} }
.pager { .pager {
@ -1706,6 +1714,17 @@ body .pageheader{
background-color: #fff797; background-color: #fff797;
} }
span#jot-preview-link.tab.button{
float: right;
margin-left: 10px;
margin-right: 14px;
margin-top: 2px;
font-size: 11px;
font-weight: bolder;
cursor: pointer;
border: 0px;
}
.wall-item-tags { .wall-item-tags {
padding-top: 1px; padding-top: 1px;
padding-bottom: 2px; padding-bottom: 2px;
@ -2007,11 +2026,6 @@ body .pageheader{
margin-left: 45px; margin-left: 45px;
margin-top: 2px; margin-top: 2px;
} }
#jot-preview-link {
float: right;
background-image: url("../../../view/theme/diabook/icons/preview.png");
display: block; width: 12px; height: 12px; background-repeat: no-repeat;
}
#profile-jot-perms{ #profile-jot-perms{
float: right; float: right;
margin-left: 10px; margin-left: 10px;

View file

@ -2,7 +2,7 @@
/* /*
* Name: Diabook * Name: Diabook
* Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or http://bugs.friendica.com/view_all_bug_page.php
* Version: (Version: 1.027) * Version: (Version: 1.027)
* Author: * Author:
*/ */
@ -69,6 +69,18 @@ if ($color=="pink") $color_path = "/diabook-pink/";
if ($color=="green") $color_path = "/diabook-green/"; if ($color=="green") $color_path = "/diabook-green/";
if ($color=="dark") $color_path = "/diabook-dark/"; if ($color=="dark") $color_path = "/diabook-dark/";
// remove doubled checkboxes at contacts-edit-page
if ($a->argv[0] === "contacts" && $a->argv[1] != NULL && local_user()){
$a->page['htmlhead'] .= '
<script>
$(document).ready(function() {
$("span.group_unselected").attr("style","display: none;");
$("span.group_selected").attr("style","display: none;");
$("input.unticked.action").attr("style","float: left; margin-top: 5px;");
$("li.menu-profile-list").attr("style","min-height: 22px;");
});
</script>';
}
//build personal menue at lefthand-col (id="profile_side") and boxes at right-hand-col at networkpages //build personal menue at lefthand-col (id="profile_side") and boxes at right-hand-col at networkpages
if ($a->argv[0] === "network" && local_user()){ if ($a->argv[0] === "network" && local_user()){