2018-10-19 15:17:02 +00:00
|
|
|
/* layout */
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header > div:last-of-type > div:first-child {
|
2018-10-19 15:17:02 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
%app-view {
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header .actions {
|
2018-10-19 15:17:02 +00:00
|
|
|
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-11-25 18:45:10 +00:00
|
|
|
%app-view-header dl {
|
2019-02-21 13:10:53 +00:00
|
|
|
float: left;
|
|
|
|
margin-top: 25px;
|
|
|
|
margin-right: 50px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header dt {
|
2019-02-21 13:10:53 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-04-22 14:40:59 +00:00
|
|
|
%app-view-header dd > a {
|
|
|
|
color: $black;
|
|
|
|
}
|
2020-04-21 14:21:52 +00:00
|
|
|
%app-view-header .title-bar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
%app-view-header .title-bar > h1 {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
%app-view-header .title-bar > span {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2018-10-19 15:17:02 +00:00
|
|
|
/* units */
|
|
|
|
%app-view {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
%app-view h2 {
|
|
|
|
padding-bottom: 0.2em;
|
2019-12-12 09:25:39 +00:00
|
|
|
margin-bottom: 0.5em;
|
2019-03-22 17:08:18 +00:00
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-header .actions > *:not(:last-child) {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// content
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content div > dl > dt {
|
2018-10-19 15:17:02 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content div > dl {
|
2018-10-19 15:17:02 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content form:not(:last-child) {
|
2018-10-19 15:17:02 +00:00
|
|
|
margin-bottom: 2.2em;
|
|
|
|
}
|
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;
|
|
|
|
}
|
2019-05-01 18:19:43 +00:00
|
|
|
// TODO: Think about an %app-form or similar
|
2019-11-25 18:45:10 +00:00
|
|
|
%app-view-content fieldset:not(.freetext-filter) {
|
2019-05-01 18:19:43 +00:00
|
|
|
padding-bottom: 0.3em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|