From 0bb00aedb208383eb1e63250f9cb17029fb504c5 Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Tue, 7 Jun 2016 11:36:01 +0200 Subject: [PATCH] remove colorBar from cartoassets --- src/scss/cdb-components/forms/color_bar.scss | 116 ------------------- 1 file changed, 116 deletions(-) delete mode 100644 src/scss/cdb-components/forms/color_bar.scss diff --git a/src/scss/cdb-components/forms/color_bar.scss b/src/scss/cdb-components/forms/color_bar.scss deleted file mode 100644 index 6c2efc6..0000000 --- a/src/scss/cdb-components/forms/color_bar.scss +++ /dev/null @@ -1,116 +0,0 @@ -// Color input styles -// ---------------------------------------------- - -/* SG -# Forms/Color bar - -``` - - -
- - - -
- - - -
- - - -
- - - ``` -*/ - -@import '../../cdb-variables/sizes'; -@import '../../cdb-utilities/mixins'; - -.CDB-ColorBarContainer { - @include display-flex(); - @include flex-direction(row); - width: 100%; -} -.CDB-ColorBar { - position: relative; - width: 100%; - height: $baseSize - 2; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: $baseSize - 2; - box-sizing: border-box; - - &:last-child { - margin-right: 0; - } -} -.CDB-ColorBar-gradient { - border: 0; - - &::after { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: $baseSize - 2; - content: ''; - } -} -.CDB-ColorBar.CDB-ColorBar--spaceMedium { - margin-right: $baseSize / 2; - - &:last-child { - margin-right: 0; - } -} -.CDB-ColorBar.CDB-ColorBar--spaceless { - border-width: 1px 0; - border-radius: 0; -} -.CDB-ColorBar.CDB-ColorBar--spaceless:first-child { - border-width: 1px 0 1px 1px; - border-radius: $baseSize - 2 0 0 $baseSize - 2; -} -.CDB-ColorBar.CDB-ColorBar--spaceless:last-child { - border-width: 1px 1px 1px 0; - border-radius: 0 $baseSize - 2 $baseSize - 2 0; -} -.CDB-ColorBar.CDB-ColorBar--spaceSmall { - margin-right: 2px; - border-radius: 2px; -} -.CDB-ColorBar.CDB-ColorBar--spaceSmall:first-child { - border-radius: $baseSize - 2 3px 3px $baseSize - 2; -} -.CDB-ColorBar.CDB-ColorBar--spaceSmall:last-child { - margin-right: 0; - border-radius: 3px $baseSize - 2 $baseSize - 2 3px; -}