aboutsummaryrefslogtreecommitdiff
path: root/styles/selection.css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-06-13 12:15:07 +0200
committerlonkaars <loek@pipeframe.xyz>2021-06-13 12:15:07 +0200
commiteee30e2556e555affbd0f3034b4b2089352cea7c (patch)
tree66283b3ac9ffe25d668d6fcbb606183568bb2509 /styles/selection.css
parent4efcd3068a574b3f1aee5b39d883f999d142e482 (diff)
added selection component
Diffstat (limited to 'styles/selection.css')
-rw-r--r--styles/selection.css29
1 files changed, 29 insertions, 0 deletions
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);
+}