mediawiki-extensions-Discus.../modules/dt.ui.ReplyWidget.less
Ed Sanders de84a27e88 Tweak appearance of find-and-replace toolbar
Change-Id: Ia61e765217ee9d4c249af0a2494ba427e29a0d54
2020-06-11 16:02:37 +01:00

121 lines
1.6 KiB
Plaintext

.dt-ui-replyWidget {
margin-bottom: 1em;
position: relative;
clear: both;
> .oo-ui-textInputWidget {
max-width: none;
.oo-ui-inputWidget-input {
line-height: 1.5em;
}
}
.ve-ui-targetToolbar > .oo-ui-toolbar-bar {
text-align: right;
background: none;
box-shadow: none;
border: 0;
> .oo-ui-toolbar-actions {
display: none;
}
}
.oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above {
border-top: 0;
.oo-ui-window-body {
padding-left: 0;
padding-right: 0;
}
}
&-modeTabs {
box-shadow: none;
height: 3em;
}
&-ve .dt-ui-replyWidget-modeTabs {
position: absolute;
z-index: 2;
top: 0;
}
&-actionsWrapper {
display: flex;
margin-top: 0.5em;
}
&-actions {
margin-left: 3em;
white-space: nowrap;
}
&-footer {
flex-grow: 1;
font-size: 0.75em;
color: #54595d;
> p {
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}
&-preview {
background: #f6f6f6;
padding: 0.5em 1em;
&:empty {
height: 0;
padding: 0;
overflow: hidden;
}
&:before {
content: attr( data-label );
color: #808080;
}
> .mw-parser-output {
margin-left: -1.6em;
}
}
.oo-ui-messageWidget,
.dt-ui-replyWidget-preview {
margin-bottom: 0.5em;
}
&-anonWarning {
display: flex;
align-items: center;
&.oo-ui-messageWidget-block {
padding: 8px 12px;
> .oo-ui-iconElement-icon {
background-position: center center;
transform: scale( 1.5 );
}
}
> .oo-ui-labelElement-label {
flex-grow: 1;
margin-left: 2.5em;
}
}
&-checkboxes {
display: inline-block;
vertical-align: middle;
margin-right: 1.5em;
}
}