From f6bee14f30385a9edf2e33bda40d5f6a5047765e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Popovics=20Andr=C3=A1s?= Date: Wed, 6 Sep 2017 15:39:41 +0100 Subject: [PATCH] Remove MDL from demo shell (#2302) --- demo-shell-ng2/app/app.component.scss | 5 ++ .../activiti/activiti-demo.component.css | 88 ------------------- .../activiti/activiti-demo.component.html | 25 +++--- .../activiti/activiti-demo.component.scss | 74 ++++++++++++++++ .../activiti/activiti-demo.component.ts | 5 +- ...home.component.css => home.component.scss} | 7 ++ .../app/components/home/home.component.ts | 2 +- demo-shell-ng2/index.html | 6 -- 8 files changed, 101 insertions(+), 111 deletions(-) delete mode 100644 demo-shell-ng2/app/components/activiti/activiti-demo.component.css create mode 100644 demo-shell-ng2/app/components/activiti/activiti-demo.component.scss rename demo-shell-ng2/app/components/home/{home.component.css => home.component.scss} (79%) diff --git a/demo-shell-ng2/app/app.component.scss b/demo-shell-ng2/app/app.component.scss index 66c299f901..8948dda10c 100644 --- a/demo-shell-ng2/app/app.component.scss +++ b/demo-shell-ng2/app/app.component.scss @@ -1,3 +1,8 @@ +.material-icons { + position: relative; + top: 6px; +} + .user-profile { margin-right: 10px; } diff --git a/demo-shell-ng2/app/components/activiti/activiti-demo.component.css b/demo-shell-ng2/app/components/activiti/activiti-demo.component.css deleted file mode 100644 index cb7bea8cf3..0000000000 --- a/demo-shell-ng2/app/components/activiti/activiti-demo.component.css +++ /dev/null @@ -1,88 +0,0 @@ -.activiti-task-list__item:hover { - cursor: pointer; - font-weight: bold; -} - -.task-column { - padding: 10px 10px 10px 10px; -} - -.mdl-layout__header { - z-index: 1; -} - -.list-buttons { - text-align: left; - margin-bottom: 5px; -} - -.adf-no-form-container { - text-align: center; - font-weight: 600; - font-size: 18px; - font-family: Muli; - padding: 16px; -} - -.action-header { - border: 1px solid ; - text-align: left; -} - -.activiti-demo-grid { - display: flex; -} - -.activiti-demo-grid-item { - margin: 4px; - box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12); - padding: 10px 10px 10px 10px; -} - -.activiti-demo-list-buttons { - margin-bottom: 24px; -} - -.activiti-demo-list-buttons-start { - width: 100%; -} - -.activiti-demo-tasks-menu { - min-width: 170px; -} - -.activiti-demo-tasks-list { - min-width: 510px; - padding: 0; -} - -.activiti-demo-tasks-details, -.activiti-demo-tasks-start { - flex-grow: 1; - min-width: 680px; -} - -.activiti-demo-tasks-list >>> .adf-data-table { - border: none; -} - -.activiti-demo-tasks-list >>> .adf-data-table tr, -.activiti-demo-tasks-list >>> .adf-data-table td { - height: 36px; - font-size: 14px; -} - -.activiti-demo-tasks-list >>> .adf-data-table td { - padding-top: 0; - padding-bottom: 0; - border-bottom: none; -} - -.activiti-demo-tasks-list >>> .adf-data-table th { - padding-top: 0; - padding-bottom: 0; - height: 40px; - vertical-align: middle; - font-size: 14px; -} - diff --git a/demo-shell-ng2/app/components/activiti/activiti-demo.component.html b/demo-shell-ng2/app/components/activiti/activiti-demo.component.html index 168554bf11..bb41ef3680 100644 --- a/demo-shell-ng2/app/components/activiti/activiti-demo.component.html +++ b/demo-shell-ng2/app/components/activiti/activiti-demo.component.html @@ -59,9 +59,7 @@ [supportedPageSizes]="[2, 4, 6, 8, 10, 12]"> -
+
-
-
-
+
+
+
-
-
+
-
-
-
+
+
Report List

-
+
-
-
-
-
-
Loading Demo Shell..