diff --git a/css/global.css b/css/global.css index 282d102..35055ec 100755 --- a/css/global.css +++ b/css/global.css @@ -234,21 +234,40 @@ td select > option{ padding: 0; } position: absolute; margin-left: 2em; margin-top: -.2em; - width: 1.5em; height: 1.5em; + padding: 0 .7em 0 1.3em; + + + /* border */ + border-radius: 3px; + border: 1px solid #2dcc70; /* background */ - background: transparent center center no-repeat; - background-size: 90% auto; + background: transparent center left .2em no-repeat; + background-size: 1em auto; + + /* foreground */ + color: #2dcc70; + line-height: 1.5em; /* extra */ cursor: pointer; } -/* bouton validation */ -select.active + .valider_action{ display: inline-block; background-image: url(../src/validate.svg); } -tr:hover td select.active + .valider_action{ background-image: url(../src/validate@hover.svg); } +/* @active */ +input.active + .valider_action, +select.active + .valider_action{ + display: inline-block; + background-image: url(../src/validate.svg); +} +/* tr@hover */ +tr:hover td select.active + .valider_action, +tr:hover td input.active + .valider_action{ + border-color: #fff; + background-image: url(../src/validate@hover.svg); + color: #fff; +} /* saisie note */ .saisie_note{ @@ -266,10 +285,6 @@ tr:hover td select.active + .valider_action{ background-image: url(../src/valida .saisie_note:focus{ border-color: #999; } -/* bouton validation */ -input.saisie_note.active + .valider_action{ display: inline-block; background-image: url(../src/validate.svg); } -tr:hover td input.saisie_note.active + .valider_action{ background-image: url(../src/validate@hover.svg); } - diff --git a/page/career.php b/page/career.php index 51e4b60..4ff6a13 100755 --- a/page/career.php +++ b/page/career.php @@ -352,7 +352,7 @@ elseif( permission('teacher') ){ // si enseignant et qu'un contrôle est spécif else // sinon on laisse le champ vide echo ""; - echo "
"; + echo "
enregistrer
"; echo ""; echo ""; diff --git a/page/groups.php b/page/groups.php index 39cbbea..cff6cd9 100755 --- a/page/groups.php +++ b/page/groups.php @@ -535,7 +535,7 @@ if( permission('admin') ){ // si l'utilisateur est connecté et que c'est un adm else // s'il s'agit d'un autre groupe, c'est normal echo ""; echo ''; - echo "
"; + echo "
déplacer
"; echo ''; echo ''; } diff --git a/src/validate.svg b/src/validate.svg index a6082aa..fedf377 100755 --- a/src/validate.svg +++ b/src/validate.svg @@ -37,7 +37,7 @@ fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="1.3244222" - inkscape:cx="410.94807" + inkscape:cx="264.4691" inkscape:cy="117.90095" inkscape:window-x="0" inkscape:window-y="24" @@ -55,5 +55,5 @@ transform="translate(-17.600012,-17.6)" /> \ No newline at end of file