Sha256: af4dadbec8453340c0e7c8de61591645a5e90aaa0867ac2f03d3de9bec736cbe

Contents?: true

Size: 1.93 KB

Versions: 14

Compression:

Stored size: 1.93 KB

Contents

<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<link rel="import" href="../polymer/polymer.html">

<style is="custom-style">

  :root {

    --shadow-transition: {
      transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    };

    /* from http://codepen.io/shyndman/pen/c5394ddf2e8b2a5c9185904b57421cdb */

    --shadow-elevation-2dp: {
      box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
                  0 1px 5px 0 rgba(0, 0, 0, 0.12),
                  0 3px 1px -2px rgba(0, 0, 0, 0.2);
    };

    --shadow-elevation-3dp: {
      box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14),
                  0 1px 8px 0 rgba(0, 0, 0, 0.12),
                  0 3px 3px -2px rgba(0, 0, 0, 0.4);
    };

    --shadow-elevation-4dp: {
      box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
                  0 1px 10px 0 rgba(0, 0, 0, 0.12),
                  0 2px 4px -1px rgba(0, 0, 0, 0.4);
    };

    --shadow-elevation-6dp: {
      box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
                  0 1px 18px 0 rgba(0, 0, 0, 0.12),
                  0 3px 5px -1px rgba(0, 0, 0, 0.4);
    };

    --shadow-elevation-8dp: {
      box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
                  0 3px 14px 2px rgba(0, 0, 0, 0.12),
                  0 5px 5px -3px rgba(0, 0, 0, 0.4);
    };

    --shadow-elevation-16dp: {
      box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
                  0  6px 30px 5px rgba(0, 0, 0, 0.12),
                  0  8px 10px -5px rgba(0, 0, 0, 0.4);
    };

  }

</style>

Version data entries

14 entries across 14 versions & 6 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/paper-styles/shadow.html
polymer-elements-rails-1.0.0 app/assets/components/paper-styles/shadow.html
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/paper-styles/shadow.html
polymer-neon-rails-1.0.0.pre.rc.3 app/assets/components/paper-styles/shadow.html
polymer-paper-rails-1.0.0.pre.rc.3 app/assets/components/paper-styles/shadow.html
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/paper-styles/shadow.html
polymer-paper-rails-1.0.0.pre.rc.2 app/assets/components/paper-styles/shadow.html
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/paper-styles/shadow.html
polymer-neon-rails-1.0.0.pre.rc.2 app/assets/components/paper-styles/shadow.html
polymer-paper-rails-1.0.0.pre.rc.1 app/assets/components/paper-styles/shadow.html
polymer-neon-rails-1.0.0.pre.rc.1 app/assets/components/paper-styles/shadow.html
polymer-gold-rails-1.0.0.pre.rc.1 app/assets/components/paper-styles/shadow.html
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/paper-styles/shadow.html
polymer-paper-elements-rails-0.0.1 app/assets/components/paper-styles/shadow.html