X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.widgets%2Fmw.widgets.TitleWidget.less;h=be3c10e5fc76b3223b1288e6305880046cca9326;hb=0b2b8e94cd306195a6999c122184b92d4d643f83;hp=bbffe28920e73807ac2d432aef6982dbabe16eb6;hpb=64b83bdb3afd0ee4f8fc1893a865409c198e601e;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less b/resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less index bbffe28920..be3c10e5fc 100644 --- a/resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less +++ b/resources/src/mediawiki.widgets/mw.widgets.TitleWidget.less @@ -4,23 +4,24 @@ * @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ +@import 'mediawiki.mixins'; .mw-widget-titleWidget-menu { .mw-widget-titleOptionWidget { line-height: normal; &-description { - color: #888; + color: #72777d; } } &-withImages { .mw-widget-titleOptionWidget { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; + .box-sizing( border-box ); min-height: 3.75em; padding-left: 4.75em; + padding-top: 0.5em; + padding-bottom: 0.5em; &:not( :last-child ) { margin-bottom: 2px; @@ -37,7 +38,7 @@ height: 3.75em; left: 0; &:not( .mw-widget-titleOptionWidget-hasImage ) { - background-color: #ccc; + background-color: #c8ccd1; opacity: 0.4; } &.mw-widget-titleOptionWidget-hasImage { @@ -78,3 +79,30 @@ } } } + +/* Icons */ + +.oo-ui-icon-page-disambiguation { + /* @embed */ + background-image: url( images/page-disambiguation-ltr.svg ); +} + +.oo-ui-icon-page-existing { + /* @embed */ + background-image: url( images/page-existing-ltr.svg ); +} + +.oo-ui-icon-page-not-found { + /* @embed */ + background-image: url( images/page-not-found-ltr.svg ); +} + +.oo-ui-icon-page-not-found:lang( he ) { + /* @embed */ + background-image: url( images/page-not-found-he-yi.svg ); +} + +.oo-ui-icon-page-redirect { + /* @embed */ + background-image: url( images/page-redirect-ltr.svg ); +}