2 * MediaWiki Widgets - TitleWidget styles.
4 * @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
7 @import 'mediawiki.mixins';
9 .mw-widget-titleWidget-menu {
10 .mw-widget-titleOptionWidget {
19 .mw-widget-titleOptionWidget {
20 .box-sizing( border-box );
24 padding-bottom: 0.5em;
26 &:not( :last-child ) {
30 > .oo-ui-labelElement-label {
35 > .oo-ui-iconElement-icon {
40 &:not( .mw-widget-titleOptionWidget-hasImage ) {
41 background-color: #c8ccd1;
44 &.mw-widget-titleOptionWidget-hasImage {
46 background-size: cover;
52 &.oo-ui-optionWidget-highlighted,
53 &.oo-ui-optionWidget-selected {
54 &.oo-ui-iconElement > .mw-widget-titleOptionWidget-hasImage {
62 .mw-widget-titleOptionWidget {
63 > .oo-ui-labelElement-label {
70 text-overflow: ellipsis;
76 /* TODO: Should be able to use :not( &-withDescriptions ) but LESS version is buggy (T204816) */
77 &:not( .mw-widget-titleWidget-menu-withDescriptions ) {
78 .mw-widget-titleOptionWidget-description {
86 .oo-ui-icon-page-disambiguation {
88 background-image: url( images/page-disambiguation-ltr.svg );
91 .oo-ui-icon-page-existing {
93 background-image: url( images/page-existing-ltr.svg );
96 .oo-ui-icon-page-not-found {
98 background-image: url( images/page-not-found-ltr.svg );
101 .oo-ui-icon-page-not-found:lang( he ) {
103 background-image: url( images/page-not-found-he-yi.svg );
106 .oo-ui-icon-page-redirect {
108 background-image: url( images/page-redirect-ltr.svg );