summaryrefslogtreecommitdiffstats
path: root/vector/components/personalMenu.less
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:18:12 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:18:12 +0200
commit0e8b7f021f27e524f8c0b25dca600c00fd2c2468 (patch)
treea1194ff372adcc235bcfea361af8830ed954456a /vector/components/personalMenu.less
parent14ffe3143e36d79ef7054b293e51f3fb4b658224 (diff)
downloadmediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar
mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.gz
mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.bz2
mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.tar.xz
mediawiki-0e8b7f021f27e524f8c0b25dca600c00fd2c2468.zip
Add mw 1.23.15 themes
Diffstat (limited to 'vector/components/personalMenu.less')
-rw-r--r--vector/components/personalMenu.less41
1 files changed, 41 insertions, 0 deletions
diff --git a/vector/components/personalMenu.less b/vector/components/personalMenu.less
new file mode 100644
index 0000000..7256929
--- /dev/null
+++ b/vector/components/personalMenu.less
@@ -0,0 +1,41 @@
+/* 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,
+#pt-login {
+ 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;
+}