1
0
Fork 0
empact/app/styles/charts.css

108 lines
1.8 KiB
CSS
Raw Normal View History

2015-03-15 10:40:07 +00:00
@media (min-width: 640px) {
.barchart-container, .sachart-container {
width: 100%;
}
}
@media (min-width: 1100px) {
.barchart-container, .sachart-container {
width: 50%;
}
}
2015-03-09 13:31:51 +00:00
.barchart-container {
2015-03-10 07:51:56 +00:00
box-sizing: border-box;
float: left;
padding: 0 20px 20px 0;
2015-03-09 13:31:51 +00:00
}
2015-03-08 10:02:14 +00:00
.barchart g {
cursor: pointer;
}
2015-03-10 16:29:54 +00:00
.barchart g:hover .bar {
opacity: .8;
}
2015-03-08 10:02:14 +00:00
.barchart .label {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2015-03-08 10:02:14 +00:00
font-size: 16px;
}
.barchart .label_underlay {
fill: rgba(255, 255, 255, .7);
2015-03-08 10:02:14 +00:00
}
2015-03-09 13:31:51 +00:00
2015-03-11 12:10:11 +00:00
.sachart-container {
box-sizing: border-box;
float: left;
padding: 0 20px 20px 0;
}
.sachart-container .legend {
display: block;
margin: 0;
padding: 0;
}
.color-dot {
display: block;
float: left;
content: '';
width: 16px;
height: 16px;
margin: 1px 5px 0 0;
border-radius: 8px;
}
.sachart-container .legend li {
display: inline-block;
margin: 10px 15px 0 0;
}
2015-03-09 13:31:51 +00:00
.filters {
width: 100%;
}
.filters .item {
2015-03-10 16:29:54 +00:00
margin: 0;
padding: 0;
2015-03-09 13:31:51 +00:00
float: left;
}
.filters .item li {
2015-03-10 16:29:54 +00:00
margin-right: 10px;
2015-03-09 13:31:51 +00:00
}
.filters .sort li {
2015-03-10 16:29:54 +00:00
margin-left: 10px;
2015-03-09 13:31:51 +00:00
}
.filters .sort {
2015-03-10 16:29:54 +00:00
margin: 0;
padding: 0;
2015-03-09 13:31:51 +00:00
float: right;
}
.filters li {
display: inline-block;
2015-03-10 16:29:54 +00:00
font-size: 18px;
line-height: 32px;
2015-03-09 13:31:51 +00:00
font-weight: 300;
color: #aaa;
cursor: pointer;
2015-03-14 15:50:41 +00:00
text-decoration: underline;
2015-03-09 13:31:51 +00:00
}
.filters li.active {
font-weight: 400;
color: #222;
cursor: default;
2015-03-14 15:50:41 +00:00
text-decoration: none;
2015-03-09 13:31:51 +00:00
}
2015-03-14 10:13:28 +00:00
.whatsgoingon {
color: #444;
margin-bottom: 20px;
line-height: 24px;
}
.whatsgoingon em {
display: inline-block;
line-height: 16px;
color: #000;
font-style: normal;
margin: 3px 0 0;
2015-03-14 19:00:31 +00:00
padding: 3px 6px;
2015-03-14 10:13:28 +00:00
background-color: #eaeaea;
border-radius: 4px;
}