Commit 4ca9cb69abedc45d90ffaa8ae4497ac6e54bb953

Authored by Daniela Feitosa
1 parent 4f1ac944

Styling article comments

Showing 2 changed files with 147 additions and 2 deletions   Show diff stats
images/bt-comment-bg.png 0 → 100644

436 Bytes

style.css
... ... @@ -220,8 +220,8 @@ p {
220 220  
221 221 /* * * * * Profile blocks * * * * */
222 222  
223   -.article-block .alerta-prazo {
224   - background-color: #ece2c0;
  223 +.article-block .destaque-consulta {
  224 + background-color: #f7e074;
225 225 padding: 10px;
226 226 }
227 227  
... ... @@ -279,6 +279,151 @@ p {
279 279 text-transform: uppercase;
280 280 }
281 281  
  282 +/* * * * * Comments * * * * */
  283 +
  284 +.comment-wrapper-1,
  285 +.comment-wrapper-2,
  286 +.comment-wrapper-3,
  287 +.comment-wrapper-4,
  288 +.comment-wrapper-5,
  289 +.comment-wrapper-6,
  290 +.comment-wrapper-7,
  291 +.comment-wrapper-8,
  292 +.comment-from-owner .comment-wrapper-2,
  293 +.comment-from-owner .comment-wrapper-3,
  294 +.comment-from-owner .comment-wrapper-4,
  295 +.comment-from-owner .comment-wrapper-5,
  296 +.comment-from-owner .comment-wrapper-6,
  297 +.comment-from-owner .comment-wrapper-7,
  298 +.comment-from-owner .comment-wrapper-8 {
  299 + background: none;
  300 +}
  301 +
  302 +#content #comments_list.comments {
  303 + background-color: #FFF;
  304 + padding: 10px 20px;
  305 +}
  306 +
  307 +#content .comments h3 {
  308 + font-variant: normal;
  309 + font-size: 18px;
  310 + color: #ababaa;
  311 + padding-bottom: 15px;
  312 +}
  313 +
  314 +#content .comments #page-comment-form {
  315 + margin-top: 20px;
  316 +}
  317 +
  318 +#content .comments .comment-info,
  319 +#content .comments .comment-created-at {
  320 + font-size: 12px;
  321 +}
  322 +
  323 +#content .comments .comment-info {
  324 + color: #f88021;
  325 +}
  326 +
  327 +#content .comments .comment-created-at {
  328 + float: left;
  329 + margin-left: 0px;
  330 +}
  331 +
  332 +#content .comments h3,
  333 +#content .comments .comment-content {
  334 + border-bottom: 1px dashed #DFDFDF;
  335 +}
  336 +
  337 +#article .parsed-macro {
  338 + margin-bottom: 20px;
  339 +}
  340 +
  341 +#article .parsed-macro .post_comment_box {
  342 + padding: 10px 15px;
  343 + text-align: left;
  344 + background-color: #FFF;
  345 +}
  346 +
  347 +#article .parsed-macro .post_comment_box a.display-comment-form {
  348 + color: #ababaa;
  349 + text-decoration: none;
  350 + font-size: 18px;
  351 +}
  352 +
  353 +#article .parsed-macro .post_comment_box .display-comment-form:hover {
  354 + color: #555;
  355 + text-decoration: underline;
  356 +}
  357 +
  358 +#article .parsed-macro li.article-comment {
  359 + padding: 20px;
  360 +}
  361 +
  362 +#article .post_comment_box .button-bar {
  363 + text-align: left;
  364 +}
  365 +
  366 +#article .comment-replies .article-comment {
  367 + border: none;
  368 + background: none;
  369 + border-radius: 0px;
  370 + -webkit-border-radius: 0px;
  371 +}
  372 +
  373 +#comments_list a.display-comment-form,
  374 +#article .comments input.button {
  375 + color: #FFF;
  376 + background: transparent url(images/bt-comment-bg.png) center center repeat-x;
  377 + border: none;
  378 + padding: 2px 10px 5px 10px;
  379 + border-radius: 0px;
  380 + -webkit-border-radius: 0px;
  381 + opacity: 0.8;
  382 +}
  383 +
  384 +#comments_list a.display-comment-form:hover,
  385 +#article .comments input.button:hover {
  386 + opacity: 1;
  387 +}
  388 +
  389 +#article .comments .formfield.type-text input,
  390 +#article .comments textarea {
  391 + background: #f2f2f2;
  392 + border: none;
  393 + padding: 5px;
  394 +}
  395 +
  396 +#content .comments a.button {
  397 + background-color: transparent;
  398 + border: none;
  399 +}
  400 +
  401 +#article .post_comment_box input.button {
  402 + font-size: 14px;
  403 + font-weight: bold;
  404 + max-height: none;
  405 +}
  406 +
  407 +.button-bar .button {
  408 + float: none;
  409 +}
  410 +
  411 +#article .post_comment_box .icon-cancel {
  412 + background-image: none;
  413 + color: #ABABAA;
  414 + padding-left: 0px;
  415 + padding-top: 5px;
  416 + display: inline-block;
  417 +}
  418 +
  419 +#article .post_comment_box .icon-cancel:hover {
  420 + color: #555;
  421 +}
  422 +
  423 +#article .post_comment_box .icon-cancel span {
  424 + margin: 6px;
  425 +}
  426 +
282 427 /* * * * * Footer * * * * */
283 428  
284 429 #theme-footer {
... ...