diff --git a/src/app/_insight-dialog.component.html b/src/app/_insight-dialog.component.html index 4c76bde..66691a9 100644 --- a/src/app/_insight-dialog.component.html +++ b/src/app/_insight-dialog.component.html @@ -1,6 +1,6 @@

- {{page.name}}: + {{page.name}}: Statistiken

diff --git a/src/app/_layout.component.html b/src/app/_layout.component.html index e7a2bf6..40e117b 100644 --- a/src/app/_layout.component.html +++ b/src/app/_layout.component.html @@ -70,66 +70,102 @@ {{title.getTitle()}} - - - - - open_in_browser - - -
diff --git a/src/app/_styles.scss b/src/app/_styles.scss index 7c7ab8f..9641846 100644 --- a/src/app/_styles.scss +++ b/src/app/_styles.scss @@ -40,8 +40,6 @@ body { } button, .button { - @extend .truncate; - margin: 6px 8px!important; padding: 0 8px!important; } @@ -66,12 +64,16 @@ insight { } } -mat-card { +mat-card.mat-card { padding: 24px!important; .mat-card-image { margin: 0 -24px 16px -24px!important; width: calc(100% + 48px)!important; + + img { + width: 100%; + } } .mat-card-image:first-child { @@ -79,74 +81,71 @@ mat-card { } } -mat-card-content p { +mat-card-content.mat-card-content p { text-overflow: clip; } -mat-card-footer { +mat-card-footer.mat-card-footer { display: flex!important; justify-content: flex-end; } -mat-card-footer > * { +mat-card-footer.mat-card-footer > * { margin-top: 0 !important; margin-bottom: 0 !important; } -mat-dialog-actions, .app-snackbar-actions { +mat-dialog-actions.mat-dialog-actions, .app-snackbar-actions { padding: 12px 0; display: flex; flex-direction: row-reverse; - flex-wrap: wrap; + flex-wrap: wrap-reverse; } -mat-dialog-container { +mat-dialog-container.mat-dialog-container { margin: auto; + max-width: calc(100vw - 32px); } -mat-dialog-container > * { +mat-dialog-container.mat-dialog-container > * { width: 100%; height: 100%; display: flex; flex-direction: column; } -mat-dialog-container > * > * { +mat-dialog-container.mat-dialog-container > * > * { flex-shrink: 0; } -mat-dialog-container > * > mat-dialog-content { +mat-dialog-container.mat-dialog-container > * > mat-dialog-content { flex-grow: 1; flex-shrink: 1; + max-height: none; margin-top: -16px!important; margin-bottom: -16px!important; padding-top: 16px!important; padding-bottom: 16px!important; } -mat-icon { +mat-icon.mat-icon { vertical-align: middle; } -mat-input-container { +mat-input-container.mat-input-container { width: 100%!important; } -mat-sidenav-container > * { +mat-sidenav-container.mat-sidenav-container > * { display: flex!important; flex-direction: column; height: 100vh!important; } -mat-sidenav-container .mat-sidenav-content { +mat-sidenav-container.mat-sidenav-container .mat-sidenav-content { overflow: hidden; } -nav, aside, main { - overflow-x: hidden; - overflow-y: scroll; -} - mat-spinner { margin: auto; } @@ -162,6 +161,10 @@ mat-grid-tile:hover { a { color: $primary-light-fg; } } +mat-tab-body, .mat-tab-body-content { + overflow: hidden!important; +} + mat-tab-header { .mat-tab-label-container { justify-content: center; @@ -177,6 +180,11 @@ mat-toolbar { button, .button { color: white!important; } } +nav, aside, main { + overflow-x: hidden; + overflow-y: scroll; +} + profile .mat-card-header-text > mat-card-title { @extend .truncate; } @@ -251,6 +259,7 @@ mat-card-footer > *, padding: 0; text-align: left; text-decoration: none; + display: inline!important; } .app-toolbar-filler { @@ -261,6 +270,10 @@ mat-card-footer > *, clear: both; } +.cdk-overlay-pane { + max-height: calc(100vh - 48px); +} + .flex { display: flex; } @@ -309,6 +322,11 @@ mat-card-footer > *, opacity: 0; } +.mat-menu-content > button { + margin: 0!important; + padding: 0 16px!important; +} + .pad { margin: 24px; } @@ -431,14 +449,14 @@ mat-card-footer > *, } /* - * Everything excapt smaller portrait mode devices. + * Everything except smaller portrait mode devices. */ @media (min-width: 480px) { h1 > small { float: right; } - .mobile-only, h1 br { + .mobile-only { display: none; } } diff --git a/src/app/aside/_comment.component.html b/src/app/aside/_comment.component.html index 3ab6680..44a6e1f 100644 --- a/src/app/aside/_comment.component.html +++ b/src/app/aside/_comment.component.html @@ -2,11 +2,10 @@
- +