mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
This commit is contained in:
parent
da81772bb8
commit
e196cb126e
2 changed files with 14 additions and 10 deletions
|
@ -1,11 +1,3 @@
|
|||
// We apply brute force focus states to anything not coming from Eui
|
||||
// which has focus states designed at the component level.
|
||||
:focus {
|
||||
&:not([class^="eui"]) {
|
||||
@include euiFocusRing;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Required for IE11.
|
||||
*/
|
||||
|
|
|
@ -108,10 +108,22 @@ input[type="checkbox"],
|
|||
font-size: $euiFontSizeS;
|
||||
}
|
||||
|
||||
// EUITODO: Move to EUI to ensure this doesn't happen elsewhere
|
||||
// We apply brute force focus states to anything not coming from Eui
|
||||
// which has focus states designed at the component level.
|
||||
// You can also use "kbn-resetFocusState" to not apply the default focus
|
||||
// state. This is useful when you've already hand crafted your own
|
||||
// focus states in Kibana.
|
||||
:focus {
|
||||
&:not([class^="eui"]):not([class^="kbn-resetFocusState"]) {
|
||||
@include euiFocusRing;
|
||||
}
|
||||
}
|
||||
|
||||
// A neccessary hack so that the above focus policy doesn't polute some EUI
|
||||
// entrenched inputs.
|
||||
.euiComboBox {
|
||||
input:focus {
|
||||
box-shadow: none;
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue