diff --git a/.eslintrc.json b/.eslintrc.json index 0ec52d3..4af0191 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,8 +1,7 @@ { "env": { "browser": true, - "es6": true, - "jquery": true + "es6": true }, "extends": [ "standard" diff --git a/assets/css/main.css b/assets/css/main.css index 9dcf5df..4ac7f61 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,7 @@ @import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300); + +@import url(uplot/dist/uPlot.min.css); + @import url(../css/icons.css); * { @@ -263,24 +266,6 @@ footer a:hover { display: inline-block; } -.server .column-status .server-is-favorite { - cursor: pointer; - color: var(--color-gold); -} - -.server .column-status .server-is-favorite:hover::before { - content: "\f006"; -} - -.server .column-status .server-is-not-favorite { - cursor: pointer; - color: var(--background-color); -} - -.server .column-status .server-is-not-favorite:hover { - color: var(--color-gold); -} - .server .column-status .server-error { display: none; color: #e74c3c; @@ -298,11 +283,27 @@ footer a:hover { } .server .column-graph { - float: right; height: 100px; width: 400px; - margin-right: -3px; - margin-bottom: 5px; +} + +/* Favorite icons */ +.server-is-favorite { + cursor: pointer; + color: var(--color-gold); +} + +.server-is-favorite:hover::before { + content: "\f006"; +} + +.server-is-not-favorite { + cursor: pointer; + color: var(--background-color); +} + +.server-is-not-favorite:hover { + color: var(--color-gold); } /* Highlighted values */ @@ -331,19 +332,8 @@ footer a:hover { } /* Historical graph */ -#big-graph-mobile-load-request { - background: var(--background-color); - color: var(--text-color); - padding: 10px 0; - text-align: center; - display: none; - width: 100%; - margin-bottom: 10px; -} - -#big-graph-mobile-load-request a { - display: inline-block; - color: var(--text-color); +#big-graph { + padding-right: 65px; } #big-graph, #big-graph-controls, #big-graph-checkboxes { @@ -461,3 +451,9 @@ footer a:hover { margin-bottom: 20px; } } + +/* uPlot.css overrides */ +.uplot .select { + background: var(--color-blue); + opacity: 0.3; +} \ No newline at end of file diff --git a/assets/html/index.html b/assets/html/index.html index 6ec540c..3be6101 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -10,6 +10,8 @@ + +
Minetrack has skipped automatically loading the historical graph to help save data and power.
-