Add user menu with profile page, card and row hovers, and family breadcrumb fixes
This commit is contained in:
@@ -31,6 +31,7 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.brand {
|
||||
@@ -101,6 +102,49 @@ nav a.active {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.user:hover {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.user-menu {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
bottom: 62px;
|
||||
width: 190px;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
|
||||
padding: 6px 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.user-menu form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.user-menu a,
|
||||
.user-menu button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 8px 16px;
|
||||
border: 0;
|
||||
background: none;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--ink);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.user-menu a:hover,
|
||||
.user-menu button:hover {
|
||||
background: #f2f4f6;
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
@@ -202,6 +246,16 @@ main {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.profile-heading {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin: 26px 0 10px;
|
||||
}
|
||||
|
||||
.profile-heading:first-child {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
@@ -427,6 +481,22 @@ a.family-card {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.person-card,
|
||||
a.family-card {
|
||||
padding: 14px;
|
||||
margin: -14px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
a.person-card:hover,
|
||||
a.family-card:hover {
|
||||
background: #f6f6f7;
|
||||
}
|
||||
|
||||
a.student-card:hover {
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.detail-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -593,6 +663,17 @@ a.family-card {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a.list-row {
|
||||
padding-left: 14px;
|
||||
padding-right: 14px;
|
||||
margin: 0 -14px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
a.list-row:hover {
|
||||
background: #f6f6f7;
|
||||
}
|
||||
|
||||
.list-tile {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
|
||||
Reference in New Issue
Block a user