MediaWiki:Gadget-toplinksDropdown.css: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
body:not(.mw-special-Preferences) #pt-watchlist,
body:not(.mw-special-Preferences) #pt-watchlist,
body:not(.mw-special-Preferences) #pt-mycontris,
body:not(.mw-special-Preferences) #pt-mycontris,
body:not(.mw-special-Preferences) #pt-mysandbox,
body:not(.mw-special-Preferences) #pt-sandbox,
body:not(.mw-special-Preferences) #pt-logout {
body:not(.mw-special-Preferences) #pt-logout {
     display: none;
     display: none;
Line 19: Line 19:
body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown {
body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown {
     display: none;
     display: none;
     background: #fff;
     background: #010103;
     border: 1px solid #e4eaee;
     border: 1px solid #002b4e;
     padding: 1em;
     padding: 1em;
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
     box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
Line 67: Line 67:


body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a:hover {
body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a:hover {
     background: #f9fafa;
     background: #002b4e;
     border-radius: .25em;
     border-radius: .25em;
     text-decoration: none;
     text-decoration: none;

Latest revision as of 16:58, 11 March 2020

/* <pre> */
body:not(.mw-special-Preferences) #pt-mytalk,
body:not(.mw-special-Preferences) #pt-preferences,
body:not(.mw-special-Preferences) #pt-watchlist,
body:not(.mw-special-Preferences) #pt-mycontris,
body:not(.mw-special-Preferences) #pt-sandbox,
body:not(.mw-special-Preferences) #pt-logout {
    display: none;
}

body:not(.mw-special-Preferences) #p-personal #pt-userpage {
    float: right;
    position: relative;
    padding: .75em 0;
    margin: -0.15em 1em 0.1em;
    background-position: left center;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown {
    display: none;
    background: #010103;
    border: 1px solid #002b4e;
    padding: 1em;
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 2.5em;
    right: 0;
    z-index: 10;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::before {
    content: '';
    position: absolute;
    border: 8px solid transparent;
    border-top: 0;
    border-bottom: 8px solid #e4eaee;
    top: -8px;
    right: 10px;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::after {
    content: '';
    position: absolute;
    border: 11px solid transparent;
    border-top: 0;
    border-bottom: 11px solid #ffffff;
    top: -6.5px;
    right: 7px;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown ul {
    padding: 0;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li {
    display: block;
    width: 100%;
    font-size: 1.1em;
    margin: 0;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a {
    display: block;
    padding: .5em 1em;
    box-sizing: border-box;
}

body:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a:hover {
    background: #002b4e;
    border-radius: .25em;
    text-decoration: none;
}

body:not(.mw-special-Preferences) #pt-userpage:hover .pt-userpage-dropdown {
    display: block;
}

body:not(.mw-special-Preferences) #pt-mytalk .mw-echo-alert {
    color: #6bc71f;
    background: none;
    font-weight: bold;
}

.wgl-darkmode:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown {
    background: #313e59;
    border-color: #596e96;
}

.wgl-darkmode:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::before {
    border-bottom-color: #596e96;
}

.wgl-darkmode:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown::after {
    border-bottom-color: #313e59;
}

.wgl-darkmode:not(.mw-special-Preferences) #pt-userpage .pt-userpage-dropdown li a:hover {
    background: #29354e;
}