FarmMapsLib/projects/common-map/src/fm-map/components/legend/legend.component.scss

73 lines
952 B
SCSS
Raw Normal View History

2019-11-29 11:24:34 +00:00
.container {
max-width: 40em;
border-spacing: 0.5em;
font-family: inherit;
}
.title {
padding: 7px;
text-align: center;
font-size: 14px;
line-height: 28px;
}
.title > h4 {
margin-bottom: 0;
}
span.color {
display:inline-block;
width: 1.5em;
height: 1.5em;
2020-09-16 12:40:03 +00:00
border: 2px solid;
2019-11-29 11:24:34 +00:00
}
.legend-items {
padding: 0.1em;
border-style: none;
border-width: 0.05em;
}
.legend-items div {
width:100%;
height:100%;
}
.legend-items-text {
max-width: 20em;
padding-left: 0.5em;
text-align: left;
2020-05-29 08:00:53 +00:00
white-space: nowrap;
2019-11-29 11:24:34 +00:00
}
.histogram-items {
width: 100%;
padding-left: 1em;
}
.histogram-items-text {
max-width: 20em;
font-size: 14pt;
padding-left: 1em;
text-align: left;
}
.bar {
display:inline-block;
height: 1em;
vertical-align: middle;
}
.bar-label {
margin-left:0.3em;
font-size:0.7em;
}
2020-05-27 08:57:25 +00:00
.info {
line-height: 1.3em;
}
2019-11-29 11:24:34 +00:00