Implemented shutdown through UI and implemented router check
This commit is contained in:
@@ -802,6 +802,7 @@
|
||||
.mux_contextmenu {
|
||||
position: absolute;
|
||||
z-index: 1101;
|
||||
min-width: 120px;
|
||||
border-radius: var(--mux-rounding);
|
||||
background: var(--mux-panel-color);
|
||||
box-shadow: var(--mux-panel-shadow);
|
||||
@@ -810,7 +811,7 @@
|
||||
transform-origin: 50% 0%;
|
||||
transform: scale(0);
|
||||
user-select: none;
|
||||
--mux-contextmenu-iconcolor: var(--mux-text-color);
|
||||
--mux-contextmenu-iconcolor: #919191;
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item {
|
||||
@@ -845,25 +846,33 @@
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-icon {
|
||||
margin-right: var(--mux-edge-offset-tiny);
|
||||
height: 20px;
|
||||
margin-right: -2px;
|
||||
height: 16px;
|
||||
border-radius: var(--mux-rounding);
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-arrow {
|
||||
font-size: 16px;
|
||||
margin-right: -5px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-materialicon {
|
||||
margin-right: var(--mux-edge-offset);
|
||||
margin-right: -2px;
|
||||
color: var(--mux-contextmenu-iconcolor);
|
||||
font-size: 20px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-shortcut {
|
||||
margin-left: var(--mux-edge-offset);
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-content {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: var(--mux-edge-offset-tiny);
|
||||
padding-right: calc(var(--mux-edge-offset) * 2);
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-content .mux_contextmenu-item-arrow {
|
||||
font-size: 16px;
|
||||
margin-left: calc(var(--mux-edge-offset-tiny) * -1);
|
||||
color: #c0c0c0;
|
||||
}
|
||||
|
||||
.mux_contextmenu .mux_contextmenu-item .mux_contextmenu-item-content .mux_contextmenu-shortcut {
|
||||
color: #b3b3b3;
|
||||
}
|
||||
|
||||
@@ -2577,7 +2586,7 @@ body {
|
||||
body:not(.ntsh_service) .ntsh_buttons {
|
||||
display: none;
|
||||
}
|
||||
body:not(.ntsh_service) .mux_menubar-locater.mux_left .mux_menubar-item:not([uid=restart_installation]) {
|
||||
body:not(.ntsh_service) .mux_menubar-locater.mux_left .mux_menubar-item:not([uid=restart_installation], [uid=shutdown_installation]) {
|
||||
display: none;
|
||||
}
|
||||
body:not(.ntsh_service) .only-service {
|
||||
@@ -2622,4 +2631,21 @@ body.ntsh_service .no-service {
|
||||
color: #c7c7c7;
|
||||
}
|
||||
|
||||
.ntsh_shutdown {
|
||||
position: absolute;
|
||||
inset: 0px;
|
||||
z-index: 10000;
|
||||
background: var(--mux-bg-color);
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: var(--mux-edge-offset);
|
||||
}
|
||||
.ntsh_shutdown .material-symbols-outlined {
|
||||
margin-bottom: var(--mux-edge-offset);
|
||||
font-size: 60px;
|
||||
color: #919191;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
||||
|
||||
Reference in New Issue
Block a user