MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
Baris 51: | Baris 51: | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
color: #0073aa; | color: #0073aa; | ||
} | |||
/* Hilangkan bullet/titik separator sebelum dropdown custom */ | |||
.vector-user-links .vector-menu-content-item::before { | |||
content: none !important; | |||
} | } |
Revisi per 19 Oktober 2025 07.47
/* CSS yang ada di sini akan diterapkan pada semua kulit. */
/* Dropdown header menu */
.custom-sites-dropdown {
position: relative;
}
.custom-sites-dropdown .dropdown-toggle {
cursor: pointer;
font-weight: 600;
color: #0073aa;
text-decoration: none;
padding: 0 0.5em;
}
.custom-sites-dropdown .dropdown-toggle:hover {
text-decoration: underline;
}
.custom-sites-dropdown .dropdown-menu {
display: none;
position: absolute;
right: 0;
top: 100%;
background: #fff;
list-style: none;
margin: 0;
padding: 0.5em 0;
min-width: 280px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
border-radius: 8px;
z-index: 999;
}
.custom-sites-dropdown.open .dropdown-menu {
display: block;
}
.custom-sites-dropdown .dropdown-menu li {
margin: 0;
}
.custom-sites-dropdown .dropdown-menu li a {
display: block;
padding: 0.5em 1em;
color: #202122;
text-decoration: none;
white-space: nowrap;
}
.custom-sites-dropdown .dropdown-menu li a:hover {
background-color: #f0f0f0;
color: #0073aa;
}
/* Hilangkan bullet/titik separator sebelum dropdown custom */
.vector-user-links .vector-menu-content-item::before {
content: none !important;
}