Fixat så att sänd-knappen faktiskt gör det den ska göra
This commit is contained in:
@@ -61,7 +61,7 @@ h1 {
|
|||||||
border-color: #66afe9; /* Blue outline on focus */
|
border-color: #66afe9; /* Blue outline on focus */
|
||||||
}
|
}
|
||||||
|
|
||||||
button[onclick="sendMessage()"] {
|
button[onclick="window.frontendApi.sendMessage()"] {
|
||||||
background-color: #4CAF50; /* Green */
|
background-color: #4CAF50; /* Green */
|
||||||
border: none;
|
border: none;
|
||||||
color: white;
|
color: white;
|
||||||
@@ -75,11 +75,11 @@ button[onclick="sendMessage()"] {
|
|||||||
transition: background-color 0.3s; /* Smooth transition effect */
|
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 */
|
background-color: #b2b2b2; /* Light Grey on hover */
|
||||||
}
|
}
|
||||||
|
|
||||||
button[onclick="sendMessage()"]:active {
|
button[onclick="window.frontendApi.sendMessage()"]:active {
|
||||||
background-color: #6f6f6f; /* Dark Grey when clicked */
|
background-color: #6f6f6f; /* Dark Grey when clicked */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user