diff --git a/src/scss/cdb-components/shapes/check-circle.scss b/src/scss/cdb-components/shapes/check-circle.scss index cb2022f..3b109e4 100644 --- a/src/scss/cdb-components/shapes/check-circle.scss +++ b/src/scss/cdb-components/shapes/check-circle.scss @@ -8,21 +8,21 @@ Description
-
+
-
+
-
+
-
+
@@ -34,21 +34,21 @@ Description
-
+
-
+
-
+
@@ -66,7 +66,7 @@ Description &.is-small { width: 12px; height: 12px; - margin: 2px auto; + transform: translateY(2px); } &.is-blue { border: 1px solid $cBlue; @@ -76,3 +76,71 @@ Description } } +.CDB-Shape-tick { + display: block; + position: relative; + height: 100%; + + &::before { + display: block; + position: absolute; + width: 1px; + transform: rotate(-45deg); + background: $cMainDark; + content: ''; + } + &::after { + display: block; + position: absolute; + width: 1px; + transform: rotate(45deg); + background: $cMainDark; + content: ''; + } + + &.is-medium { + &::before { + top: 6px; + left: 4px; + height: 4px; + } + &::after { + top: 4px; + right: 5px; + height: 7px; + } + } + + &.is-small { + &::before { + top: 5px; + left: 3px; + height: 3px; + } + &::after { + top: 3px; + right: 3px; + height: 5px; + } + } +} + +.CDB-Shape-tick.is-blue { + &::before { + background: $cBlue; + } + &::after { + background: $cBlue; + } +} + +.CDB-Shape-tick.is-white { + &::before { + background: $cWhite; + } + &::after { + background: $cWhite; + } +} + +