mediawiki-extensions-Discus.../modules/dt-ve/CommentTargetWidget.less
Ed Sanders cf3e7c49d8 Redesign "new comments" warning
Bug: T300560
Change-Id: I5abf22b5a11c2639392a3d571c987ed5afaac2d6
2022-05-12 18:02:32 +01:00

46 lines
993 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;
// Leave space for newComments button
padding-bottom: 22px;
}
}
&.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;
// Leave space for newComments button
padding-bottom: 16px;
}
}
// 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;
}
}
}
}