summaryrefslogtreecommitdiff
path: root/www/wiki/skins/Vector/components/personalMenu.less
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/skins/Vector/components/personalMenu.less')
-rw-r--r--www/wiki/skins/Vector/components/personalMenu.less44
1 files changed, 44 insertions, 0 deletions
diff --git a/www/wiki/skins/Vector/components/personalMenu.less b/www/wiki/skins/Vector/components/personalMenu.less
new file mode 100644
index 00000000..979831f3
--- /dev/null
+++ b/www/wiki/skins/Vector/components/personalMenu.less
@@ -0,0 +1,44 @@
+/* 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;
+ 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; // stylelint-disable-line declaration-no-important
+}
+
+/* Show "Not logged in" text in gray */
+#pt-anonuserpage {
+ color: #707070;
+}