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