mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
adding positional arguement to mixin with default setting or relative
This commit is contained in:
parent
c6b6e362ab
commit
4c03f55498
@ -20,9 +20,8 @@
|
|||||||
clip: rect(0 0 0 0);
|
clip: rect(0 0 0 0);
|
||||||
height: 1px;
|
height: 1px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: fixed;
|
|
||||||
width: 1px;
|
width: 1px;
|
||||||
@add-mixin move-z -1;
|
@add-mixin move-z -1, fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
& .panel {
|
& .panel {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@define-mixin move-z $amount:0 {
|
@define-mixin move-z $amount:0, $position:relative {
|
||||||
position: relative;
|
position: $position;
|
||||||
z-index: $amount;
|
z-index: $amount;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user