upend/webui/src/components/util.scss
Tomáš Mládek 0b52e11f41
[ui] use AttributeView on Home, add Gallery view
also AttributeView doesn't need a title and UpType doesn't require an address
2022-02-15 23:10:46 +01:00

35 lines
No EOL
567 B
SCSS

section.labelborder {
position: relative;
overflow: visible;
margin-top: 1.66em;
padding: 1ex 0.95ex;
border: 0.1em solid var(--foreground);
border-radius: 4px;
header {
margin-bottom: 0.2em;
& > * {
position: absolute;
top: -0.66em;
margin: 0;
background: var(--current-background, var(--background-lighter));
font-weight: 600;
line-height: 1;
padding: 0 0.75ex;
}
h3 {
left: 1ex;
}
}
.content {
padding: .25em;
}
}