1 pièce(s) jointe(s)
bootstrap2 avec plugin JS dataTable
Bonjour,
J'ai un petit problème pour mettre en forme l'entête d'une table : j'utilise le framework css Bootstrap2 + le plugin Javascript pour JQuery dataTable (il permet de pouvoir trier la table).
Le problème est que j'aimerais appliquer les paramètres suivants a l’entête de mon tableau mais je ne vois pas comment faire :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
table.table thead th.sorting,
table.table thead th.sorting_asc,
table.table thead th.sorting_desc,
table.table thead th.sorting_asc_disabled,
table.table thead th.sorting_desc_disabled {
background-color: #F5F5F5;
background-image: -moz-linear-gradient(top, #FDFDFD, #EAEAEA);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FDFDFD), to(#EAEAEA));
background-image: -webkit-linear-gradient(top, #FDFDFD, #EAEAEA);
background-image: -o-linear-gradient(top, #FDFDFD, #EAEAEA);
background-image: linear-gradient(to bottom, #FDFDFD, #EAEAEA);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FDFDFD', endColorstr='#EAEAEA', GradientType=0);
color: #666666;
} |
=> si je rajoute mes paramètres, on ne vois plus les flèches de trie du tableau car celles-ci sont définies comme ceci :
Code:
1 2 3 4 5 6 7
|
table.table thead .sorting { background: url('sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('sort_desc.png') no-repeat center right; }
table.table thead .sorting_asc_disabled { background: url('sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('sort_desc_disabled.png') no-repeat center right; } |
Comment faire ?
PS: si joint ma page avec toutes les bibliothèques.
Merci d'avance,