diff --git a/.gitignore b/.gitignore index 268eba2..c342af4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /docs /node_modules +build.bat diff --git a/gruntfile.js b/gruntfile.js index 16c32c2..75570eb 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -5,6 +5,7 @@ */ module.exports = function(grunt) { grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), yuidoc: { compile: { name: '<%= pkg.name %>', @@ -12,13 +13,13 @@ module.exports = function(grunt) { version: '<%= pkg.version %>', url: '<%= pkg.homepage %>', options: { - exclude: 'third_party', + exclude: 'docs', extension: '.js,.html', paths: '.', outdir: 'docs', linkNatives: 'true', tabtospace: 2, - themedir: 'tools/doc/themes/footstrap' + themedir: 'tools/doc/themes/polymerase' } } }, diff --git a/polymer-ui-arrow/index.html b/polymer-ui-arrow/index.html new file mode 100644 index 0000000..a667a3b --- /dev/null +++ b/polymer-ui-arrow/index.html @@ -0,0 +1,23 @@ + + + + + + Arrows + + + + + +

+ +

+ +

+ + + diff --git a/polymer-ui-arrow/polymer-ui-arrow.css b/polymer-ui-arrow/polymer-ui-arrow.css new file mode 100644 index 0000000..048d936 --- /dev/null +++ b/polymer-ui-arrow/polymer-ui-arrow.css @@ -0,0 +1,20 @@ +@host { + * { + display: inline-block; + position: relative; + overflow: hidden; + } + + [hidden], .hidden { + display: none; + } +} + +.arrow { + border-color: transparent; + border-style: solid; +} + +.arrow-inner { + position: absolute; +} diff --git a/polymer-ui-arrow/polymer-ui-arrow.html b/polymer-ui-arrow/polymer-ui-arrow.html new file mode 100644 index 0000000..aa7e8bb --- /dev/null +++ b/polymer-ui-arrow/polymer-ui-arrow.html @@ -0,0 +1,79 @@ + + + + + + diff --git a/polymer-ui-field/index.html b/polymer-ui-field/index.html index 4e9ff2a..1247bd6 100644 --- a/polymer-ui-field/index.html +++ b/polymer-ui-field/index.html @@ -5,7 +5,9 @@ Polymer UI Field + + - - - + + + + + + + + + + + diff --git a/polymer-ui-field/polymer-ui-field.html b/polymer-ui-field/polymer-ui-field.html index 1af28a9..9e60bcf 100644 --- a/polymer-ui-field/polymer-ui-field.html +++ b/polymer-ui-field/polymer-ui-field.html @@ -1,31 +1,45 @@ + + diff --git a/polymer-ui-menu/polymer-ui-menu.html b/polymer-ui-menu/polymer-ui-menu.html index 11771ad..ada5c8b 100644 --- a/polymer-ui-menu/polymer-ui-menu.html +++ b/polymer-ui-menu/polymer-ui-menu.html @@ -65,6 +65,7 @@ - - - + + + diff --git a/polymer-ui-ratings/star_blank.png b/polymer-ui-ratings/assets/ic_star_rate_darkalt.png similarity index 78% rename from polymer-ui-ratings/star_blank.png rename to polymer-ui-ratings/assets/ic_star_rate_darkalt.png index f034646..7077a9c 100644 Binary files a/polymer-ui-ratings/star_blank.png and b/polymer-ui-ratings/assets/ic_star_rate_darkalt.png differ diff --git a/polymer-ui-ratings/star_full.png b/polymer-ui-ratings/assets/ic_star_rate_darkreg.png similarity index 77% rename from polymer-ui-ratings/star_full.png rename to polymer-ui-ratings/assets/ic_star_rate_darkreg.png index 911b822..22cd1d6 100644 Binary files a/polymer-ui-ratings/star_full.png and b/polymer-ui-ratings/assets/ic_star_rate_darkreg.png differ diff --git a/polymer-ui-ratings/assets/ic_star_rate_lightalt.png b/polymer-ui-ratings/assets/ic_star_rate_lightalt.png new file mode 100644 index 0000000..baf62b6 Binary files /dev/null and b/polymer-ui-ratings/assets/ic_star_rate_lightalt.png differ diff --git a/polymer-ui-ratings/assets/ic_star_rate_lightreg.png b/polymer-ui-ratings/assets/ic_star_rate_lightreg.png new file mode 100644 index 0000000..e5953bb Binary files /dev/null and b/polymer-ui-ratings/assets/ic_star_rate_lightreg.png differ diff --git a/polymer-ui-ratings/index.html b/polymer-ui-ratings/index.html index a7b74b9..db49c1c 100644 --- a/polymer-ui-ratings/index.html +++ b/polymer-ui-ratings/index.html @@ -7,17 +7,19 @@ --> - polymer-ui-ratings + Ratings - - - +

+

+
+ +
diff --git a/polymer-ui-ratings/polymer-ui-ratings.css b/polymer-ui-ratings/polymer-ui-ratings.css index bba8420..3725990 100644 --- a/polymer-ui-ratings/polymer-ui-ratings.css +++ b/polymer-ui-ratings/polymer-ui-ratings.css @@ -20,10 +20,18 @@ license that can be found in the LICENSE file. height: 24px; margin: 0 5px; background-size: 100% 100%; - background-image: url('star_blank.png'); + background-image: url('assets/ic_star_rate_darkalt.png'); cursor: pointer; } #star.full { - background-image: url('star_full.png'); + background-image: url('assets/ic_star_rate_darkreg.png'); +} + +#star.polymer-ui-dark-theme { + background-image: url('assets/ic_star_rate_lightalt.png'); +} + +#star.full.polymer-ui-dark-theme { + background-image: url('assets/ic_star_rate_lightreg.png'); } diff --git a/polymer-ui-ratings/polymer-ui-ratings.html b/polymer-ui-ratings/polymer-ui-ratings.html index 39e4ecb..c6d7fba 100644 --- a/polymer-ui-ratings/polymer-ui-ratings.html +++ b/polymer-ui-ratings/polymer-ui-ratings.html @@ -18,18 +18,21 @@ * * * - * By default g-ratings shows 5 stars but can be configured using "count" attribute: + * By default polymer-ui-ratings shows 5 stars but can be configured using + * "count" attribute: * * * * @class polymer-ui-ratings */ --> - + + +