File size: 3,327 Bytes
10ba43b
 
9183624
10ba43b
ab499b2
10ba43b
 
 
 
 
 
 
 
 
ab499b2
10ba43b
 
9183624
10ba43b
ab499b2
9183624
 
10ba43b
 
 
 
 
9183624
10ba43b
ab499b2
 
 
10ba43b
 
 
ab499b2
10ba43b
 
 
 
ab499b2
 
10ba43b
 
 
 
ab499b2
10ba43b
 
 
 
 
 
 
 
 
 
ab499b2
10ba43b
 
ab499b2
 
9183624
 
10ba43b
 
ab499b2
 
 
10ba43b
 
 
 
9183624
10ba43b
 
ab499b2
 
9183624
 
10ba43b
 
9183624
10ba43b
03dcf00
ab499b2
 
03dcf00
 
10ba43b
ab499b2
10ba43b
 
 
 
 
 
ab499b2
 
 
 
10ba43b
 
 
 
 
 
 
 
03dcf00
ab499b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(145deg, #121212, #1d1d1d);
    color: white;
}

#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    background: linear-gradient(145deg, #1f1f1f, #2b2b2b);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 3px 0px 10px rgba(0, 0, 0, 0.5);
}

button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

button:hover {
    background: linear-gradient(145deg, #444, #555);
}

#dark-mode-toggle {
    margin-top: auto;
    display: flex;
    align-items: center;
}

#dark-mode {
    accent-color: #4caf50;
    margin-left: auto;
}

#chat-interface {
    margin-left: 250px;
    padding: 20px;
}

#conversation-history {
    height: calc(100vh - 180px);
    overflow-y: auto;
    background: linear-gradient(145deg, #333, #424242);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#message-input-area {
    display: flex;
    border-radius: 4px;
    background: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#message-input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    color: white;
    background: transparent;
    outline: none;
}

#send-message {
    background-color: #4caf50;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.2s;
}

#send-message:hover {
    background: linear-gradient(145deg, #66bb6a, #4caf50);
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #222;
    border-radius: 4px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
}

#model-version-label, #settings-toggle label {
    margin-right: 10px;
}

#footer input[type="checkbox"] {
    accent-color: #4caf50;
}

/* Zusätzliche Glanzeffekte für die Inputs */
input[type="text"], input[type="checkbox"] {
    border: 1px solid #555;
    background-clip: padding-box;
}

/* Stil für Nachrichten im Chat */
.message {
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    max-width: 80%;
}

.message:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Nachrichten des Benutzers */
.message.user {
    background: #4caf50;
    align-self: flex-end;
}

.message.user:before {
    right: -10px;
    top: 10px;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #4caf50;
}

/* Nachrichten des Bots */
.message.bot {
    background: #333;
    align-self: flex-start;
}

.message.bot:before {
    left: -10px;
    top: 10px;
    border-width: 5px 10px 5px 0;
    border-color: transparent #333 transparent transparent;
}

/* Fehlermeldungen */
.message.error {
    background: #ff6961;
}

.message.error:before {
    left: -10px;
    top: 10px;
    border-width: 5px 10px 5px 0;
    border-color: transparent #ff6961 transparent transparent;
}