Other Xin template node_list và node_list.css của tất cả mọi người

Thảo luận trong 'Add-on Quesions' bắt đầu bởi zhaosin, 7/7/13.

1votes
5/5, 1 vote

  1. zhaosin

    zhaosin Member

    Bài viết:
    70
    Likes :
    18
    Tình hình mình bị lỗi trong suốt của nó, mọi người share giúp mình 2 temp đó nha :(
     
    Đang tải...
  2. Hung Vu

    Hung Vu Verified User

    Bài viết:
    288
    Likes :
    230
    revert lại bản chuẩn là ok thôi em ạ
     
    zhaosin thích bài này.
  3. cuong pham

    cuong pham Member

    Bài viết:
    392
    Likes :
    115
    vấn đề là e nó đang dùng themes nào nữa, default thì ok chứ nhiều khi vào các themes khác edit hết rồi :v
     
    zhaosin thích bài này.
  4. Hạnh Lux

    Hạnh Lux Verified User

    Bài viết:
    495
    Likes :
    107
    Mã:
    <xen:require css="node_list.css" />
     
    <xen:if hascontent="true">
    <fieldset>
        <ol class="nodeList sectionMain" id="forums">
        <xen:contentcheck>
            <xen:foreach loop="$renderedNodes" value="$node">{xen:raw $node}</xen:foreach>
        </xen:contentcheck>
        </ol>
       
        <xen:if is="{$newDiscussionButton}"><div class="nodeListNewDiscussionButton">{xen:raw $newDiscussionButton}</div></xen:if>
    </fieldset>
    </xen:if>
     
    <xen:edithint template="node_category.css" />
    <xen:edithint template="node_category_level_1" />
    <xen:edithint template="node_category_level_2" />
    <xen:edithint template="node_category_level_n" />
     
    <xen:edithint template="node_forum.css" />
    <xen:edithint template="node_forum_level_1" />
    <xen:edithint template="node_forum_level_2" />
    <xen:edithint template="node_forum_level_n" />
     
    <xen:edithint template="node_page.css" />
    <xen:edithint template="node_page_level_1" />
    <xen:edithint template="node_page_level_2" />
    <xen:edithint template="node_page_level_n" />
     
    <xen:edithint template="node_link.css" />
    <xen:edithint template="node_link_level_1" />
    <xen:edithint template="node_link_level_2" />
    <xen:edithint template="node_link_level_n" />
    Đó là nodelist

    Mã:
    .nodeList { zoom: 1; }
    .nodeList .node {
        zoom: 1;
        vertical-align: bottom;
    }
     
    .nodeList .node.level_1
    {
        margin-bottom: 12px;
    }
     
    .nodeList .node.level_1:last-child
    {
        margin-bottom: 0;
    }
     
    .nodeList .node.groupNoChildren + .node.groupNoChildren
    {
        margin-top: -20px;
    }
     
    .node .nodeInfo
    {
        overflow: hidden; zoom: 1;
        position: relative;
    }
     
        .node .nodeInfo.primaryContent,
        .node .nodeInfo.secondaryContent
        {
            padding: 0;
        }
     
    .node .nodeIcon
    {
        @property "nodeIcon";
        margin: 10px 0 10px 10px;
        float: left;
        width: 36px;
        height: 36px;
        @property "/nodeIcon";   
    }
     
        .node .forumNodeInfo .nodeIcon,
        .node .categoryForumNodeInfo .nodeIcon
        {
            @property "nodeIconForum";
            background-image: url('@imagePath/xenforo/brivium/node-sprite.png');
            background-repeat: no-repeat;
            background-position: 0 0;
            @property "/nodeIconForum";
        }
     
        .node .forumNodeInfo.unread .nodeIcon,
        .node .categoryForumNodeInfo.unread .nodeIcon
        {
            @property "nodeIconForumUnread";
            background-image: url('@imagePath/xenforo/brivium/node-sprite.png');
            background-repeat: no-repeat;
            background-position: -36px 0;
            @property "/nodeIconForumUnread";
        }
     
        .node .pageNodeInfo .nodeIcon
        {
            @property "nodeIconPage";
            background-image: url('@imagePath/xenforo/brivium/node-sprite.png');
            background-repeat: no-repeat;
            background-position: -72px 0;
            @property "/nodeIconPage";
        }
     
        .node .linkNodeInfo .nodeIcon
        {
            @property "nodeIconLink";
            background-image: url('@imagePath/xenforo/brivium/node-sprite.png');
            background-repeat: no-repeat;
            background-position: -108px 0;
            @property "/nodeIconLink";
        }
     
    .node .nodeText
    {
        @property "nodeText";
        margin: 10px 270px 10px 56px;
        @property "/nodeText";
    }
     
        .node .nodeTitle
        {
            @property "nodeTitle";
            font-size: 12pt;
            @property "/nodeTitle";
        }
     
            .node .unread .nodeTitle
            {
                @property "nodeTitleUnread";
                font-weight: bold;
                @property "/nodeTitleUnread";
            }
     
        .node .nodeDescription
        {
            @property "nodeDescription";
            font-size: 12px;
            @property "/nodeDescription";
        }
       
        .hasJs .node .nodeDescriptionTooltip
        {
            /* will be shown as a tooltip */
            display: none;
        }
       
        .Touch .node .nodeDescriptionTooltip
        {
            /* touch browsers don't see description tooltips */
            display: block;
        }
     
        .node .nodeStats
        {
            @property "nodeStats";
            font-size: 12px;
            margin-top: 2px;
            @property "/nodeStats";
        }
     
    .node .nodeLastPost
    {
        @property "secondaryContent";
        background-color: #FFF;
        padding: 10px;
        border: 1px solid #E4E4E4;
        @property "/secondaryContent";
       
        @property "nodeLastPost";
        font-size: 12px;
        padding: 3px 10px;
        margin: 10px;
        border: 1px solid #E4E4E4;
        position: absolute;
        top: 0;
        right: 0;
        line-height: 14px;
        white-space: nowrap;
        word-wrap: normal;
        overflow: hidden;
        width: 210px;
        height: 28px;
        @property "/nodeLastPost";
    }
     
        .node .nodeLastPost .lastThreadMeta
        {
            display: block;
        }
     
        .node .nodeLastPost .noMessages
        {
            line-height: 28px;
        }
     
    .node .nodeControls
    {
        position: absolute;
        top: 0;
        right: {xen:calc '@nodeLastPost.border-left-width + @nodeLastPost.padding-left + @nodeLastPost.width + @nodeLastPost.padding-right + @nodeLastPost.border-right-width + @nodeLastPost.margin-right'}px;
        margin: 20px 0;
    }
     
        .node .tinyIcon
        {
            @property "nodeTinyIcon";
            background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -112px -16px;
            margin: 1px 4px;
            display: block;
            white-space: nowrap;
            text-indent: 9999px;
            overflow: hidden;
            opacity: 0.25;
            width: 14px;
            height: 14px;
            @property "/nodeTinyIcon";
        }
     
        .node .nodeInfo:hover .tinyIcon[href],
        .Touch .node .tinyIcon
        {
            @property "nodeTinyIconHover";
            opacity: 1;
            @property "/nodeTinyIconHover";
        }
     
            /*.node .feedIcon
            {
                background: transparent url('@imagePath/xenforo/xenforo-ui-sprite.png') no-repeat -112px -16px;
            }*/
     
    /* description tooltip */
     
    .nodeDescriptionTip
    {
        @property "nodeDescriptionTip";
        padding: 4px 10px;
        margin-top: -22px;
        line-height: 1.5;
        width: 350px;
        height: auto;
        @property "/nodeDescriptionTip";
    }
     
        .nodeDescriptionTip .arrow
        {
            @property "nodeDescriptionTipArrow";
            border: 6px solid transparent;
            border-right-color: @tooltip.background-color;
            border-left: 1px none black;
            top: 6px;
            left: -6px;
            bottom: auto;
            @property "/nodeDescriptionTipArrow";
        }
       
    /* main area - used for L2 categories and most other nodes */
     
    .nodeList .categoryForumNodeInfo,
    .nodeList .forumNodeInfo,
    .nodeList .pageNodeInfo,
    .nodeList .linkNodeInfo
    {
        @property "primaryContent";
        background-color: @contentBackground;
        padding: 10px;
        border-right: 1px solid #E4E4E4;
        border-bottom: 1px solid #E4E4E4;
        border-left: 1px solid #E4E4E4;
        @property "/primaryContent";
       
        padding: 0;
    }
     
    /* category strip - used for L1 categories and group headers */
     
    .nodeList .categoryStrip
    {
        @property "subHeading";
        font-size: 12px;
        color: white;
        background-color: #43A6DF;
        padding: 5px 10px;
        margin: 3px auto 0;
        @property "/subHeading";
       
        @property "categoryStrip";
        padding: 0px;
        margin: 0;
        min-height: 6px;
        @property "/categoryStrip";
    }
     
        .nodeList .categoryStrip .categoryText
        {
            background: #43A6DF none;
        }
     
        .nodeList .categoryStrip .categoryDescription
        {
            padding: 10px 12px;
            font-weight: normal;
            font-size: 12px;
            color: #797979;
            background: #F2F2F2 none repeat-x;
            border-left: 1px solid #E4E4E4;
            border-right: 1px solid #E4E4E4;
            border-bottom: 1px solid #E4E4E4;
        }
     
        .nodeList .categoryStrip .nodeTitle
        {
            @property "categoryStripTitle";
            font-size: 20px;
            color: white;
            padding: 14px 0;
            margin-left: 12px;
            @property "/categoryStripTitle";
                    text-align: center;
        }
       
            .nodeList .categoryStrip .nodeTitle a
            {
                color: white;
            }
     
        .nodeList .categoryStrip .nodeDescription
        {
            @property "categoryStripDescription";
     
            @property "/categoryStripDescription";
        }
       
            .nodeList .categoryStrip .nodeDescription a
            {
                color: @categoryStripDescription.color;
            }
     
    .nodeList .node.groupNoChildren + .node.groupNoChildren .categoryStrip
    {
        display: none;
    }
     
    /* node stats area */
     
    .nodeStats
    {
        overflow: hidden; zoom: 1;
    }
     
    .nodeStats dl,
    .subForumsPopup
    {
        float: left;
        display: block;
        margin-right: 3px;
    }
     
    /*.nodeStats dl,
    .subForumsPopup .PopupControl
    {
        padding-top: 2px;
    }*/
     
    .subForumsPopup a.PopupControl
    {
        padding-left: 5px;
        padding-right: 5px;
    }
     
    .subForumsPopup .dt
    {
        color: @mutedTextColor;
    }
     
    .subForumsPopup .PopupOpen .dt
    {
        color: @body.color;
    }
     
    .subForumsMenu .node .node /* for depths 2+ */
    {
        padding-left: 10px;
    }
     
        .subForumsMenu .node .nodeTitle
        {
            font-size: 12px;
        }
       
    /** new discussion button below nodelist **/
     
    .nodeListNewDiscussionButton
    {
        margin-top: 10px;
        text-align: right;
    }
    đó là node_list.css
     
    zhaosin thích bài này.
  5. ku Hiệu

    ku Hiệu Lì Lắm Luôn

    Bài viết:
    1,345
    Likes :
    862
    trong suốt là lỗi gì nhỉ, có hình hay demo onl hok
     
    zhaosin thích bài này.
comments powered by Disqus

Chia sẻ trang này

Đang tải...