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