-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate and cleanup legacy scss (#69369)
- Loading branch information
Showing
37 changed files
with
251 additions
and
1,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@import '@elastic/eui/src/components/collapsible_nav/variables'; | ||
// Application Layout | ||
|
||
// chrome-context | ||
// TODO #64541 | ||
// Delete this block | ||
.chrHeaderWrapper:not(.headerWrapper) .content { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.application, | ||
.app-container { | ||
> * { | ||
position: relative; | ||
} | ||
} | ||
|
||
.application { | ||
position: relative; | ||
z-index: 0; | ||
display: flex; | ||
flex-grow: 1; | ||
flex-shrink: 0; | ||
flex-basis: auto; | ||
flex-direction: column; | ||
|
||
> * { | ||
flex-shrink: 0; | ||
} | ||
} | ||
|
||
// 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(.kbn-resetFocusState) { | ||
@include euiFocusRing; | ||
} | ||
} | ||
|
||
// A necessary hack so that the above focus policy doesn't pollute some EUI | ||
// entrenched inputs. | ||
.euiComboBox { | ||
// :not() specificity needed to override the above | ||
input:not([class^='eui']):focus { | ||
animation: none !important; | ||
} | ||
} | ||
|
||
.euiBody--collapsibleNavIsDocked .euiBottomBar { | ||
margin-left: $euiCollapsibleNavWidth; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import './base'; | ||
@import './ace_overrides'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/legacy/ui/public/styles/_legacy/components/_config.scss
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
src/legacy/ui/public/styles/_legacy/components/_control_group.scss
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
src/legacy/ui/public/styles/_legacy/components/_hintbox.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.