2021-03-26 16:03:03 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Graph
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
overflow: auto;
|
|
|
|
min-width: auto !important;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2021-03-26 16:07:14 +00:00
|
|
|
|
|
|
|
/* dark mode */
|
|
|
|
&-dark {
|
|
|
|
.mw-graph canvas {
|
|
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
|
|
}
|
|
|
|
}
|
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 {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
background-color: var( --background-color-overlay--lighter );
|
|
|
|
color: var( --color-base );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var( --color-primary );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: var( --color-primary--active );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
&: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 {
|
|
|
|
border-color: var( --color-primary--active );
|
2022-04-26 02:27:52 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2021-03-26 16:03:03 +00:00
|
|
|
color: var( --color-base--subtle );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|