Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4120380
UserLinks.less
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
UserLinks.less
View Options
/**
* UserLinks
* All links and menus that appear in the header,
* at the top of the page, after the search bar.
*/
/**
* Top-most container that holds ALL menus in the user links section
* (horizontal menus and dropdowns)
* Logged-in and logged-out.
*/
.
vector-user-links
{
display
:
flex
;
align-items
:
center
;
position
:
relative
;
justify-content
:
flex-end
;
flex-shrink
:
1
;
//
Spacing
for
all
top-level
menu
icons.
.mw-list-item,
.vector-dropdown-label
{
margin
:
0
@
spacing-25
;
}
//
Reset
margins
on
items
inside
dropdowns
.
.
vector-dropdown-content
.
mw-list-item
{
margin
:
0
;
}
}
/**
* Container that holds just the dropdown user menu (displays "..." when logged out).
* Logged-in and logged-out.
*/
.
vector-user-menu
{
.vector-dropdown-content
{
.mixin-vector-dropdown-content-flip()
;
}
//
Used
to
hide
collapsible
items
inside
the
dropdown
menu
//
as
well
as
the
dropdown
menu
itself
when
the
menu
is
empty
&
.
user-links-collapsible-item
,
.
user-links-collapsible-item
{
@media
(
min-width
:
@
min-width
-
breakpoint-tablet
)
{
display
:
none
;
}
&
--none
{
display
:
none
;
}
}
}
/**
* Container that holds all menus except the user menu (.vector-user-menu).
* Logged-in and logged-out.
*/
.
vector-user-links-main
{
display
:
flex
;
align-items
:
center
;
.vector-menu-content-list
{
display
:
flex
;
align-items
:
center
;
font-size
:
@
font-size
-
small
;
}
.
user-links-collapsible-item
{
@media
(
max-width
:
@
max-width
-
breakpoint-mobile
)
{
display
:
none
;
}
}
}
/**
* Logged-in dropdown user menu.
*/
.
vector-user-menu-logged-in
.
vector-dropdown-label
{
.mixin-vector-arrowed-dropdown-toggle()
;
}
/**
* Logged-out dropdown user menu items- Special treatment for special links.
*/
#
p-user-menu-anon-editor
.
vector-menu-heading
{
display
:
block
;
a
:
:
before
{
content
:
'@{msg-parentheses-start}'
;
}
a
::
after
{
content
:
'@{msg-parentheses-end}'
;
}
}
/**
* Logged-in user-page link in personal (overflow) menu.
*/
#
pt-userpage-2
{
max-width
:
unit
(
155
/
@
font
-size-browser
/
@
font
-size-small
,
em
);
overflow
:
hidden
;
text-overflow
:
ellipsis
;
a
:
not
(
.
mw
-selflink
)
{
//
T312157
Override
redlink
(
.
new
)
color
for
non-existant
userpage
color
:
@
color
-
progressive
;
}
span
{
.text-overflow(
@
visible
:
false
);
}
//
T287522
#
7295558
:
Increase
the
max-width
of
the
username
when
viewport
//
allows
for
it
.
@
media
(
min-width
:
@
min-width-breakpoint-desktop-wide
)
{
max-width
:
unit
(
200
/
@
font-size-browser
/
@
font-size-small
,
em
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-asm
Expires
Wed, Aug 19, 03:59 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
32/31/8df5cf5a9d328464388b27c919fb
Default Alt Text
UserLinks.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment