Skip to content

Commit 73d127b

Browse files
css lots of css
1 parent 52ca3c3 commit 73d127b

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

chat-ui-quince/index.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,7 @@ <h2 class="sidebar-title">Your assets</h2>
7777
<div class="input-container">
7878
<textarea id="message-input" rows="2" placeholder="Type your command..."></textarea>
7979
<div id="chat-buttons">
80-
<!-- Microphone Button for Voice Input -->
81-
<!-- <button id="voice-btn-old" type="button"> 🎤</button> -->
82-
<button id="voice-btn">
83-
<svg fill="#000000" width="32px" height="32px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,15a4,4,0,0,0,4-4V5A4,4,0,0,0,8,5v6A4,4,0,0,0,12,15ZM10,5a2,2,0,0,1,4,0v6a2,2,0,0,1-4,0Zm10,6a1,1,0,0,0-2,0A6,6,0,0,1,6,11a1,1,0,0,0-2,0,8,8,0,0,0,7,7.93V21H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2H13V18.93A8,8,0,0,0,20,11Z" stroke="currentColor"/></svg>
84-
<div id="voice-btn-text"></div>
85-
</button>
86-
87-
<!-- <button id="read-out-loud-btn"><img src="speaker-disabled.png" alt="Read Out Loud" id="speaker-icon"></button> -->
88-
80+
8981
<div class="read-out-loud-btn">
9082
<div id="read-out-loud-btn-enabled">
9183
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
@@ -128,6 +120,11 @@ <h2 class="sidebar-title">Your assets</h2>
128120
</div>
129121
</div>
130122

123+
<button id="voice-btn">
124+
<svg fill="#000000" width="32px" height="32px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,15a4,4,0,0,0,4-4V5A4,4,0,0,0,8,5v6A4,4,0,0,0,12,15ZM10,5a2,2,0,0,1,4,0v6a2,2,0,0,1-4,0Zm10,6a1,1,0,0,0-2,0A6,6,0,0,1,6,11a1,1,0,0,0-2,0,8,8,0,0,0,7,7.93V21H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2H13V18.93A8,8,0,0,0,20,11Z" stroke="currentColor"/></svg>
125+
<div id="voice-btn-text"></div>
126+
</button>
127+
131128
<div id="send-btn" type="button">
132129
<svg id="button-arrow" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" class="stroke-[2] relative">
133130
<path d="M5 11L12 4M12 4L19 11M12 4V21" stroke="currentColor"></path>

chat-ui-quince/src/style.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,13 @@ body {
130130
}
131131

132132
#chat-buttons {
133-
height: 50px;
133+
height: 60px;
134+
width: 100%;
134135
}
135136

136137
#voice-btn, .read-out-loud-btn, #send-btn {
137-
width: 30px; /* Match width of send button */
138-
height: 30px; /* Match height of send button */
138+
width: 40px; /* Match width of send button */
139+
height: 40px; /* Match height of send button */
139140
display: flex; /* Use flex to center the icon inside */
140141
justify-content: center;
141142
align-items: center;
@@ -144,7 +145,7 @@ body {
144145
border: none;
145146
cursor: pointer;
146147
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
147-
padding: 12px; /* Some padding to make the button larger */
148+
/*padding: 12px; /* Some padding to make the button larger */
148149
}
149150

150151
#send-btn {
@@ -168,17 +169,17 @@ body {
168169

169170
.read-out-loud-btn {
170171
position: absolute;
171-
left: 40px;
172+
left: 70px;
172173
bottom: 20px;
173174
}
174175

175-
#speaker-icon {
176-
width: 20px; /* Match width of send button */
177-
height: 20px;
176+
#read-out-loud-btn-disabled {
177+
display: none;
178178
}
179179

180180

181181

182+
182183
.disclaimer {
183184
font-size: 12px;
184185
color: #666;

0 commit comments

Comments
 (0)