Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4162958
Menu.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
Menu.less
View Options
.
citizen-menu
{
.mixin-citizen-font-styles(
'small'
)
;
&__card
{
--transform-origin-offset-start
:
var
(
--space-xs
);
--transform-origin-offset-end
:
~
'calc( 100% - var( --space-xs ) )'
;
margin
:
var
(
--space-xs
);
contain
:
content
;
-webkit-
user-select
:
none
;
user-select
:
none
;
border
:
var
(
--border-width-base
)
solid
var
(
--border-color-base
);
border-radius
:
var
(
--border-radius-medium
);
box-shadow
:
var
(
--box-shadow-large
);
transform
:
scale
(
0
);
.mixin-citizen-frosted-glass
;
&-content
{
max-width
:
inherit
;
max-height
:
inherit
;
overflow
:
auto
;
overscroll-behavior
:
contain
;
}
}
&
__heading
{
display
:
block
;
padding
:
var
(
--space-xs
)
var
(
--space-md
);
margin
:
0
;
color
:
var
(
--color-subtle
);
.mixin-citizen-font-styles(
'overline'
)
;
}
&
__content-list
{
margin
:
0
;
list-style
:
none
;
}
.
mw-list-item
{
a
{
display
:
flex
;
gap
:
var
(
--space-sm
);
align-items
:
center
;
min-height
:
2.25
rem
;
padding-inline
:
var
(
--space-md
);
font-weight
:
var
(
--font-weight-medium
);
color
:
var
(
--color-base
);
transition
:
var
(
--transition-hover
);
transition-property
:
opacity
;
&:hover
{
background-color
:
var
(
--background-color-button-quiet--hover
);
}
&
:
active
{
background-color
:
var
(
--background-color-button-quiet--active
);
}
&
:
hover
,
&
:
focus
{
text-decoration
:
none
;
}
}
}
}
//
FIXME
:
This
should
not
be
here
//
TODO
:
Convert
to
use
core
css-icon
mixin
//
https
://
gerrit
.
wikimedia
.
org
/
g
/
mediawiki
/
core
/+/
master
/
resources
/
lib
/
codex
/
mixins
/
css-icon
.
less
.
citizen-ui-icon
{
display
:
block
;
width
:
var
(
--size-icon
);
min-width
:
var
(
--size-icon
);
height
:
var
(
--size-icon
);
min-height
:
var
(
--size-icon
);
contain
:
strict
;
content-visibility
:
auto
;
transition-timing-function
:
var
(
--transition-timing-function-ease
);
transition-duration
:
var
(
--transition-duration-base
);
transition-property
:
content-visibility
;
transition-behavior
:
allow-discrete
;
&::before
{
display
:
block
;
width
:
100
%
;
height
:
100
%
;
content
:
''
;
background-color
:
currentcolor
;
background-image
:
none
!important
;
//
In
case
if
there
are
other
OOUI
icon
modules
-webkit-
mask-repeat
:
no-repeat
;
mask-repeat
:
no-repeat
;
-webkit-
mask-position
:
center
;
mask-position
:
center
;
-webkit-
mask-size
:
contain
;
mask-size
:
contain
;
}
}
.
mw-portlet
{
//
Hide
selected
item
.selected
{
.mixin-citizen-screen-reader-only
;
}
//
Hide
empty
menu
&
-empty
{
display
:
none
!important
;
}
}
//
HACK
:
Restore
view
button
on
revision
page
(
#
845
)
//
There
are
no
good
way
to
target
revision
page
.
action-view
{
&:has(
.diff
),
&:has(
.mw-revision
)
{
#ca-view
{
position
:
relative
;
width
:
auto
;
height
:
auto
;
overflow
:
initial
;
white-space
:
unset
;
clip-path
:
unset
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 20 2026, 01:47 (10 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
47/6a/c7a1fb454290d9e748f429769948
Default Alt Text
Menu.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment