roman.lesnikov@gmail.com 3 лет назад
Родитель
Сommit
e8884ec719

+ 12 - 0
studio/template/css/grid.css

@@ -6,4 +6,16 @@
 .bx-grid-header-controls-independent .bx-btn {
     margin-top: 0;
     margin-bottom: 0;
+}
+.bx-grid-table td,
+.bx-grid-table th
+{
+    padding-top: 0.5rem;
+    padding-bottom: 0.5rem;
+    font-size: 14px;
+}
+.bx-grid-table tr:not(.bx-grid-table-row-hr) td{
+    height: 55px;
+    white-space: nowrap;
+    text-overflow: ellipsis;
 }

+ 1 - 13
template/css/common.css

@@ -871,19 +871,7 @@ svg .gray .outer .p2 {
 /* --------------- button at the end of cut string */
 
 .bx-str-limit {
-    height:10px;
-    width:14px;    
-    margin-left:3px;
-
-	border-radius:3px;
-	-moz-border-radius:3px;
-	-webkit-border-radius:3px;
-    border-collapse:separate;
-
-	-moz-box-shadow:0px 0px 1px rgba(92, 92, 92, 0.8);
-	-webkit-box-shadow:0px 0px 1px rgba(92, 92, 92, 0.8);
-    box-shadow:0px 0px 1px rgba(92, 92, 92, 0.8);
-
+    margin-left:0.5rem;
     cursor:pointer;
 }
 

BIN
template/images/str-limit.png


+ 1 - 1
template/scripts/BxBaseFunctions.php

@@ -334,7 +334,7 @@ class BxBaseFunctions extends BxDolFactory implements iBxDolSingleton
 
         // add button width popup
         $sId = 'bx-str-limit-' . rand(1, PHP_INT_MAX);
-        $sPopup = '<img class="bx-str-limit" onclick="$(\'#' . $sId . '\').dolPopup({pointer:{el:$(this), offset:\'10 1\'}})" src="' . $this->getTemplateImage('str-limit.png') . '"/>';
+        $sPopup = '<span class="bx-str-limit" onclick="$(\'#' . $sId . '\').dolPopup({pointer:{el:$(this), offset:\'10 1\'}})"/><i class="sys-icon ellipsis-h"></i></span>';
         $sPopup .= '<div id="' . $sId . '" style="display:none;">' . BxTemplFunctions::getInstance()->transBox('', '<div class="bx-def-padding bx-def-color-bg-block">'.$sString.'</div>') . '</div>';
 
         return $bReturnString ? $sResult . $sPopup : array($sResult, $sPopup);