From eee30e2556e555affbd0f3034b4b2089352cea7c Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 13 Jun 2021 12:15:07 +0200 Subject: added selection component --- styles/selection.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 styles/selection.css (limited to 'styles') diff --git a/styles/selection.css b/styles/selection.css new file mode 100644 index 0000000..6bcbd88 --- /dev/null +++ b/styles/selection.css @@ -0,0 +1,29 @@ +.selection { + --selection-color: var(--gruble); + --corner-size: 12px; + filter: drop-shadow(0px 0px 10px var(--selection-color)); +} + +.selection .bar.top, +.selection .bar.bottom { + height: 2px; + + left: var(--corner-size); + right: var(--corner-size); +} + +.selection .bar.left, +.selection .bar.right { + width: 2px; + + top: var(--corner-size); + bottom: var(--corner-size); +} + +.selection .bar { + background-color: var(--selection-color); +} + +.selection .corner { + fill: var(--selection-color); +} -- cgit v1.2.3