Browse Source

update diabook-theme

-- fixed contact-edit-page
-- some css-fixes
pull/767/head
tomtom84 8 years ago
parent
commit
9ddca9425d
10 changed files with 146 additions and 25 deletions
  1. +18
    -1
      view/theme/diabook/diabook-aerith/style.css
  2. +18
    -1
      view/theme/diabook/diabook-blue/style.css
  3. +18
    -1
      view/theme/diabook/diabook-dark/style.css
  4. +18
    -1
      view/theme/diabook/diabook-green/style.css
  5. +18
    -1
      view/theme/diabook/diabook-pink/style.css
  6. +18
    -1
      view/theme/diabook/diabook-red/style.css
  7. BIN
      view/theme/diabook/icons/preview.png
  8. +1
    -8
      view/theme/diabook/style-network.css
  9. +24
    -10
      view/theme/diabook/style.css
  10. +13
    -1
      view/theme/diabook/theme.php

+ 18
- 1
view/theme/diabook/diabook-aerith/style.css View File

@ -229,7 +229,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1263,6 +1263,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1398,6 +1401,9 @@ body .pageheader{
#id_openid_url {
width: 173px;
}
.contact-edit-submit{
display: block;
}
#contact-edit-end {
}
.pager {
@ -1762,6 +1768,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


+ 18
- 1
view/theme/diabook/diabook-blue/style.css View File

@ -228,7 +228,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1223,6 +1223,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1358,6 +1361,9 @@ body .pageheader{
#id_openid_url {
width: 173px;
}
.contact-edit-submit{
display: block;
}
#contact-edit-end {
}
.pager {
@ -1720,6 +1726,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


+ 18
- 1
view/theme/diabook/diabook-dark/style.css View File

@ -240,7 +240,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1234,6 +1234,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1371,6 +1374,9 @@ body .pageheader{
}
#contact-edit-end {
}
.contact-edit-submit{
display: block;
}
.pager {
padding: 10px;
text-align: center;
@ -1732,6 +1738,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


+ 18
- 1
view/theme/diabook/diabook-green/style.css View File

@ -229,7 +229,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1246,6 +1246,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1383,6 +1386,9 @@ body .pageheader{
}
#contact-edit-end {
}
.contact-edit-submit{
display: block;
}
.pager {
padding: 10px;
text-align: center;
@ -1746,6 +1752,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


+ 18
- 1
view/theme/diabook/diabook-pink/style.css View File

@ -228,7 +228,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1245,6 +1245,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1382,6 +1385,9 @@ body .pageheader{
}
#contact-edit-end {
}
.contact-edit-submit{
display: block;
}
.pager {
padding: 10px;
text-align: center;
@ -1745,6 +1751,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


+ 18
- 1
view/theme/diabook/diabook-red/style.css View File

@ -227,7 +227,7 @@
.type-unkn { background-position: -80px 0px; }
.icon.drop, .icon.drophide {
float: left;
float: right;
}
.icon {
@ -1250,6 +1250,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1385,6 +1388,9 @@ body .pageheader{
#id_openid_url {
width: 173px;
}
.contact-edit-submit{
display: block;
}
#contact-edit-end {
}
.pager {
@ -1746,6 +1752,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;


BIN
view/theme/diabook/icons/preview.png View File

Before After
Width: 18  |  Height: 18  |  Size: 662 B

+ 1
- 8
view/theme/diabook/style-network.css View File

@ -1769,14 +1769,7 @@ transition: all 0.2s ease-in-out;
margin-left: 45px;
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{
float: right;
margin-left: 10px;


+ 24
- 10
view/theme/diabook/style.css View File

@ -168,11 +168,7 @@
}
.unglobe { background-image: url("../../../view/theme/diabook/icons/unglobe.png");
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");
display: block; width: 28px; height: 28px; background-repeat: no-repeat;}
.icon.block {background-image: url("../../../view/theme/diabook/icons/block.png");
@ -1048,6 +1044,12 @@ ul.menu-popup .empty {
background: #E7F2F7;
}
.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-top: 0.6em;
display: inline;
@ -1286,6 +1288,9 @@ aside #login-extra-links{
height: 22px;
width: 22px;
}
#group-all-contacts{
overflow: auto;
}
.icon.text_add {
background-image: url("../../../images/icons/16/add.png");
float: right;
@ -1350,6 +1355,9 @@ body .pageheader{
#id_openid_url {
width: 173px;
}
.contact-edit-submit{
display: block;
}
#contact-edit-end {
}
.pager {
@ -1706,6 +1714,17 @@ body .pageheader{
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 {
padding-top: 1px;
padding-bottom: 2px;
@ -2007,11 +2026,6 @@ body .pageheader{
margin-left: 45px;
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{
float: right;
margin-left: 10px;


+ 13
- 1
view/theme/diabook/theme.php View File

@ -2,7 +2,7 @@
/*
* 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)
* Author:
*/
@ -69,6 +69,18 @@ if ($color=="pink") $color_path = "/diabook-pink/";
if ($color=="green") $color_path = "/diabook-green/";
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
if ($a->argv[0] === "network" && local_user()){


Loading…
Cancel
Save