polymer-paper-rails 0.2.0 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/components/core-a11y-keys/core-a11y-keys.html +335 -0
- data/app/assets/components/core-animation/core-animation.html +7 -6
- data/app/assets/components/core-animation/web-animations.html +1 -1
- data/app/assets/components/core-collapse/core-collapse.html +41 -5
- data/app/assets/components/core-component-page/core-component-page.html +1 -1
- data/app/assets/components/core-drawer-panel/core-drawer-panel.css +14 -9
- data/app/assets/components/core-drawer-panel/core-drawer-panel.html +76 -21
- data/app/assets/components/core-drawer-panel/metadata.html +1 -1
- data/app/assets/components/core-dropdown/core-dropdown-base.html +117 -0
- data/app/assets/components/core-dropdown/core-dropdown.html +305 -0
- data/app/assets/components/core-dropdown/metadata.html +62 -0
- data/app/assets/components/core-elements/paper-elements.html +2 -0
- data/app/assets/components/core-focusable/core-focusable.html +4 -0
- data/app/assets/components/core-focusable/core-focusable.js +134 -0
- data/app/assets/components/core-focusable/polymer-mixin.js +35 -0
- data/app/assets/components/core-header-panel/core-header-panel.css +6 -3
- data/app/assets/components/core-header-panel/core-header-panel.html +96 -44
- data/app/assets/components/core-header-panel/metadata.html +1 -1
- data/app/assets/components/core-icon/core-icon.html +19 -5
- data/app/assets/components/core-icons/av-icons.html +57 -31
- data/app/assets/components/core-icons/communication-icons.html +42 -44
- data/app/assets/components/core-icons/core-icons.html +267 -263
- data/app/assets/components/core-icons/device-icons.html +90 -44
- data/app/assets/components/core-icons/editor-icons.html +52 -52
- data/app/assets/components/core-icons/hardware-icons.html +42 -43
- data/app/assets/components/core-icons/image-icons.html +140 -130
- data/app/assets/components/core-icons/maps-icons.html +57 -54
- data/app/assets/components/core-icons/notification-icons.html +34 -35
- data/app/assets/components/core-icons/social-icons.html +38 -37
- data/app/assets/components/core-iconset-svg/core-iconset-svg.html +1 -1
- data/app/assets/components/core-input/core-input.css +3 -7
- data/app/assets/components/core-input/core-input.html +105 -411
- data/app/assets/components/core-input/metadata.html +6 -3
- data/app/assets/components/core-item/core-item.css +7 -6
- data/app/assets/components/core-item/core-item.html +4 -5
- data/app/assets/components/core-item/metadata.html +1 -1
- data/app/assets/components/core-label/core-label.html +124 -0
- data/app/assets/components/core-menu/core-menu.css +3 -3
- data/app/assets/components/core-menu/core-menu.html +8 -2
- data/app/assets/components/core-menu/core-submenu.css +14 -0
- data/app/assets/components/core-menu/core-submenu.html +21 -1
- data/app/assets/components/core-overlay/core-overlay-layer.html +1 -0
- data/app/assets/components/core-overlay/core-overlay.html +163 -90
- data/app/assets/components/core-overlay/gulpfile.js +2 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-basic.html +127 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-positioning-margin.html +153 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-positioning.html +167 -0
- data/app/assets/components/core-overlay/tests/html/core-overlay-scroll.html +130 -0
- data/app/assets/components/core-overlay/tests/js/htmltests.js +6 -0
- data/app/assets/components/core-overlay/tests/runner.html +14 -0
- data/app/assets/components/core-overlay/tests/tests.json +6 -0
- data/app/assets/components/core-scroll-header-panel/core-scroll-header-panel.html +45 -9
- data/app/assets/components/core-scroll-header-panel/metadata.html +1 -1
- data/app/assets/components/core-selector/core-selector.html +116 -28
- data/app/assets/components/core-selector/metadata.html +1 -1
- data/app/assets/components/core-style/core-style.html +4 -4
- data/app/assets/components/core-style/elements.html +1 -1
- data/app/assets/components/core-style/my-theme.html +1 -1
- data/app/assets/components/core-toolbar/core-toolbar.css +14 -7
- data/app/assets/components/core-toolbar/core-toolbar.html +88 -7
- data/app/assets/components/core-toolbar/metadata.html +1 -1
- data/app/assets/components/core-transition/core-transition-css.html +1 -2
- data/app/assets/components/core-transition/core-transition-overlay.css +9 -9
- data/app/assets/components/core-transition/core-transition.html +1 -1
- data/app/assets/components/font-roboto/roboto.html +1 -1
- data/app/assets/components/paper-button/metadata.html +2 -2
- data/app/assets/components/paper-button/paper-button-base.html +120 -0
- data/app/assets/components/paper-button/paper-button.html +114 -145
- data/app/assets/components/paper-checkbox/paper-checkbox.css +1 -1
- data/app/assets/components/paper-dialog/paper-action-dialog.html +104 -0
- data/app/assets/components/paper-dialog/paper-dialog-base.html +81 -0
- data/app/assets/components/paper-dialog/paper-dialog-transition.html +1 -1
- data/app/assets/components/paper-dialog/paper-dialog.html +68 -143
- data/app/assets/components/{paper-dropdown/paper-dropdown.css → paper-dropdown-menu/paper-dropdown-menu.css} +1 -5
- data/app/assets/components/paper-dropdown-menu/paper-dropdown-menu.html +181 -0
- data/app/assets/components/{polymer/polymer.html → paper-dropdown/paper-dropdown-transition.css} +9 -7
- data/app/assets/components/paper-dropdown/paper-dropdown-transition.html +166 -0
- data/app/assets/components/paper-dropdown/paper-dropdown.html +69 -143
- data/app/assets/components/paper-fab/metadata.html +1 -1
- data/app/assets/components/paper-fab/paper-fab.html +140 -16
- data/app/assets/components/paper-icon-button/paper-icon-button.html +99 -32
- data/app/assets/components/paper-input/metadata.html +1 -4
- data/app/assets/components/paper-input/paper-autogrow-textarea.html +157 -0
- data/app/assets/components/paper-input/{paper-input.css → paper-input-decorator.css} +25 -25
- data/app/assets/components/paper-input/paper-input-decorator.html +468 -0
- data/app/assets/components/paper-input/paper-input.html +74 -269
- data/app/assets/components/paper-item/metadata.html +1 -1
- data/app/assets/components/paper-item/paper-item.html +95 -52
- data/app/assets/components/paper-menu-button/metadata.html +1 -1
- data/app/assets/components/paper-menu-button/paper-menu-button.css +38 -19
- data/app/assets/components/paper-menu-button/paper-menu-button.html +57 -138
- data/app/assets/components/paper-progress/paper-progress.css +39 -6
- data/app/assets/components/paper-progress/paper-progress.html +30 -4
- data/app/assets/components/paper-radio-button/paper-radio-button.html +3 -0
- data/app/assets/components/paper-radio-group/paper-radio-group.html +34 -1
- data/app/assets/components/paper-ripple/paper-ripple.html +110 -61
- data/app/assets/components/paper-shadow/metadata.html +2 -2
- data/app/assets/components/paper-shadow/paper-shadow.css +20 -45
- data/app/assets/components/paper-shadow/paper-shadow.html +55 -195
- data/app/assets/components/paper-slider/paper-slider.css +15 -1
- data/app/assets/components/paper-slider/paper-slider.html +98 -57
- data/app/assets/components/paper-spinner/paper-spinner.css +311 -0
- data/app/assets/components/paper-spinner/paper-spinner.html +116 -0
- data/app/assets/components/paper-tabs/paper-tab.css +26 -16
- data/app/assets/components/paper-tabs/paper-tab.html +24 -8
- data/app/assets/components/paper-tabs/paper-tabs.css +31 -13
- data/app/assets/components/paper-tabs/paper-tabs.html +217 -20
- data/app/assets/components/paper-toast/paper-toast.html +44 -6
- data/app/assets/components/paper-toggle-button/paper-toggle-button.css +7 -1
- data/app/assets/components/paper-toggle-button/paper-toggle-button.html +12 -2
- data/app/assets/components/sampler-scaffold/sampler-scaffold.css +2 -1
- data/app/assets/components/web-animations-next/Gruntfile.js +279 -0
- data/app/assets/components/web-animations-next/History.md +76 -0
- data/app/assets/components/web-animations-next/package.json +33 -0
- data/app/assets/components/web-animations-next/src/animation-constructor.js +139 -0
- data/app/assets/components/web-animations-next/src/animation-node.js +31 -0
- data/app/assets/components/web-animations-next/src/animation.js +65 -0
- data/app/assets/components/web-animations-next/src/apply-preserving-inline-style.js +192 -0
- data/app/assets/components/web-animations-next/src/apply.js +25 -0
- data/app/assets/components/web-animations-next/src/box-handler.js +57 -0
- data/app/assets/components/web-animations-next/src/color-handler.js +62 -0
- data/app/assets/components/web-animations-next/src/deprecation.js +42 -0
- data/app/assets/components/web-animations-next/src/dev.js +16 -0
- data/app/assets/components/web-animations-next/src/dimension-handler.js +167 -0
- data/app/assets/components/web-animations-next/src/effect-callback.js +86 -0
- data/app/assets/components/web-animations-next/src/effect.js +110 -0
- data/app/assets/components/web-animations-next/src/element-animatable.js +19 -0
- data/app/assets/components/web-animations-next/src/font-weight-handler.js +42 -0
- data/app/assets/components/web-animations-next/src/group-constructors.js +81 -0
- data/app/assets/components/web-animations-next/src/handler-utils.js +177 -0
- data/app/assets/components/web-animations-next/src/interpolation.js +49 -0
- data/app/assets/components/web-animations-next/src/matrix-decomposition.js +452 -0
- data/app/assets/components/web-animations-next/src/matrix-interpolation.js +130 -0
- data/app/assets/components/web-animations-next/src/maxifill-player.js +162 -0
- data/app/assets/components/web-animations-next/src/normalize-keyframes.js +259 -0
- data/app/assets/components/web-animations-next/src/number-handler.js +72 -0
- data/app/assets/components/web-animations-next/src/player.js +193 -0
- data/app/assets/components/web-animations-next/src/position-handler.js +117 -0
- data/app/assets/components/web-animations-next/src/property-interpolation.js +62 -0
- data/app/assets/components/web-animations-next/src/property-names.js +35 -0
- data/app/assets/components/web-animations-next/src/scope.js +20 -0
- data/app/assets/components/web-animations-next/src/shadow-handler.js +108 -0
- data/app/assets/components/web-animations-next/src/shape-handler.js +85 -0
- data/app/assets/components/web-animations-next/src/tick.js +148 -0
- data/app/assets/components/web-animations-next/src/timeline.js +77 -0
- data/app/assets/components/web-animations-next/src/timing-utilities.js +242 -0
- data/app/assets/components/web-animations-next/src/transform-handler.js +262 -0
- data/app/assets/components/web-animations-next/src/visibility-handler.js +29 -0
- data/app/assets/components/web-animations-next/target-config.js +124 -0
- data/app/assets/components/web-animations-next/target-loader.js +13 -0
- data/app/assets/components/web-animations-next/templates/boilerplate +13 -0
- data/app/assets/components/web-animations-next/templates/runner.html +26 -0
- data/app/assets/components/web-animations-next/templates/web-animations.html +18 -0
- data/app/assets/components/web-animations-next/templates/web-animations.js +21 -0
- data/app/assets/components/web-animations-next/web-animations-next-lite.dev.html +44 -0
- data/app/assets/components/web-animations-next/web-animations-next-lite.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations-next.dev.html +49 -0
- data/app/assets/components/web-animations-next/web-animations-next.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations.dev.html +44 -0
- data/app/assets/components/web-animations-next/web-animations.dev.js +21 -0
- data/app/assets/components/web-animations-next/web-animations.html +50 -0
- data/lib/polymer-paper-rails/version.rb +1 -1
- metadata +82 -421
- data/app/assets/components/core-animation/README.md +0 -4
- data/app/assets/components/core-animation/bower.json +0 -8
- data/app/assets/components/core-animation/demo.html +0 -149
- data/app/assets/components/core-animation/index.html +0 -22
- data/app/assets/components/core-collapse/README.md +0 -4
- data/app/assets/components/core-collapse/bower.json +0 -7
- data/app/assets/components/core-collapse/demo.html +0 -93
- data/app/assets/components/core-collapse/index.html +0 -22
- data/app/assets/components/core-component-page/README.md +0 -6
- data/app/assets/components/core-component-page/bower.json +0 -8
- data/app/assets/components/core-component-page/demo.html +0 -23
- data/app/assets/components/core-component-page/index.html +0 -22
- data/app/assets/components/core-drawer-panel/README.md +0 -4
- data/app/assets/components/core-drawer-panel/bower.json +0 -8
- data/app/assets/components/core-drawer-panel/demo.html +0 -73
- data/app/assets/components/core-drawer-panel/index.html +0 -22
- data/app/assets/components/core-elements/README.md +0 -4
- data/app/assets/components/core-elements/bower.json +0 -29
- data/app/assets/components/core-elements/demo.html +0 -105
- data/app/assets/components/core-elements/demos/core-toolbar.html +0 -98
- data/app/assets/components/core-field/README.md +0 -4
- data/app/assets/components/core-field/bower.json +0 -7
- data/app/assets/components/core-field/demo.html +0 -67
- data/app/assets/components/core-field/index.html +0 -22
- data/app/assets/components/core-header-panel/README.md +0 -4
- data/app/assets/components/core-header-panel/bower.json +0 -7
- data/app/assets/components/core-header-panel/demo.html +0 -100
- data/app/assets/components/core-header-panel/index.html +0 -23
- data/app/assets/components/core-icon-button/README.md +0 -4
- data/app/assets/components/core-icon-button/bower.json +0 -7
- data/app/assets/components/core-icon-button/demo.html +0 -35
- data/app/assets/components/core-icon-button/index.html +0 -22
- data/app/assets/components/core-icon/README.md +0 -4
- data/app/assets/components/core-icon/bower.json +0 -8
- data/app/assets/components/core-icon/demo.html +0 -44
- data/app/assets/components/core-icon/index.html +0 -22
- data/app/assets/components/core-icons/README.md +0 -4
- data/app/assets/components/core-icons/bower.json +0 -9
- data/app/assets/components/core-icons/demo.html +0 -96
- data/app/assets/components/core-icons/index.html +0 -22
- data/app/assets/components/core-iconset-svg/README.md +0 -4
- data/app/assets/components/core-iconset-svg/bower.json +0 -8
- data/app/assets/components/core-iconset-svg/demo.html +0 -66
- data/app/assets/components/core-iconset-svg/index.html +0 -22
- data/app/assets/components/core-iconset/README.md +0 -4
- data/app/assets/components/core-iconset/bower.json +0 -9
- data/app/assets/components/core-iconset/demo.html +0 -62
- data/app/assets/components/core-iconset/index.html +0 -22
- data/app/assets/components/core-input/README.md +0 -2
- data/app/assets/components/core-input/bower.json +0 -6
- data/app/assets/components/core-input/demo.html +0 -142
- data/app/assets/components/core-input/index.html +0 -22
- data/app/assets/components/core-item/README.md +0 -4
- data/app/assets/components/core-item/bower.json +0 -8
- data/app/assets/components/core-item/demo.html +0 -92
- data/app/assets/components/core-item/index.html +0 -22
- data/app/assets/components/core-media-query/README.md +0 -4
- data/app/assets/components/core-media-query/bower.json +0 -7
- data/app/assets/components/core-media-query/demo.html +0 -44
- data/app/assets/components/core-media-query/index.html +0 -22
- data/app/assets/components/core-menu/README.md +0 -4
- data/app/assets/components/core-menu/bower.json +0 -9
- data/app/assets/components/core-menu/demo.html +0 -101
- data/app/assets/components/core-menu/index.html +0 -22
- data/app/assets/components/core-meta/README.md +0 -4
- data/app/assets/components/core-meta/bower.json +0 -7
- data/app/assets/components/core-meta/demo.html +0 -58
- data/app/assets/components/core-meta/index.html +0 -22
- data/app/assets/components/core-overlay/README.md +0 -4
- data/app/assets/components/core-overlay/bower.json +0 -8
- data/app/assets/components/core-overlay/demo.html +0 -155
- data/app/assets/components/core-overlay/index.html +0 -22
- data/app/assets/components/core-popup-menu/README.md +0 -6
- data/app/assets/components/core-popup-menu/bower.json +0 -13
- data/app/assets/components/core-popup-menu/demo.html +0 -542
- data/app/assets/components/core-popup-menu/index.html +0 -22
- data/app/assets/components/core-range/README.md +0 -2
- data/app/assets/components/core-range/bower.json +0 -7
- data/app/assets/components/core-range/demo.html +0 -64
- data/app/assets/components/core-range/index.html +0 -22
- data/app/assets/components/core-scroll-header-panel/README.md +0 -4
- data/app/assets/components/core-scroll-header-panel/bower.json +0 -11
- data/app/assets/components/core-scroll-header-panel/demo.html +0 -111
- data/app/assets/components/core-scroll-header-panel/demos/demo1.html +0 -80
- data/app/assets/components/core-scroll-header-panel/demos/demo2.html +0 -82
- data/app/assets/components/core-scroll-header-panel/demos/demo3.html +0 -81
- data/app/assets/components/core-scroll-header-panel/demos/demo4.html +0 -109
- data/app/assets/components/core-scroll-header-panel/demos/demo5.html +0 -109
- data/app/assets/components/core-scroll-header-panel/demos/demo6.html +0 -113
- data/app/assets/components/core-scroll-header-panel/demos/demo7.html +0 -120
- data/app/assets/components/core-scroll-header-panel/demos/demo8.html +0 -122
- data/app/assets/components/core-scroll-header-panel/demos/demo9.html +0 -100
- data/app/assets/components/core-scroll-header-panel/demos/images/bg2.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg3.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg5.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg6.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/images/bg9.jpg +0 -0
- data/app/assets/components/core-scroll-header-panel/demos/lorem-ipsum.html +0 -42
- data/app/assets/components/core-scroll-header-panel/index.html +0 -22
- data/app/assets/components/core-selection/README.md +0 -4
- data/app/assets/components/core-selection/bower.json +0 -7
- data/app/assets/components/core-selection/demo.html +0 -59
- data/app/assets/components/core-selection/index.html +0 -22
- data/app/assets/components/core-selector/README.md +0 -4
- data/app/assets/components/core-selector/bower.json +0 -8
- data/app/assets/components/core-selector/demo.html +0 -106
- data/app/assets/components/core-selector/index.html +0 -22
- data/app/assets/components/core-style/README.md +0 -4
- data/app/assets/components/core-style/bower.json +0 -7
- data/app/assets/components/core-style/demo.html +0 -58
- data/app/assets/components/core-style/index.html +0 -22
- data/app/assets/components/core-toolbar/README.md +0 -4
- data/app/assets/components/core-toolbar/bower.json +0 -7
- data/app/assets/components/core-toolbar/demo.html +0 -107
- data/app/assets/components/core-toolbar/index.html +0 -22
- data/app/assets/components/core-transition/README.md +0 -2
- data/app/assets/components/core-transition/bower.json +0 -8
- data/app/assets/components/core-transition/demo.html +0 -87
- data/app/assets/components/core-transition/index.html +0 -22
- data/app/assets/components/paper-button/README.md +0 -4
- data/app/assets/components/paper-button/bower.json +0 -11
- data/app/assets/components/paper-button/demo.html +0 -99
- data/app/assets/components/paper-button/demo2.html +0 -136
- data/app/assets/components/paper-button/index.html +0 -22
- data/app/assets/components/paper-button/paper-button.css +0 -125
- data/app/assets/components/paper-checkbox/README.md +0 -4
- data/app/assets/components/paper-checkbox/bower.json +0 -8
- data/app/assets/components/paper-checkbox/demo.html +0 -113
- data/app/assets/components/paper-checkbox/index.html +0 -22
- data/app/assets/components/paper-dialog/README.md +0 -4
- data/app/assets/components/paper-dialog/bower.json +0 -10
- data/app/assets/components/paper-dialog/demo.html +0 -85
- data/app/assets/components/paper-dialog/index.html +0 -22
- data/app/assets/components/paper-dialog/paper-dialog.css +0 -52
- data/app/assets/components/paper-dropdown/README.md +0 -9
- data/app/assets/components/paper-dropdown/bower.json +0 -12
- data/app/assets/components/paper-dropdown/demo.html +0 -345
- data/app/assets/components/paper-dropdown/index.html +0 -22
- data/app/assets/components/paper-fab/README.md +0 -4
- data/app/assets/components/paper-fab/bower.json +0 -8
- data/app/assets/components/paper-fab/demo.html +0 -72
- data/app/assets/components/paper-fab/demo2.html +0 -103
- data/app/assets/components/paper-fab/index.html +0 -22
- data/app/assets/components/paper-fab/paper-fab.css +0 -36
- data/app/assets/components/paper-focusable/README.md +0 -4
- data/app/assets/components/paper-focusable/bower.json +0 -7
- data/app/assets/components/paper-focusable/demo.html +0 -155
- data/app/assets/components/paper-icon-button/README.md +0 -4
- data/app/assets/components/paper-icon-button/bower.json +0 -9
- data/app/assets/components/paper-icon-button/demo.html +0 -102
- data/app/assets/components/paper-icon-button/index.html +0 -22
- data/app/assets/components/paper-icon-button/paper-icon-button.css +0 -17
- data/app/assets/components/paper-icon-button/pulse-ink.css +0 -20
- data/app/assets/components/paper-input/README.md +0 -4
- data/app/assets/components/paper-input/bower.json +0 -11
- data/app/assets/components/paper-input/demo.html +0 -124
- data/app/assets/components/paper-input/index.html +0 -22
- data/app/assets/components/paper-item/README.md +0 -4
- data/app/assets/components/paper-item/bower.json +0 -9
- data/app/assets/components/paper-item/demo.html +0 -39
- data/app/assets/components/paper-item/index.html +0 -22
- data/app/assets/components/paper-item/paper-item.css +0 -43
- data/app/assets/components/paper-menu-button/README.md +0 -4
- data/app/assets/components/paper-menu-button/bower.json +0 -16
- data/app/assets/components/paper-menu-button/demo.html +0 -95
- data/app/assets/components/paper-menu-button/index.html +0 -22
- data/app/assets/components/paper-menu-button/paper-menu-button-transition.css +0 -19
- data/app/assets/components/paper-menu-button/paper-menu-button-transition.html +0 -123
- data/app/assets/components/paper-progress/README.md +0 -4
- data/app/assets/components/paper-progress/bower.json +0 -8
- data/app/assets/components/paper-progress/demo.html +0 -107
- data/app/assets/components/paper-progress/index.html +0 -22
- data/app/assets/components/paper-radio-button/README.md +0 -4
- data/app/assets/components/paper-radio-button/bower.json +0 -7
- data/app/assets/components/paper-radio-button/demo.html +0 -75
- data/app/assets/components/paper-radio-button/index.html +0 -22
- data/app/assets/components/paper-radio-group/README.md +0 -4
- data/app/assets/components/paper-radio-group/bower.json +0 -9
- data/app/assets/components/paper-radio-group/demo.html +0 -82
- data/app/assets/components/paper-radio-group/index.html +0 -22
- data/app/assets/components/paper-ripple/README.md +0 -4
- data/app/assets/components/paper-ripple/bower.json +0 -9
- data/app/assets/components/paper-ripple/demo.html +0 -418
- data/app/assets/components/paper-ripple/index.html +0 -22
- data/app/assets/components/paper-ripple/raw.html +0 -799
- data/app/assets/components/paper-shadow/README.md +0 -4
- data/app/assets/components/paper-shadow/bower.json +0 -7
- data/app/assets/components/paper-shadow/demo.html +0 -252
- data/app/assets/components/paper-shadow/index.html +0 -22
- data/app/assets/components/paper-slider/README.md +0 -4
- data/app/assets/components/paper-slider/bower.json +0 -9
- data/app/assets/components/paper-slider/demo.html +0 -151
- data/app/assets/components/paper-slider/index.html +0 -22
- data/app/assets/components/paper-tabs/README.md +0 -4
- data/app/assets/components/paper-tabs/bower.json +0 -12
- data/app/assets/components/paper-tabs/demo.html +0 -166
- data/app/assets/components/paper-tabs/index.html +0 -22
- data/app/assets/components/paper-toast/README.md +0 -4
- data/app/assets/components/paper-toast/bower.json +0 -10
- data/app/assets/components/paper-toast/demo.html +0 -67
- data/app/assets/components/paper-toast/index.html +0 -22
- data/app/assets/components/paper-toggle-button/README.md +0 -4
- data/app/assets/components/paper-toggle-button/bower.json +0 -8
- data/app/assets/components/paper-toggle-button/demo.html +0 -77
- data/app/assets/components/paper-toggle-button/index.html +0 -22
- data/app/assets/components/platform/README.md +0 -6
- data/app/assets/components/platform/bower.json +0 -16
- data/app/assets/components/platform/build.log +0 -35
- data/app/assets/components/platform/platform.js.map +0 -1
- data/app/assets/components/polymer/README.md +0 -17
- data/app/assets/components/polymer/bower.json +0 -8
- data/app/assets/components/polymer/build.log +0 -35
- data/app/assets/components/polymer/layout.html +0 -286
- data/app/assets/components/polymer/polymer.js +0 -14
- data/app/assets/components/polymer/polymer.js.map +0 -1
- data/app/assets/components/sampler-scaffold/README.md +0 -4
- data/app/assets/components/sampler-scaffold/bower.json +0 -12
- data/app/assets/components/sampler-scaffold/demo.html +0 -54
- data/app/assets/components/sampler-scaffold/demos/checkbox.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/color.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/radio.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/range.html +0 -20
- data/app/assets/components/sampler-scaffold/demos/string.html +0 -20
- data/app/assets/components/sampler-scaffold/index.html +0 -22
- data/app/assets/components/web-animations-js/COPYING +0 -202
- data/app/assets/components/web-animations-js/README.md +0 -237
- data/app/assets/components/web-animations-js/run-lint.sh +0 -19
- data/app/assets/components/web-animations-js/run-tests-android.sh +0 -25
- data/app/assets/components/web-animations-js/run-tests.sh +0 -15
- data/app/assets/components/web-animations-js/test/bootstrap.js +0 -1266
- data/app/assets/components/web-animations-js/test/img/error.png +0 -0
- data/app/assets/components/web-animations-js/test/img/success.png +0 -0
- data/app/assets/components/web-animations-js/test/img/unknown.png +0 -0
- data/app/assets/components/web-animations-js/test/perf/balls-add-compositing.html +0 -147
- data/app/assets/components/web-animations-js/test/perf/balls-replace-compositing.html +0 -144
- data/app/assets/components/web-animations-js/test/perf/perf.js +0 -158
- data/app/assets/components/web-animations-js/test/perf/updating-inline-style-during-animation.html +0 -165
- data/app/assets/components/web-animations-js/test/test-generator.html +0 -240
- data/app/assets/components/web-animations-js/test/test-results-post.html +0 -3
- data/app/assets/components/web-animations-js/test/test-runner.html +0 -810
- data/app/assets/components/web-animations-js/test/testcases.js +0 -93
- data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow-checks.js +0 -42
- data/app/assets/components/web-animations-js/test/testcases/auto-test-box-shadow.html +0 -40
- data/app/assets/components/web-animations-js/test/testcases/auto-test-calc-checks.js +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-calc.html +0 -156
- data/app/assets/components/web-animations-js/test/testcases/auto-test-change-playback-rate-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path-checks.js +0 -65
- data/app/assets/components/web-animations-js/test/testcases/auto-test-circular-path.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-checks.js +0 -101
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names-checks.js +0 -431
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color-names.html +0 -204
- data/app/assets/components/web-animations-js/test/testcases/auto-test-color.html +0 -117
- data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms-checks.js +0 -45
- data/app/assets/components/web-animations-js/test/testcases/auto-test-composite-transforms.html +0 -97
- data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-compositor.html +0 -68
- data/app/assets/components/web-animations-js/test/testcases/auto-test-delay-checks.js +0 -92
- data/app/assets/components/web-animations-js/test/testcases/auto-test-delay.html +0 -39
- data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate-checks.js +0 -8
- data/app/assets/components/web-animations-js/test/testcases/auto-test-element-animate.html +0 -30
- data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values-checks.js +0 -266
- data/app/assets/components/web-animations-js/test/testcases/auto-test-fill-values.html +0 -114
- data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-font-weight.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/auto-test-initial-checks.js +0 -74
- data/app/assets/components/web-animations-js/test/testcases/auto-test-initial.html +0 -242
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-fallback.html +0 -78
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods-checks.js +0 -17
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style-methods.html +0 -70
- data/app/assets/components/web-animations-js/test/testcases/auto-test-inline-style.html +0 -69
- data/app/assets/components/web-animations-js/test/testcases/auto-test-integer-checks.js +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-integer.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start-checks.js +0 -506
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iteration-start.html +0 -160
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-checks.js +0 -44
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes-checks.js +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate-holes.html +0 -48
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-alternate.html +0 -50
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic-checks.js +0 -162
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-basic.html +0 -116
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill-checks.js +0 -602
- data/app/assets/components/web-animations-js/test/testcases/auto-test-iterations-fill.html +0 -167
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation-checks.js +0 -67
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-creation.html +0 -109
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing-checks.js +0 -65
- data/app/assets/components/web-animations-js/test/testcases/auto-test-keyframe-easing.html +0 -64
- data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units-checks.js +0 -342
- data/app/assets/components/web-animations-js/test/testcases/auto-test-length-units.html +0 -103
- data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms-checks.js +0 -56
- data/app/assets/components/web-animations-js/test/testcases/auto-test-matrix-transforms.html +0 -90
- data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path-checks.js +0 -110
- data/app/assets/components/web-animations-js/test/testcases/auto-test-motion-path.html +0 -133
- data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric-checks.js +0 -26
- data/app/assets/components/web-animations-js/test/testcases/auto-test-non-numeric.html +0 -42
- data/app/assets/components/web-animations-js/test/testcases/auto-test-parent-checks.js +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-parent.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes-checks.js +0 -27
- data/app/assets/components/web-animations-js/test/testcases/auto-test-partial-keyframes.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/auto-test-path-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-path.html +0 -41
- data/app/assets/components/web-animations-js/test/testcases/auto-test-pause-checks.js +0 -79
- data/app/assets/components/web-animations-js/test/testcases/auto-test-pause.html +0 -82
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-checks.js +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin-checks.js +0 -61
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective-origin.html +0 -94
- data/app/assets/components/web-animations-js/test/testcases/auto-test-perspective.html +0 -79
- data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate-checks.js +0 -146
- data/app/assets/components/web-animations-js/test/testcases/auto-test-playback-rate.html +0 -128
- data/app/assets/components/web-animations-js/test/testcases/auto-test-position-list-type-checks.js +0 -73
- data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-rectangle.html +0 -57
- data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent-checks.js +0 -95
- data/app/assets/components/web-animations-js/test/testcases/auto-test-reparent.html +0 -60
- data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed-checks.js +0 -69
- data/app/assets/components/web-animations-js/test/testcases/auto-test-seq-speed.html +0 -86
- data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand-checks.js +0 -197
- data/app/assets/components/web-animations-js/test/testcases/auto-test-shorthand.html +0 -115
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations-checks.js +0 -92
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time-iterations.html +0 -107
- data/app/assets/components/web-animations-js/test/testcases/auto-test-start-time.html +0 -90
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-anim.html +0 -39
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle-checks.js +0 -23
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-circle.html +0 -38
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-svg-color.html +0 -36
- data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow-checks.js +0 -20
- data/app/assets/components/web-animations-js/test/testcases/auto-test-text-shadow.html +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions-checks.js +0 -89
- data/app/assets/components/web-animations-js/test/testcases/auto-test-timing-functions.html +0 -77
- data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-to-animation.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d-checks.js +0 -134
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-3d.html +0 -123
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions-checks.js +0 -160
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-functions.html +0 -158
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin-checks.js +0 -37
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-origin.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives-checks.js +0 -292
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-primitives.html +0 -97
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units-checks.js +0 -202
- data/app/assets/components/web-animations-js/test/testcases/auto-test-transform-units.html +0 -98
- data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility-checks.js +0 -54
- data/app/assets/components/web-animations-js/test/testcases/auto-test-visibility.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug-checks.js +0 -58
- data/app/assets/components/web-animations-js/test/testcases/auto-test-wrapping-bug.html +0 -60
- data/app/assets/components/web-animations-js/test/testcases/background.png +0 -0
- data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-change-playback-rate.html +0 -65
- data/app/assets/components/web-animations-js/test/testcases/disabled-auto-test-position-list-type.html +0 -103
- data/app/assets/components/web-animations-js/test/testcases/disabled-media.html +0 -439
- data/app/assets/components/web-animations-js/test/testcases/disabled-test-compositing-order.html +0 -112
- data/app/assets/components/web-animations-js/test/testcases/impl-test-deprecation.html +0 -85
- data/app/assets/components/web-animations-js/test/testcases/impl-test-from-css-value.html +0 -219
- data/app/assets/components/web-animations-js/test/testcases/impl-test-paced-timing-function.html +0 -83
- data/app/assets/components/web-animations-js/test/testcases/impl-test-totimelinetime.html +0 -37
- data/app/assets/components/web-animations-js/test/testcases/impl-unit-test-position-type.html +0 -256
- data/app/assets/components/web-animations-js/test/testcases/manual-test-add-player-onend.html +0 -57
- data/app/assets/components/web-animations-js/test/testcases/manual-test-preset-timings.html +0 -71
- data/app/assets/components/web-animations-js/test/testcases/manual-test-step.html +0 -88
- data/app/assets/components/web-animations-js/test/testcases/small.mp4 +0 -0
- data/app/assets/components/web-animations-js/test/testcases/small.webm +0 -0
- data/app/assets/components/web-animations-js/test/testcases/test-bounds.html +0 -69
- data/app/assets/components/web-animations-js/test/testcases/test-document-timeline.html +0 -53
- data/app/assets/components/web-animations-js/test/testcases/test-dynamic-load.html +0 -65
- data/app/assets/components/web-animations-js/test/testcases/test-fill-auto.html +0 -78
- data/app/assets/components/web-animations-js/test/testcases/test-getcurrent.html +0 -324
- data/app/assets/components/web-animations-js/test/testcases/test-keyframe-animation-effect.html +0 -248
- data/app/assets/components/web-animations-js/test/testcases/test-keyframe-composite-operation.html +0 -182
- data/app/assets/components/web-animations-js/test/testcases/test-null-target.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/test-pause-for-testing.html +0 -52
- data/app/assets/components/web-animations-js/test/testcases/test-player-addeventlistener.html +0 -161
- data/app/assets/components/web-animations-js/test/testcases/test-player-cleanup.html +0 -79
- data/app/assets/components/web-animations-js/test/testcases/test-player-finish-event.html +0 -101
- data/app/assets/components/web-animations-js/test/testcases/test-player-sort.html +0 -48
- data/app/assets/components/web-animations-js/test/testcases/test-player.html +0 -786
- data/app/assets/components/web-animations-js/test/testcases/test-pseudo-element-reference.html +0 -38
- data/app/assets/components/web-animations-js/test/testcases/test-repeated-pause.html +0 -54
- data/app/assets/components/web-animations-js/test/testcases/test-restart.html +0 -115
- data/app/assets/components/web-animations-js/test/testcases/test-reversed-player-active-phase.html +0 -28
- data/app/assets/components/web-animations-js/test/testcases/test-rotation-not-reversed.html +0 -55
- data/app/assets/components/web-animations-js/test/testcases/test-update-state.html +0 -113
- data/app/assets/components/web-animations-js/test/testcases/unit-test-clone.html +0 -80
- data/app/assets/components/web-animations-js/test/testcases/unit-test-delay.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/unit-test-dom-operations.html +0 -164
- data/app/assets/components/web-animations-js/test/testcases/unit-test-duration.html +0 -66
- data/app/assets/components/web-animations-js/test/testcases/unit-test-get-siblings.html +0 -112
- data/app/assets/components/web-animations-js/test/testcases/unit-test-modify-timing-params.html +0 -105
- data/app/assets/components/web-animations-js/test/testcases/unit-test-null-effect.html +0 -43
- data/app/assets/components/web-animations-js/test/testcases/unit-test-set-parent.html +0 -111
- data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness-failure.html +0 -54
- data/app/assets/components/web-animations-js/test/testcases/unit-test-testharness.html +0 -248
- data/app/assets/components/web-animations-js/test/testcases/unit-test-unpause.html +0 -68
- data/app/assets/components/web-animations-js/test/testharness_timing.css +0 -75
- data/app/assets/components/web-animations-js/test/update-testcases.py +0 -63
- data/app/assets/components/web-animations-js/tools/android/config.sh +0 -8
- data/app/assets/components/web-animations-js/tools/android/setup.sh +0 -152
- data/app/assets/components/web-animations-js/tools/android/stop.sh +0 -20
- data/app/assets/components/web-animations-js/tools/python/requirements.txt +0 -12
- data/app/assets/components/web-animations-js/tools/python/run-tests.py +0 -813
- data/app/assets/components/web-animations-js/tools/python/setup.sh +0 -60
- data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation-exercise-1.html +0 -62
- data/app/assets/components/web-animations-js/tutorial/basic-animations/basic-animation.html +0 -120
- data/app/assets/components/web-animations-js/tutorial/iframe-contents.html +0 -29
- data/app/assets/components/web-animations-js/tutorial/jquery.js +0 -9555
- data/app/assets/components/web-animations-js/tutorial/page-load.js +0 -114
- data/app/assets/components/web-animations-js/tutorial/parallel/parallel-exercise-1.html +0 -58
- data/app/assets/components/web-animations-js/tutorial/parallel/parallel.html +0 -101
- data/app/assets/components/web-animations-js/tutorial/sample-tutorial.html +0 -44
- data/app/assets/components/web-animations-js/tutorial/try-it-yourself.js +0 -216
- data/app/assets/components/web-animations-js/tutorial/tutorial-style.css +0 -344
- data/app/assets/components/web-animations-js/tutorial/tutorial-testing.js +0 -84
@@ -11,6 +11,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
11
11
|
display: inline-block;
|
12
12
|
width: 200px;
|
13
13
|
cursor: default;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
-moz-user-select: none;
|
16
|
+
-ms-user-select: none;
|
17
|
+
user-select: none;
|
18
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
19
|
+
}
|
20
|
+
|
21
|
+
:host(:focus) {
|
22
|
+
outline: none;
|
14
23
|
}
|
15
24
|
|
16
25
|
#sliderContainer {
|
@@ -92,6 +101,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
92
101
|
background-color: #3f51b5;
|
93
102
|
}
|
94
103
|
|
104
|
+
.transiting #sliderBar::shadow #activeProgress {
|
105
|
+
transition: -webkit-transform 0.08s ease;
|
106
|
+
transition: transform 0.08s ease;
|
107
|
+
}
|
108
|
+
|
95
109
|
#sliderKnob {
|
96
110
|
position: absolute;
|
97
111
|
left: 0;
|
@@ -100,7 +114,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
100
114
|
height: 32px;
|
101
115
|
}
|
102
116
|
|
103
|
-
|
117
|
+
.transiting > #sliderKnob {
|
104
118
|
transition: left 0.08s ease;
|
105
119
|
}
|
106
120
|
|
@@ -43,9 +43,9 @@ To change the slider pin color:
|
|
43
43
|
background-color: #0f9d58;
|
44
44
|
}
|
45
45
|
|
46
|
-
To change the slider pin's
|
46
|
+
To change the slider pin's font color:
|
47
47
|
|
48
|
-
paper-slider::shadow #sliderKnobInner::after {
|
48
|
+
paper-slider::shadow #sliderKnob > #sliderKnobInner::after {
|
49
49
|
color: #0f9d58
|
50
50
|
}
|
51
51
|
|
@@ -61,22 +61,28 @@ To change the slider secondary progress bar color:
|
|
61
61
|
@homepage github.io
|
62
62
|
-->
|
63
63
|
|
64
|
+
<link rel="import" href="../core-a11y-keys/core-a11y-keys.html">
|
64
65
|
<link rel="import" href="../paper-progress/paper-progress.html">
|
65
66
|
<link rel="import" href="../paper-input/paper-input.html">
|
66
67
|
|
67
|
-
<polymer-element name="paper-slider" extends="core-range" attributes="snaps pin disabled secondaryProgress editable immediateValue">
|
68
|
+
<polymer-element name="paper-slider" extends="core-range" attributes="snaps pin disabled secondaryProgress editable immediateValue" role="slider" tabindex="0" aria-valuemin="0" aria-valuemax="100">
|
68
69
|
<template>
|
69
70
|
|
70
71
|
<link rel="stylesheet" href="paper-slider.css">
|
71
72
|
|
72
|
-
<
|
73
|
-
|
73
|
+
<template if="{{!disabled}}">
|
74
|
+
<core-a11y-keys target="{{}}" keys="left down pagedown home" on-keys-pressed="{{decrementKey}}"></core-a11y-keys>
|
75
|
+
<core-a11y-keys target="{{}}" keys="right up pageup end" on-keys-pressed="{{incrementKey}}"></core-a11y-keys>
|
76
|
+
</template>
|
77
|
+
|
78
|
+
<div id="sliderContainer" class="{{ {disabled: disabled, pin: pin, snaps: snaps, ring: immediateValue <= min, expand: expand, dragging: dragging, transiting: transiting, editable: editable} | tokenList }}">
|
79
|
+
|
74
80
|
<div class="bar-container">
|
75
81
|
<paper-progress id="sliderBar" aria-hidden="true" min="{{min}}" max="{{max}}" value="{{immediateValue}}" secondaryProgress="{{secondaryProgress}}"
|
76
82
|
on-down="{{bardown}}" on-up="{{resetKnob}}"
|
77
83
|
on-trackstart="{{trackStart}}" on-trackx="{{trackx}}" on-trackend="{{trackEnd}}"></paper-progress>
|
78
84
|
</div>
|
79
|
-
|
85
|
+
|
80
86
|
<template if="{{snaps && !disabled}}">
|
81
87
|
<div class="slider-markers" horizontal layout>
|
82
88
|
<template repeat="{{markers}}">
|
@@ -84,20 +90,18 @@ To change the slider secondary progress bar color:
|
|
84
90
|
</template>
|
85
91
|
</div>
|
86
92
|
</template>
|
87
|
-
|
88
|
-
<div id="sliderKnob" on-down="{{
|
93
|
+
|
94
|
+
<div id="sliderKnob" on-down="{{knobdown}}" on-up="{{resetKnob}}"
|
89
95
|
on-trackstart="{{trackStart}}" on-trackx="{{trackx}}" on-trackend="{{trackEnd}}"
|
90
96
|
on-transitionend="{{knobTransitionEnd}}"
|
91
|
-
role="slider" aria-valuenow="{{value}}" aria-valuemin="{{min}}" aria-valuemax="{{max}}"
|
92
|
-
aria-valuetext="{{value}}" tabindex="0"
|
93
97
|
center-justified center horizontal layout>
|
94
|
-
|
98
|
+
|
95
99
|
<div id="sliderKnobInner" value="{{immediateValue}}"></div>
|
96
|
-
|
100
|
+
|
97
101
|
</div>
|
98
|
-
|
102
|
+
|
99
103
|
</div>
|
100
|
-
|
104
|
+
|
101
105
|
<template if="{{editable}}">
|
102
106
|
<paper-input id="input" class="slider-input" value="{{immediateValue}}" disabled?="{{disabled}}" on-change="{{inputChange}}"></paper-input>
|
103
107
|
</template>
|
@@ -106,7 +110,7 @@ To change the slider secondary progress bar color:
|
|
106
110
|
<script>
|
107
111
|
|
108
112
|
Polymer('paper-slider', {
|
109
|
-
|
113
|
+
|
110
114
|
/**
|
111
115
|
* Fired when the slider's value changes.
|
112
116
|
*
|
@@ -121,7 +125,7 @@ To change the slider secondary progress bar color:
|
|
121
125
|
*
|
122
126
|
* @event change
|
123
127
|
*/
|
124
|
-
|
128
|
+
|
125
129
|
/**
|
126
130
|
* If true, the slider thumb snaps to tick marks evenly spaced based
|
127
131
|
* on the `step` property value.
|
@@ -131,7 +135,7 @@ To change the slider secondary progress bar color:
|
|
131
135
|
* @default false
|
132
136
|
*/
|
133
137
|
snaps: false,
|
134
|
-
|
138
|
+
|
135
139
|
/**
|
136
140
|
* If true, a pin with numeric value label is shown when the slider thumb
|
137
141
|
* is pressed. Use for settings for which users need to know the exact
|
@@ -142,7 +146,7 @@ To change the slider secondary progress bar color:
|
|
142
146
|
* @default false
|
143
147
|
*/
|
144
148
|
pin: false,
|
145
|
-
|
149
|
+
|
146
150
|
/**
|
147
151
|
* If true, this slider is disabled. A disabled slider cannot be tapped
|
148
152
|
* or dragged to change the slider value.
|
@@ -152,7 +156,7 @@ To change the slider secondary progress bar color:
|
|
152
156
|
* @default false
|
153
157
|
*/
|
154
158
|
disabled: false,
|
155
|
-
|
159
|
+
|
156
160
|
/**
|
157
161
|
* The number that represents the current secondary progress.
|
158
162
|
*
|
@@ -161,7 +165,7 @@ To change the slider secondary progress bar color:
|
|
161
165
|
* @default 0
|
162
166
|
*/
|
163
167
|
secondaryProgress: 0,
|
164
|
-
|
168
|
+
|
165
169
|
/**
|
166
170
|
* If true, an input is shown and user can use it to set the slider value.
|
167
171
|
*
|
@@ -170,7 +174,7 @@ To change the slider secondary progress bar color:
|
|
170
174
|
* @default false
|
171
175
|
*/
|
172
176
|
editable: false,
|
173
|
-
|
177
|
+
|
174
178
|
/**
|
175
179
|
* The immediate value of the slider. This value is updated while the user
|
176
180
|
* is dragging the slider.
|
@@ -179,55 +183,78 @@ To change the slider secondary progress bar color:
|
|
179
183
|
* @type number
|
180
184
|
* @default 0
|
181
185
|
*/
|
182
|
-
|
186
|
+
|
187
|
+
maxMarkers: 100,
|
188
|
+
|
183
189
|
observe: {
|
184
|
-
'
|
190
|
+
'step snaps': 'update'
|
185
191
|
},
|
186
|
-
|
192
|
+
|
187
193
|
ready: function() {
|
188
194
|
this.update();
|
189
195
|
},
|
190
|
-
|
196
|
+
|
191
197
|
update: function() {
|
192
198
|
this.positionKnob(this.calcRatio(this.value));
|
193
199
|
this.updateMarkers();
|
194
200
|
},
|
195
|
-
|
201
|
+
|
202
|
+
minChanged: function() {
|
203
|
+
this.update();
|
204
|
+
this.setAttribute('aria-valuemin', this.min);
|
205
|
+
},
|
206
|
+
|
207
|
+
maxChanged: function() {
|
208
|
+
this.update();
|
209
|
+
this.setAttribute('aria-valuemax', this.max);
|
210
|
+
},
|
211
|
+
|
196
212
|
valueChanged: function() {
|
197
213
|
this.update();
|
214
|
+
this.setAttribute('aria-valuenow', this.value);
|
198
215
|
this.fire('core-change');
|
199
216
|
},
|
200
|
-
|
217
|
+
|
218
|
+
disabledChanged: function() {
|
219
|
+
if (this.disabled) {
|
220
|
+
this.removeAttribute('tabindex');
|
221
|
+
} else {
|
222
|
+
this.tabIndex = 0;
|
223
|
+
}
|
224
|
+
},
|
225
|
+
|
226
|
+
immediateValueChanged: function() {
|
227
|
+
if (!this.dragging) {
|
228
|
+
this.value = this.immediateValue;
|
229
|
+
}
|
230
|
+
},
|
231
|
+
|
201
232
|
expandKnob: function() {
|
202
233
|
this.expand = true;
|
203
234
|
},
|
204
|
-
|
235
|
+
|
205
236
|
resetKnob: function() {
|
206
237
|
this.expandJob && this.expandJob.stop();
|
207
238
|
this.expand = false;
|
208
239
|
},
|
209
|
-
|
240
|
+
|
210
241
|
positionKnob: function(ratio) {
|
211
242
|
this.immediateValue = this.calcStep(this.calcKnobPosition(ratio)) || 0;
|
212
243
|
this._ratio = this.snaps ? this.calcRatio(this.immediateValue) : ratio;
|
213
244
|
this.$.sliderKnob.style.left = this._ratio * 100 + '%';
|
214
245
|
},
|
215
|
-
|
246
|
+
|
216
247
|
inputChange: function() {
|
217
248
|
this.value = this.$.input.value;
|
218
249
|
this.fire('change');
|
219
250
|
},
|
220
|
-
|
251
|
+
|
221
252
|
calcKnobPosition: function(ratio) {
|
222
253
|
return (this.max - this.min) * ratio + this.min;
|
223
254
|
},
|
224
|
-
|
225
|
-
measureWidth: function() {
|
226
|
-
this._w = this.$.sliderBar.offsetWidth;
|
227
|
-
},
|
228
|
-
|
255
|
+
|
229
256
|
trackStart: function(e) {
|
230
|
-
this.
|
257
|
+
this._w = this.$.sliderBar.offsetWidth;
|
231
258
|
this._x = this._ratio * this._w;
|
232
259
|
this._startx = this._x || 0;
|
233
260
|
this._minx = - this._startx;
|
@@ -246,7 +273,7 @@ To change the slider secondary progress bar color:
|
|
246
273
|
s.transform = s.webkitTransform = 'translate3d(' + (this.snaps ?
|
247
274
|
(this.calcRatio(this.immediateValue) * this._w) - this._startx : x) + 'px, 0, 0)';
|
248
275
|
},
|
249
|
-
|
276
|
+
|
250
277
|
trackEnd: function() {
|
251
278
|
var s = this.$.sliderKnob.style;
|
252
279
|
s.transform = s.webkitTransform = '';
|
@@ -257,48 +284,62 @@ To change the slider secondary progress bar color:
|
|
257
284
|
this.fire('change');
|
258
285
|
},
|
259
286
|
|
287
|
+
knobdown: function(e) {
|
288
|
+
e.preventDefault();
|
289
|
+
this.expandKnob();
|
290
|
+
},
|
291
|
+
|
260
292
|
bardown: function(e) {
|
261
|
-
|
262
|
-
this
|
293
|
+
e.preventDefault();
|
294
|
+
this.transiting = true;
|
295
|
+
this._w = this.$.sliderBar.offsetWidth;
|
263
296
|
var rect = this.$.sliderBar.getBoundingClientRect();
|
264
297
|
var ratio = (e.x - rect.left) / this._w;
|
265
298
|
this.positionKnob(ratio);
|
266
|
-
this.value = this.calcStep(this.calcKnobPosition(ratio));
|
267
299
|
this.expandJob = this.job(this.expandJob, this.expandKnob, 60);
|
268
300
|
this.fire('change');
|
269
301
|
},
|
270
|
-
|
271
|
-
knobTransitionEnd: function() {
|
272
|
-
this.$.sliderKnob
|
302
|
+
|
303
|
+
knobTransitionEnd: function(e) {
|
304
|
+
if (e.target === this.$.sliderKnob) {
|
305
|
+
this.transiting = false;
|
306
|
+
}
|
273
307
|
},
|
274
|
-
|
308
|
+
|
275
309
|
updateMarkers: function() {
|
276
310
|
this.markers = [], l = (this.max - this.min) / this.step;
|
311
|
+
if (!this.snaps && l > this.maxMarkers) {
|
312
|
+
return;
|
313
|
+
}
|
277
314
|
for (var i = 0; i < l; i++) {
|
278
315
|
this.markers.push('');
|
279
316
|
}
|
280
317
|
},
|
281
|
-
|
318
|
+
|
282
319
|
increment: function() {
|
283
320
|
this.value = this.clampValue(this.value + this.step);
|
284
321
|
},
|
285
|
-
|
322
|
+
|
286
323
|
decrement: function() {
|
287
324
|
this.value = this.clampValue(this.value - this.step);
|
288
325
|
},
|
289
|
-
|
290
|
-
|
291
|
-
if (
|
292
|
-
|
326
|
+
|
327
|
+
incrementKey: function(ev, keys) {
|
328
|
+
if (keys.key === "end") {
|
329
|
+
this.value = this.max;
|
330
|
+
} else {
|
331
|
+
this.increment();
|
293
332
|
}
|
294
|
-
|
295
|
-
|
333
|
+
this.fire('change');
|
334
|
+
},
|
335
|
+
|
336
|
+
decrementKey: function(ev, keys) {
|
337
|
+
if (keys.key === "home") {
|
338
|
+
this.value = this.min;
|
339
|
+
} else {
|
296
340
|
this.decrement();
|
297
|
-
this.fire('change');
|
298
|
-
} else if (c === 39) {
|
299
|
-
this.increment();
|
300
|
-
this.fire('change');
|
301
341
|
}
|
342
|
+
this.fire('change');
|
302
343
|
}
|
303
344
|
|
304
345
|
});
|
@@ -0,0 +1,311 @@
|
|
1
|
+
/*
|
2
|
+
@license
|
3
|
+
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
4
|
+
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
5
|
+
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
6
|
+
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
7
|
+
Code distributed by Google as part of the polymer project is also
|
8
|
+
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**************************/
|
12
|
+
/* STYLES FOR THE SPINNER */
|
13
|
+
/**************************/
|
14
|
+
|
15
|
+
/*
|
16
|
+
* Constants:
|
17
|
+
* STROKEWIDTH = 3px
|
18
|
+
* ARCSIZE = 270 degrees (amount of circle the arc takes up)
|
19
|
+
* ARCTIME = 1333ms (time it takes to expand and contract arc)
|
20
|
+
* ARCSTARTROT = 216 degrees (how much the start location of the arc
|
21
|
+
* should rotate each time, 216 gives us a
|
22
|
+
* 5 pointed star shape (it's 360/5 * 3).
|
23
|
+
* For a 7 pointed star, we might do
|
24
|
+
* 360/7 * 3 = 154.286)
|
25
|
+
* CONTAINERWIDTH = 28px
|
26
|
+
* SHRINK_TIME = 400ms
|
27
|
+
*/
|
28
|
+
|
29
|
+
:host {
|
30
|
+
display: inline-block;
|
31
|
+
position: relative;
|
32
|
+
width: 28px; /* CONTAINERWIDTH */
|
33
|
+
height: 28px; /* CONTAINERWIDTH */
|
34
|
+
}
|
35
|
+
|
36
|
+
#spinnerContainer {
|
37
|
+
width: 100%;
|
38
|
+
height: 100%;
|
39
|
+
}
|
40
|
+
|
41
|
+
#spinnerContainer.active {
|
42
|
+
/* duration: 360 * ARCTIME / (ARCSTARTROT + (360-ARCSIZE)) */
|
43
|
+
-webkit-animation: container-rotate 1568ms linear infinite;
|
44
|
+
animation: container-rotate 1568ms linear infinite;
|
45
|
+
}
|
46
|
+
|
47
|
+
@-webkit-keyframes container-rotate {
|
48
|
+
to { -webkit-transform: rotate(360deg) }
|
49
|
+
}
|
50
|
+
|
51
|
+
@keyframes container-rotate {
|
52
|
+
to { transform: rotate(360deg) }
|
53
|
+
}
|
54
|
+
|
55
|
+
.spinner-layer {
|
56
|
+
position: absolute;
|
57
|
+
width: 100%;
|
58
|
+
height: 100%;
|
59
|
+
opacity: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
.blue {
|
63
|
+
border-color: #4285f4;
|
64
|
+
}
|
65
|
+
|
66
|
+
.red {
|
67
|
+
border-color: #db4437;
|
68
|
+
}
|
69
|
+
|
70
|
+
.yellow {
|
71
|
+
border-color: #f4b400;
|
72
|
+
}
|
73
|
+
|
74
|
+
.green {
|
75
|
+
border-color: #0f9d58;
|
76
|
+
}
|
77
|
+
|
78
|
+
/**
|
79
|
+
* IMPORTANT NOTE ABOUT CSS ANIMATION PROPERTIES (keanulee):
|
80
|
+
*
|
81
|
+
* iOS Safari (tested on iOS 8.1) does not handle animation-delay very well - it doesn't
|
82
|
+
* guarantee that the animation will start _exactly_ after that value. So we avoid using
|
83
|
+
* animation-delay and instead set custom keyframes for each color (as redundant as it
|
84
|
+
* seems).
|
85
|
+
*
|
86
|
+
* We write out each animation in full (instead of separating animation-name,
|
87
|
+
* animation-duration, etc.) because under the polyfill, Safari does not recognize those
|
88
|
+
* specific properties properly, treats them as -webkit-animation, and overrides the
|
89
|
+
* other animation rules. See https://github.com/Polymer/platform/issues/53.
|
90
|
+
*/
|
91
|
+
.active .spinner-layer.blue {
|
92
|
+
/* durations: 4 * ARCTIME */
|
93
|
+
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
94
|
+
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, blue-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
95
|
+
}
|
96
|
+
|
97
|
+
.active .spinner-layer.red {
|
98
|
+
/* durations: 4 * ARCTIME */
|
99
|
+
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
100
|
+
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, red-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
101
|
+
}
|
102
|
+
|
103
|
+
.active .spinner-layer.yellow {
|
104
|
+
/* durations: 4 * ARCTIME */
|
105
|
+
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
106
|
+
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, yellow-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
107
|
+
}
|
108
|
+
|
109
|
+
.active .spinner-layer.green {
|
110
|
+
/* durations: 4 * ARCTIME */
|
111
|
+
-webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
112
|
+
animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both, green-fade-in-out 5332ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
113
|
+
}
|
114
|
+
|
115
|
+
@-webkit-keyframes fill-unfill-rotate {
|
116
|
+
12.5% { -webkit-transform: rotate(135deg); } /* 0.5 * ARCSIZE */
|
117
|
+
25% { -webkit-transform: rotate(270deg); } /* 1 * ARCSIZE */
|
118
|
+
37.5% { -webkit-transform: rotate(405deg); } /* 1.5 * ARCSIZE */
|
119
|
+
50% { -webkit-transform: rotate(540deg); } /* 2 * ARCSIZE */
|
120
|
+
62.5% { -webkit-transform: rotate(675deg); } /* 2.5 * ARCSIZE */
|
121
|
+
75% { -webkit-transform: rotate(810deg); } /* 3 * ARCSIZE */
|
122
|
+
87.5% { -webkit-transform: rotate(945deg); } /* 3.5 * ARCSIZE */
|
123
|
+
to { -webkit-transform: rotate(1080deg); } /* 4 * ARCSIZE */
|
124
|
+
}
|
125
|
+
|
126
|
+
@keyframes fill-unfill-rotate {
|
127
|
+
12.5% { transform: rotate(135deg); } /* 0.5 * ARCSIZE */
|
128
|
+
25% { transform: rotate(270deg); } /* 1 * ARCSIZE */
|
129
|
+
37.5% { transform: rotate(405deg); } /* 1.5 * ARCSIZE */
|
130
|
+
50% { transform: rotate(540deg); } /* 2 * ARCSIZE */
|
131
|
+
62.5% { transform: rotate(675deg); } /* 2.5 * ARCSIZE */
|
132
|
+
75% { transform: rotate(810deg); } /* 3 * ARCSIZE */
|
133
|
+
87.5% { transform: rotate(945deg); } /* 3.5 * ARCSIZE */
|
134
|
+
to { transform: rotate(1080deg); } /* 4 * ARCSIZE */
|
135
|
+
}
|
136
|
+
|
137
|
+
@-webkit-keyframes blue-fade-in-out {
|
138
|
+
from { opacity: 1; }
|
139
|
+
25% { opacity: 1; }
|
140
|
+
26% { opacity: 0; }
|
141
|
+
89% { opacity: 0; }
|
142
|
+
90% { opacity: 1; }
|
143
|
+
100% { opacity: 1; }
|
144
|
+
}
|
145
|
+
|
146
|
+
@keyframes blue-fade-in-out {
|
147
|
+
from { opacity: 1; }
|
148
|
+
25% { opacity: 1; }
|
149
|
+
26% { opacity: 0; }
|
150
|
+
89% { opacity: 0; }
|
151
|
+
90% { opacity: 1; }
|
152
|
+
100% { opacity: 1; }
|
153
|
+
}
|
154
|
+
|
155
|
+
@-webkit-keyframes red-fade-in-out {
|
156
|
+
from { opacity: 0; }
|
157
|
+
15% { opacity: 0; }
|
158
|
+
25% { opacity: 1; }
|
159
|
+
50% { opacity: 1; }
|
160
|
+
51% { opacity: 0; }
|
161
|
+
}
|
162
|
+
|
163
|
+
@keyframes red-fade-in-out {
|
164
|
+
from { opacity: 0; }
|
165
|
+
15% { opacity: 0; }
|
166
|
+
25% { opacity: 1; }
|
167
|
+
50% { opacity: 1; }
|
168
|
+
51% { opacity: 0; }
|
169
|
+
}
|
170
|
+
|
171
|
+
@-webkit-keyframes yellow-fade-in-out {
|
172
|
+
from { opacity: 0; }
|
173
|
+
40% { opacity: 0; }
|
174
|
+
50% { opacity: 1; }
|
175
|
+
75% { opacity: 1; }
|
176
|
+
76% { opacity: 0; }
|
177
|
+
}
|
178
|
+
|
179
|
+
@keyframes yellow-fade-in-out {
|
180
|
+
from { opacity: 0; }
|
181
|
+
40% { opacity: 0; }
|
182
|
+
50% { opacity: 1; }
|
183
|
+
75% { opacity: 1; }
|
184
|
+
76% { opacity: 0; }
|
185
|
+
}
|
186
|
+
|
187
|
+
@-webkit-keyframes green-fade-in-out {
|
188
|
+
from { opacity: 0; }
|
189
|
+
65% { opacity: 0; }
|
190
|
+
75% { opacity: 1; }
|
191
|
+
90% { opacity: 1; }
|
192
|
+
100% { opacity: 0; }
|
193
|
+
}
|
194
|
+
|
195
|
+
@keyframes green-fade-in-out {
|
196
|
+
from { opacity: 0; }
|
197
|
+
65% { opacity: 0; }
|
198
|
+
75% { opacity: 1; }
|
199
|
+
90% { opacity: 1; }
|
200
|
+
100% { opacity: 0; }
|
201
|
+
}
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Patch the gap that appear between the two adjacent div.circle-clipper while the
|
205
|
+
* spinner is rotating (appears on Chrome 38, Safari 7.1, and IE 11).
|
206
|
+
*/
|
207
|
+
.gap-patch {
|
208
|
+
position: absolute;
|
209
|
+
box-sizing: border-box;
|
210
|
+
top: 0;
|
211
|
+
left: 45%;
|
212
|
+
width: 10%;
|
213
|
+
height: 100%;
|
214
|
+
overflow: hidden;
|
215
|
+
border-color: inherit;
|
216
|
+
}
|
217
|
+
|
218
|
+
.gap-patch .circle {
|
219
|
+
width: 1000%;
|
220
|
+
left: -450%;
|
221
|
+
}
|
222
|
+
|
223
|
+
.circle-clipper {
|
224
|
+
display: inline-block;
|
225
|
+
position: relative;
|
226
|
+
width: 50%;
|
227
|
+
height: 100%;
|
228
|
+
overflow: hidden;
|
229
|
+
border-color: inherit;
|
230
|
+
}
|
231
|
+
|
232
|
+
.circle-clipper .circle {
|
233
|
+
width: 200%;
|
234
|
+
}
|
235
|
+
|
236
|
+
.circle {
|
237
|
+
box-sizing: border-box;
|
238
|
+
height: 100%;
|
239
|
+
border-width: 3px; /* STROKEWIDTH */
|
240
|
+
border-style: solid;
|
241
|
+
border-color: inherit;
|
242
|
+
border-bottom-color: transparent !important;
|
243
|
+
border-radius: 50%;
|
244
|
+
-webkit-animation: none;
|
245
|
+
animation: none;
|
246
|
+
}
|
247
|
+
|
248
|
+
.circle-clipper.left .circle {
|
249
|
+
border-right-color: transparent !important;
|
250
|
+
-webkit-transform: rotate(129deg);
|
251
|
+
transform: rotate(129deg);
|
252
|
+
}
|
253
|
+
|
254
|
+
.circle-clipper.right .circle {
|
255
|
+
left: -100%;
|
256
|
+
border-left-color: transparent !important;
|
257
|
+
-webkit-transform: rotate(-129deg);
|
258
|
+
transform: rotate(-129deg);
|
259
|
+
}
|
260
|
+
|
261
|
+
.active .circle-clipper.left .circle {
|
262
|
+
/* duration: ARCTIME */
|
263
|
+
-webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
264
|
+
animation: left-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
265
|
+
}
|
266
|
+
|
267
|
+
.active .circle-clipper.right .circle {
|
268
|
+
/* duration: ARCTIME */
|
269
|
+
-webkit-animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
270
|
+
animation: right-spin 1333ms cubic-bezier(0.4, 0.0, 0.2, 1) infinite both;
|
271
|
+
}
|
272
|
+
|
273
|
+
@-webkit-keyframes left-spin {
|
274
|
+
from { -webkit-transform: rotate(130deg); }
|
275
|
+
50% { -webkit-transform: rotate(-5deg); }
|
276
|
+
to { -webkit-transform: rotate(130deg); }
|
277
|
+
}
|
278
|
+
|
279
|
+
@keyframes left-spin {
|
280
|
+
from { transform: rotate(130deg); }
|
281
|
+
50% { transform: rotate(-5deg); }
|
282
|
+
to { transform: rotate(130deg); }
|
283
|
+
}
|
284
|
+
|
285
|
+
@-webkit-keyframes right-spin {
|
286
|
+
from { -webkit-transform: rotate(-130deg); }
|
287
|
+
50% { -webkit-transform: rotate(5deg); }
|
288
|
+
to { -webkit-transform: rotate(-130deg); }
|
289
|
+
}
|
290
|
+
|
291
|
+
@keyframes right-spin {
|
292
|
+
from { transform: rotate(-130deg); }
|
293
|
+
50% { transform: rotate(5deg); }
|
294
|
+
to { transform: rotate(-130deg); }
|
295
|
+
}
|
296
|
+
|
297
|
+
#spinnerContainer.warmdown {
|
298
|
+
/* duration: SHRINK_TIME */
|
299
|
+
-webkit-animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
300
|
+
animation: container-rotate 1568ms linear infinite, fade-out 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
301
|
+
}
|
302
|
+
|
303
|
+
@-webkit-keyframes fade-out {
|
304
|
+
from { opacity: 1; }
|
305
|
+
to { opacity: 0; }
|
306
|
+
}
|
307
|
+
|
308
|
+
@keyframes fade-out {
|
309
|
+
from { opacity: 1; }
|
310
|
+
to { opacity: 0; }
|
311
|
+
}
|