styles/_charts.scss (224 lines of code) (raw):
.interactive-wrapper {
border-top: 1px solid #dcdcdc;
border-bottom: 1px solid #dcdcdc;
padding-top: 10px;
padding-bottom: 5px;
// padding:100px;
max-width: 1280px;
.tooltip {
position: absolute !important;
width: 150px;
pointer-events: none;
background-color: white;
border: 1px;
border-color: black;
border-style: solid;
padding: 10px;
font-family: "Guardian Text Sans Web", "Helvetica Neue", Helvetica, Arial,
"Lucida Grande", sans-serif;
font-size: 12px;
line-height: 14px;
}
.axis path,
.axis line {
fill: none;
stroke: #767676;
shape-rendering: crispEdges;
}
.dashed.y line {
stroke: #dcdcdc;
}
.zeroLine {
stroke: #dcdcdc;
}
.chartTitle {
font-size: 1.25rem;
line-height: 1.35rem;
font-weight: 600;
-webkit-font-smoothing: antialiased;
color: #333333;
font-family: "Guardian Headline Full", Georgia, serif;
margin-bottom: 10px;
}
#furniture {
margin-bottom: 10px;
}
.row:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}
#audioControls {
-webkit-transition: top .5s ease-out;
transition: top .5s ease-out;
margin-top: 10px;
}
#showAudioControls {
font-size: 0.8rem;
text-align: right;
float: left;
margin-right: 5px;
padding: 2px 25px 2px 8px;
border-radius: 15px;
background-image: url('https://interactive.guim.co.uk/embed/superyacht/assets/speaker-black.svg');
background-repeat: no-repeat;
background-position: right 2px top 50%;
background-size: 18px;
// width:20px;
font-family: 'Guardian Text Sans Web', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: #eaeaea;
cursor: pointer;
}
#sourceText {
float: left;
max-width:96%;
}
.btn {
background-color: #eaeaea;
border-radius: 62.5em;
border: none;
display: inline-block;
outline: 0;
box-sizing: border-box;
font-size: 12px;
line-height: 12px;
font-family: 'Guardian Text Sans Web', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
color: #767676;
padding: 4px 20px 4px 10px;
margin: 1px 1px;
text-align: right;
cursor:pointer;
}
a {
color: #ab0613;
text-decoration: none !important;
border-bottom: 0.0625rem solid #dcdcdc;
-webkit-transition: border-color 0.15s ease-out;
transition: border-color 0.15s ease-out;
}
a:hover {
border-color: #ab0613;
}
/* .lineLabels {
font-weight: bold;
font-size:1.2em;
}*/
.subTitle, .audioControls {
font-size: 1rem;
line-height: 1.25rem;
color: #333333;
font-family: "Guardian Egyptian Web", Georgia, serif;
margin-bottom:10px;
font-weight:normal;
// display: inline-block;
}
.lineText {
fill: #767676;
}
.lineTextOutline {
fill: none;
stroke: #FFF;
stroke-width: 3px;
}
.chartSubTitle {
font-size: 14px;
color: #000;
font-family: "Guardian Text Sans Web","Agate Sans",sans-serif;
padding-left: 60px;
margin-bottom: 10px;
}
.footer {
margin-top: 5px;
font-size: 0.75rem;
line-height: 1rem;
color: rgb(118, 118, 118);
font-family: "Guardian Text Sans Web", "Helvetica Neue", Helvetica, Arial,
"Lucida Grande", sans-serif;
}
.sr-only {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
.sr-only:focus
{
position:static;
width:auto;
height:auto;
}
.sr-viewable {
position:static;
width:auto;
height:auto;
}
.notes {
font-family: "Guardian Text Sans Web", Arial;
font-size: 1rem;
color: #767676;
// width:calc(100% - 40px);
// float:left;
z-index:89;
}
.chartSans {
font-size: 12px;
color: #767676;
font-family: "Guardian Text Sans Web", "Agate Sans", sans-serif;
}
.tick text {
font-size: 0.8rem;
line-height: 1em;
font-family: "Guardian Text Sans Web", "Agate Sans", sans-serif;
}
.keyText {
font-size: 0.8rem;
margin-left: 5px;
}
.small {
font-size: 0.8rem;
line-height: 1rem;
}
#buttonContainer {
margin-bottom: 10px;
}
#chartKey div {
margin-right: 10px;
margin-bottom: 10px;
float: left;
}
// #chartKey div:first-child {
// margin-left: 0px;
// }
.keyDiv {
display: inline-block;
}
// .keyDiv .keyCircle:first-of-type {
// margin-left: 0;
// }
.keyCircle {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
display: inline-block;
}
// .keyDash {
// background-color: none;
// display: inline-block;
// border-bottom: 2px solid black;
// width: 20px;
// height: 8px;
// }
.keyDash {
position: absolute;
}
.annotationTextMobile {
font-weight: bold;
}
#footerAnnotations {
color: #000;
}
.periodLabel {
fill: #767676;
text-transform: uppercase;
font-weight: bold;
}
.barPart:hover {
opacity: 0.7;
}
.heading {
font-family: "Guardian Text Sans Web", Arial;
font-size: 16px;
fill: #767676;
font-weight: bold;
}
.line {
fill: none;
}
@media (max-width: 500px) {
.mobHide {
display: none;
}
}
}