From ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669 Mon Sep 17 00:00:00 2001 From: s-ol Date: Mon, 4 Jan 2021 12:24:21 +0100 Subject: move style into root --- root/static/style/canvasapp/text$x-scss.scss | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 root/static/style/canvasapp/text$x-scss.scss (limited to 'root/static/style/canvasapp') diff --git a/root/static/style/canvasapp/text$x-scss.scss b/root/static/style/canvasapp/text$x-scss.scss new file mode 100644 index 0000000..2eb1a42 --- /dev/null +++ b/root/static/style/canvasapp/text$x-scss.scss @@ -0,0 +1,36 @@ +.canvas_app { + position: relative; + + display: inline-block; + + .overlay { + position: absolute; + padding: 1rem; + + + top: 0; + left: 0; + right: 0; + bottom: 0; + + opacity: 0; + + background: rgba(0, 0, 0, 0.7); + + transition: opacity 300ms; + + &:hover { + opacity: 1; + } + + > * { + margin: 0.5em; + } + + a { + display: block; + color: $gray-bright; + font-family: inherit; + } + } +} -- cgit v1.2.3