File: dataTables-custom.css

package info (click to toggle)
ocsinventory-server 2.5+dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 7,088 kB
  • sloc: php: 27,462; perl: 8,241; sh: 1,680; sql: 1,355; xml: 1,041; makefile: 34
file content (125 lines) | stat: -rwxr-xr-x 3,467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
 * Copyright 2005-2016 OCSInventory-NG/OCSInventory-ocsreports contributors.
 * See the Contributors file for more details about them.
 *
 * This file is part of OCSInventory-NG/OCSInventory-ocsreports.
 *
 * OCSInventory-NG/OCSInventory-ocsreports is free software: you can redistribute
 * it and/or modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 2 of the License,
 * or (at your option) any later version.
 *
 * OCSInventory-NG/OCSInventory-ocsreports is distributed in the hope that it
 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OCSInventory-NG/OCSInventory-ocsreports. if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 */
/*** DATA TABLES CUSTOMIZATION ***/

table.dataTable.table-striped thead tr th {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    background-color: #f0f0f0;
}

.table-striped > tbody > tr:nth-child(odd) > td {
    background-color: #fdfdfd;
}

.table-striped > tbody > tr:nth-child(even) > td {
    background-color: #f4f4f4;
}

.table-striped > tbody > tr:hover > td {
    background-color: #f0f0f0;
}

table.dataTable.cell-border tbody th,
table.dataTable.cell-border tbody td,
table.dataTable.cell-border thead th,
table.dataTable.cell-border thead td {
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}

/*table.dataTable a {
    color: rgb(116, 116, 116)!important;
    font-weight: bold;
}*/

.tableContainer .row{
    margin : 0;
}

table.dataTable{
    empty-cells: show;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
div.tableContainer {
    overflow:hidden;
    width:100%;
    overflow-y: none;
    margin: 0 auto;
    text-align: center;
}
table.dataTable thead .sorting {
    background: #f0f0f0 url('/ocsreports/image/sort_both.png') no-repeat center right !important;
}
table.dataTable thead .sorting_asc {
    background: #f0f0f0 url('/ocsreports/image/sort_asc.png') no-repeat center right !important;
}
table.dataTable thead .sorting_desc {
    background: #f0f0f0 url('/ocsreports/image/sort_desc.png') no-repeat center right !important;
}
table.dataTable thead .sorting_asc_disabled {
    background: #f0f0f0 url('/ocsreports/image/sort_asc_disabled.png') no-repeat center right !important;
}
table.dataTable thead .sorting_desc_disabled {
    background: #f0f0f0 url('/ocsreports/image/sort_desc_disabled.png') no-repeat center right !important;
}



table.dataTable .column-_checkbox,
table.dataTable .column-_actions,
table.dataTable .CHECK,
table.dataTable .ACTIONS {
    vertical-align: middle;
    text-align:center;
}

table.dataTable .row-action {
    margin: 0 5px;
}

table.dataTable thead>tr>th.column-_checkbox,
table.dataTable thead>tr>th.CHECK{
    background-image:none !important;
}

.dataTables_filter{
    margin-right:15px;
}

.table_settings_toggle{
    margin-left:5px;
}
.table_settings{
    width: 100%;
    margin-top: 25px;
    display: block;
    margin: 0 auto 0 auto;
    background: #f8f8f8;
    border: 1px solid #c7c7c7;
    padding: 20px 50px;
    margin-bottom: 20px;
    text-align: center;
}