Change focus style

pull/10484/head
Benjamin Bädorf 3 years ago
parent 7712220ffb
commit 33e6ab5535
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 3
      frontend/src/app/spot/styles/sass/components/button.sass
  2. 2
      frontend/src/app/spot/styles/sass/components/checkbox.sass
  3. 3
      frontend/src/app/spot/styles/sass/components/filter-chip.sass
  4. 5
      frontend/src/app/spot/styles/sass/components/text-field.sass
  5. 2
      frontend/src/app/spot/styles/sass/components/toggle.sass
  6. 7
      frontend/src/app/spot/styles/sass/variables/focus.sass

@ -22,7 +22,8 @@
&, *
box-sizing: border-box
@include spot-focus
&:focus
@include spot-focus
&:hover
background-color: $spot-color-basic-gray-6

@ -6,7 +6,7 @@
width: $spot-spacing-1_5
&:focus-within &--fake
outline: $spot-focus
@include spot-focus
&, *
box-sizing: border-box

@ -18,7 +18,8 @@
cursor: pointer
padding: $spot-spacing-0_25
@include spot-focus
&:focus
@include spot-focus
&--title
padding: $spot-spacing-0_25

@ -16,7 +16,7 @@
&:focus,
&_focused
color: $spot-color-basic-black
outline: $spot-focus
@include spot-focus
&--input
background: transparent
@ -40,7 +40,8 @@
font-size: $spot-spacing-0_75
color: $spot-color-basic-gray-3
@include spot-focus
&:focus
@include spot-focus
&:not(:last-child)
margin-right: $spot-spacing-0_5

@ -20,7 +20,7 @@
cursor: pointer
&:focus-within
outline: $spot-focus
@include spot-focus
&:not(:last-child)
border-right: 0

@ -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

Loading…
Cancel
Save