aboutsummaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-03-07 19:11:59 +0530
committerBobby <[email protected]>2026-03-07 19:11:59 +0530
commit547384c41181c034a5eaf340c5e569d36eb013be (patch)
tree345341ac0df478fe51d11eeb6c45f2265afd7619 /static/css
parent96c136f046d78c51210927e61483a36a220fedcb (diff)
downloaddove-547384c41181c034a5eaf340c5e569d36eb013be.tar.xz
dove-547384c41181c034a5eaf340c5e569d36eb013be.zip
feat: implement mailbox and user creation features with validation and dropdowns
Diffstat (limited to 'static/css')
-rw-r--r--static/css/tailwind.css110
1 files changed, 110 insertions, 0 deletions
diff --git a/static/css/tailwind.css b/static/css/tailwind.css
index 477fdcd..a325d92 100644
--- a/static/css/tailwind.css
+++ b/static/css/tailwind.css
@@ -83,6 +83,31 @@
}
}
+@utility btn-small {
+ padding: 0.375rem 0.75rem;
+ border-radius: 0.5rem;
+ font-size: 0.75rem;
+ font-weight: 500;
+ color: white;
+ background: linear-gradient(
+ 135deg,
+ var(--color-accent-500),
+ var(--color-accent-600)
+ );
+ outline: none;
+ transition: all 0.2s ease;
+ cursor: pointer;
+ &:hover {
+ box-shadow:
+ 0 0 20px rgba(99, 102, 241, 0.3),
+ 0 2px 10px rgba(99, 102, 241, 0.2);
+ transform: translateY(-1px);
+ }
+ &:active {
+ transform: translateY(0);
+ }
+}
+
@utility fade-in {
animation: fadeIn 0.4s ease-out;
}
@@ -198,6 +223,91 @@
background: rgba(255, 255, 255, 0.06);
}
+.dropdown {
+ position: relative;
+}
+
+.dropdown-menu {
+ display: none;
+ position: absolute;
+ top: calc(100% + 0.375rem);
+ left: 0;
+ right: 0;
+ z-index: 50;
+ border-radius: 0.75rem;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ background: var(--color-surface-800);
+ box-shadow:
+ 0 10px 40px rgba(0, 0, 0, 0.4),
+ 0 0 20px rgba(0, 0, 0, 0.2);
+ overflow: hidden;
+}
+
+.dropdown.open .dropdown-menu {
+ display: block;
+}
+
+.dropdown.open [data-dropdown-chevron] {
+ transform: rotate(180deg);
+}
+
+.dropdown-search {
+ width: 100%;
+ padding: 0.5rem 0.75rem;
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-radius: 0.5rem;
+ background: var(--color-surface-900);
+ color: #e4e4e7;
+ font-size: 0.8125rem;
+ outline: none;
+ transition: border-color 0.2s ease;
+}
+
+.dropdown-search::placeholder {
+ color: #52525b;
+}
+
+.dropdown-search:focus {
+ border-color: var(--color-accent-500);
+}
+
+.dropdown-options {
+ max-height: 12rem;
+ overflow-y: auto;
+ padding: 0.25rem;
+}
+
+.dropdown-options::-webkit-scrollbar {
+ width: 4px;
+}
+
+.dropdown-options::-webkit-scrollbar-track {
+ background: transparent;
+}
+
+.dropdown-options::-webkit-scrollbar-thumb {
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 2px;
+}
+
+.dropdown-option {
+ display: block;
+ width: 100%;
+ text-align: left;
+ padding: 0.5rem 0.75rem;
+ border-radius: 0.5rem;
+ cursor: pointer;
+ transition: background 0.15s ease;
+}
+
+.dropdown-option:hover {
+ background: rgba(255, 255, 255, 0.04);
+}
+
+.dropdown-option.selected {
+ background: rgba(99, 102, 241, 0.1);
+}
+
::selection {
background-color: var(--color-accent-500);
color: white;