From d8fb480ca11d220e2f153dbc198f35dcad9b96e1 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 22 Sep 2020 18:20:44 +0100 Subject: [PATCH] ui: Various CSS amends (#8708) * ui: Various CSS amends 1. Split out %icon-definition from %composite-row 2. Add hover effect to node listing 3. Fix up proxy level list components 4. Rename our various pills to use a 100-900 scale 5. Reogranize other icon related things (consul-kind and consul-external-source) * Fix up upstream test --- .../consul-exposed-path-list/index.hbs | 4 +- .../consul-external-source/index.hbs | 26 ++--- ui-v2/app/components/consul-kind/index.hbs | 14 +-- .../consul-service-instance-list/index.hbs | 9 +- .../consul-upstream-instance-list/index.hbs | 4 +- .../styles/base/components/pill/layout.scss | 45 +++----- .../app/styles/base/components/pill/skin.scss | 37 ------ ui-v2/app/styles/components.scss | 5 +- ui-v2/app/styles/components/app-view.scss | 15 +-- .../styles/components/app-view/layout.scss | 10 +- .../app/styles/components/composite-row.scss | 60 ++++++++++ .../components/composite-row/index.scss | 28 ----- .../components/composite-row/layout.scss | 9 ++ .../styles/components/composite-row/skin.scss | 107 ------------------ .../consul-intention-list/index.scss | 9 +- .../index.scss | 7 +- .../components/discovery-chain/skin.scss | 2 +- ui-v2/app/styles/components/filter-bar.scss | 23 ---- .../styles/components/icon-definition.scss | 64 +++++++++++ .../components/icon-definition/index.scss | 2 + .../components/icon-definition/layout.scss | 18 +++ .../components/icon-definition/skin.scss | 2 + ui-v2/app/styles/components/list-row.scss | 4 - .../app/styles/components/list-row/index.scss | 6 + .../styles/components/list-row/layout.scss | 34 ++---- .../app/styles/components/list-row/skin.scss | 7 ++ ui-v2/app/styles/components/modal-dialog.scss | 6 + ui-v2/app/styles/components/pill.scss | 93 +++++++++------ ui-v2/app/styles/components/table.scss | 13 --- .../components/tooltip-panel/layout.scss | 16 +-- .../styles/components/tooltip-panel/skin.scss | 3 + ui-v2/app/styles/components/tooltip.scss | 5 - ui-v2/app/styles/routes.scss | 2 - ui-v2/app/styles/routes/dc/acls/index.scss | 15 ++- .../styles/routes/dc/acls/tokens/index.scss | 12 -- .../app/styles/routes/dc/intention/index.scss | 0 ui-v2/app/styles/routes/dc/nodes/index.scss | 18 --- .../app/styles/routes/dc/services/index.scss | 15 ++- ui-v2/app/styles/typography.scss | 1 - .../templates/dc/services/show/upstreams.hbs | 3 +- ui-v2/tests/pages/dc/services/show.js | 2 +- 41 files changed, 331 insertions(+), 424 deletions(-) create mode 100644 ui-v2/app/styles/components/icon-definition.scss create mode 100644 ui-v2/app/styles/components/icon-definition/index.scss create mode 100644 ui-v2/app/styles/components/icon-definition/layout.scss create mode 100644 ui-v2/app/styles/components/icon-definition/skin.scss delete mode 100644 ui-v2/app/styles/components/list-row.scss delete mode 100644 ui-v2/app/styles/routes/dc/acls/tokens/index.scss delete mode 100644 ui-v2/app/styles/routes/dc/intention/index.scss diff --git a/ui-v2/app/components/consul-exposed-path-list/index.hbs b/ui-v2/app/components/consul-exposed-path-list/index.hbs index 72d085db6..19c102e87 100644 --- a/ui-v2/app/components/consul-exposed-path-list/index.hbs +++ b/ui-v2/app/components/consul-exposed-path-list/index.hbs @@ -1,7 +1,7 @@