-
Notifications
You must be signed in to change notification settings - Fork 768
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Tailwind and NPM dependency from chat template (#5846)
Co-authored-by: Steve Sanderson <[email protected]>
- Loading branch information
1 parent
bab8a9b
commit 3640389
Showing
31 changed files
with
4,533 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...plates/src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/Chat.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.chat-container { | ||
position: sticky; | ||
bottom: 0; | ||
padding-left: 1.5rem; | ||
padding-right: 1.5rem; | ||
padding-top: 0.75rem; | ||
padding-bottom: 1.5rem; | ||
border-top-width: 1px; | ||
background-color: #F3F4F6; | ||
border-color: #E5E7EB; | ||
} |
8 changes: 4 additions & 4 deletions
8
...es/src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatCitation.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...rc/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatCitation.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,37 @@ | ||
.citation { | ||
display: inline-flex; | ||
padding-top: 0.5rem; | ||
padding-bottom: 0.5rem; | ||
padding-left: 0.75rem; | ||
padding-right: 0.75rem; | ||
margin-top: 1rem; | ||
margin-right: 1rem; | ||
border-bottom: 2px solid #a770de; | ||
gap: 0.5rem; | ||
border-radius: 0.25rem; | ||
font-size: 0.875rem; | ||
line-height: 1.25rem; | ||
background-color: #ffffff; | ||
} | ||
|
||
.citation[href]:hover { | ||
outline: 1px solid #865cb1; | ||
} | ||
|
||
.citation svg { | ||
width: 1.5rem; | ||
height: 1.5rem; | ||
} | ||
|
||
.citation:active { | ||
background-color: rgba(0,0,0,0.05); | ||
} | ||
|
||
.citation-content { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.citation-file { | ||
font-weight: 600; | ||
} |
7 changes: 3 additions & 4 deletions
7
...ates/src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatHeader.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.../src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatHeader.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.chat-header-container { | ||
position: sticky; | ||
top: 0; | ||
padding: 1.5rem; | ||
} | ||
|
||
.chat-header-controls { | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
.new-chat-icon { | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
color: rgb(55, 65, 81); | ||
} |
10 changes: 5 additions & 5 deletions
10
...lates/src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatInput.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...src/ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatMessageList.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
...ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatMessageList.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...ChatWithCustomData/ChatWithCustomData.Web/Components/Pages/Chat/ChatSuggestions.razor.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.suggestions { | ||
text-align: right; | ||
white-space: nowrap; | ||
gap: 0.5rem; | ||
justify-content: flex-end; | ||
flex-wrap: wrap; | ||
display: flex; | ||
margin-bottom: 0.75rem; | ||
} |
Oops, something went wrong.