mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Restyle user menu
This commit is contained in:
parent
c31ffb98b0
commit
dedda19626
@ -333,7 +333,6 @@ var RED = (function() {
|
|||||||
} else {
|
} else {
|
||||||
RED.menu.addItem("btn-usermenu",{
|
RED.menu.addItem("btn-usermenu",{
|
||||||
id:"btn-username",
|
id:"btn-username",
|
||||||
icon:"fa fa-user",
|
|
||||||
label:"<b>"+RED.settings.user.username+"</b>"
|
label:"<b>"+RED.settings.user.username+"</b>"
|
||||||
});
|
});
|
||||||
RED.menu.addItem("btn-usermenu",{
|
RED.menu.addItem("btn-usermenu",{
|
||||||
|
@ -1240,6 +1240,11 @@ i.spinner {
|
|||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header ul.dropdown-menu > li.disabled:hover > a,
|
||||||
|
#header ul.dropdown-menu > li.disabled:focus > a {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Deploy menu customisations */
|
/* Deploy menu customisations */
|
||||||
#header ul#btn-deploy-options-submenu {
|
#header ul#btn-deploy-options-submenu {
|
||||||
width: 300px !important;
|
width: 300px !important;
|
||||||
@ -1256,3 +1261,9 @@ i.spinner {
|
|||||||
#header ul#btn-deploy-options-submenu li a > i.fa {
|
#header ul#btn-deploy-options-submenu li a > i.fa {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* User menu customisations */
|
||||||
|
#header ul#btn-usermenu-submenu li a#btn-username > .menu-label {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user