ui: some px perfect fixes

This commit is contained in:
jean-emmanuel 2017-06-30 00:43:07 +02:00
parent 729c81b6bb
commit cece8af039
4 changed files with 18 additions and 7 deletions

View file

@ -12,6 +12,7 @@
}
.panel:not(.tab) > .fader-container {
padding: 0rem;
--color-border:transparent;
> .fader.compact > .wrapper {
padding: 1rem;
@ -62,19 +63,22 @@
margin: 17rem 12rem 15rem 5rem;
.pip {
height:1px;
height:1rem;
background: var(--color-pips);
color:var(--color-fg);
position: absolute;
width:5rem;
left:0;
&:not(:last-child):not(:first-child) {
margin-bottom: -1rem;
}
&:before {
content:"";
position: absolute;
top:-4px;
top:-4rem;
left:0;
right:0;
bottom:-4px;
bottom:-4rem;
background: var(--color-fg);
z-index: -1;
}
@ -107,6 +111,7 @@
.pip {
right:0;
left:auto;
margin-bottom: 0;
span {
right:3rem;
left:auto;
@ -136,20 +141,21 @@
height: 3rem;
margin: 5rem 15rem 12rem 17rem;
.pip {
width:1px;
width:1rem;
height:5rem;
margin: 0;
&:before {
top:0;
bottom:0;
left:-4px;
right:-4px;
left:-4rem;
right:-4rem;
}
span {
top:15rem;
left:-15rem!important;
right:auto;
}
}
}
}

View file

@ -19,6 +19,7 @@
.panel:not(.tab) > .formula-container {
--color-border:transparent;
padding: 0rem;
.formula {
padding: 1rem;
border:1rem solid var(--color-light);

View file

@ -13,8 +13,11 @@
.panel:not(.tab) > .rgb-container,
.panel:not(.tab) > .multixy-container {
--color-border:transparent;
padding: 0rem;
> .pad {
padding: 1rem;
}
> .pad > .wrapper {
padding: 1rem;
border:1rem solid var(--color-light);
box-shadow: 0 0 0 1rem var(--color-bg) inset;
}

View file

@ -83,6 +83,7 @@
.panel:not(.tab) > .eq-container,
.panel:not(.tab) > .plot-container {
--color-border:transparent;
padding: 0rem;
.plot, .text, .led {
padding: 1rem;
background-clip: content-box;