Skip to content

Commit

Permalink
+ Updated $can_filter to include Firefox 35+ and Android KitKat brows…
Browse files Browse the repository at this point in the history
…er, and $can_sticky to include Chrome 56+ (AT LAST!) and remove the small hack in my 'follow me' implementation. (common.css, sections.css)

@ I'm also considering removing the entire follow_me function from topic.js... Its main problem is that it makes it hard (if not impossible?) to change the layout of avatar boxes. The only browser that need it now are IE 8 and above. I wanna say I don't care about them... I don't know.
  • Loading branch information
Nao committed Mar 11, 2017
1 parent 3c2eb2f commit 1fcd685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/skins/common.css
Expand Up @@ -187,8 +187,8 @@ $can_flex = @is ("firefox[22-], opera[12.1-], chrome[27-], ie[10-], safari[7-]"
/* List browsers that support CSS3 animations (Wedge adds prefixes automatically.) */
$can_animate = @is ("chrome, firefox[5-], opera[12-], ie[10-], safari[4-], ios[3.2-], android[2.1-]")

/* List browsers that support CSS filters (not the old IE ones!). Note that Firefox[3.5-] supports filter: url() with SVG filters. */
$can_filter = @is ("chrome[18-], safari[6-]")
/* List browsers that support CSS filters (not the old IE ones!). */
$can_filter = @is ("chrome[18-], firefox[35-], safari[6-], android[4.4-]")

/* List browsers that support position: sticky. iOS needs a prefix, others do not. Support data is as of September 2014. */
$can_sticky = @is ("ios[6.1-] || (firefox[32-] && !mobile)")
/* List browsers that support position: sticky. iOS needs a prefix, others do not. Support data is as of March 2017. */
$can_sticky = @is ("ios[6.1-] || chrome[56-] || (firefox[32-] && !mobile)")
2 changes: 1 addition & 1 deletion core/skins/sections.css
Expand Up @@ -361,7 +361,7 @@ hr.sep
> div
width: 100%
top: 6px
@if $can_sticky || chrome
@if $can_sticky
position: @is (ios, -prefix-sticky, sticky)
@endif

Expand Down

0 comments on commit 1fcd685

Please sign in to comment.