dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCFilters: Style the Saved Links placeholder and add a title"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.widgets
/
mw.widgets.DateInputWidget.less
diff --git
a/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
b/resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
index
8ba9a99
..
cad2b02
100644
(file)
--- a/
resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
+++ b/
resources/src/mediawiki.widgets/mw.widgets.DateInputWidget.less
@@
-30,15
+30,18
@@
@indicator-size: unit( 12 / 16 / 0.8, em );
.mw-widget-dateInputWidget {
@indicator-size: unit( 12 / 16 / 0.8, em );
.mw-widget-dateInputWidget {
- display: inline-block;
- position: relative;
- width: 21em;
- margin-top: 0.25em;
- .oo-ui-inline-spacing( 0.5em );
- margin-bottom: 0.25em;
- margin-left: 0;
-
- &-handle {
+ &.oo-ui-textInputWidget {
+ display: inline-block;
+ position: relative;
+ width: 21em;
+ margin-top: 0.25em;
+ .oo-ui-inline-spacing( 0.5em );
+ margin-bottom: 0.25em;
+ margin-left: 0;
+ }
+
+ &-handle,
+ &.oo-ui-textInputWidget input {
background-color: #fff;
display: inline-block;
position: relative;
background-color: #fff;
display: inline-block;
position: relative;
@@
-51,6
+54,11
@@
border-radius: 2px;
outline: 0;
line-height: 1.275;
border-radius: 2px;
outline: 0;
line-height: 1.275;
+ /**
+ * Ensures non-infused and infused widget have the same height.
+ * Equal to line height + top padding + bottom padding
+ */
+ height: 2.275em;
> .oo-ui-labelElement-label {
padding: 0;
> .oo-ui-labelElement-label {
padding: 0;