AilexGPT commited on
Commit
ab499b2
1 Parent(s): 8029ab8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +88 -6
style.css CHANGED
@@ -2,7 +2,7 @@ body, html {
2
  height: 100%;
3
  margin: 0;
4
  font-family: 'Arial', sans-serif;
5
- background-color: #121212;
6
  color: white;
7
  }
8
 
@@ -12,11 +12,12 @@ body, html {
12
  top: 0;
13
  bottom: 0;
14
  width: 250px;
15
- background-color: #1f1f1f;
16
  display: flex;
17
  flex-direction: column;
18
  padding: 20px;
19
  box-sizing: border-box;
 
20
  }
21
 
22
  button {
@@ -26,18 +27,24 @@ button {
26
  padding: 10px 20px;
27
  margin-bottom: 10px;
28
  cursor: pointer;
 
 
 
29
  }
30
 
31
  button:hover {
32
- background-color: #444;
33
  }
34
 
35
  #dark-mode-toggle {
36
  margin-top: auto;
 
 
37
  }
38
 
39
  #dark-mode {
40
  accent-color: #4caf50;
 
41
  }
42
 
43
  #chat-interface {
@@ -48,21 +55,27 @@ button:hover {
48
  #conversation-history {
49
  height: calc(100vh - 180px);
50
  overflow-y: auto;
51
- background-color: #333;
52
  padding: 10px;
53
  margin-bottom: 20px;
 
 
54
  }
55
 
56
  #message-input-area {
57
  display: flex;
 
 
 
58
  }
59
 
60
  #message-input {
61
  flex-grow: 1;
62
  padding: 10px;
63
- background-color: #333;
64
  border: none;
65
  color: white;
 
 
66
  }
67
 
68
  #send-message {
@@ -70,16 +83,22 @@ button:hover {
70
  border: none;
71
  padding: 0 20px;
72
  cursor: pointer;
 
 
73
  }
74
 
75
  #send-message:hover {
76
- background-color: #66bb6a;
77
  }
78
 
79
  footer {
80
  display: flex;
81
  justify-content: space-between;
82
  align-items: center;
 
 
 
 
83
  }
84
 
85
  #model-version-label, #settings-toggle label {
@@ -89,3 +108,66 @@ footer {
89
  #footer input[type="checkbox"] {
90
  accent-color: #4caf50;
91
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  height: 100%;
3
  margin: 0;
4
  font-family: 'Arial', sans-serif;
5
+ background: linear-gradient(145deg, #121212, #1d1d1d);
6
  color: white;
7
  }
8
 
 
12
  top: 0;
13
  bottom: 0;
14
  width: 250px;
15
+ background: linear-gradient(145deg, #1f1f1f, #2b2b2b);
16
  display: flex;
17
  flex-direction: column;
18
  padding: 20px;
19
  box-sizing: border-box;
20
+ box-shadow: 3px 0px 10px rgba(0, 0, 0, 0.5);
21
  }
22
 
23
  button {
 
27
  padding: 10px 20px;
28
  margin-bottom: 10px;
29
  cursor: pointer;
30
+ transition: background-color 0.2s;
31
+ border-radius: 4px;
32
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
33
  }
34
 
35
  button:hover {
36
+ background: linear-gradient(145deg, #444, #555);
37
  }
38
 
39
  #dark-mode-toggle {
40
  margin-top: auto;
41
+ display: flex;
42
+ align-items: center;
43
  }
44
 
45
  #dark-mode {
46
  accent-color: #4caf50;
47
+ margin-left: auto;
48
  }
49
 
50
  #chat-interface {
 
55
  #conversation-history {
56
  height: calc(100vh - 180px);
57
  overflow-y: auto;
58
+ background: linear-gradient(145deg, #333, #424242);
59
  padding: 10px;
60
  margin-bottom: 20px;
61
+ border-radius: 4px;
62
+ box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
63
  }
64
 
65
  #message-input-area {
66
  display: flex;
67
+ border-radius: 4px;
68
+ background: #333;
69
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
70
  }
71
 
72
  #message-input {
73
  flex-grow: 1;
74
  padding: 10px;
 
75
  border: none;
76
  color: white;
77
+ background: transparent;
78
+ outline: none;
79
  }
80
 
81
  #send-message {
 
83
  border: none;
84
  padding: 0 20px;
85
  cursor: pointer;
86
+ border-radius: 0 4px 4px 0;
87
+ transition: background-color 0.2s;
88
  }
89
 
90
  #send-message:hover {
91
+ background: linear-gradient(145deg, #66bb6a, #4caf50);
92
  }
93
 
94
  footer {
95
  display: flex;
96
  justify-content: space-between;
97
  align-items: center;
98
+ padding: 10px;
99
+ background: #222;
100
+ border-radius: 4px;
101
+ box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
102
  }
103
 
104
  #model-version-label, #settings-toggle label {
 
108
  #footer input[type="checkbox"] {
109
  accent-color: #4caf50;
110
  }
111
+
112
+ /* Zusätzliche Glanzeffekte für die Inputs */
113
+ input[type="text"], input[type="checkbox"] {
114
+ border: 1px solid #555;
115
+ background-clip: padding-box;
116
+ }
117
+
118
+ /* Stil für Nachrichten im Chat */
119
+ .message {
120
+ margin: 10px;
121
+ padding: 10px;
122
+ border-radius: 8px;
123
+ position: relative;
124
+ display: inline-block;
125
+ max-width: 80%;
126
+ }
127
+
128
+ .message:before {
129
+ content: '';
130
+ position: absolute;
131
+ width: 0;
132
+ height: 0;
133
+ border-style: solid;
134
+ }
135
+
136
+ /* Nachrichten des Benutzers */
137
+ .message.user {
138
+ background: #4caf50;
139
+ align-self: flex-end;
140
+ }
141
+
142
+ .message.user:before {
143
+ right: -10px;
144
+ top: 10px;
145
+ border-width: 5px 0 5px 10px;
146
+ border-color: transparent transparent transparent #4caf50;
147
+ }
148
+
149
+ /* Nachrichten des Bots */
150
+ .message.bot {
151
+ background: #333;
152
+ align-self: flex-start;
153
+ }
154
+
155
+ .message.bot:before {
156
+ left: -10px;
157
+ top: 10px;
158
+ border-width: 5px 10px 5px 0;
159
+ border-color: transparent #333 transparent transparent;
160
+ }
161
+
162
+ /* Fehlermeldungen */
163
+ .message.error {
164
+ background: #ff6961;
165
+ }
166
+
167
+ .message.error:before {
168
+ left: -10px;
169
+ top: 10px;
170
+ border-width: 5px 10px 5px 0;
171
+ border-color: transparent #ff6961 transparent transparent;
172
+ }
173
+