widgets: various design & layout fixes

This commit is contained in:
bordun 2020-04-23 18:36:32 +02:00
parent cf47d33eb0
commit fa1696b284
4 changed files with 45 additions and 15 deletions

View file

@ -543,6 +543,21 @@
}
}
label {
display: flex;
justify-content: center;
align-items: center;
white-space: pre;
line-height: 100%;
overflow: hidden;
text-align: center;
word-wrap: break-word;
height: 100%;
width: 100%;
border: 2rem solid transparent;
pointer-events: none;
}
}
@ -583,6 +598,7 @@
}
&:after {
background: var(--color-key-on);
z-index: 1;
}
}
}
@ -609,6 +625,7 @@
inner {
margin-left: 0!important;
margin-right: 0!important;
margin-bottom: 0!important;
background: var(--color-black-key);
}
}

View file

@ -1,7 +1,7 @@
.led-container {
width: 90rem;
height: 60rem;
width: 30rem;
height: 30rem;
--color-led: var(--color-fill);
--alpha-fill-off: 0;