64 lines
1.1 KiB
SCSS
64 lines
1.1 KiB
SCSS
/* layout */
|
|
%app-view {
|
|
position: relative;
|
|
}
|
|
%app-view-title {
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
%app-view-actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
}
|
|
%app-view-header dl {
|
|
float: left;
|
|
}
|
|
/* units */
|
|
%app-view {
|
|
margin-top: 50px;
|
|
}
|
|
/* give anything after the header a bit of room */
|
|
%app-view-header + div > *:first-child {
|
|
margin-top: 1.8em;
|
|
}
|
|
%app-view-title {
|
|
padding-bottom: 0.2em;
|
|
}
|
|
%app-view-title > :not(:last-child) {
|
|
margin-right: 8px;
|
|
}
|
|
%app-view-actions {
|
|
margin-top: 9px;
|
|
}
|
|
%app-view-actions > *:not(:last-child) {
|
|
margin-right: 12px;
|
|
}
|
|
%app-view-header dl {
|
|
margin-top: 19px;
|
|
margin-bottom: 23px;
|
|
margin-right: 50px;
|
|
}
|
|
|
|
/* content */
|
|
%app-view-content h2 {
|
|
padding-bottom: 0.2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
%app-view-error > div {
|
|
padding: 1px 0 30px 0;
|
|
}
|
|
%app-view-content-empty {
|
|
margin-top: 0 !important;
|
|
padding: 50px;
|
|
text-align: center;
|
|
}
|
|
/* TODO: Think about an %app-form or similar */
|
|
%app-view-content form:not(.filter-bar) fieldset {
|
|
padding-bottom: 0.3em;
|
|
margin-bottom: 2em;
|
|
}
|