2021-03-26 16:03:03 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Graph
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
.skin-citizen {
|
|
|
|
.vega {
|
2022-04-26 02:27:52 +00:00
|
|
|
background: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* responsive layout */
|
|
|
|
.mw-graph {
|
|
|
|
min-width: auto !important;
|
|
|
|
max-width: 100%;
|
2023-07-28 01:19:27 +00:00
|
|
|
overflow: auto;
|
2021-03-26 16:07:14 +00:00
|
|
|
|
2023-07-10 20:56:56 +00:00
|
|
|
canvas {
|
|
|
|
filter: var( --filter-invert );
|
2021-03-26 16:07:14 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.client-js {
|
|
|
|
.mw-graph-interactable {
|
|
|
|
&:hover {
|
|
|
|
.mw-graph-layover {
|
|
|
|
background-color: var( --background-color-overlay--lighter );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-graph-switch {
|
|
|
|
&.mw-graph-loading {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-graph-hover-title {
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* common button style */
|
|
|
|
.mw-graph-switch {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-overlay--lighter );
|
|
|
|
border-color: var( --border-color-base );
|
2021-03-26 16:03:03 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
border-color: var( --color-primary );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
border-color: var( --color-primary--active );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: var( --color-primary );
|
2022-04-26 02:27:52 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Loading button style */
|
|
|
|
&.mw-graph-loading {
|
|
|
|
color: var( --color-base--subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
border-color: var( --color-primary--active );
|
2021-03-26 16:03:03 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|