128 lines
3.5 KiB
CSS
128 lines
3.5 KiB
CSS
/*
|
|
Copyright 2019 Adobe. All rights reserved.
|
|
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License. You may obtain a copy
|
|
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software distributed under
|
|
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
governing permissions and limitations under the License.
|
|
*/
|
|
|
|
.spectrum-Card {
|
|
border-color: var(--spectrum-card-border-color);
|
|
background-color: var(--spectrum-card-background-color);
|
|
|
|
&:hover {
|
|
border-color: var(--spectrum-card-border-color-hover);
|
|
}
|
|
|
|
&.is-selected,
|
|
&:focus-ring {
|
|
border-color: var(--spectrum-card-border-color-key-focus);
|
|
box-shadow: 0 0 0 1px var(--spectrum-card-border-color-key-focus);
|
|
}
|
|
|
|
&.is-drop-target {
|
|
border-color: var(--spectrum-card-border-color-key-focus);
|
|
box-shadow: 0 0 0 1px var(--spectrum-card-border-color-key-focus);
|
|
background-color: var(--spectrum-alias-highlight-selected);
|
|
}
|
|
|
|
.spectrum-Card-subtitle {
|
|
color: var(--spectrum-card-description-text-color);
|
|
}
|
|
}
|
|
|
|
.spectrum-Card-description {
|
|
color: var(--spectrum-card-description-text-color);
|
|
}
|
|
|
|
.spectrum-Card-coverPhoto {
|
|
background-color: var(--spectrum-card-coverphoto-background-color);
|
|
border-block-end-color: var(--spectrum-card-coverphoto-border-color);
|
|
}
|
|
|
|
.spectrum-Card-footer {
|
|
border-color: var(--spectrum-card-border-color);
|
|
}
|
|
|
|
.spectrum-Card--quiet,
|
|
.spectrum-Card--gallery {
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
|
|
.spectrum-Card-preview {
|
|
background-color: var(--spectrum-card-quiet-preview-background-color);
|
|
}
|
|
|
|
&:hover {
|
|
border-color: transparent;
|
|
.spectrum-Card-preview {
|
|
background-color: var(--spectrum-card-quiet-preview-background-color-hover);
|
|
}
|
|
}
|
|
|
|
&.is-selected,
|
|
&:focus-ring {
|
|
border-color: transparent;
|
|
box-shadow: none;
|
|
.spectrum-Card-preview {
|
|
background-color: var(--spectrum-card-quiet-preview-background-color);
|
|
|
|
&:before {
|
|
border-color: var(--spectrum-card-quiet-border-color-selected);
|
|
box-shadow: 0 0 0 1px var(--spectrum-card-quiet-border-color-selected);
|
|
}
|
|
}
|
|
}
|
|
|
|
&.is-drop-target {
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
box-shadow: none;
|
|
|
|
.spectrum-Card-preview {
|
|
background-color: var(--spectrum-alias-highlight-selected);
|
|
|
|
&:before {
|
|
border-color: var(--spectrum-card-quiet-border-color-selected);
|
|
box-shadow: 0 0 0 1px var(--spectrum-card-quiet-border-color-selected);
|
|
}
|
|
}
|
|
|
|
.spectrum-Asset-folderBackground,
|
|
.spectrum-Asset-fileBackground {
|
|
fill: var(--spectrum-alias-highlight-selected);
|
|
}
|
|
|
|
.spectrum-Asset-folderOutline,
|
|
.spectrum-Asset-fileOutline {
|
|
fill: var(--spectrum-card-quiet-border-color-selected);
|
|
}
|
|
}
|
|
|
|
.spectrum-Card-title {
|
|
color: var(--spectrum-card-quiet-title-text-color);
|
|
}
|
|
|
|
.spectrum-Card-subtitle {
|
|
color: var(--spectrum-card-quiet-subtitle-text-color);
|
|
}
|
|
}
|
|
|
|
.spectrum-Card--horizontal {
|
|
&:hover {
|
|
.spectrum-Card-preview {
|
|
border-color: var(--spectrum-card-border-color-hover);
|
|
}
|
|
}
|
|
|
|
.spectrum-Card-preview {
|
|
background-color: var(--spectrum-card-quiet-preview-background-color);
|
|
|
|
border-color: var(--spectrum-card-border-color);
|
|
}
|
|
}
|