Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4156435
mw.echo.badge.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
mw.echo.badge.less
View Options
@
import
'mediawiki.skin.variables.less'
;
@
import
'../echo.variables.less'
;
/* stylelint-disable no-descending-specificity */
/* We have to include the #pt-notifications selector due to monobook */
.
mw-echo-notifications-badge
{
#pt-notifications-alert
&,
#pt-notifications-notice
&
{
position
:
relative
;
display
:
block
;
box-sizing
:
border-box
;
width
:
20
px
;
height
:
20
px
;
margin
:
0
2
px
;
//
Hide
the
text,
but
keep
accessible
for
screen-readers
//
Later
we
put
the
counter
back
onscreen
with
a
zero
text-indent
top
:
0
;
text-indent
:
-9999
px
;
border-radius
:
@
border-radius
-
base
;
cursor
:
pointer
;
text-decoration
:
none
;
line-height
:
normal
;
opacity
:
0.87
;
color
:
transparent
;
&:hover,
&:active,
&:focus
{
outline
:
@
outline
-
base--focus
;
}
&
:
focus
{
box-shadow
:
0
0
0
1
px
#fff
,
0
0
0
3
px
#36c
;
opacity
:
1
;
&::after
{
border-color
:
@
border-color
-
progressive--focus
;
}
}
//
Counter
&
::
after
{
position
:
absolute
;
display
:
inline-block
;
cursor
:
pointer
;
//
Bring
it
back
onscreen
top
:
9
px
;
text-indent
:
0
;
left
:
55
%
;
font-size
:
0.9
em
;
font-weight
:
bold
;
padding
:
0
0.3
em
;
border
:
@
border-width
-
base
@
border-style
-
base
@
border-color
-
inverted
;
border-radius
:
@
border-radius
-
base
;
background-color
:
@
badge-counter-background-seen
;
content
:
attr
(
data
-counter-text
);
color
:
@
color
-
inverted
;
}
&
-dimmed
{
opacity
:
0.4
;
}
&
.
mw-echo-notifications-badge-long-label
{
margin-right
:
0.5
em
;
&::after
{
left
:
35
%
;
}
}
&
.
mw-echo-notifications-badge-all-read
{
//
Icon
is
always
solid
black
in
Vector
2022
(T329300)
body
:
not
(
.
skin
-vector-2022
)
&
{
opacity
:
0.51
;
}
&
::
after
{
visibility
:
hidden
;
}
}
}
&
.
oo-ui-flaggedElement-unseen
,
&
.
mw-echo-unseen-notifications
{
#pt-notifications-alert
&::after
{
background-color
:
@
background-color
-
destructive
;
}
#
pt-notifications-notice
&
::
after
{
background-color
:
@
background-color
-
progressive
;
}
}
}
/* stylelint-enable no-descending-specificity */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 19 2026, 22:18 (8 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/85/6de042643540b1e9f28739a83714
Default Alt Text
mw.echo.badge.less (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment