Skip to content

Commit 0f0dbf5

Browse files
committed
Merge pull request #3 from firefly-ui/fix-styling-for-checkbox-mark
Fixes checkbox styling
2 parents 5ead193 + 504499e commit 0f0dbf5

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

app/styles/firefly-ui/foundation/_checkbox.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,16 @@ $checkbox-focus-border-color: rgba(0,0,0,0.3) !default;
8383
background-color: $checkbox-checked-background-color;
8484

8585
&::after {
86-
top: 4px;
87-
left: 2.4px;
86+
top: 0;
87+
left: 0;
8888
height: 7px;
8989
width: 12px;
9090

91-
transform: rotate(-45deg) skew(0,1deg);
91+
transform: translateX(2.4px) translateY(4px) rotate(-45deg) skew(0, 1deg);
9292

9393
border-bottom: solid 2px;
9494
border-left: solid 2px;
9595
border-color: $checkbox-checked-color;
96-
9796
}
9897
}
9998
}
@@ -104,12 +103,12 @@ $checkbox-focus-border-color: rgba(0,0,0,0.3) !default;
104103
background-color: $checkbox-indeterminate-background-color;
105104

106105
&::after {
107-
top: 7.75px;
106+
top: 8px;
108107
left: 3px;
109108
width: 11px;
109+
height: 2px;
110110

111-
border-bottom: solid 1.5px;
112-
border-color: $checkbox-indeterminate-color;
111+
background-color: $checkbox-indeterminate-color;
113112
}
114113
}
115114
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ff-checkbox",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Theme-able checkbox component for Ember 2.0! Supports Foundation, part of Firefly UI",
55
"directories": {
66
"doc": "doc",

0 commit comments

Comments
 (0)