open-consul/ui-v2/app/styles/components/tabular-details/skin.scss
Kenia 6275e13f93 ui: Create CSS variables for box-shadowing consistency (#7337)
* Table - Lowest (on-hover of table items)
* Buttons - Middle
* Form-elements - Removed, no box-shadowing in input forms mocks.
* Menu-panel -High
* Modal-dialog - Highest
* Stats-card -Middle/High(Active)
* Tooltip - Middle
* Card - Middle
* Expanded-single-select - Middle
* Tabular-details - High
* Discovery chain - High
2020-05-12 17:14:09 +00:00

33 lines
691 B
SCSS

%tabular-details-toggle-button::before {
@extend %with-chevron-down-icon, %as-pseudo;
}
%tabular-details td:only-child {
cursor: default;
border: 0;
}
%tabular-detail {
border: 1px solid $gray-300;
border-radius: $decor-radius-100;
box-shadow: $decor-elevation-600;
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);
}