1
1
/* CSS for chat container */
2
2
.chat-container {
3
- height : calc (100vh - 60px ); /* Set height to viewport height - 60px for chat input and submit button */
4
- overflow-y : scroll; /* Enable vertical scrolling */
3
+ height : calc (100vh - 60px );
4
+ overflow-y : scroll;
5
5
padding : 20px ;
6
- background-color : # f3f3f3 ;
7
- box-sizing : border-box; /* Fix box-sizing to prevent layout issues */
6
+ background-color : # 333 ; /* Update background color to dark */
7
+ box-sizing : border-box;
8
8
}
9
9
10
10
/* CSS for chat messages */
11
11
.chat-messages {
12
12
display : flex;
13
13
flex-direction : column;
14
14
gap : 10px ;
15
- overflow-y : auto; /* Enable auto-scroll for messages */
15
+ overflow-y : auto;
16
16
}
17
17
18
18
/* CSS for chat message */
23
23
.message-role {
24
24
font-weight : bold;
25
25
margin-right : 5px ;
26
+ color : # fff ; /* Update text color to white */
26
27
}
27
28
28
29
.message-content {
29
30
padding : 10px ;
30
31
border-radius : 5px ;
32
+ background-color : # 444 ; /* Update background color to darker shade */
33
+ color : # fff ; /* Update text color to white */
31
34
}
32
35
33
36
/* CSS for user message */
58
61
align-items : center;
59
62
gap : 10px ;
60
63
padding : 20px ;
61
- background-color : # f3f3f3 ;
62
- border-top : 1px solid # ddd ;
63
- box-sizing : border-box; /* Fix box-sizing to prevent layout issues */
64
- position : fixed; /* Fix position to bottom of viewport */
64
+ background-color : # 222 ; /* Update background color to darker shade */
65
+ border-top : 1px solid # 444 ; /* Update border color to darker shade */
66
+ box-sizing : border-box;
67
+ position : fixed;
65
68
bottom : 0 ;
66
- width : 100% ; /* Set width to 100% to cover the entire viewport */
69
+ width : 100% ;
67
70
}
68
71
69
72
.input-field {
70
73
flex-grow : 1 ;
71
74
padding : 10px ;
72
75
border : none;
73
76
border-radius : 3px ;
77
+ background-color : # 444 ; /* Update background color to darker shade */
78
+ color : # fff ; /* Update text color to white */
74
79
}
75
80
76
81
.submit-button {
93
98
background-color : # ff6b6b ;
94
99
color : # fff ;
95
100
}
101
+
102
+ /* App.css */
103
+ .model-dropdown {
104
+ /* Add styles for dark mode */
105
+ background-color : # 222 ;
106
+ color : # fff ;
107
+ border : none;
108
+ padding : 10px ;
109
+ }
110
+
111
+ .model-dropdown select {
112
+ /* Add styles for dark mode */
113
+ background-color : # 444 ;
114
+ color : # fff ;
115
+ border : none;
116
+ outline : none;
117
+ cursor : pointer;
118
+ width : 100% ;
119
+ }
0 commit comments