Chart css cleanup

Tiny webkit scroll
This commit is contained in:
Ruud committed 2014-06-11 14:40:22 +02:00
1 parent 876c602710
commit a2da428777
1 file changed
+55 -38
@@ -3,26 +3,43 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.charts > h2 { .charts ::-webkit-scrollbar {
height: 40px; width: 5px;
} position: absolute;
}
.charts .chart { .charts ::-webkit-scrollbar-track {
display: inline-block; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.4);
width: 50%; -webkit-border-radius: 5px;
vertical-align: top; border-radius: 5px;
max-height: 510px; }
overflow: hidden;
scrollbar-base-color: #4e5969;
}
.charts .chart:hover { .charts ::-webkit-scrollbar-thumb {
overflow-y: auto; -webkit-border-radius: 5px;
} border-radius: 5px;
background: rgba(255,255,255,0.3);
}
.charts .chart .media_result.hidden { .charts > h2 {
display: none; height: 40px;
} }
.charts .chart {
display: inline-block;
width: 50%;
vertical-align: top;
max-height: 510px;
overflow: hidden;
scrollbar-base-color: #4e5969;
}
.charts .chart:hover {
overflow-y: auto;
}
.charts .chart .media_result.hidden {
display: none;
}
.charts .refresh { .charts .refresh {
clear:both; clear:both;
@@ -36,30 +53,30 @@
text-align:center; text-align:center;
} }
.charts .refresh a { .charts .refresh a {
text-align: center; text-align: center;
padding: 0; padding: 0;
display: none; display: none;
width: 30px; width: 30px;
height: 30px; height: 30px;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: -40px; top: -40px;
opacity: .7; opacity: .7;
} }
.charts .refresh a:hover { .charts .refresh a:hover {
opacity: 1; opacity: 1;
} }
.charts p.no_charts_enabled { .charts p.no_charts_enabled {
padding: 0.7em 1em; padding: 0.7em 1em;
display: none; display: none;
} }
.charts .chart h3 a { .charts .chart h3 a {
color: #fff; color: #fff;
} }
.charts .chart .media_result { .charts .chart .media_result {