diff --git a/_article.sass b/_article.sass index cb33cf5..6dc38e5 100644 --- a/_article.sass +++ b/_article.sass @@ -1,10 +1,11 @@ #article color: #69677A - #article-parent + #article-parent, &.blog #article-header font-family: 'Ubuntu' background: url("images/dots.png") repeat-x left center border-left: 10px solid #575959 text-align: left + #article-parent a background: #FFF border: none @@ -14,10 +15,9 @@ padding-left: 10px &:hover color: #69677A - font-weight: bold #article-header .publishing-info - .author, .comments + .author, .comments, .followers-count display: none .title font-family: 'Ubuntu' @@ -25,7 +25,50 @@ font-size: 20px font-variant: normal border-bottom: none + background: none .article-body - border-bottom: 1px dotted #69677A line-height: 1.5 font-size: 14px + &.blog + #article-header + h1.title + background: #FFF + display: inline + padding: 0px 15px + .publishing-info, .blog-feed-link + display: none + .blog-posts + font-family: 'Ubuntu' + margin-top: 0px + .blog-post + margin: 0px + padding: 15px 0px + background: none + border-bottom: 1px solid #999 + .publishing-info + display: none + .title + margin-left: 30% + border-bottom: none + background: none + padding: 2px 0px + a + text-decoration: none + color: #6E6E6E + font-size: 16px + font-variant: normal + font-weight: bold + .article-compact-image + margin-top: -45px + .article-compact-abstract-with-image + display: none + .read-more-link + margin: 20px 0px 0px 20px + display: inline-block + background: url('images/icone-pb-leia-mais.png') no-repeat left center + padding: 8px 0px + text-decoration: none + span + padding-left: 50px + font-size: 14px + font-weight: bold diff --git a/_blocks.sass b/_blocks.sass index ec253ce..90f78cf 100644 --- a/_blocks.sass +++ b/_blocks.sass @@ -1,74 +1,90 @@ #content - .link-list-block - background-color: #696778 - border-radius: 5px - padding: 0px - li - border-bottom: 1px dotted #9A9996 - margin: 0px - padding: 20px - background-color: transparent - a - background: url('images/arrow.png') left center no-repeat - color: #FFF - font-size: 15px - padding-left: 40px - &:hover + .box-2 + font-family: 'Ubuntu' + .block-outer + .link-list-block + border-radius: 5px + padding: 0px + li + margin: 0px + padding: 20px background-color: transparent - font-weight: bold - .block-outer:last-child .link-list-block - color: #69677A - border: 1px solid #69677A - .block-title - background-image: url('images/centralconteudos.png') - background-size: auto - color: #E4E5CC - margin: 0px - margin-left: 10px - padding: 20px 0px 20px 35px - text-transform: none - ul - background-color: #FFF - li - border-bottom: none - a - background: none - color: #69677A - font-weight: bold - padding-left: 15px - .highlights-block - font-family: 'Ubuntu Mediun' - height: auto - .block-title + a + font-size: 16px + &:nth-child(1) .link-list-block + background-color: #696778 + li + border-bottom: 1px dotted #9A9996 + &:last-child + border: none + a + background: url('images/icone-seta.png') left center no-repeat + color: #FFF + padding-left: 40px + &.link-this-page + background-color: transparent + border: medium none + &:hover + border-right: none + &:nth-child(3) .link-list-block + color: #696778 + border: 1px solid #696778 + .block-title + background: #696778 url('images/icone-central-conteudo.png') no-repeat 10px + color: #E4E5C9 + font-size: 16px + margin: 0px + padding: 25px 0px + text-transform: none + span + margin-left: 50px + ul + li + list-style: inside + padding: 8px 15px + a + background: none + color: #69677A + padding-left: 5px + display: inline + .box-1 + .highlights-block font-family: 'Ubuntu Mediun' - color: #FFF - position: absolute - margin: 20px 0px 0px 15px - z-index: 10 - .highlights-container - height: 350px !important - border: transparent - .highlights-image-link - background-color: #3F3D49 + font-size: 18px + height: auto + width: 700px + text-align: left + .block-title + color: #FFF + position: absolute + margin: 20px 0px 0px 15px + z-index: 10 + text-transform: none + span + padding-left: 10px + .highlights-container height: 350px !important - .highlights-label - background: transparent url('images/more.png') 98% center no-repeat - font-size: 16px - color: #E4E5C9 - div - margin: 0px 40px 0px 15px - .highlights-block-pager - width: 99% - padding: 0px - background: #3F3D49 url('images/slide-bg.png') center repeat-x - a - display: inline-block - color: transparent - width: 100px - font-size: 1px - margin: 0px - padding: 10px 0px - &.activeSlide - background: url('images/activeslide-bg.png') center repeat-x - .highlights-block-footer - display: none + border: transparent + .highlights-image-link + background-color: #3F3D49 + height: 350px !important + .highlights-label + background: transparent url('images/icone-normal-leia-mais.png') 98% center no-repeat + color: #E4E5C9 + div + margin: -5px 40px 0px 15px + .highlights-block-pager + width: 99% + padding: 0px + background: #3F3D49 url('images/slide-bg.png') center repeat-x + a + display: inline-block + color: transparent + width: 100px + font-size: 1px + margin: 0px + padding: 10px 0px + &.activeSlide + background: url('images/activeslide-bg.png') center repeat-x + .highlights-block-footer + display: none diff --git a/_home.sass b/_home.sass index 2fabb71..352282e 100644 --- a/_home.sass +++ b/_home.sass @@ -1,83 +1,101 @@ #content - #article.blog #article-header h1.title - background: url('images/arrow.png') no-repeat left center - font-family: 'Ubuntu' - color: #686679 - font-variant: normal - font-size: 18px - padding: 2px 0px 2px 35px - border: none - #article - .blog-posts - .blog-post - background: none - .publishing-info - display: none - .title + .main-block + display: none + .blocks > .block-outer > .display-content-block + width: 695px + padding-top: 30px + h3.block-title + font-family: 'Ubuntu Mediun' + font-size: 18px + font-variant: normal + text-transform: none + color: #686679 + padding: 2px 0px 2px 35px + margin-left: 30px + border: none + background: url('images/icone-seta.png') no-repeat left center + ul + li + margin: 5px 0px + padding: 15px + overflow: hidden + border-bottom: 1px solid #999 + > div + float: left font-family: 'Ubuntu' - margin-left: 30% - border-bottom: none + font-size: 14px + .image + width: 160px + height: 130px + margin-right: 10px + overflow: hidden + a + display: block + img + max-width: 160px + .title + color: #3F3F3F + width: 480px + margin: 5px 0px 30px 0px a text-decoration: none - color: #6E6E6E - font-size: 16px + color: #3F3F3F + font-size: 14px font-variant: normal - font-weight: bold - .article-compact-image - margin-top: -35px - .article-compact-abstract-with-image + .lead display: none - .read-more-link - margin: 20px 0px 0px 20px - display: inline-block - background: url('images/dark-more.png') no-repeat left center + .read_more + background: url('images/icone-pb-leia-mais.png') no-repeat left center + width: 480px padding: 8px 0px - text-decoration: none - span - padding-left: 50px - font-family: 'Ubuntu' - font-size: 16px - font-weight: bold - hr.sep-posts - display: block - margin-top: 15px - .pagination - display: none + a + color: #3F3F3F + padding-left: 40px + text-decoration: none + text-transform: lowercase + #read-all-link + font-family: 'Ubuntu' + font-size: 14px + display: block + text-transform: lowercase + text-align: right + a + color: #3F3F3F + border: 1px solid #3F3F3F + border-radius: 20px + padding: 5px 15px + text-decoration: none .container-block-plugin_container-block .block-outer - width: 49% - height: 270px - border: 1px solid #69677A - border-radius: 5px + width: 345px + height: 260px .block-title margin: 0px padding: 20px 50px - color: #E4E5CC - background: #69677A url('images/video-bg.png') no-repeat 10px center text-transform: capitalize - &:first-child + &:nth-child(1) + margin-right: 5px + &:nth-child(1) .display-content-block color: #696776 - margin-right: 10px - border-color: #DAE1C4 + border: 1px solid #DAE1C4 + border-radius: 5px .block-title - background-image: url('images/oquee.png') - background-color: #DAE1C4 - color: #696776 - .display-content-block + background: #DAE1C4 url('images/icone-o-que-e.png') no-repeat 10px center + color: #69677A ul margin: 0px .lead font-family: 'Ubuntu' font-size: 14px + color: #444 line-height: 1.5 - height: 125px + height: 110px overflow: hidden padding: 10px .read_more padding: 5px 0px - margin-left: 10px - margin-top: 20px - background: url('images/more.png') no-repeat left center + margin: 20px 10px + background: url('images/icone-pb-leia-mais.png') no-repeat left center a font-family: 'Ubuntu' font-weight: bold @@ -85,12 +103,17 @@ padding-left: 40px text-transform: lowercase text-decoration: none - .video-block + &:nth-child(2) .video-block, &:nth-child(2) .video-plugin_video-block + border: 1px solid #69677A + border-radius: 5px + .block-title + background: #69677A url('images/icone-video.png') no-repeat 10px center + color: #E4E5C9 margin: 0px .video-block-data padding: 10px 5px iframe - height: 188px !important + height: 180px !important width: 335px !important border-radius: 5px diff --git a/header.html.erb b/header.html.erb index 45843d4..9c345f5 100644 --- a/header.html.erb +++ b/header.html.erb @@ -99,3 +99,7 @@ English + + diff --git a/images/arrow.png b/images/arrow.png deleted file mode 100644 index 6b1c9e0..0000000 Binary files a/images/arrow.png and /dev/null differ diff --git a/images/centralconteudos.png b/images/centralconteudos.png deleted file mode 100644 index 962d285..0000000 Binary files a/images/centralconteudos.png and /dev/null differ diff --git a/images/dark-more.png b/images/dark-more.png deleted file mode 100755 index 1390cb5..0000000 Binary files a/images/dark-more.png and /dev/null differ diff --git a/images/icone-central-conteudo.png b/images/icone-central-conteudo.png new file mode 100755 index 0000000..6cabd70 Binary files /dev/null and b/images/icone-central-conteudo.png differ diff --git a/images/icone-final-consulta.png b/images/icone-final-consulta.png new file mode 100755 index 0000000..6dbc3b0 Binary files /dev/null and b/images/icone-final-consulta.png differ diff --git a/images/icone-normal-leia-mais.png b/images/icone-normal-leia-mais.png new file mode 100755 index 0000000..889705d Binary files /dev/null and b/images/icone-normal-leia-mais.png differ diff --git a/images/icone-o-que-e.png b/images/icone-o-que-e.png new file mode 100755 index 0000000..e51bf7a Binary files /dev/null and b/images/icone-o-que-e.png differ diff --git a/images/icone-pb-leia-mais.png b/images/icone-pb-leia-mais.png new file mode 100755 index 0000000..351150e Binary files /dev/null and b/images/icone-pb-leia-mais.png differ diff --git a/images/icone-seta.png b/images/icone-seta.png new file mode 100755 index 0000000..612cc10 Binary files /dev/null and b/images/icone-seta.png differ diff --git a/images/icone-video.png b/images/icone-video.png new file mode 100755 index 0000000..cf3d49a Binary files /dev/null and b/images/icone-video.png differ diff --git a/images/more.png b/images/more.png deleted file mode 100644 index 42edacc..0000000 Binary files a/images/more.png and /dev/null differ diff --git a/images/oquee.png b/images/oquee.png deleted file mode 100644 index 8a5edc7..0000000 Binary files a/images/oquee.png and /dev/null differ diff --git a/images/video-bg.png b/images/video-bg.png deleted file mode 100644 index 22fc874..0000000 Binary files a/images/video-bg.png and /dev/null differ diff --git a/style.sass b/style.sass index bb08217..0bc514e 100644 --- a/style.sass +++ b/style.sass @@ -13,7 +13,7 @@ src: url('fonts/Ubuntu-M.ttf') @font-face - font-family: 'Ubuntu' + font-family: 'Ubuntu Italic' font-weight: 300 font-style: italic src: url('fonts/Ubuntu-RI.ttf') @@ -32,6 +32,9 @@ body #theme-header, #site-title display: none +#theme-header #read-all-link + display: none + #wrap-2 border: none margin: 0 @@ -52,13 +55,20 @@ body @import blocks -@import home - -.main-content - border: none - box-shadow: none - +.profile-homepage + @import home + #content + .main-content + border: none + box-shadow: none + h1 + font-family: 'Ubuntu' + font-variant: normal + color: #69677A + background: url('images/icone-seta.png') no-repeat left center + border: none + padding: 2px 0px 2px 30px .block-title border: none color: #000 @@ -67,7 +77,7 @@ body font-weight: normal margin-bottom: 30px text-transform: uppercase - background: url('images/arrow.png') no-repeat left center + background: url('images/icone-seta.png') no-repeat left center background-size: contain padding: 2px 0px 2px 25px span diff --git a/theme.js b/theme.js index da18383..e4e1204 100644 --- a/theme.js +++ b/theme.js @@ -24,9 +24,18 @@ }); } + function addReadAllLink() { + if ($('body').hasClass('profile-homepage')) { + var block = $('.box-1 .blocks > .block-outer > .display-content-block '); + var link = $('#theme-header #read-all-link'); + $(link).appendTo(block); + }; + } + $(document).ready(function(){ setBreadcrumbs(); changeHighlighsBlock(); addReadMoreLink(); + addReadAllLink(); }); })(jQuery); -- libgit2 0.21.2