- Parte 3 : Viaggi
- Chat
This commit is contained in:
134
src/modules/viaggi/components/ride/PreferencesSelector.scss
Normal file
134
src/modules/viaggi/components/ride/PreferencesSelector.scss
Normal file
@@ -0,0 +1,134 @@
|
||||
.preferences-selector {
|
||||
width: 100%;
|
||||
|
||||
&__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
&__grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
&__item {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
border-radius: 12px;
|
||||
padding: 12px;
|
||||
|
||||
&--toggle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
&__item-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
&__item-icon {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
&__item-label {
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: var(--q-grey-8);
|
||||
}
|
||||
|
||||
&__select {
|
||||
:deep(.q-field__control) {
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&__packages-options {
|
||||
margin-top: 16px;
|
||||
padding: 16px;
|
||||
background: rgba(var(--q-secondary-rgb), 0.08);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--q-grey-7);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
&__toggles {
|
||||
.preferences-selector__toggle-item {
|
||||
border-radius: 12px;
|
||||
margin-bottom: 4px;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__notes {
|
||||
:deep(.q-field__control) {
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&__summary {
|
||||
margin-top: 16px;
|
||||
padding: 16px;
|
||||
background: rgba(var(--q-primary-rgb), 0.04);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
&__summary-title {
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
&__summary-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
// Expand animation
|
||||
.expand-enter-active,
|
||||
.expand-leave-active {
|
||||
transition: all 0.3s ease;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.expand-enter-from,
|
||||
.expand-leave-to {
|
||||
opacity: 0;
|
||||
max-height: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// Dark mode
|
||||
.body--dark {
|
||||
.preferences-selector {
|
||||
&__item {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
&__item-label {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user