Results 1 to 2 of 2

Thread: Mixin box-shadow does'nt work

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - Brazil
    Posts
    367

    Default Mixin box-shadow does'nt work

    Environment: Ext JS 6.5 Chrome Mac

    I have tried use:
    Code:
    .shadow {
        @include box-shadow(0 1px 2px 0 rgba(0,0,0,0.2));
    }
    But simply no apply any shadow.

    Workaround: override the mixin from:
    Code:
    @mixin box-shadow($h-shadow,$v-shadow,$blur,$spread,$shadow-color) {
      $value: $h-shadow, $v-shadow, $blur, $spread, $shadow-color;
      -webkit-box-shadow: $value;
      -moz-box-shadow: $value;
      -ms-box-shadow: $value;
      box-shadow: $value;
    }
    To:
    Code:
    @mixin box-shadow($value) {
        -webkit-box-shadow: $value;
        -moz-box-shadow: $value;
        -ms-box-shadow: $value;
        box-shadow: $value;
    }

  2. #2
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    33

    Default

    I had this error during a package build. I had two workarounds add "skip.sass=1" to sencha.cfg (if you don't need it) or add a config for "theme", "framework" and "toolkit" in the package.json.

    Also see https://www.sencha.com/forum/showthread.php?329286

Similar Threads

  1. unknown definition for mixin named box-shadow
    By worenklein in forum Ext JS 6.x Q&A
    Replies: 10
    Last Post: 14 Feb 2018, 11:31 PM
  2. Overriding methods in extended mixin doesn't work
    By vollekannehoschi in forum Ext: Q&A
    Replies: 3
    Last Post: 29 Aug 2017, 2:34 PM
  3. [OPEN] mixin, inheritableStatics doesn't work
    By arisu717 in forum Sencha Touch 2.x: Bugs
    Replies: 5
    Last Post: 29 Sep 2014, 4:55 PM
  4. Shadow does not work with Popup
    By strmer15 in forum Sencha GXT Bugs
    Replies: 0
    Last Post: 1 Sep 2013, 4:30 AM
  5. Replies: 3
    Last Post: 31 Oct 2011, 7:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •