MediaWiki:SwaggerUI.css

.swagger-ui, .swagger-ui :is(.info, section.models, .dialog-ux .modal-ux-header, .dialog-ux .modal-ux-content) :is(h1, h2, h3, h4, h5, .title), .swagger-ui .tab li, .swagger-ui .btn, .swagger-ui .model, .swagger-ui .model-title, .swagger-ui .dialog-ux .modal-ux-content p, .swagger-ui label, .opblock-tag, .opblock-summary-operation-id, .opblock-summary-path, .opblock-summary-path__deprecated, .opblock-summary-description, .opblock-section-header *, .opblock-description-wrapper *, .opblock-external-docs-wrapper *, .opblock-title_normal *, .swagger-ui .responses-inner :is(h4, h5), .swagger-ui table tr :is(td, th, td div) { color: var(--theme-page-text-color) !important; }

.swagger-ui * { outline: none !important; }

.swagger-ui .scheme-container, .swagger-ui .opblock .opblock-section-header { background-color: transparent !important; }

.swagger-ui pre { background-color: unset; border: unset; line-height: unset; }

.swagger-ui :is(select, select[disabled], input, input[disabled], textarea, textarea[disabled], select option) { background-color: rgba(var(--theme-page-background-color--rgb), 0.25) !important; color: var(--theme-page-text-color) !important; border-color: var(--theme-border-color) !important; } .swagger-ui :is(select[disabled], input[disabled], textarea[disabled]) { opacity: 0.6;

.swagger-ui .parameter__name.required span, .swagger-ui .parameter__name.required:after { color: var(--theme-alert-color); }

.swagger-ui .dialog-ux .modal-ux { background-color: var(--theme-page-background-color--secondary) !important; color: var(--theme-page-text-color) !important; border: none !important; }