Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4118198
mw.widgets.TitleWidget.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
mw.widgets.TitleWidget.less
View Options
/*!
* MediaWiki Widgets - TitleWidget styles.
*
* @copyright 2011-2025 MediaWiki Widgets Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
@
import
'mediawiki.skin.variables.less'
;
.
mw-widget-titleWidget-menu
{
.mw-widget-titleOptionWidget
{
line-height
:
normal
;
&-description
{
color
:
@
color
-
subtle
;
}
}
&
-withImages
{
.mw-widget-titleOptionWidget
{
box-sizing
:
border-box
;
min-height
:
3.75
em
;
padding-left
:
4.75
em
;
padding-top
:
@
spacing-50
;
padding-bottom
:
@
spacing-50
;
&:not(
:last-child
)
{
margin-bottom
:
2
px
;
}
>
.
oo-ui-labelElement-label
{
line-height
:
2.8
em
;
}
&
.
oo-ui-iconElement
{
>
.oo-ui-iconElement-icon
{
display
:
block
;
width
:
3.75
em
;
height
:
3.75
em
;
left
:
0
;
&:not(
.mw-widget-titleOptionWidget-hasImage
)
{
background-size
:
80
%
;
background-color
:
#c8ccd1
;
opacity
:
0.4
;
}
&
.
mw-widget-titleOptionWidget-hasImage
{
border
:
0
;
background-size
:
cover
;
opacity
:
0.7
;
}
}
}
&
.
oo-ui-optionWidget-highlighted
,
&
.
oo-ui-optionWidget-selected
{
&.oo-ui-iconElement
>
.mw-widget-titleOptionWidget-hasImage
{
opacity
:
1
;
}
}
}
}
&
-withDescriptions
{
.mw-widget-titleOptionWidget
{
>
.oo-ui-labelElement-label
{
line-height
:
1.5
em
;
}
&
-description
{
display
:
block
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
}
}
}
/* TODO: Should be able to use :not( &-withDescriptions ) but LESS version is buggy (T204816) */
&
:
not
(
.
mw-widget-titleWidget-menu-withDescriptions
)
{
.mw-widget-titleOptionWidget-description
{
display
:
none
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 02:39 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f7/9a/f2f3f66966bd277bf6cce0eb562c
Default Alt Text
mw.widgets.TitleWidget.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment