Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4083720
buttons.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
buttons.less
View Options
@
import
'mediawiki.skin.variables.less'
;
//
Make
sure
label
vertically
aligns
with
icon
.
cdx-button
{
display
:
inline-flex
;
align-items
:
center
;
justify-content
:
center
;
}
//
Apply
spacing
between
icons
and
text
in
buttons
and
menu
items
.
toggle-list-item__anchor
,
.
cdx-button
{
.minerva-icon
+
span
:
not
(
:
empty
)
{
margin-left
:
8
px
;
}
}
//
Never
reveal
the
labels
of
icon
only
buttons
in
the
header
,
//
article
content
(
parser-output
),
IP
masking
banner
,
//
or
MobileFrontend
overlays
/
drawers
.
//
Also
applies
to
the
slide
left
/
right
buttons
in
the
image
overlay
.
.
mw-temp-user-banner
,
.
mw-parser-output
,
.
overlay-header
,
.
drawer-container
,
.
slider-button
,
.
minerva-header
{
.cdx-button.cdx-button--icon-only
{
span
+
span
{
.mixin-screen-reader-text()
;
}
}
}
//
On
desktop
reveal
labels
of
icon-only
buttons
.
//
This
applies
to
page
actions
and
other
icon
only
buttons
//
that
are
not
scoped
in
the
rule
above
.
@
media
all
and
(
max-width
:
@
max-width-breakpoint-tablet
)
{
.
cdx-button
.
cdx-button--icon-only
{
span
+
span
:
last
-
child
{
.
mixin-screen-reader-text
();
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 18 2026, 07:21 (7 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6f/14/08804408d1499c5fb32f3ee6610e
Default Alt Text
buttons.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment