]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Show docs search shortcut key
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 28 Sep 2023 18:59:31 +0000 (11:59 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 28 Sep 2023 19:02:35 +0000 (12:02 -0700)
docs/assets/extra.css

index 31e07f295b275d821bc9e2708dc77d609cd5b3d7..95e33ec96fb405d4d0ce19e55be4863729adc1ff 100644 (file)
@@ -55,3 +55,18 @@ h4 code {
         border-top: .05rem solid var(--md-default-fg-color--lightest);
     }
 }
+
+/* Show search shortcut key */
+[data-md-toggle="search"]:not(:checked) ~ .md-header .md-search__form::after {
+    position: absolute;
+    top: .3rem;
+    right: .3rem;
+    display: block;
+    padding: .1rem .4rem;
+    color: var(--md-default-fg-color--lighter);
+    font-weight: bold;
+    font-size: .8rem;
+    border: .05rem solid var(--md-default-fg-color--lighter);
+    border-radius: .1rem;
+    content: "/";
+  }