panel/strip: more pixel perfect, more !
This commit is contained in:
parent
c9aa72a1c3
commit
5063896d26
2 changed files with 22 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue