@spectrum-css/card
Version:
The Spectrum CSS card component
228 lines (227 loc) • 9.25 kB
JSON
{
"sourceFile": "index.css",
"selectors": [
".spectrum-Card",
".spectrum-Card .spectrum-Divider",
".spectrum-Card--gallery",
".spectrum-Card--gallery .spectrum-Card-body",
".spectrum-Card--gallery .spectrum-Card-footer",
".spectrum-Card--gallery .spectrum-Card-preview",
".spectrum-Card--gallery .spectrum-Card-preview:after",
".spectrum-Card--gallery .spectrum-Card-preview:before",
".spectrum-Card--gallery.is-drop-target",
".spectrum-Card--gallery.is-drop-target .spectrum-Card-preview",
".spectrum-Card--gallery.is-drop-target .spectrum-Card-preview:before",
".spectrum-Card--gallery.is-selected .spectrum-Card-preview:before",
".spectrum-Card--gallery:before",
".spectrum-Card--gallery:hover .spectrum-Card-preview",
".spectrum-Card--horizontal",
".spectrum-Card--horizontal .spectrum-Card-body",
".spectrum-Card--horizontal .spectrum-Card-content",
".spectrum-Card--horizontal .spectrum-Card-header",
".spectrum-Card--horizontal .spectrum-Card-preview",
".spectrum-Card--horizontal .spectrum-Card-title",
".spectrum-Card--horizontal:hover .spectrum-Card-preview",
".spectrum-Card--quiet",
".spectrum-Card--quiet .spectrum-Card-body",
".spectrum-Card--quiet .spectrum-Card-footer",
".spectrum-Card--quiet .spectrum-Card-preview",
".spectrum-Card--quiet .spectrum-Card-preview:after",
".spectrum-Card--quiet .spectrum-Card-preview:before",
".spectrum-Card--quiet.is-drop-target",
".spectrum-Card--quiet.is-drop-target .spectrum-Card-preview",
".spectrum-Card--quiet.is-drop-target .spectrum-Card-preview:before",
".spectrum-Card--quiet.is-focused .spectrum-Card-preview:after",
".spectrum-Card--quiet.is-focused:after",
".spectrum-Card--quiet.is-selected .spectrum-Card-preview",
".spectrum-Card--quiet.is-selected .spectrum-Card-preview:before",
".spectrum-Card--quiet:before",
".spectrum-Card--quiet:focus .spectrum-Card-preview:after",
".spectrum-Card--quiet:focus:after",
".spectrum-Card--quiet:hover .spectrum-Card-preview",
".spectrum-Card-actionButton",
".spectrum-Card-actions",
".spectrum-Card-body",
".spectrum-Card-content",
".spectrum-Card-coverPhoto",
".spectrum-Card-description",
".spectrum-Card-footer",
".spectrum-Card-header",
".spectrum-Card-preview",
".spectrum-Card-quickActions",
".spectrum-Card-subtitle",
".spectrum-Card-subtitle + .spectrum-Card-description:before",
".spectrum-Card-title",
".spectrum-Card.is-drop-target",
".spectrum-Card.is-focused .spectrum-Card-actions",
".spectrum-Card.is-focused .spectrum-Card-quickActions",
".spectrum-Card.is-selected",
".spectrum-Card.is-selected .spectrum-Card-actions",
".spectrum-Card.is-selected .spectrum-Card-quickActions",
".spectrum-Card.is-selected:before",
".spectrum-Card.spectrum-Card--gallery",
".spectrum-Card.spectrum-Card--quiet",
".spectrum-Card:after",
".spectrum-Card:before",
".spectrum-Card:focus .spectrum-Card-actions",
".spectrum-Card:focus .spectrum-Card-quickActions",
".spectrum-Card:focus-visible",
".spectrum-Card:focus-visible .spectrum-Card-coverPhoto",
".spectrum-Card:focus-visible .spectrum-Card-preview",
".spectrum-Card:focus-visible:after",
".spectrum-Card:hover",
".spectrum-Card:hover .spectrum-Card-actions",
".spectrum-Card:hover .spectrum-Card-quickActions"
],
"modifiers": [
"--mod-animation-duration-100",
"--mod-card-actions-background-color-opacity",
"--mod-card-actions-background-color-rgb",
"--mod-card-actions-border-radius",
"--mod-card-actions-drop-shadow-blur",
"--mod-card-actions-drop-shadow-color",
"--mod-card-actions-drop-shadow-x",
"--mod-card-actions-drop-shadow-y",
"--mod-card-actions-size",
"--mod-card-actions-spacing",
"--mod-card-animation-duration",
"--mod-card-background-color",
"--mod-card-background-color-hover",
"--mod-card-body-font-color",
"--mod-card-body-font-family",
"--mod-card-body-font-size",
"--mod-card-body-font-style",
"--mod-card-body-font-weight",
"--mod-card-body-line-height",
"--mod-card-body-padding-block-end",
"--mod-card-body-padding-block-start",
"--mod-card-body-padding-inline-end",
"--mod-card-body-padding-inline-start",
"--mod-card-body-spacing",
"--mod-card-border-color",
"--mod-card-border-color-hover",
"--mod-card-border-color-selected",
"--mod-card-border-width",
"--mod-card-content-margin-bottom",
"--mod-card-content-margin-top",
"--mod-card-content-margin-top-quiet",
"--mod-card-corner-radius",
"--mod-card-divider-color",
"--mod-card-focus-indicator-color",
"--mod-card-focus-indicator-width",
"--mod-card-footer-margin-block-start",
"--mod-card-footer-margin-inline-end",
"--mod-card-footer-margin-inline-start",
"--mod-card-footer-padding-block-end",
"--mod-card-footer-padding-block-start",
"--mod-card-horizontal-body-padding",
"--mod-card-horizontal-preview-padding",
"--mod-card-minimum-width",
"--mod-card-minimum-width-quiet",
"--mod-card-preview-background-color",
"--mod-card-preview-background-color-hover",
"--mod-card-preview-border-width-selected",
"--mod-card-preview-minimum-height",
"--mod-card-selected-background-color-rgb",
"--mod-card-selected-background-opacity",
"--mod-card-subtitle-padding-right",
"--mod-card-title-font-color",
"--mod-card-title-font-family",
"--mod-card-title-font-size",
"--mod-card-title-font-style",
"--mod-card-title-font-weight",
"--mod-card-title-line-height",
"--mod-card-title-padding-right",
"--mod-overlay-animation-duration"
],
"component": [
"--spectrum-card-actions-background-color-opacity",
"--spectrum-card-actions-background-color-rgb",
"--spectrum-card-actions-border-radius",
"--spectrum-card-actions-drop-shadow-blur",
"--spectrum-card-actions-drop-shadow-color",
"--spectrum-card-actions-drop-shadow-x",
"--spectrum-card-actions-drop-shadow-y",
"--spectrum-card-actions-size",
"--spectrum-card-actions-spacing",
"--spectrum-card-background-color",
"--spectrum-card-body-font-color",
"--spectrum-card-body-font-family",
"--spectrum-card-body-font-size",
"--spectrum-card-body-font-style",
"--spectrum-card-body-font-weight",
"--spectrum-card-body-line-height",
"--spectrum-card-body-padding-block-start",
"--spectrum-card-body-spacing",
"--spectrum-card-border-color",
"--spectrum-card-border-color-hover",
"--spectrum-card-border-width",
"--spectrum-card-content-margin-bottom",
"--spectrum-card-content-margin-top",
"--spectrum-card-corner-radius",
"--spectrum-card-divider-color",
"--spectrum-card-focus-indicator-color",
"--spectrum-card-focus-indicator-width",
"--spectrum-card-footer-padding-top",
"--spectrum-card-horizontal-body-padding",
"--spectrum-card-horizontal-preview-padding",
"--spectrum-card-minimum-width",
"--spectrum-card-preview-background-color",
"--spectrum-card-preview-background-color-hover",
"--spectrum-card-preview-border-width-selected",
"--spectrum-card-preview-minimum-height",
"--spectrum-card-selected-background-color-rgb",
"--spectrum-card-selected-background-opacity",
"--spectrum-card-selection-background-color-opacity",
"--spectrum-card-selection-background-size",
"--spectrum-card-subtitle-padding-right",
"--spectrum-card-title-font-color",
"--spectrum-card-title-font-family",
"--spectrum-card-title-font-size",
"--spectrum-card-title-font-style",
"--spectrum-card-title-font-weight",
"--spectrum-card-title-line-height",
"--spectrum-card-title-padding-right"
],
"global": [
"--spectrum-animation-duration-100",
"--spectrum-background-base-color",
"--spectrum-background-layer-2-color",
"--spectrum-blue-700",
"--spectrum-body-color",
"--spectrum-body-line-height",
"--spectrum-body-sans-serif-font-style",
"--spectrum-body-sans-serif-font-weight",
"--spectrum-body-size-s",
"--spectrum-border-width-100",
"--spectrum-corner-radius-100",
"--spectrum-drop-shadow-blur",
"--spectrum-drop-shadow-color",
"--spectrum-drop-shadow-x",
"--spectrum-drop-shadow-y",
"--spectrum-focus-indicator-color",
"--spectrum-focus-indicator-thickness",
"--spectrum-gray-100",
"--spectrum-gray-100-rgb",
"--spectrum-gray-200",
"--spectrum-heading-color",
"--spectrum-heading-line-height",
"--spectrum-heading-sans-serif-font-style",
"--spectrum-heading-sans-serif-font-weight",
"--spectrum-heading-size-xxs",
"--spectrum-sans-font-family-stack",
"--spectrum-spacing-100",
"--spectrum-spacing-200",
"--spectrum-spacing-300",
"--spectrum-spacing-400"
],
"system-theme": [
"--system-card-border-color",
"--system-card-border-color-hover",
"--system-card-divider-color",
"--system-card-preview-background-color",
"--system-card-preview-background-color-hover"
],
"passthroughs": [],
"high-contrast": []
}