Skip to content

CSS Reference

All Outconceive CSS classes use the mc- prefix. The stylesheet is built on CSS custom properties for theming.

Layout

ClassDescription
.mc-appRoot container (max-width: 800px)
.mc-rowFlex row (one line of components)
.mc-row.mc-gridGrid layout row
.mc-row.mc-flexExplicit flex row

Containers

ClassDescription
.mc-cardRounded card with shadow
.mc-modalModal dialog
.mc-sidebarSidebar with border
.mc-columnsCSS columns container

Components

ClassElement
.mc-labelText label
.mc-inputText input
.mc-input-passwordPassword input (wider letter spacing)
.mc-buttonButton
.mc-checkboxCheckbox
.mc-radioRadio button
.mc-selectSelect dropdown
.mc-textareaTextarea
.mc-linkHyperlink
.mc-imageImage
.mc-dividerHorizontal rule
.mc-spacerFlex spacer
.mc-pillRounded pill/tag
.mc-badgeCompact notification badge
.mc-progressProgress bar container
.mc-progress-barProgress bar fill (inner)
.mc-sparklineInline SVG sparkline chart
.mc-sparkline-pathSparkline stroke path
.mc-sparkline-fillSparkline area fill
.mc-has-popoverElement with hover tooltip

Button Styles

ClassAppearance
.mc-primaryBlue filled
.mc-secondaryGray filled
.mc-dangerRed filled
.mc-warningYellow filled
.mc-infoCyan text
.mc-outlineTransparent with accent border
.mc-ghostTransparent, no border

Column Grid

ClassWidth
.mc-col-1 through .mc-col-12N/12 of row width

Responsive variants: .mc-sm-col-N, .mc-md-col-N, .mc-lg-col-N, .mc-xl-col-N

Breakpoints: sm 576px, md 768px, lg 992px, xl 1200px.

Animations

ClassEffect
.mc-animate-fadeFade in
.mc-animate-slideSlide from left
.mc-animate-slide-upSlide from bottom
.mc-animate-scaleScale in
.mc-animate-bounceElastic bounce
.mc-animate-pulseContinuous pulse
.mc-animate-shakeHorizontal shake
.mc-animate-glowContinuous glow

Validation

ClassDescription
.mc-invalidRed border + shadow
.mc-validGreen border
.mc-errorError message text

Parametric

ClassDescription
.mc-parametricConstraint-based layout container (position: relative)
[data-parametric]Solved element wrapper (position: absolute)

Editor

ClassDescription
.mc-editorEditor container
.mc-editor-activeEditor initialized
.mc-editor-toolbarToolbar row
.mc-editor-btnToolbar button
.mc-editor-btn-activeActive format state
.mc-editor-contentContenteditable area

Routing

ClassDescription
.route-activeApplied to active route's nav element

Size Scale

.mc-size-1 (10px) through .mc-size-9 (48px).

Custom Properties

See Theming for the full list of --mc-* CSS variables.

Data Attributes

AttributeSet ByUsed By
data-lineRendererRow identification
data-bindRendererState key binding
data-actionRendererButton action name
data-validateRendererValidation rules
data-routeRendererRoute path
data-fetchRendererFetch URL
data-logicRendererLogic function ref
data-configRendererContainer config
data-scopeRendererList item scope
data-spanRendererComponent character width
data-spacerRendererSpacer mode (end, evenly, col-N-end)
data-popoverRendererPopover tooltip text
data-valueRendererProgress bar percentage
data-themeJS APIActive theme name
data-editorRendererEditor container marker
data-featuresRendererComma-separated editor features
data-parametricRendererParametric element name

Released under the MIT License.