diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.html b/demo-shell/src/app/components/app-layout/app-layout.component.html
index 7db3e57b9b..4db83becfa 100644
--- a/demo-shell/src/app/components/app-layout/app-layout.component.html
+++ b/demo-shell/src/app/components/app-layout/app-layout.component.html
@@ -14,7 +14,7 @@
-
+
diff --git a/demo-shell/src/app/components/app-layout/app-layout.component.scss b/demo-shell/src/app/components/app-layout/app-layout.component.scss
index e6fbcb3304..06e57ba8d2 100644
--- a/demo-shell/src/app/components/app-layout/app-layout.component.scss
+++ b/demo-shell/src/app/components/app-layout/app-layout.component.scss
@@ -1,9 +1,6 @@
@mixin adf-app-layout-theme($theme) {
$primary: map-get($theme, primary);
- $background: map-get($theme, background);
- $foreground: map-get($theme, foreground);
$minimumAppWidth: 320px;
- $toolbarHeight: 64px;
@media screen and ($mat-xsmall) {
app-search-bar {
@@ -17,24 +14,12 @@
}
}
- .adf-app-layout-toolbar {
- z-index: 998;
- position: relative;
- overflow: visible !important;
- }
-
.adf-app-layout {
display: flex;
flex: 1;
min-width: $minimumAppWidth;
height: 100%;
- .adf-nav-container {
- display: block;
- min-width: $minimumAppWidth;
- height: 100%;
- }
-
.adf-sidenav-link--active {
color: mat-color($primary);
}
@@ -52,34 +37,9 @@
height: 40px;
}
- &-user-profile {
- margin-right: 10px;
- }
-
&-menu-spacer {
flex: 1 1 auto;
}
-
- &-toolbar {
- height: $toolbarHeight;
- line-height: $toolbarHeight;
- overflow: hidden;
-
- mat-toolbar-row {
- height: $toolbarHeight;
- align-items: stretch;
- justify-content: space-between;
- }
-
- .adf-toolbar-link {
- min-width: 0;
- line-height: $toolbarHeight;
-
- &.adf-active {
- background-color: rgba(0, 0, 0, 0.12);
- }
- }
- }
}
@media screen and ($mat-small) {
diff --git a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss
index b3838b19b1..becb4df00b 100644
--- a/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss
+++ b/demo-shell/src/app/components/breadcrumb-demo/breadcrumb-demo.component.scss
@@ -8,13 +8,6 @@
margin: 10px 0;
}
-.adf-full-content-toolbar {
- .adf-toolbar-title {
- display: flex;
- width: 100%;
-
- .adf-breadcrumb {
- width: 0;
- }
- }
+.adf-full-content-toolbar .adf-toolbar-title .adf-breadcrumb {
+ width: 0;
}
diff --git a/demo-shell/src/app/components/files/files.component.scss b/demo-shell/src/app/components/files/files.component.scss
index ef0dcd4223..f3bd345d41 100644
--- a/demo-shell/src/app/components/files/files.component.scss
+++ b/demo-shell/src/app/components/files/files.component.scss
@@ -1,7 +1,4 @@
@mixin adf-file-component-theme($theme) {
- $foreground: map-get($theme, foreground);
-
-
.adf-container {
margin: 10px !important;
}
@@ -24,26 +21,6 @@
color: #d50000;
}
- .adf-not-overlay-viewer {
- height: 900px;
- }
-
- adf-document-list ::ng-deep adf-datatable tr.adf-document-list__create {
- background: green !important;
- }
-
- adf-document-list ::ng-deep adf-datatable tr.adf-document-list__disable {
- background: red !important;
- }
-
- adf-document-list ::ng-deep .adf-datatable-selected > svg {
- fill: #00bcd4 !important;
- margin-top: -4px;
- margin-left: -4px;
- width: 32px;
- height: 32px;
- }
-
.adf-document-list-container {
min-height: 400px;
@@ -67,13 +44,6 @@
padding: 16px;
}
- .adf-files-toolbar {
- .adf-toolbar-title {
- display: flex;
- width: 100%;
- }
- }
-
.adf-manage-versions-sidebar {
width: 360px !important;
@@ -117,117 +87,4 @@
justify-content: center;
}
}
-
- @media all {
- .adf-isLocked-column {
- max-width: 30px !important;
- margin-right: 5px;
- }
-
- .adf-folder-image-column {
- max-width: 28px!important;
- }
- }
-
- @media (max-width: 768px) {
- .adf-createdOn-column {
- display: none !important;
- }
- }
-
- @media (max-width: 500px) {
- .adf-datatable-list {
- .adf {
-
- &-display-name-column {
- max-width: 50% !important;
- }
- &-size-column {
- display: none !important;
- }
- &-createdBy-column {
- max-width: 45% !important;
- }
- &-nodeId-column {
- display: none !important;
- }
- }
- }
- }
-
- @media (max-width: 600px) {
- .adf-datatable-list {
- .adf {
- &-display-name-column {
- max-width: 35%;
- }
- &-size-column {
- max-width: 8%;
- }
- &-createdBy-column {
- max-width: 35%;
- }
- &-createdOn-column {
- max-width: 15%;
- }
- &-nodeId-column {
- max-width: 10%;
- }
- &-isLocked-column {
- display: none!important;
- }
- &-standard-breadcrumb {
- display: none !important;
- }
- }
- }
- }
-
- @media (min-width: 601px) {
- .adf-datatable-list {
- .adf {
-
- &-display-name-column {
- max-width: 30%;
- }
- &-size-column {
- max-width: 10%;
- }
- &-createdBy-column {
- max-width: 30%;
- }
- &-createdOn-column {
- max-width: 15%;
- }
- &-nodeId-column {
- max-width: 12%;
- }
- &-alternate-breadcrumb {
- display: none !important;
- }
- }
- }
- }
-
- @media (min-width: 1400px) {
- .adf-datatable-list {
- .adf {
- &-display-name-column {
- max-width: 40%;
- }
- &-size-column {
- max-width: 15%;
- }
- &-createdBy-column {
- max-width: 20%;
- }
- &-createdOn-column {
- max-width: 20%;
- }
- &-nodeId-column {
- max-width: 20%;
- }
- }
- }
- }
}
diff --git a/demo-shell/src/app/components/login/login.component.scss b/demo-shell/src/app/components/login/login.component.scss
index 2f2764e365..4502593286 100644
--- a/demo-shell/src/app/components/login/login.component.scss
+++ b/demo-shell/src/app/components/login/login.component.scss
@@ -4,7 +4,6 @@
right: 10px;
top: 10px;
z-index: 1;
-
}
.adf-settings {
diff --git a/demo-shell/src/app/components/process-service/process-service.component.html b/demo-shell/src/app/components/process-service/process-service.component.html
index ea19ff90c4..874e79d026 100644
--- a/demo-shell/src/app/components/process-service/process-service.component.html
+++ b/demo-shell/src/app/components/process-service/process-service.component.html
@@ -34,7 +34,7 @@
div {
+ display: flex;
+ height: $adf-layout-container-height;
+
+ > div {
+ flex: auto;
+ }
+ }
}
diff --git a/lib/core/toolbar/toolbar.component.scss b/lib/core/toolbar/toolbar.component.scss
index b5fbd4810d..31b911d36e 100644
--- a/lib/core/toolbar/toolbar.component.scss
+++ b/lib/core/toolbar/toolbar.component.scss
@@ -12,6 +12,8 @@
&-title {
overflow: hidden;
+ display: flex;
+ width: 100%;
}
.mat-toolbar {
diff --git a/lib/core/viewer/components/viewer.component.scss b/lib/core/viewer/components/viewer.component.scss
index 429a5dfbb5..6937f3f370 100644
--- a/lib/core/viewer/components/viewer.component.scss
+++ b/lib/core/viewer/components/viewer.component.scss
@@ -17,6 +17,10 @@
.mat-toolbar {
color: mat-color($foreground, text, 0.54);
+
+ .adf-toolbar-title {
+ width: auto;
+ }
}
&-main {