summaryrefslogtreecommitdiff
path: root/apps/web/src/app/globals.css
diff options
context:
space:
mode:
authorAnwarul Islam <anwaarulislaam@gmail.com>2025-07-18 05:52:31 +0600
committerAnwarul Islam <anwaarulislaam@gmail.com>2025-07-18 05:52:31 +0600
commit480e83fa79155a83b9d6ae23fadea35e229f25a1 (patch)
tree268c94d9d117da5a3c319e9bf32252e95598e2fc /apps/web/src/app/globals.css
parentf1b216848dd9e366aa43144466ed9234bf637832 (diff)
downloadopencut-480e83fa79155a83b9d6ae23fadea35e229f25a1.tar.gz
Add shortcut key styles to globals.css
Diffstat (limited to 'apps/web/src/app/globals.css')
-rw-r--r--apps/web/src/app/globals.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css
index 2f7158cc..bc9638ef 100644
--- a/apps/web/src/app/globals.css
+++ b/apps/web/src/app/globals.css
@@ -86,3 +86,25 @@
overscroll-behavior-x: contain;
}
}
+
+.shortcut-key {
+ @apply inline-flex;
+ @apply font-sans;
+ @apply text-xs;
+ @apply rounded;
+ @apply px-2;
+ @apply min-w-[1.5rem];
+ @apply min-h-[1.5rem];
+ @apply leading-none;
+ @apply items-center;
+ @apply justify-center;
+ @apply shadow-sm;
+ @apply border;
+
+ background-color: rgba(0, 0, 0, 0.2);
+ border-color: rgba(255, 255, 255, 0.1);
+
+ &:not(:last-child) {
+ @apply mr-1;
+ }
+}