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