Revert "less/roojs-bootstrap/alert.less"
[roojs1] / less / roojs-bootstrap / table.less
diff --git a/less/roojs-bootstrap/table.less b/less/roojs-bootstrap/table.less
new file mode 100644 (file)
index 0000000..eaa23c7
--- /dev/null
@@ -0,0 +1,99 @@
+/* paging toolbar */
+
+.table {
+    .pagination .x-paging-position span {
+        padding: 3px 6px;
+    }
+    .pagination .x-paging-position span  input {
+        margin: 0 0 0 7px;
+        width: 42px;
+        padding: 0 5px;
+    }
+    
+}
+.navbar .pagination>li>span {
+    min-height:34px;
+}
+
+.navbar .pagination {
+    margin: 0;
+}
+
+
+/* these are technicall adminlte related */
+.skin-blue  .navbar .pagination > li > a:active,
+.skin-blue  .navbar .pagination > li > a:focus,
+.skin-blue .navbar .pagination>li>a {
+    background-color: @brand-primary;
+    
+}
+.skin-blue  .navbar .pagination > li > a:hover
+{
+   background-color:  @gray-light;
+}
+.skin-blue table .navbar {
+    background-color: @body-bg;
+}
+.skin-blue .navbar .pagination>li.disabled >a{
+    background-color: @gray-light;
+}
+.skin-blue table .navbar {
+    margin-bottom: 0;
+    min-height: 0;
+}
+
+.table .sortable {
+    cursor: pointer;
+}
+
+.table-body-fixed tbody {
+   overflow-y: scroll;
+   width: 100%;
+}
+.table-body-fixed  thead,
+.table-body-fixed  tbody,
+.table-body-fixed th   {
+  display: block;
+}
+.table-body-fixed thead {
+    overflow:  hidden;
+}
+
+
+.table-body-fixed tbody td, 
+.table-body-fixed thead > tr> th {
+  float: left;
+  border-bottom-width: 0;
+}
+
+/* fake infinate widt.. */
+.table-body-fixed thead > tr,
+.table-body-fixed tbody > tr
+{
+    display: block;
+    overflow: hidden;
+}
+
+/* standard bootstrap does not colour rows very well.. */
+
+.table > tbody > tr.info
+{
+  background-color: @state-info-bg; //#d9edf7;
+}
+
+.table-hover > tbody > tr.info:hover
+{
+  background-color: darken(@state-info-bg, 5%); //#c4e3f3;
+}
+
+.table tfoot .navbar {
+    min-height : inherit;
+}
+
+/* for ie11 && edge: fixing height inheriting from tbody to tr */
+.roo-ie11 table.table tbody tr,
+.roo-edge table.table tbody tr
+{
+    height: auto;
+}
\ No newline at end of file