open-consul/ui/packages/consul-ui/app/components/list-row/skin.scss
John Cowen c6dd21f4dd
ui: Refactor KV and Lock Sessions following partitions update (#11666)
This commit uses all our new ways of doing things to Lock Sessions and their interactions with KV and Nodes. This is mostly around are new under-the-hood things, but also I took the opportunity to upgrade some of the CSS to reuse some of our CSS utils that have been made over the past few months (%csv-list and %horizontal-kv-list).

Also added (and worked on existing) documentation for Lock Session related components.
2021-12-01 11:33:33 +00:00

32 lines
762 B
SCSS

%list-row {
list-style-type: none;
border: var(--decor-border-100);
border-top-color: var(--transparent);
border-bottom-color: rgb(var(--tone-gray-200));
border-right-color: var(--transparent);
border-left-color: var(--transparent);
}
%list-row-intent {
border-color: rgb(var(--tone-gray-200));
/*TODO: This should use a shared/CSS prop shadow*/
box-shadow: 0 2px 4px rgb(var(--black) / 10%);
border-top-color: var(--transparent);
cursor: pointer;
}
%list-row-header {
color: rgb(var(--tone-gray-999));
}
%list-row-header * {
color: inherit;
}
%list-row-detail {
color: rgb(var(--tone-gray-500));
}
%list-row-detail a {
color: inherit;
}
%list-row-detail a:hover {
color: rgb(var(--color-action));
text-decoration: underline;
}