+
<%= render :file => 'blocks/profile_info_actions/' + block.owner.class.name.underscore %>
diff --git a/app/views/blocks/profile_info_actions/community.rhtml b/app/views/blocks/profile_info_actions/community.rhtml
index da5b8e6..7ee47e4 100644
--- a/app/views/blocks/profile_info_actions/community.rhtml
+++ b/app/views/blocks/profile_info_actions/community.rhtml
@@ -1,5 +1,5 @@
<% if logged_in? %>
- - <%= link_to _('Join this community'), :profile => user.identifier, :controller => 'memberships', :action => 'join', :id => profile.id %>
+ - <%= link_to content_tag('span', _('Join this community')), { :profile => user.identifier, :controller => 'memberships', :action => 'join', :id => profile.id }, :class => 'button with-text icon-add' %>
<% end %>
diff --git a/app/views/blocks/profile_info_actions/person.rhtml b/app/views/blocks/profile_info_actions/person.rhtml
index e45d823..f024e29 100644
--- a/app/views/blocks/profile_info_actions/person.rhtml
+++ b/app/views/blocks/profile_info_actions/person.rhtml
@@ -1,5 +1,5 @@
<%if logged_in? && (user != profile) && (! user.friends.include?(profile)) %>
- - <%= link_to _('Add friend'), :profile => user.identifier, :controller => 'friends', :action => 'add', :id => profile.id %>
+ - <%= link_to content_tag('span', _('Add friend')), { :profile => user.identifier, :controller => 'friends', :action => 'add', :id => profile.id }, :class => 'button with-text icon-add' %>
<% end %>
diff --git a/public/designs/themes/default/images/bg-tags-2.png b/public/designs/themes/default/images/bg-tags-2.png
new file mode 100644
index 0000000..8d9d789
Binary files /dev/null and b/public/designs/themes/default/images/bg-tags-2.png differ
diff --git a/public/designs/themes/default/images/bg-tags-top-2.png b/public/designs/themes/default/images/bg-tags-top-2.png
new file mode 100644
index 0000000..61c5e33
Binary files /dev/null and b/public/designs/themes/default/images/bg-tags-top-2.png differ
diff --git a/public/designs/themes/default/images/bg-tags-top.png b/public/designs/themes/default/images/bg-tags-top.png
new file mode 100644
index 0000000..44028ce
Binary files /dev/null and b/public/designs/themes/default/images/bg-tags-top.png differ
diff --git a/public/designs/themes/default/images/bg-tags.png b/public/designs/themes/default/images/bg-tags.png
new file mode 100644
index 0000000..c8b9ab5
Binary files /dev/null and b/public/designs/themes/default/images/bg-tags.png differ
diff --git a/public/designs/themes/default/stylesheets/blocks/profile-info-block.css b/public/designs/themes/default/stylesheets/blocks/profile-info-block.css
new file mode 100644
index 0000000..5503760
--- /dev/null
+++ b/public/designs/themes/default/stylesheets/blocks/profile-info-block.css
@@ -0,0 +1,30 @@
+.profile-info-block h2 {
+ text-align: center;
+}
+
+.profile-info-picture {
+ border: 2px solid #204A87;
+ padding: 1px;
+ background: #FFF;
+ margin-right: 40px;
+}
+.msie6 .profile-info-picture {
+ margin-right: 20px;
+}
+
+.profile-info-data {
+ width: 140px;
+ font-size: 10px;
+ text-align: right;
+ position: relative;
+ top: 6px;
+}
+
+.profile-info-options {
+ clear: both;
+}
+
+.profile-info-options {
+ text-align: center;
+}
+
diff --git a/public/designs/themes/default/stylesheets/blocks/tags-block.css b/public/designs/themes/default/stylesheets/blocks/tags-block.css
new file mode 100644
index 0000000..6711d3d
--- /dev/null
+++ b/public/designs/themes/default/stylesheets/blocks/tags-block.css
@@ -0,0 +1,34 @@
+.tags-block {
+}
+.box-2 .tags-block {
+ text-align: right;
+}
+
+#content .tags-block .block-title {
+ margin-bottom: 0px;
+ background: url(../../images/bg-tags-top.png) 0% 0%;
+ padding: 3px 0px 0px 20px;
+}
+
+.tags-block .tag_cloud {
+ background: url(../../images/bg-tags.png) 0% 100%;
+ padding: 0px 0px 5px 5px;
+}
+
+#content .box-2 .tags-block .block-title {
+ background: url(../../images/bg-tags-top-2.png) no-repeat 100% 0%;
+ padding: 3px 20px 0px 0px;
+}
+.box-2 .tags-block .tag_cloud {
+ background: url(../../images/bg-tags-2.png) no-repeat 100% 100%;
+ padding: 0px 5px 5px 0px;
+}
+
+.tags-block .tag_cloud a {
+ text-decoration: none;
+ padding: 0px 4px;
+}
+
+.tags-block .tag_cloud a:hover {
+ color: red;
+}
diff --git a/public/stylesheets/blocks/profile-info-block.css b/public/stylesheets/blocks/profile-info-block.css
index bc97916..ae95f35 100644
--- a/public/stylesheets/blocks/profile-info-block.css
+++ b/public/stylesheets/blocks/profile-info-block.css
@@ -1,20 +1,20 @@
-div.profile-info-block img {
+
+.profile-info-picture {
float: right;
- margin-left: 1em;
}
-div.profile-info-block {
+.profile-info-block {
padding-left: 1em;
padding-right: 1em;
}
-div.profile-info-block ul {
+.profile-info-block ul {
padding: 0px;
+ margin: 0px;
}
-div.profile-info-block li {
+.profile-info-block li {
list-style: none;
- border-bottom: 1px solid #d0d0d0;
- background: #f0f0f0;
+ margin: 0px;
padding: 2px;
}
diff --git a/public/stylesheets/blocks/profile-list-block.css b/public/stylesheets/blocks/profile-list-block.css
index 76e57d9..cd2499c 100644
--- a/public/stylesheets/blocks/profile-list-block.css
+++ b/public/stylesheets/blocks/profile-list-block.css
@@ -59,6 +59,20 @@
.communities-block .block-footer-content {
text-align: center;
font-size: 80%;
- padding: 10px 0px 0px 0px;
+ padding: 5px 0px 0px 0px;
+}
+.msie .enterprises-block .block-footer-content,
+.msie .communities-block .block-footer-content {
+ padding: 0px;
+ margin-top: -5px;
+}
+
+.common-profile-list-block-none {
+ font-style: italic;
+ margin-bottom: -10px;
+}
+.msie .common-profile-list-block-none {
+ margin-bottom: 0px;
+ padding-bottom: 10px;
}
diff --git a/public/stylesheets/blocks/tags-block.css b/public/stylesheets/blocks/tags-block.css
index a01f138..4932be8 100644
--- a/public/stylesheets/blocks/tags-block.css
+++ b/public/stylesheets/blocks/tags-block.css
@@ -1,18 +1,11 @@
.tags-block {
}
-.tags-block .help_tags {
- position: absolute;
- top: 10px;
- right: 2px;
-}
-
-.tag_cloud a {
+.tags-block .tag_cloud a {
text-decoration: none;
padding: 0px 4px;
}
-.tag_cloud a:hover {
+.tags-block .tag_cloud a:hover {
color: red;
- background: #f0f0f0;
}
diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css
index 060eb84..d4dea21 100644
--- a/public/stylesheets/common.css
+++ b/public/stylesheets/common.css
@@ -332,8 +332,7 @@ body.category4 #content h1, body.category4 #content h2, body.category4 #content
body.category4 #content h4, body.category4 #content h5, body.category4 #content h6
{ color: #B80000 }
-.block-title {
- color: red;
+#content .block-title {
margin: 0px 0px 10px 0px;
}
--
libgit2 0.21.2