[IMP]css changes

bzr revid: mba@tinyerp.com-20140212055712-nftumrqcxvgl73cu
This commit is contained in:
Mahendra Barad (OpenERP) 2014-02-12 11:27:12 +05:30
parent 7f083475d6
commit c0806a308d
4 changed files with 7 additions and 10 deletions

View File

@ -67,7 +67,7 @@ var disqus_identifier;
.parent()
.appendTo('#disqussions_wrapper');
a.css({
'top': node.offset().top + 40,
'top': node.offset().top + 30,
'left': settings.position == 'right' ? node.offset().left + node.outerWidth() : node.offset().left - a.outerWidth()
});

View File

@ -31,8 +31,7 @@ p.post-meta {
background-color: rgba(0, 0, 0, 0.3);
height: 100vh;
color: white;
padding-top: 20%;
margin-bottom: 8px;
padding-top: 30vh;
}
.cover_footer {
@ -45,8 +44,7 @@ p.post-meta {
background-color: rgba(0, 0, 0, 0.3);
height: 50vh;
color: white;
padding-top: 10%;
margin-bottom: 8px;
padding-top: 5vh;
cursor: pointer;
}

View File

@ -30,8 +30,7 @@ p.post-meta
background-color: rgba(0, 0, 0, 0.3)
height: 100vh
color: white
padding-top: 20%
margin-bottom: 8px
padding-top: 30vh
.cover_footer
-webkit-background-size: cover
@ -43,8 +42,8 @@ p.post-meta
background-color: rgba(0, 0, 0, 0.3)
height: 50vh
color: white
padding-top: 10%
margin-bottom: 8px
padding-top: 5vh
cursor: pointer
.page_fadeup_out
opacity: 0

View File

@ -254,7 +254,7 @@
<template id="blog_post_background_cover" name="Blog Cover"
inherit_option_id="website_blog.blog_post_complete" inherit_id="website_blog.blog_post_complete">
<xpath expr="//div[@id='title']" position="attributes">
<attribute name="class">blog_cover</attribute>
<attribute name="class">blog_cover mb8</attribute>
<attribute name="t-attf-style">background-image : url(#{blog_post.content_image})</attribute>
</xpath>
<xpath expr="//h1[@id='blog_post_name']" position="replace">