From f0c05858329430c9487bdcfcf36d0aa98f60776d Mon Sep 17 00:00:00 2001 From: xidedix Date: Mon, 14 Dec 2020 18:09:23 +0100 Subject: [PATCH] fix(BrandButtons): minor temp fixes with stylings --- src/scss/_fixes.scss | 16 ++ src/scss/style.scss | 3 + .../buttons/brand-buttons/BrandButtons.js | 178 +++++++++--------- 3 files changed, 108 insertions(+), 89 deletions(-) create mode 100644 src/scss/_fixes.scss diff --git a/src/scss/_fixes.scss b/src/scss/_fixes.scss new file mode 100644 index 0000000..93d3535 --- /dev/null +++ b/src/scss/_fixes.scss @@ -0,0 +1,16 @@ +// todo: disabled button styles +button { + &:disabled { + cursor: default; + } + &.disabled { + cursor: default; + } +} + +// todo: brand button icon margin +.btn-brand:not(:only-child) { + .c-icon { + margin-top: 0 !important; + } +} diff --git a/src/scss/style.scss b/src/scss/style.scss index 6347a09..e993a80 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -4,5 +4,8 @@ // Import CoreUI styles @import "~@coreui/coreui/scss/coreui.scss"; +// Some temp fixes +@import "fixes"; + // If you want to add something do it here @import "custom"; diff --git a/src/views/buttons/brand-buttons/BrandButtons.js b/src/views/buttons/brand-buttons/BrandButtons.js index 0805822..931b97e 100644 --- a/src/views/buttons/brand-buttons/BrandButtons.js +++ b/src/views/buttons/brand-buttons/BrandButtons.js @@ -19,68 +19,68 @@ const BrandButtons = () => {
Size Small - Add this class .btn-sm + size="sm"

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo + Facebook + Twitter + LinkedIn + Flickr + Tumblr + Xing + Github + StackOverflow + YouTube + Dribbble + Instagram + Pinterest + VK + Yahoo + Behance + Reddit + Vimeo

Size Normal

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo + Facebook + Twitter + LinkedIn + Flickr + Tumblr + Xing + Github + StackOverflow + YouTube + Dribbble + Instagram + Pinterest + VK + Yahoo + Behance + Reddit + Vimeo

Size Large - Add this class .btn-lg + size="lg"

- Facebook - Twitter - LinkedIn - Flickr - Tumblr - Xing - Github - StackOverflow - YouTube - Dribbble - Instagram - Pinterest - VK - Yahoo - Behance - Reddit - Vimeo + Facebook + Twitter + LinkedIn + Flickr + Tumblr + Xing + Github + StackOverflow + YouTube + Dribbble + Instagram + Pinterest + VK + Yahoo + Behance + Reddit + Vimeo

@@ -94,26 +94,26 @@ const BrandButtons = () => {
Size Small - Add this class .btn-sm + size="sm"

- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +

Size Normal

@@ -136,26 +136,26 @@ const BrandButtons = () => {

Size Large - Add this class .btn-lg + size="lg"

- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +