First
This commit is contained in:
46
backend/public/admin/admin.css
Normal file
46
backend/public/admin/admin.css
Normal file
@@ -0,0 +1,46 @@
|
||||
.inline-form { display: flex; gap: 0.6em; flex-wrap: wrap; margin-top: 0.6em; }
|
||||
.inline-form input { flex: 1; min-width: 220px; }
|
||||
|
||||
.friend-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: 1.2em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.friend-card {
|
||||
background: var(--paper-2);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
padding: 1.2em;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
.friend-card .tape { top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
|
||||
|
||||
.friend-thumb {
|
||||
width: 84px; height: 84px; border-radius: 50%;
|
||||
object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow);
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.friend-thumb.placeholder {
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: var(--rose); color: #fff; font-size: 1.8rem; font-family: 'Caveat', cursive;
|
||||
}
|
||||
|
||||
.friend-card h3 { margin-bottom: 0.15em; }
|
||||
.badge {
|
||||
display: inline-block; font-size: 0.72rem; font-weight: 700; border-radius: 999px;
|
||||
padding: 0.15em 0.7em; margin-bottom: 0.6em;
|
||||
}
|
||||
.badge.on { background: var(--sage); color: #245a3a; }
|
||||
.badge.off { background: #eee; color: #888; }
|
||||
|
||||
.friend-actions { display: flex; gap: 0.4em; justify-content: center; flex-wrap: wrap; margin-top: 0.6em; }
|
||||
.friend-actions button, .friend-actions a.btn { font-size: 0.85rem; padding: 0.5em 1em; }
|
||||
|
||||
.modal-backdrop {
|
||||
position: fixed; inset: 0; background: rgba(75,59,107,0.35);
|
||||
display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1em;
|
||||
}
|
||||
.modal { width: 100%; max-width: 420px; }
|
||||
Reference in New Issue
Block a user