css_ok
This commit is contained in:
parent
27cd5703d8
commit
8d22c62753
@ -330,10 +330,6 @@ body {
|
|||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-process {
|
|
||||||
background-color: var(--accent-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#message-input {
|
#message-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
@ -796,7 +796,17 @@ class ChatElement extends HTMLElement {
|
|||||||
|
|
||||||
// Si le processus est dans notre Set, ajouter la classe my-process
|
// Si le processus est dans notre Set, ajouter la classe my-process
|
||||||
if (this.userProcessSet && this.userProcessSet.has(oneProcess)) {
|
if (this.userProcessSet && this.userProcessSet.has(oneProcess)) {
|
||||||
li.style.backgroundColor = 'var(--accent-color)';
|
li.style.cssText = `
|
||||||
|
background-color: var(--accent-color);
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
cursor: pointer;
|
||||||
|
`;
|
||||||
|
li.onmouseover = () => {
|
||||||
|
li.style.backgroundColor = 'var(--accent-color-hover)';
|
||||||
|
};
|
||||||
|
li.onmouseout = () => {
|
||||||
|
li.style.backgroundColor = 'var(--accent-color)';
|
||||||
|
};
|
||||||
console.log("✅ Processus trouvé dans le set:", oneProcess);
|
console.log("✅ Processus trouvé dans le set:", oneProcess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user