mirror of
https://github.com/Redocly/redoc.git
synced 2025-04-23 02:02:01 +03:00
2.9 KiB
2.9 KiB
title |
---|
Redoc CSS Guide |
Custom CSS Overrides Guide
Certain components and containers in this project have been given unique classNames to allow for easier CSS overriding.
List of Unique ClassNames
Operations
middle-panel
: top level container for content in the middle panel of an Operationright-panel
: top level container for content in the right panel of an Operationoperation-header
:<h2>
that contains the Operation header/summaryoperation-description
: container for the Operation description
Security
operation-security
: top level container for the Security/Auth section in an Operationsecurity-details
: container for an individual security method in the Security/Auth section
Parameters
operation-parameters
: container for Operation query/path/header/form parameters
Requests
operation-request-samples
: top level container for the Request Samples section in the right panelrequest-code-sample
: container for the request code samples in the right panelrequest-payload
: container for the request payload sample in the right panel
Responses
operation-responses
: top level container for the Responses section in the middle panelresponse
: container for individual responses in the Responses sectionresponse-headers
:<tbody>
for response headers for an individual responseoperation-response-samples
: top level container for the Response Samples section in the right panelresponse-sample
: container for the response payload sample in the right panel
Callbacks
callbacks
: top level container for the Callbacks section in the middle panelcallback
: container for individual callbacks in the Callbacks sectionoperation-callback-samples
: top level container for the Callback Samples section in the right panelcallback-sample
: container for the callback payload sample in the right panel
Schemas
array-schema
: container for array schemaobject-schema
:<tbody>
for object schemaoneOf-schema
: container for oneOf schemarecursive-schema
container for recursive schema
Fields
field
:<tr>
for individual fields inside a Schemafield-details
: container for details on an individual Fieldfield-constraints
:<span>
for constraints on an individual Field inside the field detailsfield-deprecated
: deprecated badge for an individual Field inside the field detailsfield-example
: example value for an individual Field inside the field detailsfield-pattern
: regex pattern for an individual Field inside the field details
Other
side-menu
: top level container for the sidebar menuendpoint
: container for the endpoint URL used in multiple placesrequest-body-description
: container for the description of a request body used in multiple places