Skip to content

Commit 952cae0

Browse files
Cursor hover style and Light dark color updated
1 parent 7191b13 commit 952cae0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/frontend/wwwroot/task/task.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,12 @@
228228

229229
if(isHumanClarificationRequestNull && taskMessageTextareaElement){
230230
taskMessageTextareaElement.setAttribute('disabled', true)
231-
taskMessageTextareaElement.style.backgroundColor = "lightgray"
231+
taskMessageTextareaElement.style.backgroundColor = "#efefef";
232+
taskMessageTextareaElement.style.cursor = 'not-allowed';
232233
} else {
233234
taskMessageTextareaElement.removeAttribute('disabled')
234235
taskMessageTextareaElement.style.backgroundColor = "white"
236+
taskMessageTextareaElement.style.cursor = '';
235237
}
236238
if(isHumanClarificationRequestNull && taskMessageAddButton){
237239
taskMessageAddButton.setAttribute('disabled', true)
@@ -242,9 +244,11 @@
242244
}
243245

244246
if(isHumanClarificationRequestNull && textInputContainer[0]){
245-
textInputContainer[0].style.backgroundColor = 'lightgray';
247+
textInputContainer[0].style.backgroundColor = '#efefef';
248+
textInputContainer[0].style.cursor = 'not-allowed';
246249
} else {
247250
textInputContainer[0].style.backgroundColor = 'white';
251+
textInputContainer[0].style.cursor = '';
248252
}
249253

250254
})

0 commit comments

Comments
 (0)