px scaling support on the way + some styles updates

This commit is contained in:
jean-emmanuel 2016-03-18 12:53:44 +01:00
parent f1e384ecc2
commit 60bd47465d
11 changed files with 50 additions and 35 deletions

View file

@ -111,7 +111,7 @@
left:0;
right:0;
bottom:0;
border:1px dashed $color-accent;
border:1rem dashed $color-accent;
pointer-events: none;
}

View file

@ -34,7 +34,7 @@ html, body {
}
html{
font-size: 1px;
font-size: 2px;
}
body {

View file

@ -97,14 +97,14 @@
}
}
.round {
content:"";
position:absolute;
top:15rem;
left:15rem;
right:15rem;
bottom:15rem;
top:16rem;
left:16rem;
right:16rem;
bottom:16rem;
border-radius:100%;
background:$color-raised;
box-shadow: 0 2rem 0 0 $color-faded;
}
.knob {
position:absolute;

View file

@ -25,7 +25,6 @@
border-bottom:0;
.strip > .widget {
max-width: 100%;
margin-top:-1rem;
}
}
&.horizontal {
@ -43,7 +42,6 @@
width: 100%;
min-height: 100%;
max-height: 100%;
margin-left:-1rem;
}
}

View file

@ -19,11 +19,16 @@
&.horizontal {
flex-direction:row;
.value {
padding:28rem 12rem 12rem 12rem;
padding:28rem 6rem 6rem 6rem;
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
border-top:0;
border-right:1rem solid $color-bg;
&:last-child {
border-right:0;
}
&:before {
left:50%;
top:8rem;
@ -32,9 +37,7 @@
margin-left: -4rem;
margin-top:0;
}
&:first-child {
border-top: 1rem solid $color-fg;
}
}
}
.value {
@ -43,12 +46,14 @@
width:100%;
height:100%;
position: relative;
border-top: 1rem solid $color-fg;
border-top: 1rem solid $color-bg;
padding:12rem 12rem 12rem 24rem ;
white-space: normal;
text-align: left;
word-break: break-all;
overflow: hidden;
border-bottom:2rem solid $color-faded;
&:last-child {
margin-bottom:0;