diff --git a/app/assets/background.css b/app/assets/background.css index 3463623..b030ed5 100644 --- a/app/assets/background.css +++ b/app/assets/background.css @@ -42,4 +42,4 @@ .c0126 { opacity: 1; -} \ No newline at end of file +} diff --git a/app/assets/fonts.css b/app/assets/fonts.css new file mode 100644 index 0000000..9f84f41 --- /dev/null +++ b/app/assets/fonts.css @@ -0,0 +1,13 @@ +@font-face { + font-family: 'orbitronregular'; + src: url('orbitron-medium-webfont.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Electrolize'; + src: url('electrolize-regular-webfont.woff2') format('woff2'); + font-weight: normal; + font-style: normal; +} diff --git a/app/assets/styles.less b/app/assets/styles.less index ce2b0e2..d574ee4 100644 --- a/app/assets/styles.less +++ b/app/assets/styles.less @@ -18,20 +18,6 @@ @ColorRed: #c50313; -@font-face { - font-family: 'orbitronregular'; - src: url('orbitron-medium-webfont.woff2') format('woff2'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'Electrolize'; - src: url('electrolize-regular-webfont.woff2') format('woff2'); - font-weight: normal; - font-style: normal; -} - html, body { height: 100%; @@ -50,10 +36,6 @@ body { #jxos-dashboard { - @import "pretty-checkbox.css"; - @import "ansi.css"; - @import "background.css"; - background: rgba(5,6,8, 0.85); color: @InspectorText; width: 100%; @@ -321,6 +303,13 @@ body { padding: 21px 30px; } + &.gpu { + .rt-td { + word-break: keep-all; + white-space: nowrap; + } + } + .miners, .network-info, .disk-info, @@ -498,6 +487,11 @@ body { padding: 30px 30px 20px; position: relative; margin: 0 10px 20px; + + [class^="area-chart-"] { + position: relative; + left: -24px; + } } .graph-content:first-child { @@ -590,7 +584,7 @@ body { .rt-th:last-child, .rt-td:last-child { - width: 16% !important; + width: 25% !important; } } diff --git a/app/base/Component.js b/app/base/Component.js index 9bbd6b1..2aacc03 100644 --- a/app/base/Component.js +++ b/app/base/Component.js @@ -8,6 +8,7 @@ export default class Component extends React.Component { duration = 300; delay = 100; fader = []; + state = {}; constructor(props) { super(props); diff --git a/app/base/ConfigPanel.js b/app/base/ConfigPanel.js index f05190b..84ab1ed 100644 --- a/app/base/ConfigPanel.js +++ b/app/base/ConfigPanel.js @@ -5,6 +5,7 @@ import Config from '../modules/Config'; export default class ConfigPanel extends React.Component { isSaving = false; + state = {}; constructor(props) { super(props); diff --git a/app/components/Background.js b/app/components/Background.js index dd96af6..5dc192e 100644 --- a/app/components/Background.js +++ b/app/components/Background.js @@ -6,85 +6,85 @@ export default class Background extends React.PureComponent { return (