Try:

@import "css3";
@import "css3/opacity";
@import "css3/box-shadow";
@import "960/grid";
@import "base";

.shadow{
  @include single-box-shadow();
}

returns:
SassContextException: Undefined Mixin: single-box-shadow: sites/gm.localhost/themes/gm/styles/gm.scss::43 Source: .shadow in SassContext->getMixin() (line 70 of L:\LAS\DEV\SITES\sites\gm.localhost\themes\sasson\phamlp\sass\tree\SassContext.php).

Comments

Michsk’s picture

Issue summary: View changes

typ0

tsi’s picture

There is no such mixin as single-box-shadow().
see http://drupalcode.org/project/sasson.git/blob/refs/heads/7.x-2.x:/phamlp...

Michsk’s picture

mm using: @include box-shadow(rgba(blue, 0.4) 0 0 25px, rgba(green, 0.2) 0 0 3px 1px inset); doesn't do anything either.

Michsk’s picture

tsi’s picture

Seems like our version of compass don't allow multiple shadows, it can do single shadow like this :
@include box-shadow(red, 2px, 2px, 10px, inset);

On the other hand, Sasson does allow multiple backgrounds with its prefixer, simply use :
box-shadow: rgba(blue, 0.4) 0 0 25px, rgba(green, 0.2) 0 0 3px 1px inset;

tsi’s picture

Status: Active » Fixed

Newer versions of compass will allow this and other new features, we will update #1420254: Phamlp and Compass situations? when this is possible.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

another typ0