2018-10-19 15:17:02 +00:00
|
|
|
/* layout */
|
|
|
|
%app-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-05-07 15:18:00 +00:00
|
|
|
white-space: nowrap;
|
2020-05-07 13:57:15 +00:00
|
|
|
}
|
|
|
|
%app-view-actions {
|
|
|
|
margin-left: auto;
|
2018-10-19 15:17:02 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header dl {
|
2019-02-21 13:10:53 +00:00
|
|
|
float: left;
|
2020-04-21 14:21:52 +00:00
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
/* units */
|
|
|
|
%app-view {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
/* give anything after the header a bit of room */
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header + div > *:first-child {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-top: 1.8em;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-title {
|
2018-10-19 15:17:02 +00:00
|
|
|
padding-bottom: 0.2em;
|
2019-03-22 17:08:18 +00:00
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-title > :not(:last-child) {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
%app-view-actions {
|
|
|
|
margin-top: 9px;
|
|
|
|
}
|
|
|
|
%app-view-actions > *:not(:last-child) {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
%app-view-header dl {
|
|
|
|
margin-top: 19px;
|
|
|
|
margin-bottom: 23px;
|
|
|
|
margin-right: 50px;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
|
|
|
|
/* content */
|
|
|
|
%app-view-content h2 {
|
|
|
|
padding-bottom: 0.2em;
|
|
|
|
margin-bottom: 0.5em;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2020-05-11 15:37:11 +00:00
|
|
|
%app-view-error > div {
|
|
|
|
padding: 1px 0 30px 0;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content-empty {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-top: 0;
|
|
|
|
padding: 50px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
/* this should probably be its own component */
|
|
|
|
%app-view-content div > dl {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
%app-view-content div > dl > dt {
|
|
|
|
position: absolute;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content div > dl > dt {
|
2018-10-19 15:17:02 +00:00
|
|
|
width: 140px;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content div > dl > dd {
|
2018-10-19 15:17:02 +00:00
|
|
|
padding-left: 140px;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content div > dl > * {
|
2018-10-19 15:17:02 +00:00
|
|
|
min-height: 1em;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
2020-05-07 13:57:15 +00:00
|
|
|
/* */
|
|
|
|
/* 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;
|
|
|
|
}
|