aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-09-28 23:14:49 +0200
committermarijus <mario@mariovavti.com>2014-09-28 23:14:49 +0200
commit97c6ba77c7cc09c646be9bb6b74a8d0907d9ecb1 (patch)
tree7a5e21b7b49537cec730b3e8ec9fc936b532c081 /view
parentffe6d20dc046fdfe490ba03b93a0bac32af7c4d8 (diff)
downloadvolse-hubzilla-97c6ba77c7cc09c646be9bb6b74a8d0907d9ecb1.tar.gz
volse-hubzilla-97c6ba77c7cc09c646be9bb6b74a8d0907d9ecb1.tar.bz2
volse-hubzilla-97c6ba77c7cc09c646be9bb6b74a8d0907d9ecb1.zip
some more work on photos
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css30
-rwxr-xr-xview/tpl/photo_albums.tpl3
-rwxr-xr-xview/tpl/photos_recent.tpl6
3 files changed, 27 insertions, 12 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 8841260e3..1d43fe983 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -24,15 +24,15 @@ body {
height: 100%;
}
-h1, h2 {
- font-size: 1.583em;
+h1, .h1, h2, .h2 {
+ font-size: 1.667em;
}
-h3, h4 {
+h3, .h3, h4, .h4 {
font-size: 1.334em;
}
-h5, h6 {
+h5, .h5, h6, .h6 {
font-size: 0.75rem;
}
@@ -73,6 +73,15 @@ a:hover, .fakelink:hover { color: $link_colour; text-decoration: underline; }
cursor: pointer;
}
+a.btn-default {
+ color: #333;
+
+}
+
+a.btn-success {
+ color: #fff;
+font-weight: normal;
+}
input[type="text"],
input[type="password"],
@@ -2415,16 +2424,16 @@ blockquote {
.btn-default {
background-color: $editbuttons_bgcolour;
border-color: $editbuttons_bordercolour;
- color: $editbuttons_colour;
+ color: $editbuttons_colour;
text-shadow: none;
box-shadow: none;
}
.btn-default:hover, .btn-default:focus, .btn-default:active .btn-default.active {
- background-color: $editbuttons_bghover;
- border-color: $editbuttons_bordercolourhover;
- color: $input_colourhover;
- text-decoration: $input_decohover;
+ background-color: $editbuttons_bghover;
+ border-color: $editbuttons_bordercolourhover;
+ color: $input_colourhover;
+ text-decoration: $input_decohover;
}
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
@@ -2451,7 +2460,7 @@ blockquote {
margin-bottom: 10px;
}
-.section-title-wrapper h3 {
+.section-title-wrapper h2 {
margin-top: 0px;
margin-bottom: 0px;
}
@@ -2464,6 +2473,7 @@ blockquote {
margin-right: 10px;
}
+
@media screen and (max-width: 767px) {
aside#region_1 {
background: rgba(0, 0, 0, .1);
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl
index 5602f8571..0f8b809ac 100755
--- a/view/tpl/photo_albums.tpl
+++ b/view/tpl/photo_albums.tpl
@@ -4,10 +4,11 @@
{{if $upload}}
<li><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></li>
{{/if}}
+ <li><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >Recent Photos</a></li>
{{if $albums}}
{{foreach $albums as $al}}
{{if $al.text}}
- <li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}<span class="badge pull-right">{{$al.total}}</span></a></li>
+ <li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}"><span class="badge pull-right">{{$al.total}}</span>{{$al.text}}</a></li>
{{/if}}
{{/foreach}}
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl
index b4094512c..6b0f555b6 100755
--- a/view/tpl/photos_recent.tpl
+++ b/view/tpl/photos_recent.tpl
@@ -1,5 +1,9 @@
<div class="section-title-wrapper">
- <h3>{{$title}}</h3>
+ {{if $can_post}}
+ <a class="btn btn-xs btn-success pull-right" href="{{$upload.1}}"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</a>
+ {{/if}}
+ <h2>{{$title}}</h2>
+ <div class="clear"></div>
</div>
<div id="photo-album-contents">
{{foreach $photos as $photo}}