diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/master.css | 125 | ||||
-rw-r--r-- | public/favicon.ico | bin | 318 -> 0 bytes | |||
-rw-r--r-- | public/index.html | 2 | ||||
-rwxr-xr-x | public/mkassets.sh | 7 |
4 files changed, 126 insertions, 8 deletions
diff --git a/public/css/master.css b/public/css/master.css index e69de29..794eb43 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -0,0 +1,125 @@ +@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap"); + +* { + font-family: "Ubuntu", sans-serif; + font-weight: 300; + color: white; +} + +:root { + --bg: #263238; + --bg-dark: #000a12; + --bg-light: #354b58; + --bg-lighter: #4f5b62; + --bg-disabled: #720000; + --bg-enabled: #097200; + --ac: #4a148c; + --ac-light: #7c43bd; + --ac-dark: #12005e; +} + +body { + background-color: var(--bg-dark); +} + +h2 { + font-weight: 700; + margin: 1em; +} + +input[type="button"] { + padding: 0.5em; + margin: 0.25em; + background-color: var(--bg-light); + border: 0px solid transparent; + border-radius: 3px; +} +input[type="button"]:hover { + background-color: var(--bg-lighter); +} +input[type="button"].enabled { + background-color: var(--bg-enabled); +} +input[type="text"] { + background-color: var(--bg-dark); + border: 1px solid var(--ac-light); +} + +.local-controls { + background-color: var(--bg); + padding: 0.5em; + position: absolute; + bottom: 0.5em; + border: 0px solid transparent; + border-radius: 5px; + left: 50%; + transform: translateX(-50%); + z-index: 100; +} + +.room { + width: 100vw; + height: 100vh; + display: flex; + justify-content: center; +} + +.user { + background-color: var(--bg); + border: 0px soly transparent; + border-radius: 5px; + padding: 1em; + vertical-align: baseline; + height: 15em; + min-width: 10em; + margin: 0.5em; +} + +.user .info .name { + font-weight: 400; +} +.user.local .info .name { + text-decoration: underline; +} + +.info .status { + background-color: var(--bg-disabled); + padding: 0.25em; + margin: 0.1em; + border: 0px solid transparent; + border-radius: 10px; +} +.info .status.enabled { + background-color: var(--bg-enabled); +} + +.media { + height: 100%; + width: auto; + border: 0px solid transparent; + border-radius: 5px; +} + +.media.maximized { + position: absolute; + top: 50vh; + left: 50vw; + width: 100vw; + height: 100vh; + z-index: 1000; + transform: translate(-50%, -50%); +} + +.start-box { + position: absolute; + top: 50vh; + left: 50vw; + transform: translate(-50%, -50%); +} +.start-box p { + margin-bottom: 0.5em; +} +.start-box input[type="text"] { + margin: 0.5em; + font-size: 32px; +} diff --git a/public/favicon.ico b/public/favicon.ico Binary files differdeleted file mode 100644 index 8426ab0..0000000 --- a/public/favicon.ico +++ /dev/null diff --git a/public/index.html b/public/index.html index 0d12704..5d2112b 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ <script src="/scripts/bundle.js"></script> <link rel="stylesheet" href="/static/css/master.css" /> - <title>webrtc meeting</title> + <title>keks webrtc meeting</title> <style> * { margin: 0px; diff --git a/public/mkassets.sh b/public/mkassets.sh deleted file mode 100755 index 2e89d3b..0000000 --- a/public/mkassets.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -pushd . -cd $(dirname $0) -convert -size 256x256 -define gradient:radii=64,64 radial-gradient:white-black assets/light.png -convert -size 256x256 xc:white -fill black -stroke black -draw "rectangle 64,64 192,192" -rotate 45 -blur 40x40 assets/void.png - -popd
\ No newline at end of file |