]> git.mxchange.org Git - friendica.git/commitdiff
add icons to aside diabook, fixes in css
authortommy tomson <thomas.bierey@gmx.de>
Thu, 22 Mar 2012 03:33:21 +0000 (04:33 +0100)
committertommy tomson <thomas.bierey@gmx.de>
Thu, 22 Mar 2012 03:33:21 +0000 (04:33 +0100)
14 files changed:
view/theme/diabook-blue/icons/head.jpg [deleted file]
view/theme/diabook-blue/photo_album.tpl [deleted file]
view/theme/diabook-blue/photo_top.tpl [deleted file]
view/theme/diabook-blue/style.css
view/theme/diabook/icons/com_side.png [new file with mode: 0644]
view/theme/diabook/icons/events.png [new file with mode: 0644]
view/theme/diabook/icons/head.jpg [deleted file]
view/theme/diabook/icons/home.png [new file with mode: 0644]
view/theme/diabook/icons/mess_side.png [new file with mode: 0644]
view/theme/diabook/icons/notes.png [new file with mode: 0644]
view/theme/diabook/icons/pubgroups.png [new file with mode: 0644]
view/theme/diabook/profile_side.tpl
view/theme/diabook/style.css
view/theme/diabook/theme.php

diff --git a/view/theme/diabook-blue/icons/head.jpg b/view/theme/diabook-blue/icons/head.jpg
deleted file mode 100644 (file)
index 6210b76..0000000
Binary files a/view/theme/diabook-blue/icons/head.jpg and /dev/null differ
diff --git a/view/theme/diabook-blue/photo_album.tpl b/view/theme/diabook-blue/photo_album.tpl
deleted file mode 100755 (executable)
index 7e6c2f6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-$id">
-       <a href="$imgsrc" rel="gallery" class="fancy-album" id="photo-album-photo-link-$id" title="$phototitle">
-               <img src="$imgsrc" alt="$imgalt" title="$phototitle" class="photo-album-photo lframe  resize" id="photo-album-photo-$id" />
-               <p class='caption'>$desc</p>            
-       </a>
-</div>
-<div class="photo-album-image-wrapper-end"></div>
diff --git a/view/theme/diabook-blue/photo_top.tpl b/view/theme/diabook-blue/photo_top.tpl
deleted file mode 100755 (executable)
index 98ac9c4..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-$id">
-       <a href="$photo.src" rel="$photo.album.name" class="fancy-album" id="photo-top-photo-link-$photo.id" title="$photo.title">
-               <img src="$photo.src" alt="$photo.alt" title="$photo.title" class="photo-top-album-img" id="photo-top-photo-$photo.id" />
-       </a>
-       <div class="photo-top-album-name"><a href="$photo.album.link" class="photo-top-album-link" title="$photo.album.alt" >$photo.album.name</a></div>
-</div>
index 738dde0e5d7242826de5f22f0494ac93c3079be2..f88c7b95477268f427e105c44fe17c0f092e1def 100644 (file)
@@ -2411,21 +2411,22 @@ float: left;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;
-  background-color: #EEE;
+  background-color: #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
   border-radius: 5px;
   padding-bottom: 20px;
   position: relative;
   margin: 0 10px 10px 0;
-  overflow: hidden;
-  float: left;
-  position: relative;
+  width: 200px; height: 140px;
+  overflow: hidden;  
 }
 .photo-top-album-name {
-  position: absolute;
-  bottom: 0;
-  padding: 0 5px;
+        width: 100%;
+        position: absolute; 
+        bottom: 0px; 
+        padding-left: 3px;
+        background-color: #EEE;
 }
 .photo-top-album-link{
   color: #1872A2;
diff --git a/view/theme/diabook/icons/com_side.png b/view/theme/diabook/icons/com_side.png
new file mode 100644 (file)
index 0000000..bc5969e
Binary files /dev/null and b/view/theme/diabook/icons/com_side.png differ
diff --git a/view/theme/diabook/icons/events.png b/view/theme/diabook/icons/events.png
new file mode 100644 (file)
index 0000000..4a0b3f3
Binary files /dev/null and b/view/theme/diabook/icons/events.png differ
diff --git a/view/theme/diabook/icons/head.jpg b/view/theme/diabook/icons/head.jpg
deleted file mode 100644 (file)
index 6210b76..0000000
Binary files a/view/theme/diabook/icons/head.jpg and /dev/null differ
diff --git a/view/theme/diabook/icons/home.png b/view/theme/diabook/icons/home.png
new file mode 100644 (file)
index 0000000..be47a48
Binary files /dev/null and b/view/theme/diabook/icons/home.png differ
diff --git a/view/theme/diabook/icons/mess_side.png b/view/theme/diabook/icons/mess_side.png
new file mode 100644 (file)
index 0000000..49ef896
Binary files /dev/null and b/view/theme/diabook/icons/mess_side.png differ
diff --git a/view/theme/diabook/icons/notes.png b/view/theme/diabook/icons/notes.png
new file mode 100644 (file)
index 0000000..7d4afca
Binary files /dev/null and b/view/theme/diabook/icons/notes.png differ
diff --git a/view/theme/diabook/icons/pubgroups.png b/view/theme/diabook/icons/pubgroups.png
new file mode 100644 (file)
index 0000000..acf857f
Binary files /dev/null and b/view/theme/diabook/icons/pubgroups.png differ
index 01da55ce1c76b023416d0e91e8cfa1b93ae0b760..a65677696a6e46a0de98f8f7a6dbdb074f44d6d3 100644 (file)
@@ -7,12 +7,12 @@
        </div>
        
 <ul id="profile-side-menu" class="menu-profile-side">
-       <li id="profile-side-status" class="menu-profile-list"><a class="menu-profile-list-item" href="$ps.usermenu.status.0">$ps.usermenu.status.1</a></li>
-       <li id="profile-side-photos" class="menu-profile-list"><a class="menu-profile-list-item" href="$ps.usermenu.photos.0">$ps.usermenu.photos.1</a></li>
-       <li id="profile-side-events" class="menu-profile-list"><a class="menu-profile-list-item" href="$ps.usermenu.events.0">$ps.usermenu.events.1</a></li>
-       <li id="profile-side-notes" class="menu-profile-list"><a class="menu-profile-list-item" href="$ps.usermenu.notes.0">$ps.usermenu.notes.1</a></li>
-       <li id="profile-side-foren" class="menu-profile-list"><a class="menu-profile-list-item" href="http://dir.friendika.com/directory/forum" target="blanc">Public Groups</a></li>
-       <li id="profile-side-foren" class="menu-profile-list"><a class="menu-profile-list-item" href="$ps.usermenu.community.0">$ps.usermenu.community.1</a></li>
+       <li id="profile-side-status" class="menu-profile-list home"><a class="menu-profile-list-item" href="$ps.usermenu.status.0">$ps.usermenu.status.1</a></li>
+       <li id="profile-side-photos" class="menu-profile-list photos"><a class="menu-profile-list-item" href="$ps.usermenu.photos.0">$ps.usermenu.photos.1</a></li>
+       <li id="profile-side-events" class="menu-profile-list events"><a class="menu-profile-list-item" href="$ps.usermenu.events.0">$ps.usermenu.events.1</a></li>
+       <li id="profile-side-notes" class="menu-profile-list notes"><a class="menu-profile-list-item" href="$ps.usermenu.notes.0">$ps.usermenu.notes.1</a></li>
+       <li id="profile-side-foren" class="menu-profile-list foren"><a class="menu-profile-list-item" href="http://dir.friendika.com/directory/forum" target="blanc">Public Groups</a></li>
+       <li id="profile-side-foren" class="menu-profile-list com_side"><a class="menu-profile-list-item" href="$ps.usermenu.community.0">$ps.usermenu.community.1</a></li>
 </ul>
 
 </div>
index 437f323faa568b2f183cd69fa5ad089acab49cfc..ffab5b4c4efbfebba1673f9cc1349daf727e541b 100644 (file)
@@ -881,22 +881,47 @@ ul.menu-popup .empty {
   text-decoration: none;       
        }
 .menu-profile-side{
-       list-style: none;       
-  padding-left: 16px;
-  min-height: 16px;
+  list-style: none;    
+  padding-left: 0px;
+  min-height: 0px;
        }
 .menu-profile-list{
   height: auto;
   overflow: auto;
   padding-top: 3px;
   padding-bottom: 3px;
+  padding-left: 16px;
+  min-height: 16px;
+  list-style: none;
        }
 .menu-profile-list:hover{
        background: #EEE;
        }
+.menu-profile-list-item{
+       padding-left: 5px;
+       }       
 .menu-profile-list-item:hover{ 
-       text-decoration: none;  
+       text-decoration: none;
    }
+/*http://prothemedesign.com/circular-icons/*/
+.menu-profile-list.home{
+       background: url("../../../view/theme/diabook-blue/icons/home.png") no-repeat;
+       }
+.menu-profile-list.photos{
+       background: url("../../../view/theme/diabook-blue/icons/mess_side.png") no-repeat;
+       }
+.menu-profile-list.events{
+       background: url("../../../view/theme/diabook-blue/icons/events.png") no-repeat;
+       }
+.menu-profile-list.notes{
+       background: url("../../../view/theme/diabook-blue/icons/notes.png") no-repeat;
+       }
+.menu-profile-list.foren{
+       background: url("../../../view/theme/diabook-blue/icons/pubgroups.png") no-repeat;
+       }
+.menu-profile-list.com_side{
+       background: url("../../../view/theme/diabook-blue/icons/com_side.png") no-repeat;
+       }
 
 /* aside */
 aside {
@@ -2348,7 +2373,13 @@ float: left;
 .contact-details {
   color: #999999;
 }
-
+#side-bar-photos-albums li{
+list-style-type: disc;
+}
+#side-bar-photos-albums ul li{
+  margin-left: 30px;
+  padding-left: 0px;
+       }
 #side-bar-photos-albums{
        margin-top: 15px;       
        }
@@ -2362,39 +2393,40 @@ float: left;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;
-  background-color: #EEE;
+  background-color: #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
   border-radius: 5px;
   padding-bottom: 20px;
   position: relative;
   margin: 0 10px 10px 0;
+  width: 200px; height: 140px;
+  overflow: hidden;  
 }
+/*
 .photo-top-album-name {
   position: absolute;
   bottom: 0;
   padding: 0 5px;
-}
-.photo-top-album-link{
-  color: #1872A2;
-       }
+}*/
 /*.photo-top-image-wrapper {
         position: relative;
         float: left;
         margin-top: 15px;
         margin-right: 15px;
         width: 200px; height: 200px; 
-        overflow: hidden; 
-}
+        
+}*/
 .photo-top-album-name {
         width: 100%;
-        min-height: 2em;
         position: absolute; 
         bottom: 0px; 
-        padding: 0px 3px;
-        padding-top: 0.5em;
-        background-color: rgb(255, 255, 255);
-}*/
+        padding-left: 3px;
+        background-color: #EEE;
+}
+.photo-top-album-link{
+  color: #3465A4;
+       }
 #photo-top-end {
         clear: both;
 }
index 9093ac2ca229abe9497a5ca3c19c77e27d817fc9..39479ce522269e8db387c17aaebb5cfbf9d29213 100755 (executable)
@@ -1,8 +1,8 @@
 <?php
 
 /*
- * Name: Diabook-blue
- * Description: Diabook-blue: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
+ * Name: Diabook
+ * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
  * Version: 
  * Author: 
  */