Skip to content

Commit

Permalink
checkbox: fix tip opacity in IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
sipayRT committed Mar 11, 2015
1 parent 0f0e1e1 commit c8f858f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
16 changes: 16 additions & 0 deletions common.blocks/checkbox/checkbox.tests/simple.bemjson.js
Expand Up @@ -153,6 +153,14 @@
val : 2,
name : 'r1',
text : 'size_m'
},
' ',
{
block : 'checkbox',
mods : { theme : 'islands', size : 'm', checked : true, disabled : true },
val : 2,
name : 'r1',
text : 'size_m'
}
] },
{ tag : 'p', content : [
Expand All @@ -170,6 +178,14 @@
val : 2,
name : 'r1',
text : 'size_l'
},
' ',
{
block : 'checkbox',
mods : { theme : 'islands', size : 'l', checked : true, disabled : true },
val : 2,
name : 'r1',
text : 'size_l'
}
] },

Expand Down
Expand Up @@ -66,17 +66,14 @@

&.checkbox_checked .checkbox__box:after
{
filter: unquote('alpha(opacity=40)');
background-position: 0 100%;
}
}

for size, i in m l {
&.checkbox_size_{size} .checkbox__box
for size in m l {
&.checkbox_size_{size} .checkbox__box:after
{
&:after
{
background-image: url('tip_size_'size'.png');
}
background-image: url('tip_size_'size'.png');
}
}
}
Binary file modified design/desktop.blocks/checkbox/_theme/tip_size_l.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified design/desktop.blocks/checkbox/_theme/tip_size_m.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c8f858f

Please sign in to comment.