2023-04-02 20:57:43 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2020-12-15 19:45:05 +00:00
|
|
|
|
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;
|
2022-04-19 19:58:20 +00:00
|
|
|
// This is in user language, do not inherit text-align from the content (T306137).
|
2023-05-24 17:55:11 +00:00
|
|
|
// We can't set 'text-align: left' (and rely on flipping), because
|
2022-04-19 19:58:20 +00:00
|
|
|
// that would affect the input field, which is in content language.
|
|
|
|
text-align: initial;
|
2022-07-07 15:24:49 +00:00
|
|
|
|
|
|
|
.skin-monobook & {
|
|
|
|
font-size: ( 12.8em / 12.7 );
|
|
|
|
}
|
2021-04-14 18:18:43 +00:00
|
|
|
}
|
2020-04-07 14:33:32 +00:00
|
|
|
|
2024-09-06 13:38:43 +00:00
|
|
|
.skin-vector-2022 {
|
|
|
|
.ext-discussiontools-ui-newTopic,
|
|
|
|
.ext-discussiontools-ui-replyWidget {
|
|
|
|
font-size: 0.875rem;
|
|
|
|
line-height: 1.5714285;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-ui-replyWidget-bodyWrapper,
|
|
|
|
.ext-discussiontools-ui-newTopic-sectionTitle-field > .oo-ui-fieldLayout-body {
|
|
|
|
font-size: var( --font-size-medium );
|
|
|
|
line-height: var( --line-height-medium );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-14 18:18:43 +00:00
|
|
|
// @supports does not work when nested
|
|
|
|
@supports ( display: flow-root ) {
|
|
|
|
.ext-discussiontools-ui-replyWidget {
|
|
|
|
// Allow the widget to be squished next to floating elements (T278476).
|
|
|
|
//
|
|
|
|
// To ensure that everything is squished to the same width, introduce a block formatting context
|
|
|
|
// (otherwise the preview or textarea could be wider than the container and mess up the layout).
|
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
|
|
|
|
//
|
|
|
|
// All of the usual ways to do this (listed on that page) have unwanted side-effects
|
|
|
|
// (in particular, `overflow: hidden` cuts off VE inspectors), so we must use this relatively
|
2023-05-24 17:55:11 +00:00
|
|
|
// recent property, and only apply this fix on supporting browsers, notably excluding Safari <13
|
2021-04-14 18:18:43 +00:00
|
|
|
// (https://caniuse.com/?search=flow-root)
|
2024-06-05 17:36:37 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
2021-04-14 18:18:43 +00:00
|
|
|
display: flow-root;
|
2023-05-12 12:38:26 +00:00
|
|
|
min-width: 20em;
|
2021-04-14 18:18:43 +00:00
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-22 20:41:09 +00:00
|
|
|
.ext-discussiontools-ui-replyWidget { /* stylelint-disable-line no-descending-specificity */
|
2022-05-05 17:08:24 +00:00
|
|
|
&-bodyWrapper > .oo-ui-textInputWidget {
|
2019-11-22 21:53:31 +00:00
|
|
|
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;
|
2022-05-05 17:08:24 +00:00
|
|
|
// Leave space for newComments button
|
|
|
|
padding-bottom: 22px;
|
2020-03-04 14:40:55 +00:00
|
|
|
}
|
2019-11-22 21:53:31 +00:00
|
|
|
}
|
|
|
|
|
2020-06-01 13:45:55 +00:00
|
|
|
&-scrollback-top {
|
|
|
|
transform: translate( -50%, -150% );
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
2022-10-17 13:49:36 +00:00
|
|
|
// .mw-sticky-header-element is also added to move the element down
|
|
|
|
// in skins that implement a sticky header
|
2020-06-01 13:45:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-scrollback-bottom {
|
|
|
|
transform: translate( -50%, 150% );
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-scrollback-top,
|
|
|
|
&-scrollback-bottom {
|
|
|
|
position: fixed;
|
|
|
|
opacity: 0;
|
|
|
|
transition: transform 250ms, opacity 250ms;
|
|
|
|
z-index: 1;
|
|
|
|
margin: 1em 0;
|
|
|
|
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
|
|
|
|
|
2024-02-13 13:54:38 +00:00
|
|
|
// OOUI Apex theme
|
2020-06-01 13:45:55 +00:00
|
|
|
.skin-monobook & {
|
|
|
|
box-shadow: 0 0.2em 1em rgba( 0, 0, 0, 0.3 );
|
|
|
|
}
|
2022-11-02 13:47:35 +00:00
|
|
|
|
|
|
|
// Buttons can't be reliably positioned on iOS when the keyboard
|
|
|
|
// is visible, so hide them
|
|
|
|
.ext-discussiontools-init-virtual-keyboard-open.ext-discussiontools-init-ios & {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-01 13:45:55 +00:00
|
|
|
}
|
|
|
|
|
2022-11-02 13:47:35 +00:00
|
|
|
/* stylelint-disable no-descending-specificity */
|
2020-06-01 13:45:55 +00:00
|
|
|
&-floating-top &-scrollback-top,
|
|
|
|
&-floating-bottom &-scrollback-bottom {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translate( -50%, 0 );
|
|
|
|
}
|
2022-11-02 13:47:35 +00:00
|
|
|
/* stylelint-enable no-descending-specificity */
|
2020-06-01 13:45:55 +00:00
|
|
|
|
2020-04-27 15:42:35 +00:00
|
|
|
.ve-ui-targetToolbar > .oo-ui-toolbar-bar {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
2020-12-15 19:45:05 +00:00
|
|
|
// Stretch to all available space
|
|
|
|
flex-grow: 1;
|
2020-04-27 15:42:35 +00:00
|
|
|
}
|
|
|
|
|
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-12-15 19:45:05 +00:00
|
|
|
.skin-minerva & .ve-ui-surface-visual .ve-ce-paragraphNode {
|
|
|
|
// Reduce paragraph spacing in editor, as replies will actually generate <dd> not <p>
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-07 15:24:49 +00:00
|
|
|
.skin-monobook & .ve-ui-surface-visual {
|
|
|
|
font-size: ( 12.7em / 12.8 );
|
|
|
|
}
|
|
|
|
|
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;
|
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
|
|
|
|
2022-07-07 15:24:49 +00:00
|
|
|
.ext-discussiontools-ui-modeTab {
|
2024-02-13 13:54:38 +00:00
|
|
|
// OOUI Apex theme
|
2022-07-07 15:24:49 +00:00
|
|
|
.skin-monobook & {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-25 22:29:22 +00:00
|
|
|
// When mode tabs are focussed, the only available option uses the same styles as normal focus
|
2022-07-07 15:24:06 +00:00
|
|
|
// Hovering also adds this class, but is styled upstream with just an underline.
|
|
|
|
.ext-discussiontools-ui-modeTab.oo-ui-optionWidget-highlighted:not( :hover ) {
|
2023-04-02 20:57:43 +00:00
|
|
|
color: @color-progressive;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
box-shadow: @box-shadow-inset-medium @box-shadow-color-progressive-selected;
|
2021-02-25 22:29:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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 {
|
2023-04-02 20:57:43 +00:00
|
|
|
color: @color-progressive;
|
|
|
|
box-shadow: @box-shadow-inset-medium-vertical @box-shadow-color-progressive-selected;
|
2021-02-25 22:29:22 +00:00
|
|
|
}
|
2020-04-27 16:23:27 +00:00
|
|
|
}
|
|
|
|
|
2020-12-15 19:45:05 +00:00
|
|
|
&-editSwitch {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.oo-ui-toolbar-bar { /* stylelint-disable-line no-descending-specificity */
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-toolbar-popups {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2022-07-01 12:31:32 +00:00
|
|
|
|
|
|
|
.skin-minerva & {
|
|
|
|
margin-top: -2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-04 15:20:45 +00:00
|
|
|
.skin-minerva &-advanced:not( .oo-ui-element-hidden ) ~ &-actionsWrapper &-actions {
|
2022-07-01 12:31:32 +00:00
|
|
|
margin-top: 0;
|
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;
|
2024-09-28 20:51:47 +00:00
|
|
|
font-size: @font-size-x-small;
|
2023-04-02 20:57:43 +00:00
|
|
|
color: @color-subtle;
|
2020-03-12 19:58:36 +00:00
|
|
|
|
2024-09-26 16:15:46 +00:00
|
|
|
> p {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2021-09-21 10:15:44 +00:00
|
|
|
> * {
|
2020-04-07 14:33:32 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-03-12 19:58:36 +00:00
|
|
|
}
|
2021-09-21 10:15:44 +00:00
|
|
|
|
|
|
|
&-links {
|
|
|
|
// Extra specificity to override rules from MediaWiki
|
2024-02-03 22:37:21 +00:00
|
|
|
&,
|
2021-09-21 10:15:44 +00:00
|
|
|
.mw-content-ltr &,
|
|
|
|
.mw-content-rtl & {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
|
2023-03-22 18:41:31 +00:00
|
|
|
&::after {
|
2021-09-21 10:15:44 +00:00
|
|
|
content: ' • ';
|
|
|
|
}
|
|
|
|
|
2023-03-22 18:41:31 +00:00
|
|
|
&:last-child::after {
|
2021-09-21 10:15:44 +00:00
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-01 12:34:35 +00:00
|
|
|
|
|
|
|
.skin-minerva & > p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
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;
|
2022-02-14 19:42:45 +00:00
|
|
|
// Establish a block formatting context, so that floated content (e.g. image thumbnails)
|
|
|
|
// doesn't leak out and mess up our layout. (Also hides the 'Preview' label when empty.)
|
|
|
|
overflow: hidden;
|
2020-02-03 20:34:13 +00:00
|
|
|
|
|
|
|
&:empty {
|
2020-03-23 22:50:03 +00:00
|
|
|
height: 0;
|
|
|
|
padding: 0;
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
|
|
|
|
2023-03-22 18:41:31 +00:00
|
|
|
&::before {
|
2020-02-03 20:34:13 +00:00
|
|
|
content: attr( data-label );
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
|
2022-07-07 15:24:49 +00:00
|
|
|
> .mw-parser-output {
|
|
|
|
.skin-monobook & {
|
|
|
|
font-size: ( 12.7em / 12.8 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-12-15 19:45:05 +00:00
|
|
|
|
|
|
|
.skin-minerva & {
|
|
|
|
margin-left: -1em;
|
|
|
|
}
|
2020-02-03 20:34:13 +00:00
|
|
|
}
|
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;
|
|
|
|
}
|
2022-06-01 21:43:42 +00:00
|
|
|
|
|
|
|
.ext-discussiontools-init-section-bar {
|
|
|
|
// Looks just a little weird to display this in preview of your own new topic (T309423)
|
|
|
|
display: none;
|
|
|
|
}
|
2022-07-29 13:09:56 +00:00
|
|
|
|
|
|
|
// Hide collapse icons on mobile
|
|
|
|
.section-heading .indicator { /* stylelint-disable-line selector-class-pattern */
|
|
|
|
display: none;
|
|
|
|
}
|
2023-09-22 15:35:59 +00:00
|
|
|
|
|
|
|
// ... and expand sections
|
|
|
|
.collapsible-block[ hidden ] { /* stylelint-disable-line selector-class-pattern */
|
|
|
|
// If hidden=until-found is supported, this will set content-visibility: hidden;
|
2024-06-05 17:36:37 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
2023-09-22 15:35:59 +00:00
|
|
|
content-visibility: visible;
|
|
|
|
// otherwise it will set display: none;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
// TODO: Consider doing this via's Toggler.js's APIs, rather than CSS overrides.
|
2024-06-26 17:21:59 +00:00
|
|
|
|
2024-07-29 21:44:58 +00:00
|
|
|
@media screen {
|
|
|
|
html.skin-theme-clientpref-night & {
|
|
|
|
background: @background-color-interactive-subtle;
|
|
|
|
}
|
2024-06-26 17:21:59 +00:00
|
|
|
}
|
|
|
|
|
2024-07-29 21:44:58 +00:00
|
|
|
@media screen and ( prefers-color-scheme: dark ) {
|
2024-06-26 17:21:59 +00:00
|
|
|
html.skin-theme-clientpref-os & {
|
|
|
|
background: @background-color-interactive-subtle;
|
|
|
|
}
|
|
|
|
}
|
2019-11-20 20:27:08 +00:00
|
|
|
}
|
|
|
|
|
2022-05-05 17:08:24 +00:00
|
|
|
&-bodyWrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-02-02 16:18:01 +00:00
|
|
|
&-newComments {
|
2022-05-05 17:08:24 +00:00
|
|
|
position: absolute;
|
|
|
|
bottom: -1em;
|
|
|
|
left: 50%;
|
|
|
|
transition: transform 250ms ease-in, opacity 250ms ease-in;
|
|
|
|
transform: translate( -50%, 30px );
|
|
|
|
opacity: 0;
|
2022-07-31 22:00:05 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.skin-minerva & {
|
|
|
|
// stylelint-disable-next-line declaration-property-unit-disallowed-list
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2022-05-05 17:08:24 +00:00
|
|
|
|
|
|
|
&-open {
|
|
|
|
transform: translate( -50%, 0 );
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Same border-radius is applied to all these elements to ensure that the trimmed-off corner
|
|
|
|
// areas don't capture clicks
|
|
|
|
&,
|
|
|
|
.oo-ui-buttonElement-framed:first-child,
|
|
|
|
.oo-ui-buttonElement-framed:first-child .oo-ui-buttonElement-button {
|
|
|
|
border-bottom-left-radius: 1.1em;
|
|
|
|
border-top-left-radius: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Same border-radius is applied to all these elements to ensure that the trimmed-off corner
|
|
|
|
// areas don't capture clicks
|
|
|
|
&,
|
|
|
|
.oo-ui-buttonElement-framed:last-child,
|
|
|
|
.oo-ui-buttonElement-framed:last-child .oo-ui-buttonElement-button {
|
|
|
|
border-bottom-right-radius: 1.1em;
|
|
|
|
border-top-right-radius: 1.1em;
|
|
|
|
}
|
2022-02-02 16:18:01 +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;
|
2022-06-03 15:33:26 +00:00
|
|
|
|
|
|
|
// Hide warning icon below tablet width
|
2023-10-25 06:43:06 +00:00
|
|
|
@media all and ( max-width: @max-width-breakpoint-mobile ) {
|
2022-06-03 15:33:26 +00:00
|
|
|
& {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
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;
|
2022-06-03 15:33:26 +00:00
|
|
|
|
|
|
|
// Hide warning icon below tablet width
|
2023-10-25 06:43:06 +00:00
|
|
|
@media all and ( max-width: @max-width-breakpoint-mobile ) {
|
2022-06-03 15:33:26 +00:00
|
|
|
& {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
2021-03-22 16:28:13 +00:00
|
|
|
&-editSummaryField {
|
|
|
|
// We want to display the "Summary" label and the checkboxes on the same line (above the summary
|
|
|
|
// field), but prevent them from overlapping if there's not enough space. The checkboxes are
|
|
|
|
// after the summary field in the DOM for accessibility reasons, but we want to display them
|
|
|
|
// above it, and we can't achieve this with floats.
|
|
|
|
.oo-ui-fieldLayout-body {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row-reverse wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-ui-replyWidget-checkboxes {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-fieldLayout-header {
|
|
|
|
order: 2;
|
|
|
|
// Stretch to all available space on the line
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-fieldLayout-field {
|
|
|
|
order: 3;
|
|
|
|
// Force to a separate line
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-12-15 19:45:05 +00:00
|
|
|
|
|
|
|
// Change field layout and order on mobile
|
2023-10-25 06:43:06 +00:00
|
|
|
@media all and ( max-width: @max-width-breakpoint-mobile ) {
|
2020-12-15 19:45:05 +00:00
|
|
|
.oo-ui-fieldLayout-header {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-fieldLayout-field {
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-discussiontools-ui-replyWidget-checkboxes {
|
|
|
|
order: 3;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
2020-08-25 12:31:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-editSummary {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2022-07-01 12:31:19 +00:00
|
|
|
&-advanced.oo-ui-element-hidden + &-anonWarning {
|
2020-08-25 12:31:54 +00:00
|
|
|
// Removing spacing between message widgets when the first is hidden
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-advancedToggle {
|
2024-09-28 20:51:47 +00:00
|
|
|
font-size: @font-size-x-small;
|
2020-08-25 12:31:54 +00:00
|
|
|
|
|
|
|
.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
|
|
|
}
|
2019-11-22 21:53:31 +00:00
|
|
|
}
|