diff options
| author | s-ol <s+removethis@s-ol.nu> | 2021-01-04 11:24:21 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2021-01-04 11:41:13 +0000 |
| commit | ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669 (patch) | |
| tree | 7d4564fb6fe30895952d0e6489430ad61093034e /root/static/style/canvasapp | |
| parent | turn static plugin into builtin again (diff) | |
| download | mmm-ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669.tar.gz mmm-ee087dcfc842bbc8e1b9cdcae80bf7e6e7426669.zip | |
move style into root
Diffstat (limited to 'root/static/style/canvasapp')
| -rw-r--r-- | root/static/style/canvasapp/text$x-scss.scss | 36 |
1 files changed, 36 insertions, 0 deletions
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; + } + } +} |
