From dcd3a356821b77d4684ca4c68c875082f502e25e Mon Sep 17 00:00:00 2001 From: Joel Calado Date: Sun, 28 Mar 2021 18:06:52 +0100 Subject: [PATCH] message cards for info, warnings; use them on &fs --- index.html | 18 ++++++++++++++--- main.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 794bb32..1faf5bd 100644 --- a/index.html +++ b/index.html @@ -583,9 +583,21 @@ SELECT THE VIDEO FILES TO SHARE



-

Keep this tab visible if using Chrome, else the video playback will stop

-

(Media file streaming is still quite experimental)


-

File Sharing seems to be broken on Chrome v88.
Using The Electron Capture app instead of Chrome should work: GET IT HERE
You can also turn off hardware-accleration in Chrome/Edge to fix the issue.

+
+

Warning

+

Media file streaming is still quite experimental. Please do not rely on it heavily for your productions. Feedback welcome.

+
+
+

Chrome users

+

Keep this tab visible if using Chrome, else the video playback will stop

+
+
+

File Sharing seems to be broken on Chrome v88.

+

Using The Electron Capture app instead of Chrome should work: + GET IT HERE +
+ You can also turn off hardware-accleration in Chrome/Edge to fix the issue.

+
diff --git a/main.css b/main.css index 6144ead..de71329 100644 --- a/main.css +++ b/main.css @@ -2352,6 +2352,65 @@ span#guestTips { display:none; } +div.message-card { + padding: 10px; + display: block; + padding-left: 1em; + align-items: center; + width: 600px; + margin: 0 auto; + position: relative; + padding-left: 60px; + margin: 0 auto; + margin-bottom: 20px; + box-shadow: 0px 5px 10px -5px #a9a9a9; +} + +div.message-card a { + color: rgb(0 77 218); + font-weight: bold; + text-decoration: underline; +} + +.warning.message-card { + border-left: 4px solid #eff150; + background: #fffded; +} +.info.message-card { + border-left: 4px solid #aacefd; + background: #e6e8f0; +} + +.message-card h1 { + display: block; + font-size: 110%; + text-align: left; +} + +.message-card p { + display: block; + text-align: left; + margin-top: 10px; +} + +div.message-card:before { + font-family: 'Line Awesome Free'; + font-weight: 900; + font-size: 2em; + margin-right: 0.5em; + position: absolute; + top: 6px; + left: 10px; +} + +div.message-card.warning:before { + content: "\f071"; +} + +div.message-card.info:before { + content: "\f05a"; +} + @keyframes floating { 0% { transform: translate(0, 0px); } 50% { transform: translate(0, 15%); }