// Rôle : gère les alertes, couleurs et répétitions du formulaire calendrier. .calendar-alert-offsets { display: grid; grid-template-columns: repeat(2, max-content); align-items: center; gap: 5px 8px; min-width: 0; margin: 0; padding: 0; border: 0; } .calendar-alert-offsets legend { grid-column: 1 / -1; width: 100%; padding: 0; } .calendar-alert-offsets label { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; color: var(--color-text-secondary); font-size: 11px; font-weight: 800; white-space: nowrap; } .calendar-alert-offsets input { flex: 0 0 auto; width: 20px; min-width: 20px; max-width: 20px; height: 20px; min-height: 20px; max-height: 20px; } .calendar-alert-mode-switch { align-self: start; justify-self: start; } .calendar-alert-type-field { align-self: start; justify-self: start; } .calendar-color-picker { position: relative; align-self: end; } .calendar-color-toggle { width: 32px; min-width: 32px; min-height: 32px; } .calendar-repeat-switch { align-self: end; justify-self: start; } .calendar-repeat-switch .ui-icon { width: 16px; height: 16px; } .calendar-month-repeat-field { align-self: end; justify-self: start; } .calendar-month-repeat-switch { align-self: end; grid-template-columns: repeat(2, 30px); width: max-content; padding: 3px; } .calendar-month-repeat-switch button { width: 30px; min-width: 30px; min-height: 28px; } .calendar-month-repeat-switch .ui-icon { width: 22px; height: 22px; } .calendar-month-event-repeat-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; min-height: 36px; padding: 3px; border: 1px solid rgba(150, 165, 205, 0.14); border-radius: var(--radius-pill); background: rgba(11, 14, 27, 0.72); } .calendar-month-event-repeat-switch button { display: grid; place-items: center; min-width: 0; min-height: 28px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-text-secondary); overflow: hidden; font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; } .calendar-month-event-repeat-switch .ui-icon { width: 19px; height: 19px; } .calendar-month-event-repeat-switch button.active { background: rgba(139, 92, 246, 0.72); color: var(--color-text-primary); } .calendar-month-event-repeat-switch button:disabled { opacity: 0.35; cursor: not-allowed; }