feat: move mobile slot tools into menu
Brand the mobile header as Foodsharing Manager and move refresh and notification actions from the dashboard into the contextual navigation menu.
This commit is contained in:
@@ -50,10 +50,10 @@
|
||||
border-bottom: 1px solid #cbd5e1;
|
||||
}
|
||||
|
||||
.app-navigation__current-page {
|
||||
.app-navigation__product-name {
|
||||
overflow: hidden;
|
||||
color: #1f2937;
|
||||
font-size: 1rem;
|
||||
font-size: 0.9375rem;
|
||||
font-weight: 650;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -117,6 +117,52 @@
|
||||
border-top: 1px solid #dbe4ee;
|
||||
}
|
||||
|
||||
.app-navigation__tools {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
padding-top: 0.75rem;
|
||||
border-top: 1px solid #dbe4ee;
|
||||
}
|
||||
|
||||
.app-navigation__tools > span {
|
||||
color: #64748b;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.app-navigation__tool {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
min-height: 2.5rem;
|
||||
border: 1px solid #dbe4ee;
|
||||
border-radius: 5px;
|
||||
padding: 0.55rem 0.7rem;
|
||||
background: #fff;
|
||||
color: #334155;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.app-navigation__tool svg {
|
||||
flex: 0 0 auto;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.app-navigation__tool.is-active {
|
||||
border-color: #2563eb;
|
||||
background: #eff6ff;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.app-navigation__tools small {
|
||||
color: #64748b;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.app-navigation__account div {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
|
||||
Reference in New Issue
Block a user