less/roojs-bootstrap/table.less
[roojs1] / less / roojs-bootstrap / table.less
1 /* paging toolbar */
2
3 .table {
4     .pagination .x-paging-position span {
5         padding: 3px 6px;
6     }
7     .pagination .x-paging-position span  input {
8         margin: 0 3px;
9     }
10 }
11 .navbar .pagination>li>span {
12     min-height:34px;
13 }
14
15 .navbar .pagination {
16     margin: 0;
17 }
18
19
20 /* these are technicall adminlte related */
21 .skin-blue  .navbar .pagination > li > a:active,
22 .skin-blue  .navbar .pagination > li > a:focus,
23 .skin-blue .navbar .pagination>li>a {
24     background-color: @brand-primary;
25     
26 }
27 .skin-blue  .navbar .pagination > li > a:hover
28 {
29    background-color:  @gray-light;
30 }
31 .skin-blue table .navbar {
32     background-color: @body-bg;
33  
34 }
35 .skin-blue .navbar .pagination>li.disabled >a{
36     background-color: @gray-light;
37 }
38 .skin-blue table .navbar {
39     margin-bottom: 0;
40     min-height: 0;
41 }
42
43 .table .sortable {
44     cursor: pointer;
45 }
46
47 .table-body-fixed tbody {
48    overflow-y: scroll;
49    width: 100%;
50 }
51 .table-body-fixed  thead,
52 .table-body-fixed  tbody,
53 .table-body-fixed th   {
54   display: block;
55 }
56 .table-body-fixed thead {
57     overflow:  hidden;
58 }
59
60
61 .table-body-fixed tbody td, 
62 .table-body-fixed thead > tr> th {
63   float: left;
64   border-bottom-width: 0;
65 }
66
67 /* fake infinate widt.. */
68 .table-body-fixed thead > tr,
69 .table-body-fixed tbody > tr
70 {
71     display: block;
72     overflow: hidden;
73 }
74
75 /* standard bootstrap does not colour rows very well.. */
76
77 .table > tbody > tr.info
78 {
79   background-color: @state-info-bg; //#d9edf7;
80 }
81
82 .table-hover > tbody > tr.info:hover
83 {
84   background-color: darken(@state-info-bg, 5%); //#c4e3f3;
85 }
86
87 .table tfoot .navbar {
88     min-height : inherit;
89 }
90
91 /* for ie11 && edge: fixing height inheriting from tbody to tr */
92 .roo-ie11 table.table tbody tr,
93 .roo-edge table.table tbody tr
94 {
95     height: auto;
96 }