- [x] [container.scss] Icone dans bouton quand succes sur l'operation
This commit is contained in:
parent
3100c1cca0
commit
5cf48d4dcb
|
@ -11,4 +11,12 @@ $error-color: #cc5857;
|
||||||
$form-valid-color: #27a560;
|
$form-valid-color: #27a560;
|
||||||
$form-neutral-color: #2193e6;
|
$form-neutral-color: #2193e6;
|
||||||
$form-search-color: #5630ed;
|
$form-search-color: #5630ed;
|
||||||
$form-invalid-color: darken($theme-color, 5);
|
$form-invalid-color: #d52918;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// POUR RESOURCE_DISPATCHER
|
||||||
|
$rd-form-valid-color: '27a560';
|
||||||
|
$rd-form-neutral-color: '2193e6';
|
||||||
|
$rd-form-search-color: '5630ed';
|
||||||
|
$rd-form-invalid-color: 'd52918';
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -419,6 +419,33 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Boutons quand action validee
|
||||||
|
&.invalid > button.active,
|
||||||
|
button.invalid.active,
|
||||||
|
button.active{
|
||||||
|
background: url('/f/svg/active/st/container/'+$rd-form-invalid-color) center center no-repeat;
|
||||||
|
background-size: 1em auto;
|
||||||
|
|
||||||
|
color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
button.valid.active,
|
||||||
|
&.valid > button.active{
|
||||||
|
background-image: url('/f/svg/active/st/container/'+$rd-form-valid-color);
|
||||||
|
}
|
||||||
|
button.neutral.active,
|
||||||
|
&.neutral > button.active{
|
||||||
|
background-image: url('/f/svg/active/st/container/'+$rd-form-neutral-color);
|
||||||
|
}
|
||||||
|
button.search.active,
|
||||||
|
&.search > button.active{
|
||||||
|
background-image: url('/f/svg/active/st/container/'+$rd-form-search-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// "OU" separant les boutons
|
// "OU" separant les boutons
|
||||||
hr.OR[data-label]{
|
hr.OR[data-label]{
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
version="1.1"
|
||||||
|
width="32"
|
||||||
|
height="32"
|
||||||
|
viewBox="0 0 32 32"
|
||||||
|
id="svg2"
|
||||||
|
xml:space="preserve"><metadata
|
||||||
|
id="metadata14"><rdf:RDF><cc:Work
|
||||||
|
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||||
|
id="defs12" /><g
|
||||||
|
transform="matrix(2.1052632,0,0,2.1052632,-17.684211,-13.221054)"
|
||||||
|
id="Guides__x26__Forms" /><g
|
||||||
|
transform="matrix(2.1052632,0,0,2.1052632,-17.684211,-17.684211)"
|
||||||
|
id="Icons"
|
||||||
|
style="fill:#ffffff"><g
|
||||||
|
id="g6"
|
||||||
|
style="fill:#ffffff"><polygon
|
||||||
|
points="14.054,21.48 23.6,11.934 22.186,10.52 14.054,18.652 9.814,14.411 8.4,15.825 "
|
||||||
|
id="stylisable"
|
||||||
|
style="fill:#ffffff" /></g></g></svg>
|
After Width: | Height: | Size: 1.1 KiB |
3
todo.md
3
todo.md
|
@ -7,8 +7,7 @@
|
||||||
############
|
############
|
||||||
# EN COURS #
|
# EN COURS #
|
||||||
############
|
############
|
||||||
|
- [x] [container.scss] Icone dans bouton quand succes sur l'operation
|
||||||
- [ ] [container.scss] Icone dans bouton quand succes sur l'operation
|
|
||||||
|
|
||||||
- [ ] [view/users][view/js/users.js] Suppression avec recherche comme pour la modification
|
- [ ] [view/users][view/js/users.js] Suppression avec recherche comme pour la modification
|
||||||
- [ ] [view/machines][view/js/machines.js] Suppression avec recherche comme pour la modification
|
- [ ] [view/machines][view/js/machines.js] Suppression avec recherche comme pour la modification
|
||||||
|
|
|
@ -27,7 +27,6 @@ var section = {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* [1] view -> AFFICHAGE DES UTILISATEURS
|
/* [1] view -> AFFICHAGE DES UTILISATEURS
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
if( section.view.element != null ){
|
if( section.view.element != null ){
|
||||||
|
|
Loading…
Reference in New Issue