diff --git a/smartassist/src/static/css/clientstyle.css b/smartassist/src/static/css/clientstyle.css index d4f966e..dac4374 100644 --- a/smartassist/src/static/css/clientstyle.css +++ b/smartassist/src/static/css/clientstyle.css @@ -61,7 +61,7 @@ h1 { border-color: #66afe9; /* Blue outline on focus */ } -button[onclick="sendMessage()"] { +button[onclick="window.frontendApi.sendMessage()"] { background-color: #4CAF50; /* Green */ border: none; color: white; @@ -75,11 +75,11 @@ button[onclick="sendMessage()"] { transition: background-color 0.3s; /* Smooth transition effect */ } -button[onclick="sendMessage()"]:hover { +button[onclick="window.frontendApi.sendMessage()"]:hover { background-color: #b2b2b2; /* Light Grey on hover */ } -button[onclick="sendMessage()"]:active { +button[onclick="window.frontendApi.sendMessage()"]:active { background-color: #6f6f6f; /* Dark Grey when clicked */ }