Emoji u1f384.svg
Merry Christmas from the IIWiki Team! Have a happy new year!

MediaWiki:VectorPlus.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* Style for the custom tools dropdown */
#p-custom-tools {
.custom-tools-dropdown {
    position: relative;
  position: relative;
    display: inline-block;
  display: inline-block;
}
}
 
#p-custom-tools .menu {
/* Style for the dropdown button */
    display: none;
.custom-tools-dropdown .mw-collapsible-toggle {
    position: absolute;
  background-color: #4CAF50;
    background-color: #f9f9f9;
  color: white;
    min-width: 160px;
  padding: 8px 12px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  font-size: 13px;
    z-index: 1;
  border: none;
}
}
 
#p-custom-tools:hover .menu {
/* Style for the dropdown content */
    display: block;
.custom-tools-dropdown .pBody {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
 
/* Show the dropdown content on hover */
.custom-tools-dropdown:hover .pBody {
  display: block;
}
}

Revision as of 01:41, 23 February 2024

#p-custom-tools {
    position: relative;
    display: inline-block;
}
#p-custom-tools .menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}
#p-custom-tools:hover .menu {
    display: block;
}