]> git.proxmox.com Git - sencha-touch.git/blob - src/resources/themes/vendor/compass-recipes/stylesheets/recipes/shadow/drop/_transform-requirement.scss
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / resources / themes / vendor / compass-recipes / stylesheets / recipes / shadow / drop / _transform-requirement.scss
1 /**
2 * Drop shadow rules required for transform on drop shadow
3 *
4 * /!\ This is required if you want to apply some transform on the element using drop shadow
5 *
6 * @thanks Nicolas Gallagher @necolas
7 * @link http://nicolasgallagher.com/css-drop-shadows-without-images/demo/
8 */
9 @mixin drop-shadow-transform-requirement($background: #fff)
10 {
11 position: relative;
12
13 & > :last-child::before
14 {
15 content: "";
16 position: absolute;
17 z-index: -1;
18 top: 0;
19 bottom: 0;
20 left: 0;
21 right: 0;
22 background: $background;
23 }
24 }