.no-select{ user-select: none; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; -o-user-select: none; } .hidden{ display: none !important; } .center{ text-align: center; } /* liens basiques */ a{ color: #2dcc70; } /* @hover */ a:hover{ color: #8a8a8a; } /* .unstressed */ span.unstressed{ color: #aaa; } body.trHoverActivated tr:hover > td > span.unstressed{ color: #ddd; } span.stressed{ font-weight: bold; } thead.normal > tr > th{ font-weight: normal; } /* input dans import/export */ div.p.center input{ margin: .2em; padding: .8em; border-radius: 3px; border: 1px solid #989898; } .nomargin{ margin: 0 !important; } .nopadding{ padding: 0 !important; } input{ font-family: inherit; } /* même police pour les input */ /*************************/ /*** TITLE PERSONALISÉ ***/ /*************************/ #CONTAINER [data-info]:after{ content: attr(data-info); /* position */ /*display: block;*/ display: none; position: absolute; margin-left: 4em; padding: .3em; /* border */ border-radius: 3px; /* background */ background-color: #233342; /* foreground */ color: #fff; } /* INFO SURVOL */ #CONTAINER [data-info]:hover:after{ display: block; } /**********************/ /*** TABLEAU .BASIC ***/ /**********************/ /* STYLE "BASIC" DES TABLEAUX */ table.basic{ /* position */ width: 100%; margin-bottom: 0; /* border */ border-radius: 5px; border-spacing: 0; /*box-shadow: 0 0 4px #e3e3e3;*/ } table.basic.margin{ margin-bottom: 1em; } table.basic tr td, table.basic tr th, #DRAGNDROP td, #DRAGNDROP th{ /* position */ padding: 1.5em 1.5em; width: 25%; /* border */ /*border-width: 1px 0 0 0;*/ /*border-style: solid;*/ /*border-color: #e0e1e3;*/ /* backgroud */ background-color: #fff; /* foreground */ color: #4e4e4e; /* animation */ transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; /* extra */ cursor: default; } /* définition de la répartition des éléments en fonction du nombre de colonnes */ table.basic.col1 tr td, table.basic.col1 tr th{ width: 100%; } table.basic.col2 tr td, table.basic.col2 tr th{ width: 50%; } table.basic.col3 tr td, table.basic.col3 tr th{ width: 33%; } table.basic.col4 tr td, table.basic.col4 tr th{ width: 25%; } table.basic.col5 tr td, table.basic.col5 tr th{ width: 20%; } table.basic.col5 tr td, table.basic.col6 tr th{ width: 16%; } /* titre aligné à gauche */ table.basic th{ text-align: left; } /* sans background */ table.basic thead tr th{ background-color: transparent; } table.basic:nth-child(4n+0) tr > td:first-child { border-left: 10px solid #e63c54; } table.basic:nth-child(4n+1) tr > td:first-child { border-left: 10px solid #3c73e6; } table.basic:nth-child(4n+2) tr > td:first-child { border-left: 10px solid #e6983c; } table.basic:nth-child(4n+3) tr > td:first-child { border-left: 10px solid #2dcc70; } table.basic table.basic tr > td:first-child { border-left: 10px solid #9e9e9e; } /* @hover */ body.trHoverActivated table.basic tr:hover > td{ color: #fff; } 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; } 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; } body.trHoverActivated table.basic tr:hover td{ background-color: #fff; } /* .transparentbg */ table.basic tr.transparentbg > td{ background-color: transparent; } table.basic tr.transparentbg:hover > td{ background-color: transparent; } table.basic tr.transparentbg > td{ color: inherit; } /******************/ /*** PARAGRAPHS ***/ /******************/ #CONTAINER section > p, #CONTAINER section div.p{ /* position */ padding: 1em; margin: 1em; /* border */ border-radius: 3px; border: 1px solid #ddd; /* background */ background-color: #fff; } #CONTAINER section > p:hover{ box-shadow: 1px 1px 3px #ddd; } /*********************/ /*** LIENS BOUTONS ***/ /*********************/ span.link{ /* position */ padding: .3em .8em; /* border */ border-radius: 5px; border: 1px solid #ddd; box-shadow: inset 0 0 1px #f5f5f5; /* background */ background: #fff; /* foreground */ color: #333; } /* désactivation du curseur pointer pour les liens sans destination */ span.link:not(.inactive){ /* extra */ cursor: pointer; } span.link:hover:not(.inactive){ color: #000; } table.basic td > span.link{ background: #eee; } /*********************/ /*** SELECT/OPTION ***/ /*********************/ select{ /* position */ margin: 2em; padding: 0 1em; padding-right: 2em; /* border */ border-radius: 5px; border: 1px solid #2dcc70; /* background */ background: #fff url(../src/expand.svg) center right 1em no-repeat; background-size: auto .5em; /* foreground */ color: #2dcc70; line-height: 1em; /* for -webkit */ font-family: inherit; /* select */ -webkit-appearance:none; -moz-appearance:none; appearance:none; } /* select grisé => selection modules existants par exemple */ tr.grayscale select, select.grayscale{ border-color: #bdbdbd; background-image: url(../src/expand@grayscale.svg); color: #4e4e4e; } /* pour déplacement d'élève */ td select{ margin: -1em; padding: .5em; padding-right: 2em; } select > option{ /* position */ padding: 1em 0; /* background */ background-color: #fff; /* foreground */ color: #555; text-indent: 1em; } /* pour déplacement d'élève */ td select > option{ padding: 0; } /* correction padding du