diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 3719952..c1abf77 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -201,13 +201,13 @@ header { body[cds-theme="dark"] { - .btn.btn-icon { + .btn.btn-icon.btn-dimmed { color: #7295ae; } } body[cds-theme="light"] { - .btn.btn-icon { + .btn.btn-icon.btn-dimmed { color: #314351; } @@ -264,6 +264,8 @@ header { } } + $darkBorderColor: #697c85; + body[cds-theme="dark"] { .ht_master tr:nth-of-type(odd) > td { filter: brightness(1.2); @@ -271,6 +273,30 @@ header { .ht_master:not(.emptyColumns) ~ .handsontable tbody tr th, .ht_master:not(.emptyColumns) ~ .handsontable:not(.ht_clone_top) thead tr th:first-child { background-color: #2d4048; + border-color: $darkBorderColor; + } + + .handsontable td { + // border-right: 1px solid #697c85; + // border-bottom: 1px solid #697c85; + border-color: $darkBorderColor; + } + + .handsontable tr:first-child th, .handsontable tr:first-child td { + border-color: $darkBorderColor; + } + + .handsontable .handsontable.ht_clone_top .wtHider { + border-color: $darkBorderColor; + } + + .handsontable .changeType { + background-color: #3c5662; + border-color: $darkBorderColor; + } + + .handsontableInput { + background-color: #708b98; } } diff --git a/client/src/app/editor/components/edit-record/edit-record.component.html b/client/src/app/editor/components/edit-record/edit-record.component.html index 73c5f84..1d5cba8 100644 --- a/client/src/app/editor/components/edit-record/edit-record.component.html +++ b/client/src/app/editor/components/edit-record/edit-record.component.html @@ -277,7 +277,7 @@
diff --git a/client/src/app/review/approve-details/approve-details.component.scss b/client/src/app/review/approve-details/approve-details.component.scss index ce13bdc..e8e4bf9 100644 --- a/client/src/app/review/approve-details/approve-details.component.scss +++ b/client/src/app/review/approve-details/approve-details.component.scss @@ -10,19 +10,48 @@ } .addedRow { - background: rgb(146, 208, 154); border: 1px solid rgba(9, 77, 117, 0.2); border-radius: 5px; } .deletedRow { - background: rgb(230, 179, 179); border: 1px solid rgba(70, 71, 70, 0.2); border-radius: 5px; } +::ng-deep body[cds-theme="dark"] { + table { + .updatedRow { + background: #93971e; + } + + .addedRow { + background: rgb(86 153 95); + } + + .deletedRow { + background: rgb(138 90 90); + } + } +} + +::ng-deep body[cds-theme="light"] { + table { + .updatedRow { + background: #fafda8; + } + + .addedRow { + background: rgb(146, 208, 154); + } + + .deletedRow { + background: rgb(230, 179, 179); + } + } +} + .updatedRow { - background: #fafda8; border: 1px solid rgba(9, 117, 9, 0.2); border-radius: 5px; } diff --git a/client/src/app/shared/autocomplete/autocomplete.component.scss b/client/src/app/shared/autocomplete/autocomplete.component.scss index 64ba1f4..cd9b056 100644 --- a/client/src/app/shared/autocomplete/autocomplete.component.scss +++ b/client/src/app/shared/autocomplete/autocomplete.component.scss @@ -1,6 +1,6 @@ .input-val { border: 0px; - background: #fbf8f8; + background: transparent; border-bottom: 1px solid #999999; } @@ -13,6 +13,29 @@ input { } } +::ng-deep { + body[cds-theme="dark"] { + .datalist { + background: #21333b; + border: 1px solid #575757; + } + + input { + color: #fff; + } + + .datalist option { + color: #fff + } + } + + body[cds-theme="light"] { + .datalist { + background: #fff; + } + } +} + .autocomplete-wrapper { .overlay { position: fixed; @@ -25,7 +48,6 @@ input { .datalist { position: fixed; - background: white; box-shadow: 0px 3px 10px -1px #0000002b; overflow: auto; z-index: 2000; diff --git a/client/src/app/shared/sidebar/sidebar.component.scss b/client/src/app/shared/sidebar/sidebar.component.scss index 06922da..381c606 100644 --- a/client/src/app/shared/sidebar/sidebar.component.scss +++ b/client/src/app/shared/sidebar/sidebar.component.scss @@ -1,5 +1,10 @@ $sidebarWidth: 272px; +.clr-vertical-nav .nav-link.active { + background-color: transparent; + padding-left: 5px; +} + clr-vertical-nav { width: $sidebarWidth; min-width: $sidebarWidth; diff --git a/client/src/app/shared/soft-select/soft-select.component.scss b/client/src/app/shared/soft-select/soft-select.component.scss index 0b2941e..8a38a26 100644 --- a/client/src/app/shared/soft-select/soft-select.component.scss +++ b/client/src/app/shared/soft-select/soft-select.component.scss @@ -1,6 +1,6 @@ .input-val { border: 0px; - background: #fbf8f8; + background: transparent; border-bottom: 1px solid #999999; } diff --git a/client/src/app/shared/viewboxes/viewboxes.component.scss b/client/src/app/shared/viewboxes/viewboxes.component.scss index 05f9f47..59aa1f6 100644 --- a/client/src/app/shared/viewboxes/viewboxes.component.scss +++ b/client/src/app/shared/viewboxes/viewboxes.component.scss @@ -38,6 +38,10 @@ dc-tree { .add-new { width: 50%; padding-right: 5px; + + > p { + margin-bottom: 1px; + } } .viewbox-limit-notice { @@ -45,6 +49,38 @@ dc-tree { color: #E74C3C } +::ng-deep body[cds-theme="dark"] { + .currently-open .open-viewbox:hover { + background: #314b57; + } + + .cols-list { + background: #314b57; + color: #fff; + border-color: #858585; + } + + .col-box { + background: #314b57; + border-color: #858585; + color: inherit; + } +} + +::ng-deep body[cds-theme="light"] { + .currently-open .open-viewbox:hover { + background: #e8e8e8; + } + + .cols-list { + background: #fff; + } + + .col-box { + background: #fff; + } +} + .currently-open { width: 50%; @@ -55,10 +91,6 @@ dc-tree { &.selected { background: #3c85002e; } - - &:hover { - background: #e8e8e8; - } } } @@ -180,7 +212,6 @@ dc-tree { .cols-list { border: solid 1px #ccc; min-height: 60px; - background: white; border-radius: 4px; overflow: hidden; display: block; @@ -199,7 +230,6 @@ dc-tree { justify-content: space-between; box-sizing: border-box; cursor: move; - background: white; font-size: 14px; &.search:focus { diff --git a/client/src/app/stage/stage.component.html b/client/src/app/stage/stage.component.html index a81ab4e..95b8786 100644 --- a/client/src/app/stage/stage.component.html +++ b/client/src/app/stage/stage.component.html @@ -16,7 +16,7 @@
-
+
Basic Submitted Details
@@ -51,7 +51,7 @@
-
+
Actions
diff --git a/client/src/app/user/user.component.scss b/client/src/app/user/user.component.scss index 9adb276..20130c4 100644 --- a/client/src/app/user/user.component.scss +++ b/client/src/app/user/user.component.scss @@ -2,23 +2,58 @@ height: 100%; } .user-info-text{ - display: inline; + display: inline; font-size: 20px; } + +::ng-deep body[cds-theme="dark"] { + .user-info { + background-color: #314351; + border-color: #314351; + } + + .user-data { + background-color: #314351; + border-color: #314351; + } + + .user-table tbody{ + tr:hover{ + background-color: #29404b; + } + } +} + +::ng-deep body[cds-theme="light"] { + .user-info { + background-color: #f9f9f9; + border-color: #a7a7a7; + box-shadow: 0px 2px 5px #dad7d7; + } + + .user-data { + background-color: #f9f9f9; + border-color: #a7a7a7; + box-shadow: 0px 2px 5px #dad7d7; + } + + .user-table tbody{ + tr:hover{ + background-color: #e6e6e6; + } + } +} + .user-info{ - background-color: #f9f9f9; - border: 1px solid #a7a7a7; + border: 1px solid; border-radius: 3px; - box-shadow: 0px 2px 5px #dad7d7; } .user-info td{ text-align: center; } .user-data{ - background-color: #f9f9f9; - border: 1px solid #a7a7a7; + border: 1px solid; border-radius: 3px; - box-shadow: 0px 2px 5px #dad7d7; } .user-data{ min-height: auto; @@ -28,7 +63,6 @@ } .user-table{ - background-color: #f9f9f9; width: 100%; } .user-table thead{ @@ -36,7 +70,6 @@ } .user-table tbody{ tr:hover{ - background-color: #e6e6e6; cursor: pointer; } } diff --git a/client/src/app/viewer/viewer.component.html b/client/src/app/viewer/viewer.component.html index fd78523..e58f860 100644 --- a/client/src/app/viewer/viewer.component.html +++ b/client/src/app/viewer/viewer.component.html @@ -323,7 +323,7 @@
-
+