Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eui/9.2.1 + better dark mode #32728

Merged
merged 16 commits into from
Mar 11, 2019
9 changes: 2 additions & 7 deletions packages/kbn-ui-framework/dist/kui_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,8 @@
* 5. Fixing this bug means we now need to align the children to the right.
*/
:focus:not([class^="eui"]) {
z-index: 1;
/* 1 */
outline: none !important;
/* 2 */
-webkit-box-shadow: 0 0 0 1px #1D1E24, 0 0 0 2px #1BA9F5;
box-shadow: 0 0 0 1px #1D1E24, 0 0 0 2px #1BA9F5;
/* 3 */ }
-webkit-animation: 350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate;
animation: 350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate; }

/**
* 1. Required for IE11.
Expand Down
9 changes: 2 additions & 7 deletions packages/kbn-ui-framework/dist/kui_light.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,8 @@
* 5. Fixing this bug means we now need to align the children to the right.
*/
:focus:not([class^="eui"]) {
z-index: 1;
/* 1 */
outline: none !important;
/* 2 */
-webkit-box-shadow: 0 0 0 1px #FFF, 0 0 0 2px #006BB4;
box-shadow: 0 0 0 1px #FFF, 0 0 0 2px #006BB4;
/* 3 */ }
-webkit-animation: 350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate;
animation: 350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate; }
snide marked this conversation as resolved.
Show resolved Hide resolved

/**
* 1. Required for IE11.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// 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 focus;
&:not([class^="eui"]) {
@include euiFocusRing;
}
}

Expand Down