Merry Christmas from the IIWiki Team! Have a happy new year!
MediaWiki:VectorPlus.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→Style for the custom tools dropdown: .custom-tools-dropdown { position: relative; display: inline-block; } →Style for the dropdown button: .dropbtn { background-color: #4CAF50; color: white; padding: 16px; font-size: 16px; border: none; } →Style for the dropdown content: .dropdown-content { display: none; position: absolute; background-color: #f9f9f9; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1; } /...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /* 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; | |||
} | } |
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;
}