AntonLV 6 лет назад
Родитель
Сommit
c5ee2d2ad7
3 измененных файлов с 5 добавлено и 21 удалено
  1. 1 1
      template/comment.html
  2. 3 19
      template/css/cmts.css
  3. 1 1
      template/scripts/BxBaseCmtsMenuUnitMeta.php

+ 1 - 1
template/comment.html

@@ -12,7 +12,7 @@
                         </a>
                         </a>
                     </span>
                     </span>
                 </bx_if:show_reply_to>
                 </bx_if:show_reply_to>
-                <bx_if:meta><span class="__style_prefix__-meta">__meta__</span></bx_if:meta>
+                <bx_if:meta><span class="__style_prefix__-meta bx-base-general-unit-meta">__meta__</span></bx_if:meta>
             </div>
             </div>
             <div class="__style_prefix__-cont bx-def-margin-sec-topbottom">
             <div class="__style_prefix__-cont bx-def-margin-sec-topbottom">
                 <div class="__style_prefix__-cont-cnt">__content__</div>
                 <div class="__style_prefix__-cont-cnt">__content__</div>

+ 3 - 19
template/css/cmts.css

@@ -131,30 +131,14 @@
     }
     }
 
 
     /*--- unit meta ---*/
     /*--- unit meta ---*/
-    .cmt-meta {
+    .cmt-meta.bx-base-general-unit-meta {
         white-space: nowrap;
         white-space: nowrap;
         overflow: hidden;
         overflow: hidden;
         text-overflow: ellipsis;
         text-overflow: ellipsis;
         text-align: left;
         text-align: left;
     }
     }
-    .cmt-meta ul.bx-menu-custom.bx-menu-hor > li > span {
-            margin-right: 0;
-    }
-    .cmt-meta ul.bx-menu-custom li:first-child .cmt-meta-div {
-        display: none;
-    }
-    .cmt-meta ul.bx-menu-custom li .cmt-meta-item,
-    .cmt-meta ul.bx-menu-custom li .cmt-meta-div,
-    .cmt-meta ul.bx-menu-custom li .bx-btn {
-        position: relative;
-        float: none;
-        display: inline-block;
-        vertical-align: middle;
-    }
-    .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-ago,
-    .cmt-meta ul.bx-menu-custom li .cmt-meta-item .cmt-meta-membership {
-        font-size: 12px;
-        font-size: .75rem;
+    .cmt-meta.bx-base-general-unit-meta .bx-menu-custom.bx-menu-hor {
+        margin: 0;
     }
     }
 
 
     /*--- Comment Body ---*/
     /*--- Comment Body ---*/

+ 1 - 1
template/scripts/BxBaseCmtsMenuUnitMeta.php

@@ -31,7 +31,7 @@ class BxBaseCmtsMenuUnitMeta extends BxTemplMenuUnitMeta
         $this->_aCmtsSystem = $oCmts->getSystemInfo();
         $this->_aCmtsSystem = $oCmts->getSystemInfo();
         $this->_aCmt = $oCmts->getCommentRow($iCmtId);
         $this->_aCmt = $oCmts->getCommentRow($iCmtId);
 
 
-        $this->_sStylePrefix = (!empty($this->_aCmtsSystem['root_style_prefix']) ? $this->_aCmtsSystem['root_style_prefix'] : 'cmt') . '-meta';
+        $this->_sStylePrefix = (!empty($this->_aCmtsSystem['root_style_prefix']) ? $this->_aCmtsSystem['root_style_prefix'] : 'cmt') . '-meta bx-base-general-unit-meta';
 
 
         $this->addMarkers(array(
         $this->addMarkers(array(
             'cmt_system' => $this->_oCmts->getSystemName(),
             'cmt_system' => $this->_oCmts->getSystemName(),