2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
*/
|
|
|
|
|
2020-09-18 10:14:06 +00:00
|
|
|
%list-row {
|
2021-12-01 11:33:33 +00:00
|
|
|
/* this can be reused by internal components */
|
|
|
|
/* for positioning if required */
|
|
|
|
--horizontal-padding: 12px;
|
|
|
|
--vertical-padding: 10px;
|
|
|
|
padding: var(--vertical-padding) 0;
|
2020-09-18 10:14:06 +00:00
|
|
|
/* whilst this isn't in the designs this makes our temporary rollover look better */
|
2021-12-01 11:33:33 +00:00
|
|
|
/* it doesn't happen on the right as we use a larger hit area with our */
|
|
|
|
/* meatball menu which would overlap this and the meatball is the most */
|
|
|
|
/* right hand 'action' button */
|
|
|
|
padding-left: var(--horizontal-padding);
|
|
|
|
/* once we have our scroll pane refresh we no longer need a padding for */
|
|
|
|
/* shadowing/rollover purposes so a lot of that ^ can go */
|
2020-09-18 10:14:06 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
%list-row-detail,
|
|
|
|
%list-row-header-icon {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
%list-row-header dt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%list-row-header dd::before {
|
|
|
|
font-size: 0.9em;
|
2020-09-18 10:14:06 +00:00
|
|
|
}
|
|
|
|
%list-row-detail,
|
|
|
|
%list-row-header {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
%list-row-header *,
|
|
|
|
%list-row-detail * {
|
|
|
|
white-space: nowrap;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
%list-row-detail > span {
|
|
|
|
margin-right: 18px;
|
|
|
|
}
|
2020-10-08 15:02:31 +00:00
|
|
|
%list-row-200 {
|
|
|
|
@extend %list-row;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
%list-row-200 .detail {
|
|
|
|
grid-row-start: header !important;
|
|
|
|
grid-row-end: detail !important;
|
|
|
|
align-self: center !important;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
%list-row-200 .popover-menu > [type='checkbox'] + label {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
%list-row-200 .popover-menu > [type='checkbox'] + label + div:not(.above) {
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
%list-row-200 dd {
|
2023-03-15 02:49:14 +00:00
|
|
|
@extend %body-100-regular;
|
2020-10-08 15:02:31 +00:00
|
|
|
}
|