diff --git a/_article.sass b/_article.sass new file mode 100644 index 0000000..cb33cf5 --- /dev/null +++ b/_article.sass @@ -0,0 +1,31 @@ +#article + color: #69677A + #article-parent + font-family: 'Ubuntu' + background: url("images/dots.png") repeat-x left center + border-left: 10px solid #575959 + text-align: left + a + background: #FFF + border: none + color: #69677A + font-size: 15px + font-style: normal + padding-left: 10px + &:hover + color: #69677A + font-weight: bold + #article-header + .publishing-info + .author, .comments + display: none + .title + font-family: 'Ubuntu' + font-weight: bold + font-size: 20px + font-variant: normal + border-bottom: none + .article-body + border-bottom: 1px dotted #69677A + line-height: 1.5 + font-size: 14px diff --git a/_blocks.sass b/_blocks.sass new file mode 100644 index 0000000..ec253ce --- /dev/null +++ b/_blocks.sass @@ -0,0 +1,74 @@ +#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 + 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 + 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 + 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 diff --git a/_home.sass b/_home.sass new file mode 100644 index 0000000..2fabb71 --- /dev/null +++ b/_home.sass @@ -0,0 +1,96 @@ +#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 + font-family: 'Ubuntu' + margin-left: 30% + border-bottom: none + a + text-decoration: none + color: #6E6E6E + font-size: 16px + font-variant: normal + font-weight: bold + .article-compact-image + margin-top: -35px + .article-compact-abstract-with-image + display: none + .read-more-link + margin: 20px 0px 0px 20px + display: inline-block + background: url('images/dark-more.png') no-repeat left center + 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 + .container-block-plugin_container-block + .block-outer + width: 49% + height: 270px + border: 1px solid #69677A + border-radius: 5px + .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 + color: #696776 + margin-right: 10px + border-color: #DAE1C4 + .block-title + background-image: url('images/oquee.png') + background-color: #DAE1C4 + color: #696776 + .display-content-block + ul + margin: 0px + .lead + font-family: 'Ubuntu' + font-size: 14px + line-height: 1.5 + height: 125px + overflow: hidden + padding: 10px + .read_more + padding: 5px 0px + margin-left: 10px + margin-top: 20px + background: url('images/more.png') no-repeat left center + a + font-family: 'Ubuntu' + font-weight: bold + font-size: 14px + padding-left: 40px + text-transform: lowercase + text-decoration: none + .video-block + margin: 0px + .video-block-data + padding: 10px 5px + iframe + height: 188px !important + width: 335px !important + border-radius: 5px + diff --git a/_profileheader.sass b/_profileheader.sass new file mode 100644 index 0000000..3541ad3 --- /dev/null +++ b/_profileheader.sass @@ -0,0 +1,9 @@ +#profile-header + margin: 0 + width: 100% + p + margin: 0 + img + margin: auto + display: block + border-bottom: 3px solid #419BE9 diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..f8c4036 Binary files /dev/null and b/favicon.ico differ diff --git a/fonts/Ubuntu-B.ttf b/fonts/Ubuntu-B.ttf new file mode 100644 index 0000000..b173da2 Binary files /dev/null and b/fonts/Ubuntu-B.ttf differ diff --git a/fonts/Ubuntu-BI.ttf b/fonts/Ubuntu-BI.ttf new file mode 100644 index 0000000..72a5a99 Binary files /dev/null and b/fonts/Ubuntu-BI.ttf differ diff --git a/fonts/Ubuntu-C.ttf b/fonts/Ubuntu-C.ttf new file mode 100644 index 0000000..602a3ee Binary files /dev/null and b/fonts/Ubuntu-C.ttf differ diff --git a/fonts/Ubuntu-L.ttf b/fonts/Ubuntu-L.ttf new file mode 100644 index 0000000..ed0f5bc Binary files /dev/null and b/fonts/Ubuntu-L.ttf differ diff --git a/fonts/Ubuntu-LI.ttf b/fonts/Ubuntu-LI.ttf new file mode 100644 index 0000000..c6cec55 Binary files /dev/null and b/fonts/Ubuntu-LI.ttf differ diff --git a/fonts/Ubuntu-M.ttf b/fonts/Ubuntu-M.ttf new file mode 100644 index 0000000..ca9c03a Binary files /dev/null and b/fonts/Ubuntu-M.ttf differ diff --git a/fonts/Ubuntu-MI.ttf b/fonts/Ubuntu-MI.ttf new file mode 100644 index 0000000..e8d186c Binary files /dev/null and b/fonts/Ubuntu-MI.ttf differ diff --git a/fonts/Ubuntu-R.ttf b/fonts/Ubuntu-R.ttf new file mode 100644 index 0000000..d748728 Binary files /dev/null and b/fonts/Ubuntu-R.ttf differ diff --git a/fonts/Ubuntu-RI.ttf b/fonts/Ubuntu-RI.ttf new file mode 100644 index 0000000..4f2d2bc Binary files /dev/null and b/fonts/Ubuntu-RI.ttf differ diff --git a/fonts/UbuntuMono-B.ttf b/fonts/UbuntuMono-B.ttf new file mode 100644 index 0000000..7bd6665 Binary files /dev/null and b/fonts/UbuntuMono-B.ttf differ diff --git a/fonts/UbuntuMono-BI.ttf b/fonts/UbuntuMono-BI.ttf new file mode 100644 index 0000000..6c5b8ba Binary files /dev/null and b/fonts/UbuntuMono-BI.ttf differ diff --git a/fonts/UbuntuMono-R.ttf b/fonts/UbuntuMono-R.ttf new file mode 100644 index 0000000..fdd309d Binary files /dev/null and b/fonts/UbuntuMono-R.ttf differ diff --git a/fonts/UbuntuMono-RI.ttf b/fonts/UbuntuMono-RI.ttf new file mode 100644 index 0000000..18f81a2 Binary files /dev/null and b/fonts/UbuntuMono-RI.ttf differ diff --git a/header.html.erb b/header.html.erb new file mode 100644 index 0000000..45843d4 --- /dev/null +++ b/header.html.erb @@ -0,0 +1,101 @@ +
+ Portal do Governo Brasileiro +
+ + +
+ +
+ +
+ + + +
+ <%= theme_include 'categories' %> +
+
+ Português + English +
+
diff --git a/images/activeslide-bg.png b/images/activeslide-bg.png new file mode 100644 index 0000000..faaf47c Binary files /dev/null and b/images/activeslide-bg.png differ diff --git a/images/arrow.png b/images/arrow.png new file mode 100644 index 0000000..6b1c9e0 Binary files /dev/null and b/images/arrow.png differ diff --git a/images/centralconteudos.png b/images/centralconteudos.png new file mode 100644 index 0000000..962d285 Binary files /dev/null and b/images/centralconteudos.png differ diff --git a/images/dark-more.png b/images/dark-more.png new file mode 100755 index 0000000..1390cb5 Binary files /dev/null and b/images/dark-more.png differ diff --git a/images/dots.png b/images/dots.png new file mode 100644 index 0000000..b186658 Binary files /dev/null and b/images/dots.png differ diff --git a/images/more.png b/images/more.png new file mode 100644 index 0000000..42edacc Binary files /dev/null and b/images/more.png differ diff --git a/images/oquee.png b/images/oquee.png new file mode 100644 index 0000000..8a5edc7 Binary files /dev/null and b/images/oquee.png differ diff --git a/images/slide-bg.png b/images/slide-bg.png new file mode 100644 index 0000000..b767423 Binary files /dev/null and b/images/slide-bg.png differ diff --git a/images/video-bg.png b/images/video-bg.png new file mode 100644 index 0000000..22fc874 Binary files /dev/null and b/images/video-bg.png differ diff --git a/style.sass b/style.sass new file mode 100644 index 0000000..bb08217 --- /dev/null +++ b/style.sass @@ -0,0 +1,77 @@ +@import url(../profile-base/style.css) + +@font-face + font-family: 'Ubuntu' + font-weight: 300 + font-style: normal + src: url('fonts/Ubuntu-R.ttf') + +@font-face + font-family: 'Ubuntu Mediun' + font-weight: 300 + font-style: normal + src: url('fonts/Ubuntu-M.ttf') + +@font-face + font-family: 'Ubuntu' + font-weight: 300 + font-style: italic + src: url('fonts/Ubuntu-RI.ttf') + +body + background: #fff + +#barra-brasil + border-bottom: 1px solid #eee + width: 100% + z-index: 99 + div#wrapper-barra-brasil + font-family: Arial, Helvetica, sans-serif !important + width: 960px + +#theme-header, #site-title + display: none + +#wrap-2 + border: none + margin: 0 + padding: 0 + #user + display: none + +@import profileheader + +#boxes + margin-top: 15px + +.box-1 + margin-left: 253px + +.box-2 + width: 225px + +@import blocks + +@import home + +.main-content + border: none + box-shadow: none + +#content + .block-title + border: none + color: #000 + font-size: 18px + font-variant: normal + font-weight: normal + margin-bottom: 30px + text-transform: uppercase + background: url('images/arrow.png') no-repeat left center + background-size: contain + padding: 2px 0px 2px 25px + span + height: 30px + +#content + @import article diff --git a/theme.js b/theme.js new file mode 100644 index 0000000..da18383 --- /dev/null +++ b/theme.js @@ -0,0 +1,32 @@ +(function($){ + function setBreadcrumbs(){ + $('div.breadcrumbs-plugin_content-breadcrumbs-block .separator').text(' / '); + $('Você está aqui / ').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first()); + } + + function changeHighlighsBlock() { + //Move HighlightsBlock title + var title = $('.highlights-block .block-title'); + $(title).prependTo('.highlights-block .highlights-border'); + + //Add span around HighlightsBlock label + $('.highlights-block .highlights-label').each(function() { + var label = $(this); + label.html('
'+label.text()+'
'); + }); + } + + function addReadMoreLink() { + $('#article.blog .blog-post').each(function() { + var link = $(this).find('.title a'); + var div = 'leia mais'; + $(div).insertAfter($(this).find('.article-compact-image')); + }); + } + + $(document).ready(function(){ + setBreadcrumbs(); + changeHighlighsBlock(); + addReadMoreLink(); + }); +})(jQuery); diff --git a/theme.yml b/theme.yml new file mode 100644 index 0000000..fe1622d --- /dev/null +++ b/theme.yml @@ -0,0 +1,3 @@ +name: "Event Template" +layout: "application-ng" +icon_theme: [participabr, default, pidgin] -- libgit2 0.21.2