UNPKG

@adobe/spectrum-css

Version:

The Spectrum CSS top-level backwards compatible package

100 lines (98 loc) 3.95 kB
.spectrum-Card { border-color: rgb(244, 244, 244); background-color: rgb(255, 255, 255); } .spectrum-Card:hover { border-color: rgb(211, 211, 211); } .spectrum-Card.is-selected, .spectrum-Card.focus-ring { border-color: rgb(55, 142, 240); box-shadow: 0 0 0 1px rgb(55, 142, 240); } .spectrum-Card.is-drop-target { border-color: rgb(55, 142, 240); box-shadow: 0 0 0 1px rgb(55, 142, 240); background-color: rgba(38,128,235,0.1); } .spectrum-Card .spectrum-Card-title { color: rgb(80, 80, 80); } .spectrum-Card .spectrum-Card-subtitle { color: rgb(116, 116, 116); } .spectrum-Card-description { color: rgb(116, 116, 116); } .spectrum-Card-coverPhoto { background-color: rgb(244, 244, 244); border-bottom-color: rgb(244, 244, 244); } .spectrum-Card-footer { border-color: rgb(244, 244, 244); } .spectrum-Card--quiet, .spectrum-Card--gallery { border-color: transparent; background-color: transparent; } .spectrum-Card--quiet .spectrum-Card-preview, .spectrum-Card--gallery .spectrum-Card-preview { background-color: rgb(244, 244, 244); } .spectrum-Card--quiet:hover, .spectrum-Card--gallery:hover { border-color: transparent; } .spectrum-Card--quiet:hover .spectrum-Card-preview, .spectrum-Card--gallery:hover .spectrum-Card-preview { background-color: rgb(234, 234, 234); } .spectrum-Card--quiet.is-selected, .spectrum-Card--quiet.focus-ring, .spectrum-Card--gallery.is-selected, .spectrum-Card--gallery.focus-ring { border-color: transparent; box-shadow: none; } .spectrum-Card--quiet.is-selected .spectrum-Card-preview, .spectrum-Card--quiet.focus-ring .spectrum-Card-preview, .spectrum-Card--gallery.is-selected .spectrum-Card-preview, .spectrum-Card--gallery.focus-ring .spectrum-Card-preview { background-color: rgb(244, 244, 244); } .spectrum-Card--quiet.is-selected .spectrum-Card-preview:before, .spectrum-Card--quiet.focus-ring .spectrum-Card-preview:before, .spectrum-Card--gallery.is-selected .spectrum-Card-preview:before, .spectrum-Card--gallery.focus-ring .spectrum-Card-preview:before { border-color: rgb(38, 128, 235); box-shadow: 0 0 0 1px rgb(38, 128, 235); } .spectrum-Card--quiet.is-drop-target, .spectrum-Card--gallery.is-drop-target { border-color: transparent; background-color: transparent; box-shadow: none; } .spectrum-Card--quiet.is-drop-target .spectrum-Card-preview, .spectrum-Card--gallery.is-drop-target .spectrum-Card-preview { background-color: rgba(38,128,235,0.1); } .spectrum-Card--quiet.is-drop-target .spectrum-Card-preview:before, .spectrum-Card--gallery.is-drop-target .spectrum-Card-preview:before { border-color: rgb(38, 128, 235); box-shadow: 0 0 0 1px rgb(38, 128, 235); } .spectrum-Card--quiet.is-drop-target .spectrum-Asset-folderBackground, .spectrum-Card--quiet.is-drop-target .spectrum-Asset-fileBackground, .spectrum-Card--gallery.is-drop-target .spectrum-Asset-folderBackground, .spectrum-Card--gallery.is-drop-target .spectrum-Asset-fileBackground { fill: rgba(38,128,235,0.1); } .spectrum-Card--quiet.is-drop-target .spectrum-Asset-folderOutline, .spectrum-Card--quiet.is-drop-target .spectrum-Asset-fileOutline, .spectrum-Card--gallery.is-drop-target .spectrum-Asset-folderOutline, .spectrum-Card--gallery.is-drop-target .spectrum-Asset-fileOutline { fill: rgb(38, 128, 235); } .spectrum-Card--quiet .spectrum-Card-title, .spectrum-Card--gallery .spectrum-Card-title { color: rgb(80, 80, 80); } .spectrum-Card--quiet .spectrum-Card-subtitle, .spectrum-Card--gallery .spectrum-Card-subtitle { color: rgb(116, 116, 116); } .spectrum-Card--horizontal:hover .spectrum-Card-preview { border-color: rgb(211, 211, 211); } .spectrum-Card--horizontal .spectrum-Card-preview { background-color: rgb(244, 244, 244); border-color: rgb(244, 244, 244); }