ui: reduce widget labels height to 30
This commit is contained in:
parent
d6f46e6db9
commit
b90e839590
7 changed files with 13 additions and 9 deletions
|
|
@ -43,7 +43,7 @@
|
|||
if (!self.height || !self.width || (self.height==100 && self.width==100)) return
|
||||
|
||||
ctx.clearRect(0,0,self.width,self.height)
|
||||
ctx.font = PXSCALE * 2 * 13 + 'px Droid Sans'
|
||||
ctx.font = PXSCALE * 2 * 12 + 'px Droid Sans'
|
||||
ctx.textBaseline = "middle"
|
||||
ctx.fillStyle = self.color
|
||||
|
||||
|
|
|
|||
|
|
@ -83,6 +83,9 @@ body {
|
|||
|
||||
&:last-child {
|
||||
margin-right:0;
|
||||
i {
|
||||
font-size: 14rem;
|
||||
}
|
||||
}
|
||||
a {
|
||||
background: var(--color-fg);
|
||||
|
|
|
|||
|
|
@ -32,12 +32,13 @@
|
|||
}
|
||||
|
||||
.label {
|
||||
padding:10rem 10rem;
|
||||
text-overflow:ellipsis;
|
||||
overflow:hidden;
|
||||
text-align:center;
|
||||
height:35rem;
|
||||
max-height:35rem;
|
||||
height:30rem;
|
||||
max-height:30rem;
|
||||
line-height: 30rem;
|
||||
font-size: 12rem;
|
||||
width: 100%;
|
||||
background: var(--color-raised);
|
||||
border-bottom:1rem solid var(--color-bg);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ html{
|
|||
}
|
||||
|
||||
body {
|
||||
font-size:13rem;
|
||||
font-size:12rem;
|
||||
line-height:16rem;
|
||||
font-family:Droid Sans;
|
||||
color:var(--color-text);
|
||||
|
|
@ -49,7 +49,7 @@ body {
|
|||
cursor: default;
|
||||
}
|
||||
i {
|
||||
font-size: 14rem!important;
|
||||
// font-size: 14rem!important;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
.panel {
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
top:35rem;
|
||||
top:30rem;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
}
|
||||
}
|
||||
> .label {
|
||||
width:35rem;
|
||||
width:30rem;
|
||||
height:100%;
|
||||
border-bottom:0;
|
||||
border-right:1rem solid var(--color-bg);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.toggle-container {
|
||||
width:100rem;
|
||||
min-height: 65rem;
|
||||
min-height: 60rem;
|
||||
flex-shrink: 0;
|
||||
padding:0!important;
|
||||
background: var(--color-raised);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue