PDA

View Full Version : [CLOSED] Ext Themes: Bugs in inner-border @mixin.



ettavolt
12 Dec 2013, 2:15 AM
Ext version tested:
Ext 4.2.1

Browser versions tested against:
Not applicable.

DOCTYPE tested against:
Not applicable.


Description:
@mixin inner-border doesn't produce single box-shadow, when it is possible.


Steps to reproduce the problem:
Create page with some easy-to-see box @include inner-border(2px, #0f0) for that box compile theme inspect box stylesheet rules


The result that was expected:
box-shadow: #0f0 0px 0px 0px 2px inset;

The result that occurs instead:
4 shadows.

The solution:
modify @function inner-border-usesingle-color, change condition to
($top == $right) and ($right == $bottom) and ($bottom == $left) modify @mixin inner-border the inclusion of single-box-shadow
@include single-box-shadow($color, $hoff, $voff, $blur, $spread, true); first argument name

Gary Schlosberg
13 Dec 2013, 9:19 AM
Thanks for the report! I have opened a bug in our bug tracker.