2020-04-21 14:21:52 +00:00
|
|
|
%composite-row {
|
2020-06-17 09:25:54 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 50px;
|
|
|
|
grid-template-rows: 50% 50%;
|
|
|
|
|
|
|
|
grid-template-areas:
|
|
|
|
'header actions'
|
|
|
|
'detail actions';
|
2020-04-08 17:09:36 +00:00
|
|
|
}
|
2020-08-20 14:29:16 +00:00
|
|
|
%with-one-action-row {
|
2020-09-18 10:14:06 +00:00
|
|
|
@extend %composite-row;
|
2020-08-20 14:29:16 +00:00
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
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;
|
|
|
|
justify-self: center;
|
|
|
|
align-self: center;
|
|
|
|
}
|
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;
|
|
|
|
}
|