mediawiki-extensions-Discus.../modules/dt.ui.ReplyWidget.less
Ed Sanders 0f7eb2e36a Add "watch this page" checkbox
Bug: T245222
Depends-On: I1e0e9bb9da53a62f8a20126e579dcd6300bd2376
Change-Id: If966d2fa97648452a50a2318988a8b64d7c449cd
2020-04-20 12:40:44 +01:00

87 lines
1.1 KiB
Plaintext

.dt-ui-replyWidget {
margin-bottom: 1em;
> .oo-ui-textInputWidget {
max-width: none;
.oo-ui-inputWidget-input {
line-height: 1.5em;
}
}
&-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 {
display: none;
}
&:before {
content: attr( data-label );
color: #808080;
}
> .mw-parser-output {
margin-left: -1.6em;
}
}
.oo-ui-messageWidget {
margin-bottom: 0.5em;
}
&-anonWarning {
display: flex;
align-items: center;
margin-top: 1em;
margin-bottom: 0.5em;
&.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;
}
}