mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
adding z-index mixin and implimenting
This commit is contained in:
parent
5eb2b15227
commit
c6b6e362ab
@ -1,3 +1,5 @@
|
||||
@import '../../util/mixins.css';
|
||||
|
||||
.tab {
|
||||
display: inline;
|
||||
|
||||
@ -20,7 +22,7 @@
|
||||
opacity: 0;
|
||||
position: fixed;
|
||||
width: 1px;
|
||||
z-index: -1;
|
||||
@add-mixin move-z -1;
|
||||
}
|
||||
|
||||
& .panel {
|
||||
@ -49,7 +51,7 @@
|
||||
background: white;
|
||||
border-bottom-width: 0;
|
||||
padding-bottom: remCalc(11);
|
||||
z-index: 1;
|
||||
@add-mixin move-z 1;
|
||||
}
|
||||
|
||||
& .input[type="radio"]:checked ~ .panel {
|
||||
|
@ -16,3 +16,8 @@
|
||||
@mixin-content;
|
||||
}
|
||||
}
|
||||
|
||||
@define-mixin move-z $amount:0 {
|
||||
position: relative;
|
||||
z-index: $amount;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user