Hansimov commited on
Commit
f1bcc11
1 Parent(s): c60e6fd

:zap: [Enhance] Replace background from gradient image to color to adaptive dark theme

Browse files
Files changed (1) hide show
  1. css/default.css +13 -8
css/default.css CHANGED
@@ -9,7 +9,8 @@
9
  }
10
 
11
  body {
12
- background-image: linear-gradient(90deg, #eef3ff, #ecf1ff);
 
13
  }
14
 
15
  .message-user,
@@ -22,34 +23,38 @@ body {
22
  }
23
 
24
  .message-user {
25
- background-image: linear-gradient(-45deg, #f6f8fe, #e9efff);
 
26
  }
27
  .message-user .role-displayer {
28
- color: #1679db;
29
  }
30
 
31
  .message-assistant {
32
- background-image: linear-gradient(-45deg, #f4f6fe, #ecedff);
 
33
  }
34
  .message-assistant .role-displayer {
35
  color: #d03afe;
36
  }
37
 
38
  .inferring {
39
- background-image: linear-gradient(-45deg, #f6f8fe, #fff5e5);
 
40
  }
41
 
42
  #user-interactions {
43
  box-shadow: 0px 2px 8px 0px rgba(122, 122, 122, 0.4);
44
- background-image: linear-gradient(-45deg, #eef3ff, #e9efff);
 
45
  border-radius: 10px;
46
  }
47
 
48
  #chat-history-sidebar {
49
  box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
50
- background-image: linear-gradient(-45deg, #eef3ff, #e9efff);
 
51
  border-width: 0px;
52
- opacity: 0.8;
53
  }
54
 
55
  /* Adaptation for mobile */
 
9
  }
10
 
11
  body {
12
+ /* background-image: linear-gradient(90deg, #eef3ff, #ecf1ff); */
13
+ background-color: #ecf1ff;
14
  }
15
 
16
  .message-user,
 
23
  }
24
 
25
  .message-user {
26
+ /* background-image: linear-gradient(-45deg, #f6f8fe, #e9efff); */
27
+ background-color: #e9fbff;
28
  }
29
  .message-user .role-displayer {
30
+ color: #0f74da;
31
  }
32
 
33
  .message-assistant {
34
+ /* background-image: linear-gradient(-45deg, #f4f6fe, #ecedff); */
35
+ background-color: #ecedff;
36
  }
37
  .message-assistant .role-displayer {
38
  color: #d03afe;
39
  }
40
 
41
  .inferring {
42
+ /* background-image: linear-gradient(-45deg, #f6f8fe, #fff5e5); */
43
+ background-color: #fff5e5;
44
  }
45
 
46
  #user-interactions {
47
  box-shadow: 0px 2px 8px 0px rgba(122, 122, 122, 0.4);
48
+ /* background-image: linear-gradient(-45deg, #eef3ff, #e9efff); */
49
+ background-color: #e9efff;
50
  border-radius: 10px;
51
  }
52
 
53
  #chat-history-sidebar {
54
  box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
55
+ /* background-image: linear-gradient(-45deg, #eef3ff, #e9efff); */
56
+ background-color: rgba(233, 239, 255, 0.6);
57
  border-width: 0px;
 
58
  }
59
 
60
  /* Adaptation for mobile */