@adobe/spectrum-css
Version:
The Spectrum CSS top-level backwards compatible package
100 lines (98 loc) • 3.92 kB
CSS
.spectrum-Card {
border-color: rgb(62, 62, 62);
background-color: rgb(37, 37, 37);
}
.spectrum-Card:hover {
border-color: rgb(90, 90, 90);
}
.spectrum-Card.is-selected,
.spectrum-Card.focus-ring {
border-color: rgb(38, 128, 235);
box-shadow: 0 0 0 1px rgb(38, 128, 235);
}
.spectrum-Card.is-drop-target {
border-color: rgb(38, 128, 235);
box-shadow: 0 0 0 1px rgb(38, 128, 235);
background-color: rgba(55,142,240,0.15);
}
.spectrum-Card .spectrum-Card-title {
color: rgb(227, 227, 227);
}
.spectrum-Card .spectrum-Card-subtitle {
color: rgb(185, 185, 185);
}
.spectrum-Card-description {
color: rgb(185, 185, 185);
}
.spectrum-Card-coverPhoto {
background-color: rgb(62, 62, 62);
border-bottom-color: rgb(62, 62, 62);
}
.spectrum-Card-footer {
border-color: rgb(62, 62, 62);
}
.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(62, 62, 62);
}
.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(74, 74, 74);
}
.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(62, 62, 62);
}
.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(55, 142, 240);
box-shadow: 0 0 0 1px rgb(55, 142, 240);
}
.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(55,142,240,0.15);
}
.spectrum-Card--quiet.is-drop-target .spectrum-Card-preview:before, .spectrum-Card--gallery.is-drop-target .spectrum-Card-preview:before {
border-color: rgb(55, 142, 240);
box-shadow: 0 0 0 1px rgb(55, 142, 240);
}
.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(55,142,240,0.15);
}
.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(55, 142, 240);
}
.spectrum-Card--quiet .spectrum-Card-title, .spectrum-Card--gallery .spectrum-Card-title {
color: rgb(227, 227, 227);
}
.spectrum-Card--quiet .spectrum-Card-subtitle, .spectrum-Card--gallery .spectrum-Card-subtitle {
color: rgb(185, 185, 185);
}
.spectrum-Card--horizontal:hover .spectrum-Card-preview {
border-color: rgb(90, 90, 90);
}
.spectrum-Card--horizontal .spectrum-Card-preview {
background-color: rgb(62, 62, 62);
border-color: rgb(62, 62, 62);
}