Permalink
Browse files

WEB-42 #resolve More space in the author avatar, and use liipimagine …

…in the small avatars
  • Loading branch information...
1 parent f46749b commit 3d4abdfd496562cfb325a7b148d0d3c2854e797b @mgallego committed Feb 12, 2013
@@ -4,7 +4,6 @@
margin: 20px 0 0 20px;
}
-
#comments textarea {
height: 100px;
width: 850px;
@@ -18,6 +17,10 @@
margin: 0 0 40px 0;
}
+#comments ul {
+ margin-top: 40px;
+}
+
.link-to-comment {
display: none;
}
@@ -21,7 +21,7 @@
// ////////////////////////////////////
#img-author {
- padding: 0 0 50px 0;
+ padding: 5px 5px 50px 0;
}
#img-author h2 {
@@ -1,4 +1,3 @@
-@import url('variables.less');
@import url('general.less');
@import url('edit_image.less');
@import url('forms.less');
@@ -7,8 +6,6 @@
@import url('img_box.less');
@import url('thumbs.less');
@import url('user.less');
-@import url('view_image.less');
@import url('alert.less');
-@import url('comments.less');
@import url('uploads.less');
@import url('profile.less');
@@ -83,4 +83,4 @@
#previous-link {
float: left;
-}
+}
@@ -7,6 +7,13 @@
<link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
+ {% stylesheets filter='lessphp, ?yui_css' output='css/picmnt.css'
+ '@SFMPicmntBundle/Resources/public/less/view_image.less'
+ '@SFMPicmntBundle/Resources/public/less/comments.less'
+ %}
+ <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
+ {% endstylesheets %}
+
{% endblock stylesheet %}
{% block javascript %}
@@ -106,7 +113,7 @@
{# try to create a twig function #}
{% if existsAvatar(username) %}
- <img src="{{ avatarByUsername(username,'small') }}" class="avatar-small" alt="avatar-small" />
+ <img src="{{ avatarByUsername(username,'big') | imagine_filter('avatar_small') }}" class="avatar-small" alt="avatar-small" />
{% else %}
{% if gravatar_exists(getEmail(username)) %}
<img src="{{ gravatar(getEmail(username), 50) }}" class="avatar-small" alt="avatar-small"/>

0 comments on commit 3d4abdf

Please sign in to comment.