From 5b886d4e60f1f6fa2116a33b7a13d7fa3dbe480d Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 13 Dec 2016 10:47:00 +0000 Subject: [PATCH] UI polish for Home page - improve feature list UI (remove bullet styles, improve icon and text positioning) - improve card headers (icons and text positioning) --- .../app/components/home/home.component.css | 23 +++++ .../app/components/home/home.component.html | 97 +++++++++++++------ 2 files changed, 90 insertions(+), 30 deletions(-) diff --git a/demo-shell-ng2/app/components/home/home.component.css b/demo-shell-ng2/app/components/home/home.component.css index f708d9b9a1..1ed9877dc1 100644 --- a/demo-shell-ng2/app/components/home/home.component.css +++ b/demo-shell-ng2/app/components/home/home.component.css @@ -23,3 +23,26 @@ cursor: pointer; height: 70px; } + +.home--card__icon { + padding-top: 2px; + margin-right: 4px; +} + +.home--feature-list { + list-style: none; + padding-left: 0; +} + +.home--feature-list__icon { + float: left; +} + +.home--feature-list__text { + padding-top: 2px; +} + +span.home--feature-list__text:before { + content: ''; + padding-left: 4px; +} diff --git a/demo-shell-ng2/app/components/home/home.component.html b/demo-shell-ng2/app/components/home/home.component.html index 172595fd44..c889158838 100644 --- a/demo-shell-ng2/app/components/home/home.component.html +++ b/demo-shell-ng2/app/components/home/home.component.html @@ -1,25 +1,32 @@
-

dvr DocumentList - ECM

+

+ dvr + DocumentList - ECM +

Demonstrates multiple Alfresco ECM components used together to show the files of you ECM instance : -
    + @@ -30,38 +37,48 @@
    -

    apps Activiti - BPM

    +

    + apps + Activiti - BPM +

    Demonstrates multiple Alfresco BPM components used together to show your BPM prorcess and tasks: -
      + @@ -72,13 +89,17 @@
      -

      view_module DataTable-ECM&BPM

      +

      + view_module + DataTable-ECM&BPM +

      Basic table component: -
        +
        • - brightness_1 Comunication with the Rest Api and core services + brightness_1 + Comunication with the Rest Api and core services ng2-alfresco-core
        @@ -88,13 +109,17 @@
        -

        file_upload Uploader - ECM

        +

        + file_upload + Uploader - ECM +

        Basic table uploader component for the ECM and BPM: -
          +
          • - brightness_1 Comunication with the Rest Api and core services + brightness_1 + Comunication with the Rest Api and core services ng2-alfresco-core
          @@ -104,13 +129,17 @@
          -

          account_circle Login - ECM & BPM

          +

          + account_circle + Login - ECM & BPM +

          Login component for the ECM and BPM: -
            +
            • - brightness_1 Comunication with the Rest Api and core services + brightness_1 + Comunication with the Rest Api and core services ng2-alfresco-core
            @@ -120,13 +149,17 @@
            -

            extension Webscript - ECM

            +

            + extension + Webscript - ECM +

            Shows and create webscripts in your ECM instance: -
              +
              • - brightness_1 Comunication with the Rest Api and core services + brightness_1 + Comunication with the Rest Api and core services ng2-alfresco-core
              @@ -136,13 +169,17 @@
              -

              local_offer Tag - ECM

              +

              + local_offer + Tag - ECM +

              Shows and add tags to the node of your ECM instance: -
                +
                • - brightness_1 Comunication with Rest + brightness_1 + Comunication with Rest ng2-alfresco-core