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 {
41 &:not( .mw-widget-titleOptionWidget-hasImage ) {
42 background-color: #c8ccd1;
46 &.mw-widget-titleOptionWidget-hasImage {
48 background-size: cover;
54 &.oo-ui-optionWidget-highlighted,
55 &.oo-ui-optionWidget-selected {
56 &.oo-ui-iconElement > .mw-widget-titleOptionWidget-hasImage {
64 .mw-widget-titleOptionWidget {
65 > .oo-ui-labelElement-label {
72 text-overflow: ellipsis;
78 /* TODO: Should be able to use :not( &-withDescriptions ) but LESS version is buggy (T204816) */
79 &:not( .mw-widget-titleWidget-menu-withDescriptions ) {
80 .mw-widget-titleOptionWidget-description {
88 .oo-ui-icon-page-disambiguation {
90 background-image: url( images/page-disambiguation-ltr.svg );
93 .oo-ui-icon-page-existing {
95 background-image: url( images/page-existing-ltr.svg );
98 .oo-ui-icon-page-not-found {
100 background-image: url( images/page-not-found-ltr.svg );
103 .oo-ui-icon-page-not-found:lang( he ) {
105 background-image: url( images/page-not-found-he-yi.svg );
108 .oo-ui-icon-page-redirect {
110 background-image: url( images/page-redirect-ltr.svg );