فهرست منبع

#1 - Comments' layout update.

AntonLV 13 سال پیش
والد
کامیت
8ac48c0dac
3فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 1 1
      template/comment.html
  2. 1 1
      template/comment_more.html
  3. 6 2
      template/css/cmts.css

+ 1 - 1
template/comment.html

@@ -1,4 +1,4 @@
-<li id="cmt__id__" class="__style_prefix____class__ cmt-border bx-def-margin-top bx-def-padding-top">
+<li id="cmt__id__" class="__style_prefix____class__ cmt-border bx-def-padding-top">
 	<a name="__system____id__"></a>
 	<div class="__style_prefix__-icon">
 		<bx_if:show_icon>

+ 1 - 1
template/comment_more.html

@@ -1,4 +1,4 @@
-<li class="__style_prefix__-more<bx_if:is_root>-root</bx_if:is_root> cmt-border bx-def-margin-top bx-def-padding-top">
+<li class="__style_prefix__-more<bx_if:is_root>-root</bx_if:is_root> bx-def-margin-top bx-def-padding-top">
 	<div class="__style_prefix__-more-cont">
 		<div class="__style_prefix__-more-line bx-def-hr"></div>
 		<a class="<bx_if:is_button>bx-btn</bx_if:is_button>" href="javascript:void(0)" onclick="javascript:__js_object__.cmtMore(this, __parent_id__, __start__, __per_view__)">__title__</a>

+ 6 - 2
template/css/cmts.css

@@ -13,8 +13,10 @@
         list-style: none;
     }
     ul.cmts-margin {}
-    li.cmt {
+    li.cmt,
+    ul.cmts-margin li.cmt {
     	position: relative;
+    	margin-top: 20px;
     	padding-left: 84px;
     }
     li.cmt:first-child {
@@ -42,7 +44,9 @@
     }
 
 	/*--- More ---*/
-    li.cmt-more {}
+    li.cmt-more {
+		border-top: 1px solid #eeeeee;
+    }
 	li.cmt-more-root {}
 	div.cmt-more-cont {}
 	div.cmt-more-line {}