John Cowen 6589cbbd0d
ui: Move to Workspaced Structure (#8994)
* ui: Add the most basic workspace root in /ui

* We already have a LICENSE file in the repository root

* Change directory path in build scripts ui-v2 -> ui

* Make yarn install flags configurable from elsewhere

* Minimal workspace root makefile

* Call the new docker specific target

* Update yarn in the docker build image

* Reconfigure the netlify target and move to the higher makefile

* Move ui-v2 -> ui/packages/consul-ui

* Change repo root to refleect new folder structure

* Temporarily don't hoist consul-api-double

* Fixup CI configuration

* Fixup lint errors

* Fixup Netlify target
2020-10-21 15:23:16 +01:00

63 lines
1.2 KiB
SCSS

/* TODO: rename: %details-table */
%tabular-details tr > .actions {
@extend %table-actions;
position: relative;
}
%tabular-details td:only-child > div {
@extend %tabular-detail;
}
%tabular-details-toggle-button {
@extend %toggle-button;
pointer-events: auto;
position: absolute;
top: 8px;
}
%tabular-details-toggle-button span {
display: none;
}
%tabular-details td > label {
@extend %tabular-details-toggle-button;
right: 2px;
}
%tabular-details tr:nth-child(even) td {
height: auto;
position: relative;
display: table-cell;
}
%tabular-details tr:nth-child(even) td > * {
display: none;
}
%tabular-detail > label {
@extend %tabular-details-toggle-button;
right: 11px;
}
%tabular-details tr:nth-child(even) td > input:checked + * {
display: block;
}
%tabular-details td:only-child {
overflow: visible;
width: 100%;
}
// detail
%tabular-detail {
position: relative;
left: -10px;
right: -10px;
width: calc(100% + 20px);
margin-top: -51px;
pointer-events: none;
}
%tabular-detail {
padding: 10px;
}
%tabular-detail::after {
content: '';
display: block;
clear: both;
}
%tabular-detail > div {
pointer-events: auto;
margin-top: 36px;
}