Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2751106
ext.echo.styles.badge.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
ext.echo.styles.badge.less
View Options
/* stylelint-disable selector-max-id */
@
import
'mediawiki.skin.variables.less'
;
/**
* Mixin based on Vector mixin
* https://github.com/wikimedia/mediawiki-skins-Vector/blob/master/skinStyles/ext.echo.styles.badge.less
* Used in desktop version of Minerva.
*/
.
mixin-notification-badge
()
{
position
:
relative
;
//
When
99+
allow
counter
so
spill
outside
icon
&.cdx-button
{
overflow
:
visible
;
}
&
::
after
{
position
:
absolute
;
left
:
55
%
;
top
:
43
%
;
font-size
:
0.75
rem
;
padding
:
0.25
rem
;
border
:
1
px
solid
#fff
;
border-radius
:
@
border-radius
-
base
;
background-color
:
#72777d
;
content
:
attr
(
data
-counter-text
);
color
:
#fff
;
}
//
The
number
of
notifications
shouldn
't show if there are none.
&[ data-counter-num='
0
'
]
::
after
{
content
:
none
;
}
}
.
minerva-icon
.
minerva-icon--bell
{
.cdx-mixin-css-icon(
@cdx-icon-bell,
@color-subtle)
;
}
.
minerva-icon
.
minerva-icon--tray
{
.cdx-mixin-css-icon(
@cdx-icon-tray,
@color-subtle)
;
}
.
mw-echo-notification-badge-nojs
{
.mixin-notification-badge()
;
}
//
Special
colors
for
unseen
notifications
(
Applies
to
desktop
Minerva
)
#
pt-notifications-alert
.
mw-echo-unseen-notifications
::
after
{
background-color
:
@
color
-
destructive
;
}
#
pt-notifications-notice
.
mw-echo-unseen-notifications
::
after
{
background-color
:
@
color
-
progressive
;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 3, 17:52 (1 d, 1 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9f/69/c986e12cc819454d697551e86864
Default Alt Text
ext.echo.styles.badge.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment