From 913f8655c560a82a85ff4d2e06cdf4e89cbfab50 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Mon, 19 Dec 2022 07:28:17 +0100 Subject: [PATCH] improve pipelineview status icon --- client/public/img/icons/connected.svg | 4 +++ client/public/img/icons/disconnected.svg | 4 +++ client/src/components/pipelines/list.vue | 32 +++++++++++++++++++++++- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 client/public/img/icons/connected.svg create mode 100644 client/public/img/icons/disconnected.svg diff --git a/client/public/img/icons/connected.svg b/client/public/img/icons/connected.svg new file mode 100644 index 00000000..11e33e47 --- /dev/null +++ b/client/public/img/icons/connected.svg @@ -0,0 +1,4 @@ + + + + diff --git a/client/public/img/icons/disconnected.svg b/client/public/img/icons/disconnected.svg new file mode 100644 index 00000000..1de2371e --- /dev/null +++ b/client/public/img/icons/disconnected.svg @@ -0,0 +1,4 @@ + + + + diff --git a/client/src/components/pipelines/list.vue b/client/src/components/pipelines/list.vue index ce476773..8aedeac5 100644 --- a/client/src/components/pipelines/list.vue +++ b/client/src/components/pipelines/list.vue @@ -30,7 +30,7 @@ - mdi-{{ item.deploymentstrategy}} + {{ item.name }} @@ -131,4 +131,34 @@ export default { text-decoration: none; color: #8560A9 !important; } + +.connected{ + background-image: url('./../../../public/img/icons/connected.svg'); + background-size: contain; + background-repeat: no-repeat; + filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%); + /*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/ +} + +.connected::before { + height: 23px; + width: 23px; + visibility: hidden; + content: ""; +} + +.disconnected{ + background-image: url('./../../../public/img/icons/disconnected.svg'); + background-size: contain; + background-repeat: no-repeat; + filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%); + /*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/ +} + +.disconnected::before { + height: 23px; + width: 23px; + visibility: hidden; + content: ""; +} \ No newline at end of file