Vector: Rewrite p-personal with nesting.
authorjrobson <jrobson@wikimedia.org>
Wed, 8 Jan 2014 17:57:23 +0000 (09:57 -0800)
committerjrobson <jrobson@wikimedia.org>
Wed, 8 Jan 2014 18:16:11 +0000 (10:16 -0800)
Change-Id: I3b25552005a2d43759c7f1687008f8ae90f15111

skins/vector/components/personalMenu.less

index 8fde437..7256929 100644 (file)
@@ -5,27 +5,27 @@
        right: 0.75em;
        /* Display on top of page tabs - bugs 37158, 48078 */
        z-index: 100;
-}
 
-#p-personal h3 {
-       display: none;
-}
+       h3 {
+               display: none;
+       }
 
-#p-personal ul {
-       list-style-type: none;
-       list-style-image: none;
-       margin: 0;
-       padding-left: 10em; /* Keep from overlapping logo */
-}
+       ul {
+               list-style-type: none;
+               list-style-image: none;
+               margin: 0;
+               padding-left: 10em; /* Keep from overlapping logo */
+       }
 
-#p-personal 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;
+       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 */