]> git.mxchange.org Git - friendica.git/commitdiff
diabook-themes: fixed pageheader
authortommy tomson <thomas.bierey@gmx.de>
Mon, 2 Apr 2012 15:17:14 +0000 (17:17 +0200)
committertommy tomson <thomas.bierey@gmx.de>
Mon, 2 Apr 2012 15:17:14 +0000 (17:17 +0200)
17 files changed:
view/theme/diabook-aerith/style-network.css
view/theme/diabook-aerith/style-profile.css
view/theme/diabook-aerith/style-settings.css
view/theme/diabook-aerith/style.css
view/theme/diabook-blue/style-network.css
view/theme/diabook-blue/style-profile.css
view/theme/diabook-blue/style-settings.css
view/theme/diabook-blue/style.css
view/theme/diabook-red/style-network.css
view/theme/diabook-red/style-profile.css
view/theme/diabook-red/style-settings.css
view/theme/diabook-red/style.css
view/theme/diabook/style-network.css
view/theme/diabook/style-profile.css
view/theme/diabook/style-settings.css
view/theme/diabook/style.css
view/theme/diabook/theme.php

index 79ab1d04fcda9017c7aa79067a12bdd51b8ff44a..3e6e44f280291c419556efa680995593f4bbd841 100644 (file)
@@ -1198,8 +1198,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 74f2a48d1cf4129966451641276acbf323f0782e..ef09829d40763b82c4358e713ce35c6b7899eff4 100644 (file)
@@ -1193,10 +1193,11 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
-
 #id_username {
   width: 173px;        
        }
index 0326dbcfcaea354463a6fa407c84df9d01c09ed4..8963065ca1f022b059f86858a787b5f4404c1716 100644 (file)
@@ -1191,8 +1191,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 189d6252b768ab38db2a0d343c3a0669b50d58c7..3f11e71ef0f00d312eae973f45122c7979666dfc 100644 (file)
@@ -1254,8 +1254,10 @@ section {
 }
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 224e6a93138d2b6f18b769872f9f1fe6f219edd7..08dc8707645f09769e063e7f636975ecd28bb9da 100644 (file)
@@ -1160,8 +1160,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index a84b2df34999c0f1adf0b089897bc6d337297d63..81bbe03c6bc00ecf2cd75f93a3796ef333379bef 100644 (file)
@@ -1159,8 +1159,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 197b53d306a60a1747e058b67feffae6297280ae..2e7db1e1f20866526dd201e8ccba9b4a84518d47 100644 (file)
@@ -1156,8 +1156,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 867d5b88f853b8ef8006db52690f6b3e58499042..809ae8f612144e4f7c9f704a9bb4bb72c8718ade 100644 (file)
@@ -1210,8 +1210,10 @@ section {
 }
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 145852d96837c4c3d828d4c21cafbbf6a6b1bb4b..7301ace3f6dea3704ec625e92a0c13da977a164c 100644 (file)
@@ -1198,8 +1198,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 37790584d962c480f8bd5cd7d61c3ef2df560116..59e57fdd65cfc7ad0516564df7aa36d5104427dd 100644 (file)
@@ -1176,8 +1176,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 9407c68f9e1827bc7f0e37204b6da365b29bce1e..43bb3d037488dec8011c4574763fa7fe7b45b1d0 100644 (file)
@@ -1173,8 +1173,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 92ede79be42ea2f2d1db3a305d8a21df37984435..ef498e6390898b0d98f6c72af08b4998e89c13fc 100644 (file)
@@ -1243,8 +1243,10 @@ section {
 }
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 641d35b39241ee2de46103f56cb4c3721a298bdb..2044e1126e1c6dbb2d831d87170e91bdeede68b1 100644 (file)
@@ -1144,8 +1144,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 54b282310d077313a178fa5d286124cec3bee0bd..2664adfc5a48323b8bcbed559d0bb25fb3830373 100644 (file)
@@ -1138,8 +1138,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 46f7e957e962413754a4170c4b7da8c567c1ae90..b23c2bb1bc24c835e685f597dc1dae7e4e82f9b4 100644 (file)
@@ -1135,8 +1135,11 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  max-width: 575px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index 99bf1b3357b92692ebadf7c6a9ca50e639c7d26c..4ce3068f060ec9ed645e9c78fc6ae0a021da1a52 100644 (file)
@@ -1190,8 +1190,10 @@ section {
 
 body .pageheader{
   text-align: center;
-  margin-top: 25px;
-  font-size: 0px;
+  font-size: 20px;
+  margin-bottom: 20px;
+  margin-top: 0px;
+  max-width: 575px;
        }
 
 #id_username {
index a535ed07e3e012191516fb2c4455b4fe822742d1..34e5535ded124f9a1979411c0a40f4bdd1bf36b4 100755 (executable)
@@ -265,7 +265,7 @@ if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){
        }
 }
 
-//tabs at right_aside on settings page
+//tabs at aside on settings page
 if ($a->argv[0] === "settings"){
        
        $tabs = array(
@@ -324,55 +324,58 @@ $a->page['htmlhead'] .= sprintf('<script language="JavaScript" src="%s" ></scrip
 
 //js scripts
 
-$a->page['htmlhead'] .= <<< EOT
+$a->page['htmlhead'] .= '
 
 <script>
  $(function() {
-       $('a.lightbox').fancybox(); // Select all links with lightbox class
+       $("a.lightbox").fancybox(); // Select all links with lightbox class
  });
   
- </script>
+ </script>';
 
+
+if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){
+$a->page['htmlhead'] .= '
 <script>
 
 $("right_aside").ready(function(){
        
-       if($.cookie('close_pages') == '1'
+       if($.cookie("close_pages") == "1"
                {
                document.getElementById( "close_pages" ).style.display = "none";
                        };
        
-       if($.cookie('close_helpers') == '1'
+       if($.cookie("close_helpers") == "1"
                {
                document.getElementById( "close_helpers" ).style.display = "none";
                        };
                        
-       if($.cookie('close_services') == '1'
+       if($.cookie("close_services") == "1"
                {
                document.getElementById( "close_services" ).style.display = "none";
                        };
                        
-       if($.cookie('close_friends') == '1'
+       if($.cookie("close_friends") == "1"
                {
                document.getElementById( "close_friends" ).style.display = "none";
                        };
        
-       if($.cookie('close_postit') == '1'
+       if($.cookie("close_postit") == "1"
                {
                document.getElementById( "close_postit" ).style.display = "none";
                        };
                        
-       if($.cookie('close_lastusers') == '1'
+       if($.cookie("close_lastusers") == "1"
                {
                document.getElementById( "close_lastusers" ).style.display = "none";
                        };
                        
-       if($.cookie('close_lastphotos') == '1'
+       if($.cookie("close_lastphotos") == "1"
                {
                document.getElementById( "close_lastphotos" ).style.display = "none";
                        };
                        
-       if($.cookie('close_lastlikes') == '1'
+       if($.cookie("close_lastlikes") == "1"
                {
                document.getElementById( "close_lastlikes" ).style.display = "none";
                        };}
@@ -381,60 +384,55 @@ $("right_aside").ready(function(){
 
 function close_pages(){
  document.getElementById( "close_pages" ).style.display = "none";
- $.cookie('close_pages','1', { expires: 365, path: '/' });
+ $.cookie("close_pages","1", { expires: 365, path: "/" });
  };
  
 function close_helpers(){
  document.getElementById( "close_helpers" ).style.display = "none";
-  $.cookie('close_helpers','1', { expires: 365, path: '/' });
+  $.cookie("close_helpers","1", { expires: 365, path: "/" });
  };
 
 function close_services(){
  document.getElementById( "close_services" ).style.display = "none";
- $.cookie('close_services','1', { expires: 365, path: '/' });
+ $.cookie("close_services","1", { expires: 365, path: "/" });
  };
  
 function close_friends(){
  document.getElementById( "close_friends" ).style.display = "none";
- $.cookie('close_friends','1', { expires: 365, path: '/' });
+ $.cookie("close_friends","1", { expires: 365, path: "/" });
  };
 
 function close_postit(){
  document.getElementById( "close_postit" ).style.display = "none";
- $.cookie('close_postit','1', { expires: 365, path: '/' });
+ $.cookie("close_postit","1", { expires: 365, path: "/" });
  };
  
 function close_lastusers(){
  document.getElementById( "close_lastusers" ).style.display = "none";
- $.cookie('close_lastusers','1', { expires: 365, path: '/' });
+ $.cookie("close_lastusers","1", { expires: 365, path: "/" });
  };
 
 function close_lastphotos(){
  document.getElementById( "close_lastphotos" ).style.display = "none";
- $.cookie('close_lastphotos','1', { expires: 365, path: '/' });
+ $.cookie("close_lastphotos","1", { expires: 365, path: "/" });
  };
  
 function close_lastlikes(){
  document.getElementById( "close_lastlikes" ).style.display = "none";
- $.cookie('close_lastlikes','1', { expires: 365, path: '/' });
+ $.cookie("close_lastlikes","1", { expires: 365, path: "/" });
  };
  
  
 
 function restore_boxes(){
-       $.cookie('close_pages','2', { expires: 365, path: '/' });
-       $.cookie('close_helpers','2', { expires: 365, path: '/' });
-       $.cookie('close_services','2', { expires: 365, path: '/' });
-       $.cookie('close_friends','2', { expires: 365, path: '/' });
-       $.cookie('close_postit','2', { expires: 365, path: '/' });
-       $.cookie('close_lastusers','2', { expires: 365, path: '/' });
-       $.cookie('close_lastphotos','2', { expires: 365, path: '/' });
-       $.cookie('close_lastlikes','2', { expires: 365, path: '/' });
-       alert('Right-hand column was restored. Please refresh your browser');
+       $.cookie("close_pages","2", { expires: 365, path: "/" });
+       $.cookie("close_helpers","2", { expires: 365, path: "/" });
+       $.cookie("close_services","2", { expires: 365, path: "/" });
+       $.cookie("close_friends","2", { expires: 365, path: "/" });
+       $.cookie("close_postit","2", { expires: 365, path: "/" });
+       $.cookie("close_lastusers","2", { expires: 365, path: "/" });
+       $.cookie("close_lastphotos","2", { expires: 365, path: "/" });
+       $.cookie("close_lastlikes","2", { expires: 365, path: "/" });
+       alert("Right-hand column was restored. Please refresh your browser");
   };
-
-</script>
-EOT;
+</script>';}
\ No newline at end of file