aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.widgets/mw.widgets.DateTimeInputWidget.styles.less
blob: 89251773aec256a47b385e0402c6e2146a98c6cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*!
 * MediaWiki Widgets – PHP DateTimeInputWidget styles.
 *
 * @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

// Pending state (T382186)
.client-nojs .mw-widgets-datetime-dateTimeInputWidget .mw-widgets-pendingTextInputWidget,
.client-js .mw-widgets-datetime-dateTimeInputWidget input[ type='datetime' ] {
	display: none;
}

.mw-widgets-datetime-dateTimeInputWidget .mw-widgets-pendingTextInputWidget {
	// Hack^2: apply same max-width used by the widget to match the calendar popup.
	max-width: 24.275em;
}