Prima implementazione pagina "Attività"
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
.attivita-page {
|
||||
padding: 0;
|
||||
padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
margin-bottom: 1.4rem;
|
||||
}
|
||||
|
||||
.page-header-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.page-date {
|
||||
font-size: 0.78rem;
|
||||
color: #999;
|
||||
text-transform: capitalize;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.counter-badge {
|
||||
background: var(--primary-color);
|
||||
color: #fff;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
padding: 0.3rem 0.85rem;
|
||||
border-radius: 100px;
|
||||
white-space: nowrap;
|
||||
box-shadow: 0 4px 12px rgba(83, 82, 237, 0.28);
|
||||
}
|
||||
|
||||
.attivita-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
/* spazio per la bottom nav */
|
||||
padding-bottom: 7rem;
|
||||
}
|
||||
|
||||
/* Bottone "Fine Viaggio" integrato nell'header */
|
||||
.btn-fine-viaggio {
|
||||
background: linear-gradient(135deg, #5352ed, #3f3bc4);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 100px;
|
||||
padding: 0.5rem 1.1rem;
|
||||
font-family: inherit;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.01em;
|
||||
white-space: nowrap;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.4rem;
|
||||
box-shadow: 0 5px 16px rgba(83, 82, 237, 0.32);
|
||||
cursor: pointer;
|
||||
transition: box-shadow 0.18s ease, transform 0.15s ease;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.btn-fine-viaggio i {
|
||||
font-size: 1.05rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.btn-fine-viaggio:hover {
|
||||
box-shadow: 0 7px 20px rgba(83, 82, 237, 0.42);
|
||||
}
|
||||
|
||||
.btn-fine-viaggio:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
Reference in New Issue
Block a user