summaryrefslogtreecommitdiff
path: root/assets/css/dropdown.css
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-03 04:02:43 +0200
committerhref <href@random.sh>2021-09-03 04:02:43 +0200
commit5fc45a0e3b144b5e87845d068940afb90c3646a6 (patch)
tree364e9276a63bd23d8033cdae4a9e3e4d5fd755c1 /assets/css/dropdown.css
parentimprove puppets, fix uploads (diff)
assets..
Diffstat (limited to 'assets/css/dropdown.css')
-rw-r--r--assets/css/dropdown.css26
1 files changed, 26 insertions, 0 deletions
diff --git a/assets/css/dropdown.css b/assets/css/dropdown.css
new file mode 100644
index 0000000..57adb3b
--- /dev/null
+++ b/assets/css/dropdown.css
@@ -0,0 +1,26 @@
+/*
+ * == DROPDOWN
+ */
+
+.dropdown {
+ position: relative;
+ summary {
+ list-style: none;
+ cursor: pointer;
+ &::-webkit-details-marker {
+ display: none;
+ }
+ .content {
+ position: absolute;
+ }
+ details[open] summary::before {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ content: "";
+ cursor: default;
+ }
+ }
+}