Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
•
7f7dd9f
1
Parent(s):
0a93dc2
fixed error where window wasn't hidden
Browse files
app.py
CHANGED
@@ -18,15 +18,16 @@ css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;
|
|
18 |
"background-color:#aaa}.message.svelte-a99nd8.svelte-a99nd8{" \
|
19 |
"padding:15px;position:relative}.user.svelte-a99nd8.svelte-a99nd8{" \
|
20 |
"margin-right:10px}.bot.svelte-a99nd8.svelte-a99nd8{" \
|
21 |
-
"padding-left:15px;margin-left:10px}.bot.svelte-a99nd8.svelte-a99nd8
|
22 |
-
".user.svelte-a99nd8.svelte-a99nd8
|
23 |
"content:\"\";width:10px;height:10px;position:absolute;bottom:-1px;border:1px solid var(" \
|
24 |
-
"--color-border-accent);background-color:var(--color-accent-soft)}.bot.svelte-a99nd8.svelte-a99nd8
|
25 |
-
"left:-10px;border-right:0}.user.svelte-a99nd8.svelte-a99nd8
|
26 |
"background-color:#fff;min-height:50px!important}#component-48,#component-51{" \
|
27 |
"position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(" \
|
28 |
"-50%);width:50%;height:50vh;padding:80px 20px 20px;background-color:#fff;border:1px solid " \
|
29 |
-
"#002366}#component-51{display:flex;flex-direction:column}#component-51
|
|
|
30 |
"flex-grow:1}#component-49{position:initial;background-image:url(" \
|
31 |
"\"file/img/map.jpg\");background-position:center;background-repeat:no-repeat;background-size:contain" \
|
32 |
"}#component-50,#component-57{position:absolute;top:20px;right:20px;width:44px;height:44px;min-width:44px;min" \
|
|
|
18 |
"background-color:#aaa}.message.svelte-a99nd8.svelte-a99nd8{" \
|
19 |
"padding:15px;position:relative}.user.svelte-a99nd8.svelte-a99nd8{" \
|
20 |
"margin-right:10px}.bot.svelte-a99nd8.svelte-a99nd8{" \
|
21 |
+
"padding-left:15px;margin-left:10px}.bot.svelte-a99nd8.svelte-a99nd8:before," \
|
22 |
+
".user.svelte-a99nd8.svelte-a99nd8:after{" \
|
23 |
"content:\"\";width:10px;height:10px;position:absolute;bottom:-1px;border:1px solid var(" \
|
24 |
+
"--color-border-accent);background-color:var(--color-accent-soft)}.bot.svelte-a99nd8.svelte-a99nd8:before{" \
|
25 |
+
"left:-10px;border-right:0}.user.svelte-a99nd8.svelte-a99nd8:after{right:-10px;border-left:0}textarea{" \
|
26 |
"background-color:#fff;min-height:50px!important}#component-48,#component-51{" \
|
27 |
"position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(" \
|
28 |
"-50%);width:50%;height:50vh;padding:80px 20px 20px;background-color:#fff;border:1px solid " \
|
29 |
+
"#002366}#component-51{display:flex;flex-direction:column}#component-51.hide.svelte-1btyfsc{" \
|
30 |
+
"display:none}#component-51:before{position:absolute;top:20px;left:20px}#component-51>:not(:last-child){" \
|
31 |
"flex-grow:1}#component-49{position:initial;background-image:url(" \
|
32 |
"\"file/img/map.jpg\");background-position:center;background-repeat:no-repeat;background-size:contain" \
|
33 |
"}#component-50,#component-57{position:absolute;top:20px;right:20px;width:44px;height:44px;min-width:44px;min" \
|
style.css
CHANGED
@@ -57,7 +57,7 @@
|
|
57 |
margin-left: 10px;
|
58 |
}
|
59 |
|
60 |
-
.bot.svelte-a99nd8.svelte-a99nd8
|
61 |
content: \"\";
|
62 |
width: 10px;
|
63 |
height: 10px;
|
@@ -67,12 +67,12 @@
|
|
67 |
background-color: var(--color-accent-soft);
|
68 |
}
|
69 |
|
70 |
-
.bot.svelte-a99nd8.svelte-a99nd8
|
71 |
left: -10px;
|
72 |
border-right: 0;
|
73 |
}
|
74 |
|
75 |
-
.user.svelte-a99nd8.svelte-a99nd8
|
76 |
right: -10px;
|
77 |
border-left: 0;
|
78 |
}
|
@@ -99,6 +99,17 @@ textarea {
|
|
99 |
flex-direction: column;
|
100 |
}
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
#component-51 > *:not(:last-child) {
|
103 |
flex-grow: 1;
|
104 |
}
|
|
|
57 |
margin-left: 10px;
|
58 |
}
|
59 |
|
60 |
+
.bot.svelte-a99nd8.svelte-a99nd8:before, .user.svelte-a99nd8.svelte-a99nd8:after {
|
61 |
content: \"\";
|
62 |
width: 10px;
|
63 |
height: 10px;
|
|
|
67 |
background-color: var(--color-accent-soft);
|
68 |
}
|
69 |
|
70 |
+
.bot.svelte-a99nd8.svelte-a99nd8:before {
|
71 |
left: -10px;
|
72 |
border-right: 0;
|
73 |
}
|
74 |
|
75 |
+
.user.svelte-a99nd8.svelte-a99nd8:after {
|
76 |
right: -10px;
|
77 |
border-left: 0;
|
78 |
}
|
|
|
99 |
flex-direction: column;
|
100 |
}
|
101 |
|
102 |
+
#component-51.hide.svelte-1btyfsc {
|
103 |
+
display: none;
|
104 |
+
}
|
105 |
+
|
106 |
+
#component-51:before {
|
107 |
+
content: \"The Killer is: \";
|
108 |
+
position: absolute;
|
109 |
+
top: 20px;
|
110 |
+
left: 20px;
|
111 |
+
}
|
112 |
+
|
113 |
#component-51 > *:not(:last-child) {
|
114 |
flex-grow: 1;
|
115 |
}
|