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
|
|
|
*/
|
|
|
|
|
2018-10-19 15:17:02 +00:00
|
|
|
/* layout */
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-title {
|
2022-10-05 19:21:34 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
grid-template-areas: "title actions";
|
2020-06-09 10:10:14 +00:00
|
|
|
position: relative;
|
2021-05-26 13:35:19 +00:00
|
|
|
z-index: 5;
|
2020-05-07 13:57:15 +00:00
|
|
|
}
|
2022-10-05 19:21:34 +00:00
|
|
|
%app-view-title-left-container {
|
|
|
|
grid-area: title;
|
2018-10-19 15:17:02 +00:00
|
|
|
display: flex;
|
2022-10-05 19:21:34 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
white-space: normal;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2022-10-05 19:21:34 +00:00
|
|
|
%app-view-title-left-container > :first-child {
|
|
|
|
flex-basis: 100%;
|
2019-03-22 17:08:18 +00:00
|
|
|
}
|
2022-10-05 19:21:34 +00:00
|
|
|
|
|
|
|
%app-view-title-left-container > :not(:first-child) {
|
2020-05-07 13:57:15 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2022-10-05 19:21:34 +00:00
|
|
|
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-actions {
|
2022-10-05 19:21:34 +00:00
|
|
|
grid-area: actions;
|
|
|
|
align-self: end;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
margin-left: auto;
|
2020-05-07 13:57:15 +00:00
|
|
|
margin-top: 9px;
|
|
|
|
}
|
|
|
|
|
2022-10-05 19:21:34 +00:00
|
|
|
/* units */
|
|
|
|
%app-view-title {
|
|
|
|
padding-bottom: 1.4em;
|
|
|
|
}
|
|
|
|
|
2020-05-07 13:57:15 +00:00
|
|
|
/* content */
|
|
|
|
/* TODO: Think about an %app-form or similar */
|
2020-05-29 15:42:46 +00:00
|
|
|
%app-view-content form:not(.filter-bar) fieldset {
|
2019-05-01 18:19:43 +00:00
|
|
|
padding-bottom: 0.3em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|