diff --git a/src/fonts/cartoIcon.eot b/src/fonts/cartoIcon.eot
index 3c65c52..d9aff25 100644
Binary files a/src/fonts/cartoIcon.eot and b/src/fonts/cartoIcon.eot differ
diff --git a/src/fonts/cartoIcon.ttf b/src/fonts/cartoIcon.ttf
index a9e0f79..f61778a 100644
Binary files a/src/fonts/cartoIcon.ttf and b/src/fonts/cartoIcon.ttf differ
diff --git a/src/fonts/cartoIcon.woff b/src/fonts/cartoIcon.woff
index 97c1008..f8f872e 100644
Binary files a/src/fonts/cartoIcon.woff and b/src/fonts/cartoIcon.woff differ
diff --git a/src/scss/cdb-components/forms/checkbox.scss b/src/scss/cdb-components/forms/checkbox.scss
index f8b7f06..cd07cac 100644
--- a/src/scss/cdb-components/forms/checkbox.scss
+++ b/src/scss/cdb-components/forms/checkbox.scss
@@ -5,9 +5,18 @@
# Forms/Checkbox
```
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
```
*/
@@ -15,11 +24,23 @@
@import '../../cdb-variables/colors';
.CDB-Checkbox {
+ position: absolute;
+ width: $baseSize * 2;
+ height: $baseSize * 2;
+ opacity: 0;
+ vertical-align: middle;
+ z-index: 1;
+}
+
+.CDB-Checkbox-face {
position: relative;
width: $baseSize * 2;
height: $baseSize * 2;
border: 1px solid $cMainLine;
border-radius: 3px;
+ background: $cWhite;
+ cursor: pointer;
+ box-sizing: border-box;
&::before,
&::after {
@@ -43,40 +64,37 @@
height: $baseSize - 2;
transform: rotate(-45deg);
}
+}
- &:checked {
- border: 1px solid $cBlue;
- background: $cBlue;
+.CDB-Checkbox:checked + .CDB-Checkbox-face {
+ border: 1px solid $cBlue;
+ background: $cBlue;
- &:hover {
- border: 1px solid $cBlue;
- }
-
- &::before,
- &::after {
- background: $cWhite;
- }
- }
-
- &:focus {
- border: 1px solid $cBlue;
- }
-
- &:hover {
- border: 1px solid $cHoverLine;
- }
-
- &:disabled {
- border: 1px solid $cSecondaryLine;
- background: $cThirdBackground;
-
- &:hover {
- border: 1px solid $cSecondaryLine;
- }
-
- &::before,
- &::after {
- background: $cWhite;
- }
+ &::before,
+ &::after {
+ background: $cWhite;
}
}
+
+.CDB-Checkbox:disabled + .CDB-Checkbox-face {
+ border: 1px solid $cSecondaryLine;
+ background: $cThirdBackground;
+
+ &::before,
+ &::after {
+ background: $cWhite;
+ }
+}
+
+.CDB-Checkbox:disabled:hover + .CDB-Checkbox-face {
+ border: 1px solid $cSecondaryLine;
+}
+
+.CDB-Checkbox:checked:hover + .CDB-Checkbox-face,
+.CDB-Checkbox:focus + .CDB-Checkbox-face {
+ border: 1px solid $cBlue;
+}
+
+.CDB-Checkbox:hover + .CDB-Checkbox-face {
+ border: 1px solid $cHoverLine;
+}
diff --git a/src/scss/cdb-components/forms/inputs.scss b/src/scss/cdb-components/forms/inputs.scss
index 9c4f75a..4c5b843 100644
--- a/src/scss/cdb-components/forms/inputs.scss
+++ b/src/scss/cdb-components/forms/inputs.scss
@@ -18,7 +18,7 @@
width: 100%;
padding: 7px 8px 6px;
border: 1px solid $cMainLine;
- border-radius: 3px;
+ border-radius: $baseSize / 2;
font-size: $sFontSize-medium;
line-height: $sLineHeight-medium;
diff --git a/src/scss/cdb-components/forms/legends.scss b/src/scss/cdb-components/forms/legends.scss
index 2b918e4..d9c7317 100644
--- a/src/scss/cdb-components/forms/legends.scss
+++ b/src/scss/cdb-components/forms/legends.scss
@@ -5,26 +5,30 @@
# Forms/Labels
```
-
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
@@ -35,21 +39,23 @@
RADIO