From bdc35268aed672188f49c17578255ae9974f4dfe Mon Sep 17 00:00:00 2001 From: tamaradesmith Date: Mon, 8 Jul 2024 15:20:03 -0700 Subject: [PATCH] fix/asa-206: subpanel tables and panel button icon --- .../lib/components/panel/panel.component.html | 68 +++++++++++++------ .../themes/suite8/css/components/_svg.scss | 12 ++-- .../themes/suite8/css/layout/_listview.scss | 22 +++++- .../src/themes/suite8/css/layout/_panel.scss | 15 +++- .../src/themes/suite8/images/Contacts.svg | 7 ++ .../src/themes/suite8/images/Documents.svg | 6 ++ .../src/themes/suite8/images/Meetings.svg | 6 ++ 7 files changed, 107 insertions(+), 29 deletions(-) create mode 100755 docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Contacts.svg create mode 100755 docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Documents.svg create mode 100755 docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Meetings.svg diff --git a/docker/advocase-image/build-files/suitecrm/core/app/core/src/lib/components/panel/panel.component.html b/docker/advocase-image/build-files/suitecrm/core/app/core/src/lib/components/panel/panel.component.html index 6becf3a0e..3d42ed179 100644 --- a/docker/advocase-image/build-files/suitecrm/core/app/core/src/lib/components/panel/panel.component.html +++ b/docker/advocase-image/build-files/suitecrm/core/app/core/src/lib/components/panel/panel.component.html @@ -1,10 +1,38 @@ + +
-
{{title}}
-
+
{{title}}
+
@@ -19,30 +47,30 @@
+
-
-
- - +
+
+ + - -
+ +
-
{{title}}
+
{{title}}
-
- -
+
+ +
-
- +
+ +
-
-
diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/components/_svg.scss b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/components/_svg.scss index 560997699..71b4a0762 100644 --- a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/components/_svg.scss +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/components/_svg.scss @@ -88,14 +88,13 @@ } .line-action svg { - fill: $sky-blue; + fill: $typography-color-link; } .line-action:hover svg { - fill: $bright-purple; + fill: $typography-color-link-hover; } - .back-to-top svg { width: 1em; height: 1em; @@ -115,6 +114,11 @@ height: 14px; } +.card-body .sicon svg { + width: 1.25rem; + height: 1.25rem; +} + .sicon-xs svg { width: 0.5em; height: 0.5em; @@ -296,4 +300,4 @@ vertical-align: middle; fill: $off-white; } -} \ No newline at end of file +} diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_listview.scss b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_listview.scss index 0b0b82bf3..4096e3156 100644 --- a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_listview.scss +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_listview.scss @@ -24,7 +24,7 @@ * the words "Supercharged by SuiteCRM". */ - .list-view { +.list-view { margin: 82px 56px 32px 56px; background-color: #ffffff; border: 1px solid rgba(0,0,0,.1); @@ -75,6 +75,15 @@ .table-header-select-count { margin-right: 24px; margin-bottom: 0; + color: $primary_text; + font-family: "BC Sans"; + font-size: 36px; + font-style: normal; + font-weight: 700; + line-height: normal; +} + +.table-header-select-count { color:$primary_text; font-family: "BC Sans"; font-size: 16px; @@ -164,14 +173,20 @@ border-bottom-left-radius: 0.3em; } +.card-body .table-footer { + margin-top: 8px; +} + .table td { vertical-align: middle; padding: 0.45em; + font-weight: 400; } .table th { border-top: 0; padding: 0.5rem 0.45em; + font-weight: 700; } .table thead th { @@ -179,7 +194,7 @@ } .table td, .table th { - font-size: 0.797rem; + font-size: 1rem; max-width: 220px; } @@ -415,6 +430,8 @@ td { } .centre-pagination { + margin: 0 0.7em; + font-weight: bold; position: relative; top: initial; bottom: initial; @@ -440,3 +457,4 @@ td { td.cdk-column-checkbox { min-width: 32px; } + diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_panel.scss b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_panel.scss index 88d46ede9..437899bf8 100644 --- a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_panel.scss +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/css/layout/_panel.scss @@ -37,7 +37,11 @@ } .sub-panel .panel-title-upper-header { - display: none !important; + display: none !important; +} + +.sub-panel .sub-panel-flex-content { + justify-content: flex-end !important; } .panel-card.collapsed .card-header { @@ -58,7 +62,12 @@ } .panel-card .card-body-padding { - padding: 2rem !important; + padding: 1rem 2.5rem; + border-radius: 0px 0px 6px 6px; + border-right: 2px solid #D8D8D8; + border-bottom: 2px solid #D8D8D8; + border-left: 2px solid #D8D8D8; + background: $white; } .panel-title-header .panel-title { @@ -75,7 +84,7 @@ } .panel-title-header { - padding: 1rem 2rem; + padding-bottom: 1.5rem; } .panel-title-upper-header { diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Contacts.svg b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Contacts.svg new file mode 100755 index 000000000..ca27e7398 --- /dev/null +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Contacts.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Documents.svg b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Documents.svg new file mode 100755 index 000000000..f83dcc88e --- /dev/null +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Documents.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Meetings.svg b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Meetings.svg new file mode 100755 index 000000000..3edbe96dd --- /dev/null +++ b/docker/advocase-image/build-files/suitecrm/core/app/shell/src/themes/suite8/images/Meetings.svg @@ -0,0 +1,6 @@ + + + + + +