2023-07-10 05:32:24 +03:00
|
|
|
@use "../../styles/variables.scss" as *;
|
|
|
|
|
2023-06-18 20:47:07 +03:00
|
|
|
.graph {
|
|
|
|
& > h3 {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .graph-outer {
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid var(--lightgray);
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 250px;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
position: relative;
|
2023-07-02 23:08:29 +03:00
|
|
|
overflow: hidden;
|
2023-06-18 20:47:07 +03:00
|
|
|
|
|
|
|
& > #global-graph-icon {
|
|
|
|
color: var(--dark);
|
|
|
|
opacity: 0.5;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
position: absolute;
|
|
|
|
padding: 0.2rem;
|
|
|
|
margin: 0.3rem;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: background-color 0.5s ease;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--lightgray);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > #global-graph-outer {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9999;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100%;
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
display: none;
|
2023-07-04 20:08:32 +03:00
|
|
|
overflow: hidden;
|
2023-06-18 20:47:07 +03:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > #global-graph-container {
|
|
|
|
border: 1px solid var(--lightgray);
|
|
|
|
background-color: var(--light);
|
|
|
|
border-radius: 5px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
height: 60vh;
|
|
|
|
width: 50vw;
|
2023-07-10 05:32:24 +03:00
|
|
|
|
|
|
|
@media all and (max-width: $fullPageWidth) {
|
|
|
|
width: 90%;
|
|
|
|
}
|
2023-06-18 20:47:07 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|