From 80362228b691fd55b569f0f507c4ee9667644559 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 29 Jan 2021 13:47:31 -0500 Subject: changed how auto linking to audio is implemented. added audiotag html tags to click to play audio. --- src/client/views/nodes/formattedText/FormattedTextBox.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.scss') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.scss b/src/client/views/nodes/formattedText/FormattedTextBox.scss index b04f60500..866f556ff 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBox.scss @@ -10,6 +10,17 @@ outline: none !important; } +audiotag { + left: 0; + position: absolute; + cursor: pointer; + border-radius: 10px; + width: 10px; + margin-top: -2px; + font-size: 4px; + background: lightblue; +} + .formattedTextBox-cont { touch-action: none; background: inherit; -- cgit v1.2.3-70-g09d2 From 076e49222a26fe395c8658bdebc7de433c1bd3d7 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 29 Jan 2021 14:08:04 -0500 Subject: from last --- src/client/views/nodes/formattedText/FormattedTextBox.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.scss') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.scss b/src/client/views/nodes/formattedText/FormattedTextBox.scss index 866f556ff..81bca4c00 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBox.scss @@ -20,6 +20,10 @@ audiotag { font-size: 4px; background: lightblue; } +audiotag:hover { + transform: scale(2); + transform-origin: bottom center; +} .formattedTextBox-cont { touch-action: none; -- cgit v1.2.3-70-g09d2