strip style fix (fake inner margin like panel)

This commit is contained in:
jean-emmanuel 2016-03-23 19:30:06 +01:00
parent 04a154b4f4
commit 580030c6fd
2 changed files with 20 additions and 9 deletions

File diff suppressed because one or more lines are too long

View file

@ -5,6 +5,18 @@
height:100%;
overflow: visible;
// background: var(--color-bg);
border:0;
&:before {
content:"";
position: absolute;
top:0;
bottom:0;
right: 0;
left: 0;
pointer-events: none;
z-index: 2;
}
> .strip {
height: 100%;
@ -19,10 +31,9 @@
&.vertical {
> .strip > .widget {
max-width: 100%;
border-right:0;
&:last-child {
border-bottom:0;
}
}
&::before {
border-right: 1rem solid var(--color-bg);
}
}
&.horizontal {
@ -31,6 +42,10 @@
display: flex;
flex-direction: row;
&::before {
border-bottom: 1rem solid var(--color-bg);
}
> .strip {
flex-direction: row;
flex:1;
@ -40,10 +55,6 @@
min-height: 100%;
max-height: 100%;
height:100%;
border-bottom:0;
&:last-child {
border-right:0;
}
}
}
> .label {