2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-ui-replyWidget {
|
2020-04-07 14:33:32 +00:00
|
|
|
margin-bottom: 1em;
|
2020-04-27 16:23:27 +00:00
|
|
|
position: relative;
|
|
|
|
clear: both;
|
2020-04-07 14:33:32 +00:00
|
|
|
|
2019-11-22 21:53:31 +00:00
|
|
|
> .oo-ui-textInputWidget {
|
|
|
|
max-width: none;
|
2020-03-04 14:40:55 +00:00
|
|
|
|
|
|
|
.oo-ui-inputWidget-input {
|
|
|
|
line-height: 1.5em;
|
2021-01-03 16:22:13 +00:00
|
|
|
overflow-y: hidden;
|
2020-03-04 14:40:55 +00:00
|
|
|
}
|
2019-11-22 21:53:31 +00:00
|
|
|
}
|
|
|
|
|
2020-04-27 15:42:35 +00:00
|
|
|
.ve-ui-targetToolbar > .oo-ui-toolbar-bar {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
> .oo-ui-toolbar-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-11 15:02:37 +00:00
|
|
|
.oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above {
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
.oo-ui-window-body {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-28 22:08:54 +00:00
|
|
|
.ve-ui-targetToolbar {
|
2020-07-31 20:24:51 +00:00
|
|
|
display: flex;
|
|
|
|
// Allow wrapping when the space is very narrow (mode switcher above toolbar)
|
|
|
|
flex-wrap: wrap-reverse;
|
2021-02-28 22:08:54 +00:00
|
|
|
|
|
|
|
> .oo-ui-windowManager {
|
|
|
|
flex-basis: 100%;
|
|
|
|
box-shadow: 0 -1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
|
|
|
}
|
2020-07-31 20:24:51 +00:00
|
|
|
}
|
|
|
|
|
2020-04-27 16:23:27 +00:00
|
|
|
&-modeTabs {
|
|
|
|
box-shadow: none;
|
|
|
|
height: 3em;
|
2020-07-06 19:29:08 +00:00
|
|
|
text-align: right;
|
2020-07-31 20:24:51 +00:00
|
|
|
// Stretch to all available space
|
|
|
|
flex-grow: 1;
|
2021-02-25 22:29:22 +00:00
|
|
|
// Hide outline that can appear after switching modes via keyboard
|
|
|
|
outline: 0;
|
2020-07-06 19:29:08 +00:00
|
|
|
|
|
|
|
.oo-ui-tabOptionWidget:last-child {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2021-02-25 22:29:22 +00:00
|
|
|
|
|
|
|
// When mode tabs are focussed, the only available option uses the same styles as normal focus
|
|
|
|
.ext-discussiontools-ui-modeTab.oo-ui-optionWidget-highlighted {
|
|
|
|
color: #36c;
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: inset 0 0 0 2px #36c;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The unavailable option in mode tabs is disabled, to make it un-interactable, but we want it
|
|
|
|
// to look as if it was selected
|
|
|
|
.ext-discussiontools-ui-modeTab.oo-ui-widget-disabled {
|
|
|
|
color: #36c;
|
|
|
|
box-shadow: inset 0 -2px 0 0 #36c;
|
|
|
|
}
|
2020-04-27 16:23:27 +00:00
|
|
|
}
|
|
|
|
|
2020-02-03 20:34:13 +00:00
|
|
|
&-actionsWrapper {
|
|
|
|
margin-top: 0.5em;
|
2020-07-31 20:24:51 +00:00
|
|
|
display: flex;
|
|
|
|
// Allow wrapping when the space is very narrow (buttons above the footer text)
|
|
|
|
flex-wrap: wrap-reverse;
|
|
|
|
// When wrapping, align actions to the right
|
|
|
|
justify-content: flex-end;
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-actions {
|
2020-07-31 20:24:51 +00:00
|
|
|
// Add spacing before the footer when wrapping
|
|
|
|
margin-bottom: 0.5em;
|
2020-02-03 20:34:13 +00:00
|
|
|
margin-left: 3em;
|
|
|
|
white-space: nowrap;
|
2019-12-09 14:20:06 +00:00
|
|
|
}
|
|
|
|
|
2020-03-12 19:58:36 +00:00
|
|
|
&-footer {
|
2020-07-31 20:24:51 +00:00
|
|
|
// Preferred width; if there isn't enough space, this wraps under the actions
|
|
|
|
flex-basis: 20em;
|
|
|
|
// Stretch to all available space
|
2019-12-09 14:20:06 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
font-size: 0.75em;
|
|
|
|
color: #54595d;
|
2020-03-12 19:58:36 +00:00
|
|
|
|
2020-04-07 14:33:32 +00:00
|
|
|
> p {
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-03-12 19:58:36 +00:00
|
|
|
}
|
2019-11-22 21:53:31 +00:00
|
|
|
}
|
2019-11-19 19:33:14 +00:00
|
|
|
|
2019-11-20 20:27:08 +00:00
|
|
|
&-preview {
|
2020-02-03 20:34:13 +00:00
|
|
|
background: #f6f6f6;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
|
|
|
|
&:empty {
|
2020-03-23 22:50:03 +00:00
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: attr( data-label );
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-ui-replyWidget:not( .ext-discussiontools-ui-replyWidget-newTopic ) & > .mw-parser-output {
|
2020-02-03 20:34:13 +00:00
|
|
|
margin-left: -1.6em;
|
|
|
|
}
|
2020-08-29 12:00:51 +00:00
|
|
|
|
|
|
|
> .mw-parser-output > h2:first-child {
|
|
|
|
// Remove excess spacing above section title for preview
|
|
|
|
padding-top: 0;
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
2019-11-20 20:27:08 +00:00
|
|
|
}
|
|
|
|
|
2020-12-11 16:27:07 +00:00
|
|
|
&-anonWarning,
|
|
|
|
&-advanced {
|
|
|
|
&.oo-ui-messageWidget-block {
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-captcha {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-error {
|
|
|
|
margin-bottom: 0.5em;
|
2020-03-09 19:35:15 +00:00
|
|
|
}
|
|
|
|
|
2020-02-03 20:34:13 +00:00
|
|
|
&-anonWarning {
|
2020-08-25 12:31:54 +00:00
|
|
|
margin-bottom: 0.5em;
|
2020-02-03 20:34:13 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-12-16 14:16:53 +00:00
|
|
|
// Allow wrapping when the space is very narrow (buttons below the warning text)
|
|
|
|
flex-wrap: wrap;
|
|
|
|
// When wrapping, align actions to the right
|
|
|
|
justify-content: flex-end;
|
2020-02-03 20:34:13 +00:00
|
|
|
|
|
|
|
&.oo-ui-messageWidget-block {
|
|
|
|
> .oo-ui-iconElement-icon {
|
|
|
|
background-position: center center;
|
|
|
|
transform: scale( 1.5 );
|
2020-06-30 14:19:13 +00:00
|
|
|
transform-origin: 0 center;
|
2020-12-16 14:16:53 +00:00
|
|
|
left: 1em;
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-labelElement-label {
|
|
|
|
flex-grow: 1;
|
2020-12-16 14:16:53 +00:00
|
|
|
flex-basis: 20em;
|
2020-06-30 14:19:13 +00:00
|
|
|
margin-left: 3em;
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
2020-09-24 14:49:33 +00:00
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
.ext-discussiontools-ui-replyWidget-actions {
|
2020-09-24 14:49:33 +00:00
|
|
|
// Fix alignment within message widget
|
2020-12-16 14:16:53 +00:00
|
|
|
margin-top: 0.5em;
|
2020-09-24 14:49:33 +00:00
|
|
|
}
|
2019-11-19 19:33:14 +00:00
|
|
|
}
|
2020-03-04 16:19:19 +00:00
|
|
|
|
2020-08-25 12:31:54 +00:00
|
|
|
&-editSummaryField.oo-ui-labelElement {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-editSummary {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2021-03-13 14:39:39 +00:00
|
|
|
&-advanced.oo-ui-element-hidden + .ext-discussiontools-ui-replyWidget-anonWarning {
|
2020-08-25 12:31:54 +00:00
|
|
|
// Removing spacing between message widgets when the first is hidden
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-advancedToggle {
|
|
|
|
font-size: 0.75em;
|
|
|
|
|
|
|
|
.oo-ui-indicatorElement-indicator {
|
|
|
|
min-width: auto;
|
|
|
|
}
|
2020-12-15 14:55:59 +00:00
|
|
|
|
|
|
|
.oo-ui-buttonElement-button {
|
|
|
|
min-height: auto;
|
|
|
|
}
|
2020-08-25 12:31:54 +00:00
|
|
|
}
|
|
|
|
|
2020-03-04 16:19:19 +00:00
|
|
|
&-checkboxes {
|
2020-08-25 12:31:54 +00:00
|
|
|
float: right;
|
2020-03-04 16:19:19 +00:00
|
|
|
}
|
2019-11-22 21:53:31 +00:00
|
|
|
}
|