panel/strip: more pixel perfect, more !

This commit is contained in:
jean-emmanuel 2017-04-25 20:22:55 +02:00
parent c9aa72a1c3
commit 5063896d26
2 changed files with 22 additions and 6 deletions

View file

@ -1,5 +1,7 @@
.panel-container-base {
// --nav
> .label {
border-bottom:1rem solid var(--color-bg);
z-index: 1;
@ -9,8 +11,8 @@
overflow: auto;
position: absolute;
top:29rem;
left:0;
right:-1rem;
left:-1rem;
right:0;
bottom:0;
&.has-tabs {
@ -18,6 +20,10 @@
display: flex;
flex-direction: column;
background: var(--color-bg);
> .content {
left:1rem;
width: calc(100% - 1rem);
}
}
&.noscroll {
@ -41,6 +47,7 @@
.navigation {
// margin-top: 1rem;
background: transparent;
height:calc(var(--nav-height) - 2rem);
&:after {
background: var(--color-bg);
}
@ -54,6 +61,7 @@
}
}
.panel-container {
@extend .panel-container-base;

View file

@ -29,14 +29,16 @@
margin-left:0;
border-left:0;
margin-left:0rem;
// margin-right:1rem;
// &:not(:first-child) > .label {
// border-top:1rem solid var(--color-bg);
// }
}
&::before {
border-right: 1rem solid var(--color-bg);
}
&.nolabel > .strip > .widget {
&:first-child{
border-top:0;
}
}
}
&.horizontal {
width:100%;
@ -84,6 +86,12 @@
}
}
&.nolabel > .strip > .widget {
&:first-child{
border-left:0;
}
}
}
}