From 194038a62f6fc961cb40e293e51620488e20a861 Mon Sep 17 00:00:00 2001 From: stonedDiscord <10584181+stonedDiscord@users.noreply.github.com> Date: Mon, 11 Jan 2021 16:51:24 +0100 Subject: add animal crossing chatbox --- webAO/client.html | 1 + webAO/styles/chatbox/acww.css | 102 ++++++++++++++++++++++++++++++ webAO/styles/chatbox/acww.svg | 1 + webAO/styles/chatbox/chatboxes.js | 1 + webAO/styles/chatbox/chatwaiting_acww.svg | 1 + 5 files changed, 106 insertions(+) create mode 100644 webAO/styles/chatbox/acww.css create mode 100644 webAO/styles/chatbox/acww.svg create mode 100644 webAO/styles/chatbox/chatwaiting_acww.svg diff --git a/webAO/client.html b/webAO/client.html index 6ab9dc5..29e9c2c 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -403,6 +403,7 @@ + diff --git a/webAO/styles/chatbox/acww.css b/webAO/styles/chatbox/acww.css new file mode 100644 index 0000000..9818b4e --- /dev/null +++ b/webAO/styles/chatbox/acww.css @@ -0,0 +1,102 @@ +.text_white { + color: #000; +} + +#client_chatcontainer { + display: block; + position: absolute; + bottom: 0; + left: 0; + height: 42%; + width: 100%; + filter: none; +} + +#client_name { + display: block; + position: absolute; + left: 11%; + top: 0; + height: 12%; + min-width: 11%; + font-size: 0.8em; + background: #d8f8a0; + color: #004000; + margin: 0; + padding-top: 0.4%; + padding-left: 1.955%; + padding-right: 1.955%; + border-color: #b0f818; + border-style: solid; + border-width: 0.3em 0.6em; + border-radius: 10%/50%; + box-shadow: 0 0.3em #70c020; + line-height: 100%; + z-index: 1; + font-family: sans-serif; +} + +#client_inner_name { + text-justify: distribute; + line-height: 100%; + margin: 0; + margin-top: 2.75%; +} + +#client_chat { + display: block; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 87%; + margin: auto; + /*border-color: darkgray; + border-style: solid; + border-width: 0.15em; + border-radius: 0.15em; + background-color: white;*/ + background-image: url("acww.svg"); + background-size: cover; + background-repeat: no-repeat; + word-break: keep-all; + overflow-wrap: break-word; + text-align: left; + overflow: hidden; + scroll-behavior: smooth; + font-family: sans-serif; +} + +#client_inner_chat { + padding: 5% 12%; + margin: 0; + line-height: 100%; +} + +#client_chatwaiting { + display: block; + position: absolute; + color: transparent; + text-shadow: none; + right: 12%; + bottom: 15%; + width: 1.4em; + height: 1.5em; + background-image: url("chatwaiting_acww.svg"); + background-size: contain; + animation: idling 0.4s linear infinite; +} + +@keyframes idling { + 0% { + bottom: 12%; + } + + 50% { + bottom: 15%; + } + + 100% { + bottom: 12%; + } +} \ No newline at end of file diff --git a/webAO/styles/chatbox/acww.svg b/webAO/styles/chatbox/acww.svg new file mode 100644 index 0000000..4627e2a --- /dev/null +++ b/webAO/styles/chatbox/acww.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/webAO/styles/chatbox/chatboxes.js b/webAO/styles/chatbox/chatboxes.js index e04ce01..36e3123 100644 --- a/webAO/styles/chatbox/chatboxes.js +++ b/webAO/styles/chatbox/chatboxes.js @@ -1,5 +1,6 @@ export default [ "aa", + "acww", "chatdd", "dgs", "chatplvsaa", diff --git a/webAO/styles/chatbox/chatwaiting_acww.svg b/webAO/styles/chatbox/chatwaiting_acww.svg new file mode 100644 index 0000000..0f86322 --- /dev/null +++ b/webAO/styles/chatbox/chatwaiting_acww.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit