mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Update with latest changes to UI Framework.
This commit is contained in:
parent
fe5bab1d81
commit
a44140a59d
5 changed files with 50 additions and 2 deletions
|
@ -28,8 +28,12 @@
|
|||
|
||||
&:last-child {
|
||||
.localBreadcrumb__link {
|
||||
pointer-events: none;
|
||||
color: $localNavTextColor;
|
||||
cursor: default;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@include darkTheme {
|
||||
color: $localNavTextColor--darkTheme;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
.localDropdown {
|
||||
position: relative;
|
||||
padding: 10px $localNavSideSpacing 14px;
|
||||
background-color: $localDropdownBackgroundColor;
|
||||
line-height: 20px;
|
||||
|
@ -9,6 +10,28 @@
|
|||
}
|
||||
}
|
||||
|
||||
.localDropdownCloseButton {
|
||||
appearance: none;
|
||||
background-color: transparent;
|
||||
padding: 4px;
|
||||
border: none;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 5px;
|
||||
font-size: 16px;
|
||||
color: $localNavTextColor;
|
||||
cursor: pointer;
|
||||
opacity: 0.35;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@include darkTheme {
|
||||
color: $localNavTextColor--darkTheme;
|
||||
}
|
||||
}
|
||||
|
||||
.localDropdownPanels {
|
||||
display: flex;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,11 @@
|
|||
&.localMenuItem-isDisabled {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
|
||||
&:hover {
|
||||
background-color: $localNavButtonBackgroundColor;
|
||||
color: $localNavButtonTextColor;
|
||||
}
|
||||
}
|
||||
|
||||
@include darkTheme {
|
||||
|
@ -42,6 +46,13 @@
|
|||
&.localMenuItem-isSelected {
|
||||
background-color: $localNavButtonBackgroundColor-isSelected--darkTheme;
|
||||
}
|
||||
|
||||
&.localMenuItem-isDisabled {
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
color: $localNavButtonTextColor--darkTheme;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,6 +40,11 @@
|
|||
</div>
|
||||
|
||||
<div class="localDropdown">
|
||||
<!-- Dropdown close button -->
|
||||
<button class="localDropdownCloseButton">
|
||||
<span class="fa fa-chevron-circle-up"></span>
|
||||
</button>
|
||||
|
||||
<!-- Title -->
|
||||
<div class="localDropdownTitle">Dropdown title</div>
|
||||
|
||||
|
|
|
@ -40,6 +40,11 @@
|
|||
</div>
|
||||
|
||||
<div class="localDropdown">
|
||||
<!-- Dropdown close button -->
|
||||
<button class="localDropdownCloseButton">
|
||||
<span class="fa fa-chevron-circle-up"></span>
|
||||
</button>
|
||||
|
||||
<div class="localDropdownPanels">
|
||||
<!-- Left panel -->
|
||||
<div class="localDropdownPanel localDropdownPanel--left">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue