Commit 26739ed0 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Refactor comments index page styles.

parent 8c647e46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Ext.define('Docs.view.comments.FullList', {
        'Docs.view.comments.List',
        'Docs.view.comments.Pager'
    ],
    componentCls: 'comment-index-container',
    componentCls: 'comments-full-list',

    dockedItems: [
        {
+1 −1
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@ Ext.define('Docs.view.comments.Index', {
        'Docs.view.comments.Users',
        'Docs.view.comments.Targets'
    ],
    componentCls: 'comments-index',

    cls: 'comment-index',
    margin: '10 0 0 0',
    layout: 'border',

+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ Ext.define('Docs.view.comments.List', {
        'Docs.model.Comment',
        'Docs.Tip'
    ],
    componentCls: 'comments-list',

    itemSelector: "div.comment",

+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ Ext.define('Docs.view.comments.Template', {

    constructor: function() {
        this.callParent([
            '<div class="comment-list">',
            '<div>',
                '<tpl for=".">',
                '<div class="comment" id="{id}">',
                    '<tpl if="deleted">',
+9 −10
Original line number Diff line number Diff line
@@ -275,16 +275,15 @@ form.commentForm {

// Comments index page
#commentindex {
  padding: 5px; }
#recentcomments {
  padding: 5px;
  .comments-full-list {
    .comments-list {
      margin: 0 auto;
      max-width: 1000px; }


// load-mask in comments index page
.comment-index-container .x-mask {
    // load-mask
    .x-mask {
      opacity: 0.9;
  background: #fff url(../images/ajax-loader.gif) no-repeat center; }
      background: #fff url(../images/ajax-loader.gif) no-repeat center; } } }


// pager on comments index page
Loading