OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add focus state to datepicker input fields
Benjamin Bädorff4f92d2f2abb
diff --git a/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass b/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sassindex 029692dbc0a..3e94f5e8e71 100644--- a/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass+++ b/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass@@ -37,8 +37,12 @@&--date-field&_current,&_current:hover- outline: 2px solid var(--primary-color)- outline-offset: -2px+ // We want this to feel like the focus outline, but we cannot make it an actual outline+ // because that would overwrite the focus outline when the input field is focused.+ // So we make a border 2px wide like the outline, and then reduce margins by 1px so the+ // size of the element does not change.+ border: 2px solid var(--primary-color)+ margin: -1px&--date-containerdisplay: inline-grid