Add RED.popover.menu as a new type of menu widget

This commit is contained in:
Nick O'Leary
2020-06-08 12:01:05 +01:00
parent 7006c00233
commit ce7d7a8e01
6 changed files with 126 additions and 10 deletions

View File

@@ -175,3 +175,38 @@
.red-ui-menu-dropdown-submenu.disabled > a:before {
border-right-color: $menuCaret;
}
// Menu NG
ul.red-ui-menu:not(.red-ui-menu-dropdown) {
font-family: $primary-font;
font-size: 12px;
list-style-type: none;
padding: 0;
margin: 0;
li a {
display: block;
padding: 4px 8px 4px 16px;
clear: both;
font-weight: normal;
line-height: 20px;
color: $menuColor;
white-space: nowrap;
text-decoration: none;
&:hover,&:focus {
color: $menuHoverColor;
text-decoration: none;
background-color: $menuHoverBackground;
border: none;
outline: none;
}
}
&.red-ui-menu-compact {
font-size: 12px;
li a {
line-height: 16px;
}
}
}

View File

@@ -501,7 +501,7 @@ div.red-ui-info-table {
position: absolute;
top: 6px;
right: 8px;
width: calc(100% - 150px);
width: calc(100% - 130px);
max-width: 250px;
background: $palette-header-background;
}