Merge pull request #2132 from rabuzarus/0112_vier_css
photos-albms widget: add some classes
This commit is contained in:
commit
4798675e6e
|
@ -53,7 +53,7 @@ function videos_init(&$a) {
|
|||
$albums_visible = ((intval($a->data['user']['hidewall']) && (! local_user()) && (! remote_user())) ? false : true);
|
||||
|
||||
if($albums_visible) {
|
||||
$o .= '<div id="side-bar-photos-albums" class="widget">';
|
||||
$o .= '<div id="sidebar-photos-albums" class="widget">';
|
||||
$o .= '<h3>' . '<a href="' . $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '">' . t('Photo Albums') . '</a></h3>';
|
||||
|
||||
$o .= '<ul>';
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
<div id="side-bar-photos-albums" class="widget">
|
||||
<div id="sidebar-photos-albums" class="widget">
|
||||
<h3>{{$title}}</h3>
|
||||
<ul>
|
||||
<li><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$recent}}</a></li>
|
||||
<ul role=menu" class="sidebar-photos-albums-ul">
|
||||
<li role="menuitem" class="sidebar-photos-albums-li">
|
||||
<a href="{{$baseurl}}/photos/{{$nick}}" class="sidebar-photos-albums-element" title="{{$title}}" >{{$recent}}</a>
|
||||
</li>
|
||||
|
||||
{{if $albums}}
|
||||
{{foreach $albums as $al}}
|
||||
{{if $al.text}}
|
||||
<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}"><span class="badge pull-right">{{$al.total}}</span>{{$al.text}}</a></li>
|
||||
<li role="menuitem" class="sidebar-photos-albums-li">
|
||||
<a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
|
||||
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
|
|
@ -2164,20 +2164,20 @@ div[id$="wrapper"] br {
|
|||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
#side-bar-photos-albums {
|
||||
#sidebar-photos-albums {
|
||||
}
|
||||
|
||||
#photo-albums-upload-link {
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
#side-bar-photos-albums h3:before {
|
||||
#sidebar-photos-albums h3:before {
|
||||
content: url("images/photography.png");
|
||||
padding-right: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#side-bar-photos-albums li {
|
||||
#sidebar-photos-albums li {
|
||||
font-size: 14px;
|
||||
font-variant: none;
|
||||
text-align: left;
|
||||
|
|
|
@ -421,7 +421,8 @@ code {
|
|||
|
||||
.sidebar-group-li:hover, #sidebar-new-group:hover, #sidebar-edit-groups:hover,#forum-widget-collapse:hover,
|
||||
#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forumlist-sidebar li:hover, #forumlist-sidebar-right li:hover,
|
||||
.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, right_aside h4 a:hover, #message-new:hover {
|
||||
.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, right_aside h4 a:hover, #message-new:hover,
|
||||
#sidebar-photos-albums li:hover, .photos-upload-link:hover {
|
||||
/* background-color: #ddd; */
|
||||
/* background-color: #e5e5e5; */
|
||||
background-color: #F5F5F5;
|
||||
|
@ -448,6 +449,12 @@ code {
|
|||
display: block;
|
||||
}
|
||||
|
||||
.photos-upload-link {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#forumlist-sidebar {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
|
@ -494,7 +501,7 @@ a.sidebar-group-element {
|
|||
color: black;
|
||||
}
|
||||
|
||||
#forumlist-sidebar a, #forumlist-sidebar-right a, .tool a, .admin.link a {
|
||||
#forumlist-sidebar a, #forumlist-sidebar-right a, .tool a, .admin.link a, #sidebar-photos-albums a {
|
||||
color: #737373;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue