diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 18:04:21 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 18:04:21 +0200 |
commit | ae1690690271c651ba9f9c01006fc7002eb5aac4 (patch) | |
tree | 641b89b9aed3f2fff2eb44ee7663131e44e63e55 /skins/Vector/components/personalMenu.less | |
parent | 4950c2edf9601bd12b2fd77c33b6e34d3a625f61 (diff) | |
download | mediawiki-ae1690690271c651ba9f9c01006fc7002eb5aac4.tar mediawiki-ae1690690271c651ba9f9c01006fc7002eb5aac4.tar.gz mediawiki-ae1690690271c651ba9f9c01006fc7002eb5aac4.tar.bz2 mediawiki-ae1690690271c651ba9f9c01006fc7002eb5aac4.tar.xz mediawiki-ae1690690271c651ba9f9c01006fc7002eb5aac4.zip |
Add new skins
Diffstat (limited to 'skins/Vector/components/personalMenu.less')
-rw-r--r-- | skins/Vector/components/personalMenu.less | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/skins/Vector/components/personalMenu.less b/skins/Vector/components/personalMenu.less new file mode 100644 index 0000000..300d77e --- /dev/null +++ b/skins/Vector/components/personalMenu.less @@ -0,0 +1,45 @@ +/* Personal */ +#p-personal { + position: absolute; + top: 0.33em; + right: 0.75em; + /* Display on top of page tabs - bugs 37158, 48078 */ + z-index: 100; + + h3 { + display: none; + } + + ul { + list-style-type: none; + list-style-image: none; + margin: 0; + padding-left: 10em; /* Keep from overlapping logo */ + } + + li { + line-height: 1.125em; + /* @noflip */ + float: left; + margin-left: 0.75em; + margin-top: 0.5em; + font-size: @menu-personal-font-size; + white-space: nowrap; + } +} + +/* Icon for Usernames */ +#pt-userpage, +#pt-anonuserpage { + background-position: left top; + background-repeat: no-repeat; + /* SVG support using a transparent gradient to guarantee cross-browser + * compatibility (browsers able to understand gradient syntax support also SVG) */ + .background-image-svg('images/user-icon.svg', 'images/user-icon.png'); + padding-left: 15px !important; +} + +/* Show "Not logged in" text in gray */ +#pt-anonuserpage { + color: #707070; +} |