mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add RED.popover.menu as a new type of menu widget
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user