MediaWiki:VectorPlus.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
#p-custom-tools {
/* Add custom CSS styles for the Tools dropdown */
#p-tools {
     position: relative;
     position: relative;
    display: inline-block;
}
}
#p-custom-tools .menu {
 
#p-tools .vector-menu-heading {
    cursor: pointer;
}
 
#p-tools .vector-menu-content {
     display: none;
     display: none;
     position: absolute;
     position: absolute;
     background-color: #f9f9f9;
     top: 100%;
     min-width: 160px;
    right: 0;
     box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1000;
     z-index: 1;
}
 
#p-tools .vector-menu-content-list {
     list-style-type: none;
     padding: 0;
}
 
#p-tools .vector-menu-content-list li {
     padding: 5px 10px;
}
}
#p-custom-tools:hover .menu {
 
     display: block;
#p-tools .vector-menu-content-list li:hover {
     background-color: #f0f0f0;
}
}

Latest revision as of 01:44, 23 February 2024

/* Add custom CSS styles for the Tools dropdown */
#p-tools {
    position: relative;
}

#p-tools .vector-menu-heading {
    cursor: pointer;
}

#p-tools .vector-menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
}

#p-tools .vector-menu-content-list {
    list-style-type: none;
    padding: 0;
}

#p-tools .vector-menu-content-list li {
    padding: 5px 10px;
}

#p-tools .vector-menu-content-list li:hover {
    background-color: #f0f0f0;
}