Something went wrong. Try again.
A self-hosted web platform for applications & services with design based on Google's Material 3 Expressive. (Work In Progress)
Something went wrong. Try again.
onlineworkspace applications uk.ewsgit.settings web pages storage components UsageGraph UsageGraph.module.scss
1.3 kB · 65 lines
at dev
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566.paddingContainer { width: 100%; max-width: 64rem;}
.root { display: flex; flex-direction: column; gap: 0.5rem; width: 100%;}
.bar { --bar-height: 2rem;
display: flex; background: #000; height: var(--bar-height); margin-bottom: calc(var(--uk-sys-typescale-label-medium-line-height) + 1rem); width: 100%;}
.barSegment { position: relative; min-width: 2ch;
&::before { content: ""; position: absolute; top: 0; left: 0; background: gray; height: var(--bar-height); width: 100%; }
&:last-of-type { &::before { border-top-right-radius: var(--uk-sys-shape-corner-extra-small); border-bottom-right-radius: var(--uk-sys-shape-corner-extra-small); } }
&:first-of-type { &::before { border-top-left-radius: var(--uk-sys-shape-corner-extra-small); border-bottom-left-radius: var(--uk-sys-shape-corner-extra-small); } }
&:not(:last-of-type) { border-right: 1px solid rgb(var(--uk-sys-color-outline)); }}
.barLabel { position: absolute; left: 0; top: var(--bar-height); color: white; text-overflow: ellipsis; margin: 0.5rem; max-width: 100%; overflow: hidden;}