2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2020-04-21 14:21:52 +00:00
|
|
|
%composite-row {
|
2020-06-17 09:25:54 +00:00
|
|
|
display: grid;
|
2021-07-30 17:52:37 +00:00
|
|
|
grid-template-columns: 1fr auto;
|
2020-06-17 09:25:54 +00:00
|
|
|
grid-template-rows: 50% 50%;
|
|
|
|
|
|
|
|
grid-template-areas:
|
|
|
|
'header actions'
|
|
|
|
'detail actions';
|
2020-04-08 17:09:36 +00:00
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
%composite-row-header {
|
2020-06-17 09:25:54 +00:00
|
|
|
grid-area: header;
|
|
|
|
align-self: start;
|
2020-04-08 17:09:36 +00:00
|
|
|
}
|
|
|
|
%composite-row-detail {
|
2020-06-17 09:25:54 +00:00
|
|
|
grid-area: detail;
|
|
|
|
align-self: end;
|
|
|
|
}
|
2021-06-21 10:40:14 +00:00
|
|
|
%composite-row-detail * {
|
|
|
|
flex-wrap: nowrap !important;
|
|
|
|
}
|
2020-06-17 09:25:54 +00:00
|
|
|
%composite-row-actions {
|
|
|
|
grid-area: actions;
|
2021-07-30 17:52:37 +00:00
|
|
|
display: inline-flex;
|
2020-06-17 09:25:54 +00:00
|
|
|
}
|
2020-09-22 17:20:44 +00:00
|
|
|
|
|
|
|
%composite-row-header:nth-last-child(2) {
|
|
|
|
grid-column-start: header;
|
|
|
|
grid-column-end: actions;
|
|
|
|
}
|
|
|
|
%composite-row-detail:last-child {
|
|
|
|
grid-column-start: detail;
|
|
|
|
grid-column-end: actions;
|
|
|
|
}
|