open-consul/ui-v2/app/styles/components/tabular-details/skin.scss

33 lines
676 B
SCSS

%tabular-details-toggle-button {
@extend %with-chevron-down;
}
%tabular-details td:only-child {
cursor: default;
border: 0;
}
%tabular-detail {
border: 1px solid $gray-300;
border-radius: $decor-radius-100;
box-shadow: 0 8px 10px 0 rgba($black, 0.1);
margin-bottom: 20px;
}
%tabular-detail::before,
%tabular-detail > div,
%tabular-detail > label {
background-color: $white;
}
%tabular-detail > label::before {
transform: rotate(180deg);
}
// this is here as its a fake border
%tabular-detail::before {
background: $gray-200;
content: '';
display: block;
height: 1px;
position: absolute;
bottom: -20px;
left: 10px;
width: calc(100% - 20px);
}