mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-24 07:12:57 +00:00
Showing maintenance popup on hover over media box
This commit is contained in:
@@ -38,6 +38,7 @@ export class MaintenancePopup {
|
||||
init() {
|
||||
MaintenancePopup.#watchActiveProfile(activeProfile => {
|
||||
this.#activeProfile = activeProfile;
|
||||
this.#container.classList.toggle('is-active', activeProfile !== null);
|
||||
this.#refreshTagsList();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1 +1,20 @@
|
||||
@import "../injectable/tag";
|
||||
.media-box {
|
||||
position: relative;
|
||||
overflow: initial !important;
|
||||
|
||||
.maintenance-popup {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
padding: 5px;
|
||||
left: -50%;
|
||||
right: -50%;
|
||||
z-index: 8;
|
||||
background: #1d1924;
|
||||
border: 1px solid #311e49;
|
||||
}
|
||||
|
||||
&:hover .maintenance-popup.is-active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user