Update styles for user-interface-preferences in user links menu.
- Add new menu to UserLinks template. - Fix styles for user links toolbar. Bug: T282196 Change-Id: I42d6e6e11d76b2d25b2720a617f2fb2e545eb4b6
This commit is contained in:
parent
571764fdc6
commit
06d0afbcb3
|
@ -1,4 +1,5 @@
|
|||
<div class="vector-user-links">
|
||||
{{#data-user-interface-preferences}}{{>Menu}}{{/data-user-interface-preferences}}
|
||||
{{#is-anon}}
|
||||
<div id="p-createaccount" class="vector-user-links-createaccount">
|
||||
{{#data-userlinks}}{{{html-create-account}}}{{/data-userlinks}}
|
||||
|
|
|
@ -115,4 +115,28 @@
|
|||
.vector-user-links-createaccount {
|
||||
margin-left: 0.75em;
|
||||
}
|
||||
|
||||
// Adjust the user-interface-preferences menu.
|
||||
.mw-portlet-user-interface-preferences {
|
||||
margin-top: -0.2em;
|
||||
margin-right: 0;
|
||||
padding: 0;
|
||||
|
||||
// Hide the heading of the user-interface-preferences menu.
|
||||
h3 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li {
|
||||
font-size: 0.75em;
|
||||
|
||||
a {
|
||||
padding-left: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
ul.vector-menu-content-list {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue