mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css
Adam Wight b079440068 Fix template dialog parameter padding on mobile
In the mobile view, parameters don't have left padding so some styles
should only be applied to the desktop stylesheet.

Bug: T304167
Change-Id: I1846512c21aae36f212fe142b7d96ac91e46854b
2022-03-21 09:53:22 +01:00

51 lines
1.2 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwParameterPage .ve-ui-mwParameter-wikitextFallbackInput {
/* Support: Blink, Gecko, Webkit */
/* Specify a valid second value to fix size, see T176636 */
font-family: monospace, monospace;
background-color: #c8ccd1;
}
.ve-ui-mwParameterPage-info {
margin-bottom: 0.5em;
}
.ve-ui-mwParameterPage-label {
display: inline;
vertical-align: middle;
font-weight: bold;
overflow-wrap: break-word;
}
.ve-ui-mwParameterPage-statusIndicator {
display: inline-block;
vertical-align: middle;
opacity: 0.5;
}
.ve-ui-mwParameterPage-inlineDescription {
position: relative;
}
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-inlineDescription {
/* FIXME remove when sidebar feature flag is gone T303386 */
padding-left: 0;
}
.ve-ui-mwTransclusionDialog-newSidebar .ve-ui-mwParameterPage-inlineDescription > .ve-ui-expandableContent-container {
right: 0;
}
.ve-ui-mwParameterPage-undocumentedLabel {
margin-left: 0.4em;
font-size: 13px;
font-style: italic;
color: #72777d;
}