gsy-component-library
Version:
reusable components from grid singularity
127 lines (115 loc) • 3.3 kB
CSS
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,700");
@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:100,200,300,400,500,700");
/* VERBUND THEME */
*,
*::before,
*::after {
box-sizing: border-box; }
.base {
line-height: 1.625;
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
.theme-d3a .base {
background: radial-gradient(#10455c 60%, #00171f);
color: #fff;
font-family: "Lato", sans-serif; }
.theme-verbund .base {
background: radial-gradient(1292px at 50% 87.75%, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%), linear-gradient(360deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), #283B45;
color: #fff;
font-family: "Roboto", sans-serif; }
.isvg {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%; }
a {
font-size: 12px;
text-decoration: none; }
.theme-d3a a {
color: #a666ff; }
.theme-verbund a {
color: #a666ff; }
a:hover {
font-weight: 400;
text-decoration: underline; }
a:focus,
input:focus,
button:focus,
select:focus {
outline: 0; }
.small {
font-size: 12px; }
.bigNumbers {
font-size: 36px; }
.theme-d3a .bigNumbers {
color: #fff; }
.theme-verbund .bigNumbers {
color: #fff; }
.theme-d3a .highlighted {
color: #35d7c6; }
.theme-verbund .highlighted {
color: #35d7c6; }
.bar-line-chart {
width: 100%;
margin: 20px auto 0;
min-height: 150px;
position: relative; }
.theme-d3a .bar-line-chart {
font-family: "Lato", sans-serif; }
.theme-verbund .bar-line-chart {
font-family: "Roboto", sans-serif; }
.bar-line-chart text {
font-weight: 100;
text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2); }
.theme-d3a .bar-line-chart text {
font-family: "Lato", sans-serif; }
.theme-verbund .bar-line-chart text {
font-family: "Roboto", sans-serif; }
.bar-line-chart .xAxis {
display: flex;
justify-content: space-between;
padding: 0 6.5%; }
.bar-line-chart .xAxis .AxisLabel {
color: rgba(255, 255, 255, 0.3);
font-size: 10px; }
.bar-line-chart .Title {
position: absolute;
right: 18px;
text-align: center;
transform: rotate(-90deg);
transform-origin: top right;
color: white;
font-size: 10px;
font-weight: 100;
opacity: .5; }
.bar-line-chart .Colors {
position: absolute;
right: 25px;
top: -50px; }
.bar-line-chart .Colors .Color {
display: flex;
align-items: center;
margin-top: 4px; }
.bar-line-chart .Colors .Color .Back {
width: 50px;
height: 7px; }
.bar-line-chart .Colors .Color .Key {
color: rgba(255, 255, 255, 0.3);
font-size: 10px;
margin-right: 10px; }
.bar-line-chart .Colors .Color.Line {
float: right; }
.bar-line-chart .Colors .Color.Line .Back {
height: 2px; }
g.recharts-cartesian-grid-vertical line:first-child {
display: none; }
.custom-tooltip {
min-width: 80px;
background: rgba(0, 0, 0, 0.3);
color: white;
padding: 5px;
border-radius: 3px; }