added qr, cleaned up profile views, and added the critical alerts
This commit is contained in:
+273
-2
@@ -122,6 +122,70 @@ textarea {
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.top-alert-notification {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
padding: 0.85rem 1rem;
|
||||
border: 1px solid rgba(203, 58, 53, 0.26);
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(180deg, rgba(255, 247, 244, 0.98), rgba(255, 238, 231, 0.96));
|
||||
box-shadow: 0 16px 30px rgba(203, 58, 53, 0.14);
|
||||
}
|
||||
|
||||
.top-alert-notification div {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
.top-alert-notification strong {
|
||||
color: var(--accent-red);
|
||||
}
|
||||
|
||||
.top-alert-notification span {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.notification-bell {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
background: rgba(203, 58, 53, 0.12);
|
||||
border: 1px solid rgba(203, 58, 53, 0.22);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notification-bell::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 7px;
|
||||
width: 12px;
|
||||
height: 15px;
|
||||
border: 2px solid var(--accent-red);
|
||||
border-bottom: 0;
|
||||
border-radius: 8px 8px 4px 4px;
|
||||
}
|
||||
|
||||
.notification-bell::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
top: 22px;
|
||||
width: 10px;
|
||||
height: 5px;
|
||||
border-top: 2px solid var(--accent-red);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.top-alert-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: end;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.side-rail {
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
@@ -155,6 +219,41 @@ textarea {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.public-profile-shell {
|
||||
max-width: 620px;
|
||||
}
|
||||
|
||||
.public-profile-card {
|
||||
display: grid;
|
||||
gap: 1.1rem;
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.public-profile-photo {
|
||||
width: min(260px, 100%);
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
border-radius: 28px;
|
||||
border: 1px solid rgba(39, 105, 179, 0.16);
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
}
|
||||
|
||||
.public-profile-copy {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.public-profile-copy h1 {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.55rem;
|
||||
margin: 0;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.auth-hero-card {
|
||||
min-height: 280px;
|
||||
align-items: end;
|
||||
@@ -948,6 +1047,32 @@ textarea {
|
||||
border-radius: 24px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(240, 248, 244, 0.84));
|
||||
border: 1px solid rgba(39, 105, 179, 0.1);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.qr-profile-button {
|
||||
position: absolute;
|
||||
top: 0.85rem;
|
||||
right: 0.85rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 1px solid rgba(39, 105, 179, 0.18);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 254, 250, 0.9);
|
||||
box-shadow: 0 10px 20px rgba(86, 63, 34, 0.12);
|
||||
}
|
||||
|
||||
.qr-profile-button:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(35, 138, 90, 0.34);
|
||||
}
|
||||
|
||||
.qr-profile-button svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
fill: var(--accent-blue);
|
||||
}
|
||||
|
||||
.profile-copy {
|
||||
@@ -1371,6 +1496,21 @@ label {
|
||||
accent-color: var(--accent-green);
|
||||
}
|
||||
|
||||
.toggle-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
padding-top: 1.75rem;
|
||||
}
|
||||
|
||||
.toggle-field input[type="checkbox"] {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
accent-color: var(--accent-green);
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
border: 0;
|
||||
border-radius: 18px;
|
||||
@@ -1555,11 +1695,79 @@ label {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.qr-modal {
|
||||
width: min(520px, 100%);
|
||||
}
|
||||
|
||||
.qr-print-card {
|
||||
display: grid;
|
||||
gap: 0.8rem;
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
border-radius: 22px;
|
||||
background: #fffdf9;
|
||||
}
|
||||
|
||||
.qr-code {
|
||||
width: min(280px, 100%);
|
||||
height: auto;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.qr-bird-mark rect {
|
||||
fill: rgba(255, 255, 255, 0.96);
|
||||
}
|
||||
|
||||
.qr-print-card h3,
|
||||
.qr-print-card p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.qr-print-card p {
|
||||
max-width: 100%;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.modal-alert-list {
|
||||
display: grid;
|
||||
gap: 0.9rem;
|
||||
}
|
||||
|
||||
@media print {
|
||||
body {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
body::before,
|
||||
.no-print {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-modal-backdrop {
|
||||
position: static;
|
||||
display: block;
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
.app-modal {
|
||||
box-shadow: none;
|
||||
border: 0;
|
||||
width: 100%;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.qr-print-card {
|
||||
min-height: 100vh;
|
||||
align-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.app-shell,
|
||||
.auth-panel,
|
||||
@@ -1577,6 +1785,7 @@ label {
|
||||
|
||||
.app-shell {
|
||||
padding: 1rem;
|
||||
gap: 0.85rem;
|
||||
}
|
||||
|
||||
.settings-grid {
|
||||
@@ -1588,11 +1797,73 @@ label {
|
||||
grid-column: auto;
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
position: static;
|
||||
.top-alert-notification {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.top-alert-actions {
|
||||
grid-column: 1 / -1;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.side-rail {
|
||||
position: static;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.brand-lockup {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.side-nav.panel {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
padding: 0.65rem;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.page-tabs {
|
||||
grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.page-tab {
|
||||
min-height: 42px;
|
||||
padding: 0.55rem 0.65rem;
|
||||
border-radius: 14px;
|
||||
text-align: center;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.side-nav .secondary-button {
|
||||
min-height: 42px;
|
||||
padding: 0.55rem 0.75rem;
|
||||
border-radius: 14px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.workspace-switcher {
|
||||
grid-column: 1 / -1;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.workspace-switcher-list {
|
||||
display: flex;
|
||||
gap: 0.45rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
.workspace-switcher-item {
|
||||
min-width: 160px;
|
||||
padding: 0.55rem 0.7rem;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.workspace-switcher-item small {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user