Bläddra i källkod

TableAjax fix sort and rm icons (see #52)

Piotr Labudda 11 år sedan
förälder
incheckning
c5b5177a6a
2 ändrade filer med 8 tillägg och 4 borttagningar
  1. 8 2
      SE/se-lib/TableAjax.php
  2. 0 2
      SE/se-lib/TreeAjax.php

+ 8 - 2
SE/se-lib/TableAjax.php

@@ -305,16 +305,20 @@ class TableAjax extends ViewAjax {
 .AjaxTable .tbl-short-txt span{display:block; height:18px;}
 .AjaxTable .tooltip-inner{white-space:normal;}
 .AjaxTable thead .sort .ta-ordering {cursor:pointer;}
-.AjaxTable thead .sort .ta-ordering span {margin:0 14px 0 0; padding:0 14px 0 0; background-repeat:no-repeat; background-position:right top;}
+.AjaxTable thead .sort .ta-ordering span {margin:0 10px 0 0; padding:0; background-repeat:no-repeat; background-position:right top;}
+/*
 .AjaxTable thead .sort .ta-ordering-down span {background-image:url(stuff/twitter-bootstrap/img/ordering-down.png);}
 .AjaxTable thead .sort .ta-ordering-up span {background-image:url(stuff/twitter-bootstrap/img/ordering-up.png);}
+*/
+.AjaxTable thead .sort .ta-ordering-down span:after{content:"\e252";font-family:"Glyphicons Halflings";line-height:1;margin:0 0 0 3px;display:inline-block;color:#bbb;}
+.AjaxTable thead .sort .ta-ordering-up   span:after{content:"\e253";font-family:"Glyphicons Halflings";line-height:1;margin:0 0 0 3px;display:inline-block;color:#bbb;}
 .AjaxTable thead .sort .ta-ordering {position:relative;}
 
 .AjaxTable thead .sort th .hover-show:hover{background-color:#000; background-image:url(stuff/twitter-bootstrap/img/glyphicons-halflings-white.png);}
 .AjaxTable thead .sort th .hover-show{display:none;}
 .AjaxTable thead .sort th:hover .hover-show{display:inline;}
 
-.AjaxTable thead .sort .ta-ordering .remove-cell {position:absolute; top:6px; right:2px; display:none;}
+.AjaxTable thead .sort .ta-ordering .remove-cell {position:absolute; top:6px; right:2px; display:none; color:#f00;}
 .AjaxTable thead .sort .ta-ordering:hover .remove-cell {display:block;}
 
 .AjaxTableCont .foot .foot-info { float:left; padding:0 20px; }
@@ -330,6 +334,8 @@ class TableAjax extends ViewAjax {
 
 .TableAjax-SpecialFilter {margin:0;padding:4px 4px 4px 127px;}
 .TableAjax-SpecialFilter .btn-group {margin:0 4px;padding:0;}
+.TableAjax-SpecialFilter .btn-group .glyphicon-remove {color:#f00;}
+.TableAjax-SpecialFilter .btn-group button.disabled .glyphicon-remove {color:#bbb;}
 
 /* overwrite bootstrap table border */
 .AjaxTable,    .AjaxTableEdit,

+ 0 - 2
SE/se-lib/TreeAjax.php

@@ -120,8 +120,6 @@ class TreeAjax extends ViewAjax {
 		<link rel="stylesheet" href="stuff/jquery.treetable/jquery.treetable.css" type="text/css" />
 		<link rel="stylesheet" href="stuff/jquery.treetable/jquery.treetable.theme.default.css" type="text/css" />
 		<style type="text/css">
-.treetable .glyphicon glyphicon-folder-open { margin-top:0; }
-.treetable tr.selected  .glyphicon glyphicon-folder-open { background-image: url(stuff/twitter-bootstrap/img/glyphicons-halflings-white.png); }
 .treetable {white-space:nowrap; width:auto;}
 .treetable .TreeAjax-cell-sorter { cursor:pointer; }
 .treetable td,