From f9dc234da74856adb556c725359681923da26c5e Mon Sep 17 00:00:00 2001 From: Stefan Popov Date: Fri, 7 Aug 2020 00:47:29 +0400 Subject: [PATCH 1/3] Fix styles --- src/components/Card/SCard.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Card/SCard.vue b/src/components/Card/SCard.vue index ba72dfbc..248e1f29 100644 --- a/src/components/Card/SCard.vue +++ b/src/components/Card/SCard.vue @@ -62,6 +62,7 @@ export default class SCard extends Vue { @import "../../styles/variables.scss"; .s-card { + color: $color-basic-black; border-radius: 8px; border-color: $color-neutral-border; &.clickable { From a1d6b483ad799d627939a6dc9bbc158b19fbf496 Mon Sep 17 00:00:00 2001 From: Stefan Popov Date: Fri, 7 Aug 2020 00:47:52 +0400 Subject: [PATCH 2/3] Add icons --- src/assets/icons/link-off.svg | 3 +++ src/assets/icons/link-on.svg | 3 +++ src/assets/icons/play.svg | 3 +++ src/assets/icons/stop.svg | 3 +++ src/styles/icons.scss | 36 +++++++++++++++++++++++++++++++++++ 5 files changed, 48 insertions(+) create mode 100644 src/assets/icons/link-off.svg create mode 100644 src/assets/icons/link-on.svg create mode 100644 src/assets/icons/play.svg create mode 100644 src/assets/icons/stop.svg diff --git a/src/assets/icons/link-off.svg b/src/assets/icons/link-off.svg new file mode 100644 index 00000000..c9aebc1f --- /dev/null +++ b/src/assets/icons/link-off.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/link-on.svg b/src/assets/icons/link-on.svg new file mode 100644 index 00000000..bd161522 --- /dev/null +++ b/src/assets/icons/link-on.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/play.svg b/src/assets/icons/play.svg new file mode 100644 index 00000000..6d53a8df --- /dev/null +++ b/src/assets/icons/play.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/icons/stop.svg b/src/assets/icons/stop.svg new file mode 100644 index 00000000..44135c3e --- /dev/null +++ b/src/assets/icons/stop.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/styles/icons.scss b/src/styles/icons.scss index 685667b9..623c651e 100644 --- a/src/styles/icons.scss +++ b/src/styles/icons.scss @@ -28,6 +28,42 @@ height: 16px; } + &play { + position: absolute; + background-image: url('~@/assets/icons/play.svg'); + width: 16px; + height: 16px; + left: -8px; + top: -8px; + } + + &stop { + position: absolute; + background-image: url('~@/assets/icons/stop.svg'); + width: 16px; + height: 16px; + left: -8px; + top: -8px; + } + + &link-on { + position: absolute; + background-image: url('~@/assets/icons/link-on.svg'); + width: 16px; + height: 16px; + left: -8px; + top: -8px; + } + + &link-off { + position: absolute; + background-image: url('~@/assets/icons/link-off.svg'); + width: 16px; + height: 16px; + left: -8px; + top: -8px; + } + &plus-small { position: absolute; background-image: url('~@/assets/icons/plus.svg'); From bc56875e814121709e6ea5da1ee1bb81a6373ab8 Mon Sep 17 00:00:00 2001 From: Stefan Popov Date: Fri, 7 Aug 2020 11:16:00 +0400 Subject: [PATCH 3/3] Update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 78b4c498..4e9721d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "0.2.6", + "version": "0.2.7", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu-private/"