mediawiki-extensions-Discus.../modules/dt.ui.NewTopicController.less
David Lynch f24a73a05a Show a hint on the new topic tool to explain that it's new
This shows to users who are logged in and have more than 500 edits

Bug: T293962
Change-Id: Ic47fa897c6a4f43c27d4cfd5571e34f8acb01eb8
2021-12-16 16:01:38 +01:00

48 lines
961 B
Plaintext

.ext-discussiontools-ui-newTopic {
clear: both;
&.oo-ui-panelLayout-padded.oo-ui-panelLayout-framed {
margin-top: 2em;
}
.ext-discussiontools-ui-newTopic-notices {
// Ensure that the form is visible below the notice in case of large notices and small screens
max-height: 75vh;
overflow: auto;
}
.ext-discussiontools-ui-newTopic-notices + .oo-ui-fieldLayout {
margin-top: 0;
}
h2&-sectionTitle {
max-width: none;
// This element is a <h2> - override unwanted heading styles
padding: 0;
border: 0;
margin-top: 4px;
}
.ext-discussiontools-ui-replyWidget {
margin-bottom: 0;
}
.oo-ui-fieldLayout-messages {
max-width: none;
}
}
.ext-discussiontools-ui-newTopic-hint.oo-ui-messageWidget-block {
margin-top: 2em;
margin-bottom: -1.5em;
padding-right: 48px;
.oo-ui-buttonElement {
margin-right: 0;
/* Position relative to the surrounding .oo-ui-messageWidget */
position: absolute;
right: 8px;
top: 8px;
}
}