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
Change focus style
Benjamin Bädorf33e6ab5535fa
diff --git a/frontend/src/app/spot/styles/sass/components/button.sass b/frontend/src/app/spot/styles/sass/components/button.sassindex c2a776a0adf..06e07255093 100644--- a/frontend/src/app/spot/styles/sass/components/button.sass+++ b/frontend/src/app/spot/styles/sass/components/button.sass@@ -22,7 +22,8 @@&, *box-sizing: border-box- @include spot-focus+ &:focus+ @include spot-focus&:hoverbackground-color: $spot-color-basic-gray-6diff --git a/frontend/src/app/spot/styles/sass/components/checkbox.sass b/frontend/src/app/spot/styles/sass/components/checkbox.sassindex de29255898b..00c6694bbc5 100644--- a/frontend/src/app/spot/styles/sass/components/checkbox.sass+++ b/frontend/src/app/spot/styles/sass/components/checkbox.sass@@ -6,7 +6,7 @@width: $spot-spacing-1_5&:focus-within &--fake- outline: $spot-focus+ @include spot-focus&, *box-sizing: border-boxdiff --git a/frontend/src/app/spot/styles/sass/components/filter-chip.sass b/frontend/src/app/spot/styles/sass/components/filter-chip.sassindex eb6114a1243..c450c278017 100644--- a/frontend/src/app/spot/styles/sass/components/filter-chip.sass+++ b/frontend/src/app/spot/styles/sass/components/filter-chip.sass@@ -18,7 +18,8 @@cursor: pointerpadding: $spot-spacing-0_25- @include spot-focus+ &:focus+ @include spot-focus&--titlepadding: $spot-spacing-0_25diff --git a/frontend/src/app/spot/styles/sass/components/text-field.sass b/frontend/src/app/spot/styles/sass/components/text-field.sassindex cfef1f0b400..f9a60296e7b 100644--- a/frontend/src/app/spot/styles/sass/components/text-field.sass+++ b/frontend/src/app/spot/styles/sass/components/text-field.sass@@ -16,7 +16,7 @@&:focus,&_focusedcolor: $spot-color-basic-black- outline: $spot-focus+ @include spot-focus&--inputbackground: transparent@@ -40,7 +40,8 @@font-size: $spot-spacing-0_75color: $spot-color-basic-gray-3- @include spot-focus+ &:focus+ @include spot-focus&:not(:last-child)margin-right: $spot-spacing-0_5diff --git a/frontend/src/app/spot/styles/sass/components/toggle.sass b/frontend/src/app/spot/styles/sass/components/toggle.sassindex 6001a59073e..00a9abad4bd 100644--- a/frontend/src/app/spot/styles/sass/components/toggle.sass+++ b/frontend/src/app/spot/styles/sass/components/toggle.sass@@ -20,7 +20,7 @@cursor: pointer&:focus-within- outline: $spot-focus+ @include spot-focus&:not(:last-child)border-right: 0diff --git a/frontend/src/app/spot/styles/sass/variables/focus.sass b/frontend/src/app/spot/styles/sass/variables/focus.sassindex 3cd9ac75902..1a5d59e79a5 100644--- a/frontend/src/app/spot/styles/sass/variables/focus.sass+++ b/frontend/src/app/spot/styles/sass/variables/focus.sass@@ -1,5 +1,6 @@-$spot-focus: 2px solid $spot-color-indication-attention+$spot-focus: 1px solid $spot-color-indication-attention@mixin spot-focus- &:focus- outline: $spot-focus+ outline: $spot-focus+ outline-offset: -1px+ box-shadow: 0 0 1px 0 $spot-color-indication-attention