Modification de .valider_action, devenu plus explicite (textuel & non simplement symbolique)
This commit is contained in:
parent
76f17132bd
commit
27cb3b7c13
|
@ -234,21 +234,40 @@ td select > option{ padding: 0; }
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: 2em;
|
margin-left: 2em;
|
||||||
margin-top: -.2em;
|
margin-top: -.2em;
|
||||||
width: 1.5em;
|
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
|
padding: 0 .7em 0 1.3em;
|
||||||
|
|
||||||
|
|
||||||
|
/* border */
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid #2dcc70;
|
||||||
|
|
||||||
/* background */
|
/* background */
|
||||||
background: transparent center center no-repeat;
|
background: transparent center left .2em no-repeat;
|
||||||
background-size: 90% auto;
|
background-size: 1em auto;
|
||||||
|
|
||||||
|
/* foreground */
|
||||||
|
color: #2dcc70;
|
||||||
|
line-height: 1.5em;
|
||||||
|
|
||||||
/* extra */
|
/* extra */
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* bouton validation */
|
/* @active */
|
||||||
select.active + .valider_action{ display: inline-block; background-image: url(../src/validate.svg); }
|
input.active + .valider_action,
|
||||||
tr:hover td select.active + .valider_action{ background-image: url(../src/validate@hover.svg); }
|
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 */
|
||||||
.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; }
|
.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); }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -352,7 +352,7 @@ elseif( permission('teacher') ){ // si enseignant et qu'un contrôle est spécif
|
||||||
else // sinon on laisse le champ vide
|
else // sinon on laisse le champ vide
|
||||||
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
|
echo "<input class='saisie_note' data-ctrl='".$answer->controle['id']."' type='number' step='.25' min='0' max='".$answer->controle['base']."' placeholder='Note'>";
|
||||||
|
|
||||||
echo "<div class='valider_action' data-info='confirmer'></div>";
|
echo "<div class='valider_action'>enregistrer</div>";
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
|
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
|
@ -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
|
else // s'il s'agit d'un autre groupe, c'est normal
|
||||||
echo "<option value='".$groupemodif['nom']."'>".$groupemodif['nom']."</option>";
|
echo "<option value='".$groupemodif['nom']."'>".$groupemodif['nom']."</option>";
|
||||||
echo '</select>';
|
echo '</select>';
|
||||||
echo "<div class='valider_action' data-info='cliquer pour valider'></div>";
|
echo "<div class='valider_action'>déplacer</div>";
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
fit-margin-right="0"
|
fit-margin-right="0"
|
||||||
fit-margin-bottom="0"
|
fit-margin-bottom="0"
|
||||||
inkscape:zoom="1.3244222"
|
inkscape:zoom="1.3244222"
|
||||||
inkscape:cx="410.94807"
|
inkscape:cx="264.4691"
|
||||||
inkscape:cy="117.90095"
|
inkscape:cy="117.90095"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="0"
|
||||||
inkscape:window-y="24"
|
inkscape:window-y="24"
|
||||||
|
@ -55,5 +55,5 @@
|
||||||
transform="translate(-17.600012,-17.6)" /><polygon
|
transform="translate(-17.600012,-17.6)" /><polygon
|
||||||
points="170.4,436.6 264.1,530.3 447.2,347.3 416,316 264.1,467.8 201.6,405.3 "
|
points="170.4,436.6 264.1,530.3 447.2,347.3 416,316 264.1,467.8 201.6,405.3 "
|
||||||
id="polygon5"
|
id="polygon5"
|
||||||
style="fill:#666666"
|
style="fill:#2dcc70;fill-opacity:1"
|
||||||
transform="translate(-17.600012,-17.6)" /></svg>
|
transform="translate(-17.600012,-17.6)" /></svg>
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue