From e25be4e4124c1da9d7f7c8b3f9ffd48e36efeabc Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Tue, 25 Feb 2020 22:30:38 -0500 Subject: fixed schema column selection from key press. add 'b' for creating backgrounds. added unlock for isBackground documents. --- src/client/views/nodes/DocumentView.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/client/views/nodes/DocumentView.scss') diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss index b121c6c18..c8efadba4 100644 --- a/src/client/views/nodes/DocumentView.scss +++ b/src/client/views/nodes/DocumentView.scss @@ -42,6 +42,23 @@ z-index: 1; } + .documentView-lock { + width: 20; + height: 20; + position: absolute; + right: -5; + top: -5; + background: black; + pointer-events: all; + opacity: 0.05; + display: flex; + border-radius: 3px; + justify-content: center; + } + .documentView-lock:hover { + opacity:1; + } + .documentView-contentBlocker { pointer-events: all; position: absolute; -- cgit v1.2.3-70-g09d2 From 96ac6c97408cc380b63f7d4aa2a4c7181ac9ed9a Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Tue, 25 Feb 2020 22:37:45 -0500 Subject: from last --- src/client/views/nodes/DocumentView.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/views/nodes/DocumentView.scss') diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss index c8efadba4..43093ff2e 100644 --- a/src/client/views/nodes/DocumentView.scss +++ b/src/client/views/nodes/DocumentView.scss @@ -50,10 +50,13 @@ top: -5; background: black; pointer-events: all; - opacity: 0.05; + opacity: 0.3; display: flex; + color: gold; border-radius: 3px; justify-content: center; + cursor: default; + } } .documentView-lock:hover { opacity:1; -- cgit v1.2.3-70-g09d2 From 328ea5738bffd24a62d5c3b2ba90a074a66118cf Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Tue, 25 Feb 2020 22:39:34 -0500 Subject: oops --- src/client/views/nodes/DocumentView.scss | 1 - 1 file changed, 1 deletion(-) (limited to 'src/client/views/nodes/DocumentView.scss') diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss index 43093ff2e..dd1c5abba 100644 --- a/src/client/views/nodes/DocumentView.scss +++ b/src/client/views/nodes/DocumentView.scss @@ -57,7 +57,6 @@ justify-content: center; cursor: default; } - } .documentView-lock:hover { opacity:1; } -- cgit v1.2.3-70-g09d2 From a2974e187f6a279def7bd44c475a40aee0ac8286 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Tue, 25 Feb 2020 22:44:42 -0500 Subject: less contrast on background lock --- src/client/views/nodes/DocumentView.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/DocumentView.scss') diff --git a/src/client/views/nodes/DocumentView.scss b/src/client/views/nodes/DocumentView.scss index dd1c5abba..56e3eb220 100644 --- a/src/client/views/nodes/DocumentView.scss +++ b/src/client/views/nodes/DocumentView.scss @@ -48,7 +48,7 @@ position: absolute; right: -5; top: -5; - background: black; + background: transparent; pointer-events: all; opacity: 0.3; display: flex; -- cgit v1.2.3-70-g09d2