Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4153735
Menu.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 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
;
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(
citizen-menu__card-backdrop
)
;
@supports
(
user-select
:
none
)
{
user-select
:
none
;
}
&
-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
;
@supports
(
content-visibility
:
auto
)
{
content-visibility
:
auto
;
}
&
::
before
{
display
:
block
;
width
:
100
%
;
height
:
100
%
;
content
:
''
;
//
Fallback
for
browsers
that
do
not
support
mask-image
@supports
not
(
(
-webkit-
mask-image
:
none
)
or
(
mask-image
:
none
)
)
{
background-repeat
:
no-repeat
;
background-position
:
center
;
background-size
:
contain
;
}
@
supports
(
-webkit-mask-image
:
none
)
or
(
mask-image
:
none
)
{
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
;
}
}
}
@
supports
(
user-select
:
none
)
{
.
citizen-menu__card
{
user-select
:
none
;
}
}
@
supports
(
content-visibility
:
auto
)
{
.
citizen-ui-icon
{
content-visibility
:
auto
;
}
}
.
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 19 2026, 20:50 (7 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/c0/5d53eb900772422cc07f81c55dd5
Default Alt Text
Menu.less (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment