Closed hville closed 10 years ago
Thanks for the heads up, I've noticed 2 of the 4 don't show on Mac OS X either. I'll change them to something better supported.
I don't have access to a Windows machine so I can't pick supported unicode characters - I'll default to >
and <
and let users override them in CSS.
The bootstrap
theme does this using
.bootstrap::shadow .defaultPager > div:nth-of-type(2) > button:nth-of-type(1) {
background-image: url(...)
}
And the extjs4
theme uses content
instead of background-image
because the background is already being set as part of the theme.
I haven't tried it, but I think using content
should also supports FontAwesome characters if you don't like images.
Sweet. I'll give it a try. Until now I had defined another pager template using the Polymer button and SVG icons:
<core-icon-button icon="av:skip-previous"
disabled?="{{page==1}}"
class="btn btn-default btn-sm"
on-click="{{moveToFirstPage}}">
</core-icon-button>
For information, the unicode characters ⏮, 9194, 9193 and 9197 used for the forward-backward buttons in the defaultPager template don't display on my system (a windows 8.1 systems with 160+ fonts available). I can create a custom pager for my own use but suggest that a default template uses or more common symbols.