From 180fe247e366e38923330502757638f5600db2fd Mon Sep 17 00:00:00 2001 From: Sebastian Thulin Date: Thu, 22 Feb 2024 11:58:32 +0100 Subject: [PATCH] fix: finalize removal of button group --- source/sass/_styleguide.scss | 1 - source/sass/component/_buttonGroup.scss | 45 ------------------------- source/sass/component/_paper.scss | 4 --- 3 files changed, 50 deletions(-) delete mode 100644 source/sass/component/_buttonGroup.scss diff --git a/source/sass/_styleguide.scss b/source/sass/_styleguide.scss index eb4f40e41..1ade8530f 100644 --- a/source/sass/_styleguide.scss +++ b/source/sass/_styleguide.scss @@ -136,7 +136,6 @@ @import "component/textarea"; @import "component/option"; @import "component/typography"; -@import "component/buttonGroup"; @import "component/fab"; @import "component/steppers"; @import "component/segment"; diff --git a/source/sass/component/_buttonGroup.scss b/source/sass/component/_buttonGroup.scss deleted file mode 100644 index cdbeb595c..000000000 --- a/source/sass/component/_buttonGroup.scss +++ /dev/null @@ -1,45 +0,0 @@ -.c-buttongroup { - border: 2px solid black; - border-radius: $border-radius-sm; - display: inline-flex; - - .c-button { - margin-bottom:0; - border:0; - border-radius: 0; - margin:0; - align-items: stretch; - box-shadow: none; - filter: $drop-shadow-0; - } - - .c-button + .c-button { - border-left: 1px solid $color-shadow; - } -} - -.c-buttongroup__border { - - &--primary { - border-color: $color-primary; - } - - &--secondary { - border-color: $color-secondary; - } - - &--default { - border-color: $color-default; - } -} - -.c-buttongroup__background { - - &--primary { - background-color: $color-primary; - } - - &--secondary { - background-color: $color-secondary; - } -} \ No newline at end of file diff --git a/source/sass/component/_paper.scss b/source/sass/component/_paper.scss index 6030b4942..25bb4cf0a 100644 --- a/source/sass/component/_paper.scss +++ b/source/sass/component/_paper.scss @@ -36,10 +36,6 @@ $c-paper-border-color: var(--c-paper-border-color, $color-border-card) !default; color: $color-white; } - .c-buttongroup { - float:right; - } - .c-button__text--primary[aria-pressed="true"], [aria-pressed="true"].c-button__outlined--primary { color: $color-white;