Skip to content

Commit

Permalink
Change button colors (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsunnyzhao committed Jan 3, 2024
1 parent 2b92ab3 commit 8695112
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 deletions.
3 changes: 0 additions & 3 deletions frontend/src/pages/chat/Chat.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@
left: 7px;
top: 13px;
color: #FFFFFF;
border: 1px solid #D1D1D1;
border-radius: 4px;
z-index: 1;
}
Expand All @@ -173,7 +172,6 @@
left: 7px;
top: 66px;
color: #FFFFFF;
border: 1px solid #D1D1D1;
border-radius: 4px;
z-index: 1;
}
Expand All @@ -190,7 +188,6 @@
left: 7px;
top: 66px;
color: #FFFFFF;
border: 1px solid #D1D1D1;
border-radius: 4px;
z-index: 1;
}
Expand Down
14 changes: 11 additions & 3 deletions frontend/src/pages/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,15 @@ const Chat = () => {
icon: {
color: '#FFFFFF',
},
iconDisabled: {
color: "#BDBDBD !important"
},
root: {
color: '#FFFFFF',
background: "radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)"
},
rootDisabled: {
background: "#BDBDBD"
background: "#F0F0F0"
}
}}
className={styles.newChatIcon}
Expand All @@ -679,11 +682,16 @@ const Chat = () => {
icon: {
color: '#FFFFFF',
},
iconDisabled: {
color: "#BDBDBD !important" ,
},
root: {
color: '#FFFFFF',
background: disabledButton() ? "#BDBDBD" : "radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)",
cursor: disabledButton() ? "" : "pointer"
background: "radial-gradient(109.81% 107.82% at 100.1% 90.19%, #0F6CBD 33.63%, #2D87C3 70.31%, #8DDDD8 100%)",
},
rootDisabled: {
background: "#F0F0F0"
}
}}
className={appStateContext?.state.isCosmosDBAvailable?.status !== CosmosDBStatus.NotConfigured ? styles.clearChatBroom : styles.clearChatBroomNoCosmos}
iconProps={{ iconName: 'Broom' }}
Expand Down
24 changes: 12 additions & 12 deletions static/assets/index-d0e2f128.js → static/assets/index-5453444a.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/assets/index-9557690e.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8695112

Please sign in to comment.