]> git.mxchange.org Git - friendica.git/commitdiff
css work
authorrabuzarus <>
Fri, 29 May 2015 14:08:17 +0000 (16:08 +0200)
committerrabuzarus <>
Fri, 29 May 2015 14:08:17 +0000 (16:08 +0200)
mod/photos.php
view/templates/photo_albums.tpl
view/theme/duepuntozero/style.css
view/theme/frost/style.css
view/theme/quattro/dark/style.css
view/theme/quattro/green/style.css
view/theme/quattro/lilac/style.css
view/theme/quattro/quattro.less
view/theme/smoothly/style.css

index 1bb380696ad83e47cdb98a22aee5afa999af9d80..8ec83b622b3659534a31514c42ad5403958c3aa0 100644 (file)
@@ -58,11 +58,11 @@ function photos_init(&$a) {
                         $ret['albums'] = array();
                         foreach($albums as $k => $album) {
                                 $entry = array(
-                                        'text' => $album['album'],
-                                        'total' => $album['total'], 
-                                        'url' => z_root() . '/photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album['album']),
+                                        'text'      => $album['album'],
+                                        'total'     => $album['total'], 
+                                        'url'       => z_root() . '/photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($album['album']),
                                         'urlencode' => urlencode($album['album']),
-                                        'bin2hex' => bin2hex($album['album'])
+                                        'bin2hex'   => bin2hex($album['album'])
                                 );
                                 $ret['albums'][] = $entry;
                         }
@@ -75,10 +75,11 @@ function photos_init(&$a) {
 
                 if($albums['success']) {
                         $photo_albums_widget = replace_macros(get_markup_template('photo_albums.tpl'),array(
-                                '$nick'    => $a->data['user']['nickname'],
-                                '$title'   => t('Photo Albums'),
-                                '$albums'  => $albums['albums'],
-                                '$baseurl' => z_root(),
+                                '$nick'     => $a->data['user']['nickname'],
+                                '$title'    => t('Photo Albums'),
+                                'recent'    => t('Recent Photos'),
+                                '$albums'   => $albums['albums'],
+                                '$baseurl'  => z_root(),
                                 '$upload'   => array( t('Upload New Photos'), $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/upload/' . bin2hex($album)),
                                 '$can_post' => $can_post
                         ));
index de8f2cd16c1323f28914ac18e911b993d6fd592a..02b43929575fc766b9b725babb71453875b09ea8 100644 (file)
@@ -1,7 +1,7 @@
 <div id="side-bar-photos-albums" class="widget">
        <h3>{{$title}}</h3>
        <ul>
-               <li><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >Recent Photos</a></li>
+               <li><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$recent}}</a></li>
                {{if $albums}}
                {{foreach $albums as $al}}
                {{if $al.text}}
index 024e63f5f69fb9682211c4c0f8e350744cceec08..583d4fe2047beaa68f4fd3530e6ed821f0fb72f1 100644 (file)
@@ -83,6 +83,8 @@ blockquote {
        margin-right: 5px;
 }
 
+.pull-right { float: right }
+
 
 
 /* nav */
@@ -3367,7 +3369,7 @@ ul.menu-popup {
 #recip {
        
 }
-.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
+.autocomplete-w1 { background: #ffffff no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
 .autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
 .autocomplete .selected { background:#F0F0F0; }
 .autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
@@ -3443,6 +3445,6 @@ ul.menu-popup {
        .nav-ajax-left {margin-left: -1em; margin-top: 0px;     }
        nav #site-location,
        nav #banner { position: relative; clear:both; }
-       ul.menu-popup { left: 0px; top 20px; }
+       ul.menu-popup { left: 0px; top: 20px; }
 
 }
index 74ae6c90aa710f0a52639d217ba797b803be91cc..8b87c3bd42549e5f9a40350b04ce96fa1b69a2e4 100644 (file)
@@ -21,7 +21,7 @@ body {
 
 div.container {
        display: block;
-       width: 785 px;
+       width: 785px;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-left: auto;
@@ -111,6 +111,8 @@ blockquote {
        margin-right: 5px;
 }
 
+.pull-right { float: right }
+
 
 
 /* nav */
@@ -4094,7 +4096,7 @@ ul.notifications-menu-popup {
 #recip {
        
 }
-.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
+.autocomplete-w1 { background: #ffffff no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
 .autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
 .autocomplete .selected { background:#F0F0F0; }
 .autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
index 1ec672d2275aa07876ebf01810729fdd8199f0b2..aa3f3ff1b4a92d9da3c462421f054b8d7bbcf4ca 100644 (file)
@@ -414,7 +414,8 @@ a:hover {
 .left {
   float: left;
 }
-.right {
+.right,
+.pull-right {
   float: right;
 }
 .hidden {
index 89dc3dad864c16d40595772d15544c1fe88e353c..a214c9703ee6dc22e90b09865f94868715444c2a 100644 (file)
@@ -414,7 +414,8 @@ a:hover {
 .left {
   float: left;
 }
-.right {
+.right,
+.pull-right {
   float: right;
 }
 .hidden {
index 11adc44b9251db59904cac65ee831181979455d8..d2cc2ec89f4c075ba5d59f128e4339a6f57fc925 100644 (file)
@@ -414,7 +414,8 @@ a:hover {
 .left {
   float: left;
 }
-.right {
+.right,
+.pull-right {
   float: right;
 }
 .hidden {
index dded1514a54e81d41fd4c023661311a82a69fdaf..0716cc89ac1bc522872f4879361668090b1118ee 100644 (file)
@@ -44,7 +44,7 @@ a:visited { color: @LinkVisited; text-decoration: none; }
 a:hover {color: @LinkHover; text-decoration: underline; }
 
 .left { float: left; }
-.right { float: right; }
+.right, .pull-right { float: right; }
 .hidden { display: none; }
 .clear { clear: both; }
 
index 46d8902aebd9efc51ad76fe8a961fce5684e5b67..f3ca397284906c118424f4ad310cb0bbbdef324a 100644 (file)
@@ -104,6 +104,8 @@ input[type=submit]:active {
        top: 1px;
 }
 
+.pull-right { float: right }
+
 #search-text,
 #search-submit,
 #search-save {