mediawiki-extensions-Discus.../modules/dt.debug.less

68 lines
1 KiB
Plaintext
Raw Normal View History

@import 'mediawiki.skin.variables.less';
.mw-dt-heading {
font-size: 110%;
font-weight: bold;
}
.mw-dt-comment {
border: 1px solid #ccc;
border-radius: 3px;
padding: 5px;
margin-top: 0.5em;
> summary {
padding-left: 0.25em;
&:focus {
outline: 0;
background: @background-color-progressive-subtle !important; /* stylelint-disable-line declaration-no-important */
}
}
> .mw-dt-comment {
margin-left: 1.5em;
}
&-body {
margin-left: 1.25em;
overflow: hidden;
}
> .mw-dt-comment[ data-level='1' ] {
margin-left: 0;
}
&-signature {
margin-left: (1.25em / 0.9);
font-size: 90%;
color: #666;
summary > & {
margin-left: (0.25em / 0.9);
}
}
&-author {
font-weight: bold;
}
[ data-level='1' ],
[ data-level='3' ],
[ data-level='5' ],
[ data-level='7' ],
[ data-level='9' ],
[ data-level='11' ] {
background: @background-color-interactive;
}
[ data-level='0' ],
[ data-level='2' ],
[ data-level='4' ],
[ data-level='6' ],
[ data-level='8' ],
[ data-level='10' ] {
background: @background-color-base;
}
}