Compare commits

...

3 Commits

Author SHA1 Message Date
0734cd75de feat: style send button 2025-05-01 01:13:22 +01:00
181e78e636 fix: improve french 2025-05-01 01:12:59 +01:00
1bc67c2fa9 feat: add input placeholder text 2025-05-01 01:00:40 +01:00
3 changed files with 6 additions and 20 deletions

View File

@ -22,7 +22,7 @@
<div id="input-panel-container"> <div id="input-panel-container">
<div id="input-panel" class="rounded-rectangle"> <div id="input-panel" class="rounded-rectangle">
<input id="textbox-input" type="text" onkeydown="pressSendButton()"></input> <input id="textbox-input" type="text" onkeydown="pressSendButton()" placeholder="Veuillez demandez-nous pour nous vous conseiller..."></input>
<button onclick="pressSendButton()"><i class="fa fa-arrow-right" style="font-size:2em"></i></button> <button onclick="pressSendButton()"><i class="fa fa-arrow-right" style="font-size:2em"></i></button>
</div> </div>
</div> </div>

View File

@ -8,6 +8,6 @@
], ],
"messages": "messages":
[ [
{ "character": 1, "text": "Bonjour, moi je m'appelle SNCF Conrad et je vais vous aider aujourd'hui. Veuillez envoyer-moi vos questions." } { "character": 1, "text": "Bonjour, moi je m'appelle SNCF Conrad et je vais vous aider aujourd'hui. Veuillez envoyez-nous vos questions." }
] ]
} }

View File

@ -229,8 +229,8 @@ button {
} }
button:hover { button:hover {
color: var(--light-cyan); color: var(--navy);
background-color: var(--onyx); background-color: var(--sky);
} }
#typing-indicator { #typing-indicator {
@ -246,25 +246,11 @@ button:hover {
} }
button { button {
background-color: var(--sky); color: var(--bluewhite);
color: var(--bluegrey);
margin: 0.5em; padding: 1em;
padding: 0;
flex-grow: 1;
right: 0; right: 0;
font-size: 1em; font-size: 1em;
border-width: 3px;
border-style: none;
}
button:hover {
color: var(--bluewhite);
background-color: var(--bluegrey);
border-color: var(--bluegrey);
border-width: 3px;
padding: 0;
border-style: solid;
} }
.message-status { .message-status {