From 282f7137b60858a3398400fc7b047df5d4639418 Mon Sep 17 00:00:00 2001 From: Alex Pankratov Date: Thu, 20 Feb 2020 01:13:00 +0100 Subject: [PATCH] + support for clickable links --- nullboard.html | 135 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 119 insertions(+), 16 deletions(-) diff --git a/nullboard.html b/nullboard.html index b9cc6a0..c186863 100644 --- a/nullboard.html +++ b/nullboard.html @@ -372,6 +372,34 @@ white-space: pre-wrap; } + /***/ + .board .list .note .text a { + color: inherit; + cursor: default; + transition: none; + } + + @keyframes whoomp { + 0% { color: inherit; } + 30% { color: #888; } + 100% { color: inherit; } + } + + .board .list .note .text a:hover { + animation-name: whoomp; + animation-duration: 700ms; + } + + .reveal .board .list .note .text a { + color: #1489db; + cursor: pointer; + } + + .reveal .board .list .note .text a:hover { + animation-name: none; + } + + /***/ .board .list .note .edit { display: none; border: none; @@ -505,6 +533,10 @@ 0px 1px 3px #00000030; } + .dragster a { + color: #000; + } + .dragster.collapsed { overflow: hidden; line-height: 22px; @@ -811,6 +843,21 @@ text-shadow: 0 0 4px #0008; } + .dark.reveal .board .list .note .text a { + color: #fc0; + } + + @keyframes whoomp-dark { + 0% { color: inherit; } + 30% { color: #fff; } + 100% { color: inherit; } + } + + .dark .board .list .note .text a:hover { + animation-name: whoomp-dark; + } + + .dark .board .list .note.raw { background: transparent; box-shadow: none; @@ -857,6 +904,11 @@ background: #2e3032; } + .dark .dragster a { + color: #d6d6d6; + } + + /***/ .dark textarea, .dark input { @@ -1152,7 +1204,7 @@