mediawiki-extensions-Discus.../modules/dt-ve/CommentTargetWidget.less
Bartosz Dziewoński c51638e940 Update surface styles for VE changes
The .ve-init-mw-target-surface class is no longer added since
Ic5320f6747907542285674d386c7a59c9e857f0a.

Also apply changes similar to I8d20a830dc48f6a098b0f9e9a7c7c1656de0fe56
to avoid potential styling issues with nested surfaces.

Bug: T284567
Change-Id: I58a49f0137e8804fbd73de20048eb2ffdbbfbe77
2021-06-08 18:04:21 +02:00

42 lines
857 B
Plaintext

.ext-discussiontools-ui-targetWidget {
.oo-ui-toolGroup {
border: 0;
}
> .ve-init-target > .ve-ui-surface {
> .ve-ce-surface .ve-ce-attachedRootNode,
> .ve-ui-surface-placeholder {
min-height: 10em;
box-sizing: border-box;
}
&.ve-ui-surface-source {
> .ve-ce-surface .ve-ce-attachedRootNode,
> .ve-ui-surface-placeholder {
padding: 6px 8px;
}
}
&.ve-ui-surface-visual {
> .ve-ce-surface .ve-ce-attachedRootNode,
> .ve-ui-surface-placeholder {
/* Use an non-zero padding to disable margin collapse */
padding: 0.05px 8px;
}
}
// TODO: target this to username completion dropdowns, not all
.ve-ui-completionWidget > .oo-ui-menuSelectWidget {
min-width: 15em;
}
.ve-ui-completionWidget-header > .oo-ui-labelElement-label {
color: #404244;
> span {
color: #72777d;
}
}
}
}