Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Jan 27, 2025
1 parent 48fbad6 commit ad7c838
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 55 deletions.
77 changes: 39 additions & 38 deletions LM-Kit-Maestro/UI/Razor/Components/Chat.razor
Original file line number Diff line number Diff line change
Expand Up @@ -88,41 +88,42 @@
{
if (ViewModel.ConversationListViewModel.CurrentConversation.IsEmpty)
{
<div id="empty-conversation" class="chat-element vertical-stack">
<div class="vertical-stack spacing-4">
<div class="welcome-message">
<b>Maestro</b> at your servicelets orchestrate something
amazing!
</div>
<div class="welcome-message">
Feel free to ask questions, explore ideas, or engage in meaningful conversations.

</div>
<div class="welcome-message">
Whether you need assistance, inspiration, or just some lighthearted chat, I'm here to
help.

</div>

</div>

<div class="vertical-stack" style="gap:12px;">
<div class="shortcut-instruction">
<MudText Typo="Typo.overline">
Press Enter to send a new message

</MudText>

</div>

<div class="shortcut-instruction">
<MudText Typo="Typo.overline">
Hold Shift + Enter to insert a new line

</MudText>

</div>
</div>
<div id="empty-chat">
<MudStack Class="chat-element align-self-center flex-1" Spacing="8">
<MudStack Spacing="2">
<div class="welcome-message">
<b>Maestro</b> at your servicelets orchestrate something
amazing!
</div>
<div class="welcome-message">
Feel free to ask questions, explore ideas, or engage in meaningful conversations.

</div>
<div class="welcome-message">
Whether you need assistance, inspiration, or just some lighthearted chat, I'm here to
help.

</div>

</MudStack>

<MudStack Spacing="4">
<div class="shortcut-instruction">
<MudText Typo="Typo.overline">
Press Enter to send a new message

</MudText>

</div>

<div class="shortcut-instruction">
<MudText Typo="Typo.overline">
Hold Shift + Enter to insert a new line

</MudText>
</div>
</MudStack>
</MudStack>
</div>
}
else
Expand All @@ -139,9 +140,9 @@
{
<button @onclick="OnScrollToEndButtonClicked"
class="round-button scroll-to-end-button">
<span>
<i class="fas fa-arrow-down"></i>
</span>
<span>
<i class="fas fa-arrow-down"></i>
</span>
</button>
}
</div>
Expand Down
23 changes: 6 additions & 17 deletions LM-Kit-Maestro/UI/Razor/Components/Chat.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,6 @@ body.mac .chat-element {
max-width: 1000px;
}

#empty-conversation {
height: 100%;
/* gap: 32px;
display: flex;
align-items: center;
height: 100%;
justify-content: center;
margin-inline: 0 auto;
width: 100%;
text-align: center;*/
}

#user-input {
padding-inline: 10px;
Expand All @@ -114,12 +103,6 @@ body.mac .chat-element {
color: var(--OnSurface);
}

.vertical-stack {
gap: 8px;
display: flex;
flex-direction: column;
}

.welcome-message {
color: var(--Outline);
text-align: center;
Expand All @@ -145,6 +128,12 @@ body.mac .chat-element {
}


#empty-chat{
background-color: yellow !important;
align-self: center;
display: flex;
flex-grow: 1;
}

#top-bar-center {
width: 100%;
Expand Down

0 comments on commit ad7c838

Please sign in to comment.