MediaWiki:Gadget-calc.css
After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.
- In most Windows and Linux browsers: Hold down Ctrl and press F5.
- In Safari: Hold down ⇧ Shift and click the Reload button.
- In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
.jcConfig {
display: none;
}
.jcTable {
margin: 0 !important;
}
.jcTable th {
text-align: left !important;
}
.jcSubmit img {
margin: 0 auto;
}
div > .jcTable .jsCalc-field.oo-ui-fieldLayout:before,
div > .jcTable .jsCalc-field.oo-ui-fieldLayout:after,
div > .jcTable .jsCalc-group.oo-ui-layout:before,
div > .jcTable .jsCalc-group.oo-ui-layout:after {
display: none;
}
div > .jcTable .jsCalc-group.oo-ui-layout:before,
div > .jcTable .jsCalc-group.oo-ui-layout:after {
display: none;
clear: both;
}
div > .jcTable .jsCalc-field,
div > .jcTable .jsCalc-group {
display: block;
clear: both;
}
.jsCalc-field.jsCalc-field-hs .oo-ui-fieldLayout-field .oo-ui-actionFieldLayout-input,
.jsCalc-field.jsCalc-field-hs .oo-ui-fieldLayout-field .oo-ui-actionFieldLayout-button {
display: inline-block;
}
/* Position toggle buttons same as other inputs */
.oo-ui-fieldLayout.jsCalc-field-togglebutton.oo-ui-fieldLayout-align-right > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
width: 35%;
margin-right: 5%;
}
/* Style empty fixed field */
.jsCalc-field-fixed > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field > .oo-ui-labelElement-label:empty {
width: 50%;
background-color: #fff;
border: 1px solid #a2a9b1;
border-radius: 2px;
padding: 0.57142857em 0.57142857em 0.5em;
box-shadow: inset 0 0 0 1px transparent;
transition: border-color 200ms cubic-bezier(0.4, 0.55, 0.55, 1), box-shadow 200ms cubic-bezier(0.4, 0.55, 0.55, 1);
}
.jsCalc-field-fixed > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field > .oo-ui-labelElement-label:empty::before {
content: '\200B';
}
body.wgl-theme-dark .jsCalc-field-fixed > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field > .oo-ui-labelElement-label:empty {
background-color: #384766;
border-color: #475980;
}
/* Action fields spacing, number field spaceing */
.jsCalc-field-combobox .oo-ui-comboBoxInputWidget-field,
.jsCalc-field-int .oo-ui-numberInputWidget-field,
.jsCalc-field-number .oo-ui-numberInputWidget-field {
border-spacing: 0;
}
/* Messages and errors spacing */
.oo-ui-fieldLayout-messages > li {
border-spacing: 0;
margin-left: 40%;
}
/**
* Styles for grouped inputs
* Also removes OO.ui.HorizontalLayout styling
**/
/** why not just use the correct widgets to use here instead of faking them?
* would reduce the need to duplicate these styles */
.oo-ui-horizontalLayout.jsCalc-group > .oo-ui-layout,
.oo-ui-horizontalLayout.jsCalc-group > .oo-ui-widget {
display: block;
margin: 0;
}
.oo-ui-horizontalLayout.jsCalc-group {
padding: 5px;
border: 1px solid var(--sidebar);
border-radius: 2px;
margin-top: 5px;
margin-bottom: 5px;
}
body.wgl-theme-dark .oo-ui-horizontalLayout.jsCalc-group {
border-color: #3f5073;
}
.oo-ui-horizontalLayout.jsCalc-group > .jsCalc-grouplabel {
width: 35%;
text-align: right;
font-weight: bold;
font-size: 1.14285714em;
}
.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
overflow: visible;
}