2018-10-19 15:17:02 +00:00
|
|
|
/* layout */
|
|
|
|
%app-view header > div:last-of-type > div:first-child {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
%app-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
%app-view header .actions {
|
|
|
|
float: right;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
2019-05-01 18:19:43 +00:00
|
|
|
margin-top: 9px;
|
2018-10-19 15:17:02 +00:00
|
|
|
}
|
2019-02-21 13:10:53 +00:00
|
|
|
%app-view header dl {
|
|
|
|
float: left;
|
|
|
|
margin-top: 25px;
|
|
|
|
margin-right: 50px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
%app-view header dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
/* units */
|
|
|
|
%app-view {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
|
|
|
%app-view header + div > *:first-child {
|
|
|
|
margin-top: 1.8em;
|
|
|
|
}
|
|
|
|
%app-view h2 {
|
|
|
|
padding-bottom: 0.2em;
|
2019-05-01 18:19:43 +00:00
|
|
|
margin-bottom: 0.2em;
|
2019-03-22 17:08:18 +00:00
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
%app-view header .actions > *:not(:last-child) {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// content
|
|
|
|
%app-content div > dl > dt {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
%app-content div > dl {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
%app-content-empty {
|
|
|
|
margin-top: 0;
|
|
|
|
padding: 50px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
%app-content form:not(:last-child) {
|
|
|
|
margin-bottom: 2.2em;
|
|
|
|
}
|
|
|
|
%app-content div > dl > dt {
|
|
|
|
width: 140px;
|
|
|
|
}
|
|
|
|
%app-content div > dl > dd {
|
|
|
|
padding-left: 140px;
|
|
|
|
}
|
|
|
|
%app-content div > dl > * {
|
|
|
|
min-height: 1em;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
2019-05-01 18:19:43 +00:00
|
|
|
// TODO: Think about an %app-form or similar
|
2019-05-01 19:01:32 +00:00
|
|
|
%app-content fieldset:not(.freetext-filter) {
|
2019-05-01 18:19:43 +00:00
|
|
|
padding-bottom: 0.3em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|