Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4125410
icons.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
icons.less
View Options
@
import
'mediawiki.skin.variables.less'
;
//
NOTE
:
@
param-is-button-icon
lets
us
change
the
icon
color
//
with
background-color
by
using
mask-image
.
//
over
specified
so
that
it
overrides
the
minerva-icon
default
.
.
minerva-icon
.
minerva-icon--modified-history
{
.
cdx-mixin-css-icon
(
@
cdx-icon-history
,
@
param-is-button-icon
:
true
)
;
}
.
minerva-icon
.
minerva-icon--expand
{
.
cdx-mixin-css-icon
(
@
cdx-icon-next
,
@
param-is-button-icon
:
true
)
;
}
.
minerva-icon
.
minerva-icon--newspaper
{
.
cdx-mixin-css-icon
(
@
cdx-icon-newspaper
,
@
param-is-button-icon
:
true
)
;
}
.
minerva-icon
.
minerva-icon-size-small
{
.
cdx-mixin-css-icon-background
(
@
size-icon-small
)
;
.
cdx-mixin-css-icon-size
(
@
size-icon-small
)
;
}
//
Start
T374145
@
transparentPNG
:
url
(
data
:
image
/
png
;
base64
,
iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII
=);
.
minerva-icon
{
//
By
default
use
a
transparent
PNG.
This
is
important
for
icons
loaded
via
JavaScript,
as
without
this
//
the
icon
will
appear
as
a
black
square
until
loaded.
-webkit-
mask-image
:
@
transparentPNG
;
mask-image
:
@
transparentPNG
;
.cdx-mixin-css-icon('none')
;
background-color
:
@
color
-
subtle
;
}
.
minerva-icon--language-disabled
{
background-color
:
@
color
-
disabled
;
}
//
Dark
mode
adjustments
@
media
screen
{
html
.
skin-theme-clientpref-night
{
//
Disable
inversion
for
icons
in
dark
mode,
except
where
explicitly
defined
.toggle-list
.minerva-icon
{
filter
:
none
;
}
//
Invert
only
branding
images
(
e
.
g
.,
logo
)
inside
the
branding-box
in
dark
mode
.
branding-box
img
{
filter
:
invert
(
1
);
}
}
}
@
media
screen
and
(
prefers-color-scheme
:
dark
)
{
html
.
skin-theme-clientpref-os
{
//
Disable
inversion
for
OS-level
dark
mode
as
well
.toggle-list
.minerva-icon
{
filter
:
none
;
}
//
Branding
image
inversion
for
OS-level
dark
mode
.
branding-box
img
{
filter
:
invert
(
1
);
}
}
}
//
End
T374145
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 07:27 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cf/30/3c9561a6bc792f4a3f77dc635296
Default Alt Text
icons.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment