Commit c2e44176b152c8beb2ba66941347f29c191b2f99

Authored by Melissa Wen
1 parent 96fddec6
Exists in master

add article internal page style

Showing 3 changed files with 135 additions and 0 deletions   Show diff stats
_internalpages.sass 0 → 100644
... ... @@ -0,0 +1,126 @@
  1 +#content
  2 + .main-content
  3 + padding: 0
  4 + .block.breadcrumbs-plugin_content-breadcrumbs-block
  5 + margin: 0 0 30px 30px
  6 + padding: 0
  7 + a.item, span.separator, #breadcrumbs-you-are-here
  8 + color: #CE9500
  9 + font-family: 'Signika'
  10 + font-size: 14px
  11 + margin-right: 10px
  12 + a.item
  13 + color: #3D70AF
  14 + text-transform: capitalize
  15 + #breadcrumbs-you-are-here
  16 + font-weight: 400
  17 + text-transform: uppercase
  18 +
  19 +#content #article-header
  20 + background: #EDEDED url('icons/ico-destaque.png') no-repeat 5px 10px
  21 + border: none
  22 + border-left: 8px solid #4EA9B6
  23 + color: #4EA9B6
  24 + font-family: 'Signika'
  25 + font-size: 16px
  26 + font-variant: normal
  27 + font-weight: 400
  28 + height: auto
  29 + padding-left: 40px
  30 + h1.title, .publishing-info
  31 + background: #F3F3F3
  32 + color: #919191
  33 + display: block
  34 + font-weight: 400
  35 + height: auto
  36 + margin: 0
  37 + padding: 0 10px 10px
  38 + vertical-align: middle
  39 + width: 628px
  40 + .publishing-info
  41 + color: #4EA9B6
  42 + font-family: 'Signika'
  43 + font-size: 14px
  44 + line-height: 30px
  45 + padding: 10px 10px 0
  46 + span
  47 + display: none
  48 + span.date
  49 + display: block
  50 +
  51 +#content .article-body
  52 + border: 1px solid #EDEDED
  53 + border-radius: 0px 0px 5px 5px
  54 + color: #000
  55 + font-family: 'Signika'
  56 + font-size: 14px
  57 + font-variant: normal
  58 + font-weight: 300
  59 + padding: 20px
  60 +
  61 +#content #article-source
  62 + padding: 20px
  63 +
  64 +#content #comments_list
  65 + border: 1px solid #EDEDED
  66 + border-radius: 5px
  67 + h3
  68 + border-bottom: 1px solid #EDEDED
  69 + color: #919191
  70 + font-family: 'Signika'
  71 + font-size: 14px
  72 + font-variant: normal
  73 + font-weight: 700
  74 + margin: 0
  75 + padding: 20px 20px 10px
  76 + text-transform: uppercase
  77 + .article-comments-list
  78 + margin: 15px 0 0
  79 + li.article-comment
  80 + border-bottom: 1px solid #EDEDED
  81 + margin: 0
  82 + padding: 20px
  83 + &:last-child
  84 + border: none
  85 + .comment-info
  86 + font-size: 12px
  87 + .comment-actions-reply
  88 + background-color: #FFF
  89 + border-radius: 5px
  90 + .vcard .menu-submenu-trigger
  91 + border-radius: 5px
  92 + padding: 1px
  93 + .comment-details
  94 + margin-left: 50px
  95 + padding: 0
  96 + .comment-created-at
  97 + color: #FA5F59
  98 + float: left
  99 + font-size: 12px
  100 + font-style: italic
  101 + margin: 0
  102 + padding: 0
  103 + h4
  104 + color: #000
  105 + float: left
  106 + font-size: 14px
  107 + font-weight: 500
  108 + width: 100%
  109 + .comment-text
  110 + color: #000
  111 + display: block
  112 + float: left
  113 + p
  114 + font-size: 12px
  115 + margin: 0
  116 + .comment-wrapper-1, .comment-wrapper-2, .comment-wrapper-3, .comment-wrapper-4, .comment-wrapper-5, .comment-wrapper-6, .comment-wrapper-7, .comment-wrapper-8
  117 + background: none
  118 +
  119 +#content #comments_list .post_comment_box
  120 + padding: 15px
  121 + text-align: left
  122 + a.display-comment-form
  123 + background: none
  124 + border: 1px solid #EDEDED
  125 + color: #3D70AF
  126 + font-weight: 500
... ...
style.sass
... ... @@ -106,5 +106,7 @@ body
106 106 margin: 0
107 107 @import searchbar
108 108  
  109 +@import internalpages
  110 +
109 111 #boxes
110 112 margin-top: 0px
... ...
theme.js
... ... @@ -31,3 +31,10 @@ jQuery("document").ready(function($){
31 31 $('input#q').attr('placeholder', 'Tipo de conteúdo');
32 32  
33 33 });
  34 +
  35 +jQuery("document").ready(function($){
  36 + $('span.publishing-info').prependTo('div#article-header');
  37 + $('#article-sub-header').remove();
  38 + $('div.page-comment-form').insertBefore('ul.article-comments-list');
  39 + $('<span id="breadcrumbs-you-are-here">Você está aqui: </span>').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first());
  40 +});
... ...