Possibilité de désactiver l'animation de tr@hover avec la "class" du <body>
This commit is contained in:
parent
27cb3b7c13
commit
9c4000bb25
|
@ -11,7 +11,7 @@
|
|||
|
||||
/* .unstressed */
|
||||
span.unstressed{ color: #aaa; }
|
||||
tr:hover > td > span.unstressed{ color: #ddd; }
|
||||
body.trHoverActivated tr:hover > td > span.unstressed{ color: #ddd; }
|
||||
|
||||
span.stressed{ font-weight: bold; }
|
||||
|
||||
|
@ -117,18 +117,18 @@ table.basic table.basic tr > td:first-child { border-left: 10px solid #9e9e9
|
|||
|
||||
|
||||
/* @hover */
|
||||
table.basic tr:hover > td{ color: #fff; }
|
||||
body.trHoverActivated table.basic tr:hover > td{ color: #fff; }
|
||||
|
||||
table.basic:nth-child(4n+0) tr:hover > td { background-color: #e63c54; }
|
||||
table.basic:nth-child(4n+1) tr:hover > td { background-color: #3c73e6; }
|
||||
table.basic:nth-child(4n+2) tr:hover > td { background-color: #e6983c; }
|
||||
table.basic:nth-child(4n+3) tr:hover > td { background-color: #2dcc70; }
|
||||
body.trHoverActivated table.basic:nth-child(4n+0) tr:hover > td { background-color: #e63c54; }
|
||||
body.trHoverActivated table.basic:nth-child(4n+1) tr:hover > td { background-color: #3c73e6; }
|
||||
body.trHoverActivated table.basic:nth-child(4n+2) tr:hover > td { background-color: #e6983c; }
|
||||
body.trHoverActivated table.basic:nth-child(4n+3) tr:hover > td { background-color: #2dcc70; }
|
||||
|
||||
table.basic table.basic tr:hover > td { background-color: #9e9e9e; }
|
||||
body.trHoverActivated table.basic table.basic tr:hover > td { background-color: #9e9e9e; }
|
||||
|
||||
/* .noborder */
|
||||
table.basic tr.noborder > td:first-child{ border-left: 1px solid transparent; }
|
||||
table.basic tr:hover td{ background-color: #fff; }
|
||||
body.trHoverActivated table.basic tr:hover td{ background-color: #fff; }
|
||||
|
||||
/* .transparentbg */
|
||||
table.basic tr.transparentbg > td{ background-color: transparent; }
|
||||
|
@ -262,8 +262,8 @@ select.active + .valider_action{
|
|||
}
|
||||
|
||||
/* tr@hover */
|
||||
tr:hover td select.active + .valider_action,
|
||||
tr:hover td input.active + .valider_action{
|
||||
body.trHoverActivated tr:hover td select.active + .valider_action,
|
||||
body.trHoverActivated tr:hover td input.active + .valider_action{
|
||||
border-color: #fff;
|
||||
background-image: url(../src/validate@hover.svg);
|
||||
color: #fff;
|
||||
|
|
|
@ -33,7 +33,7 @@ $notifNotifNum = 5;
|
|||
<script type='text/javascript' src='js/dragndrop.js' ></script> <!-- Gestion des raccourcis clavier -->
|
||||
|
||||
</head>
|
||||
<body><!-- CORPS DE LA PAGE -->
|
||||
<body class='trHoverActivated_'><!-- CORPS DE LA PAGE -->
|
||||
|
||||
<?php
|
||||
if( $_SESSION['identifiant'] != null ){
|
||||
|
|
Loading…
Reference in New Issue