diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-17 11:14:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-17 11:14:59 -0400 |
| commit | 740272abb7fe2f477ee4d53363e04f8c77ed1819 (patch) | |
| tree | 9b6b59832e9830c9fa9dcb30ad48dcd3163c0e02 /views/stylesheets/statsview.css | |
| parent | 8127616d06b4db2b29de0b13068810fd19e77b5e (diff) | |
| parent | c2ee641e1f6a8003e961d03550aaffeb668f2545 (diff) | |
Merge pull request #164 from brown-dash/james-server-stats
Server Stats Endpoint and Frontend View
Diffstat (limited to 'views/stylesheets/statsview.css')
| -rw-r--r-- | views/stylesheets/statsview.css | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/views/stylesheets/statsview.css b/views/stylesheets/statsview.css new file mode 100644 index 000000000..c018bedfc --- /dev/null +++ b/views/stylesheets/statsview.css @@ -0,0 +1,56 @@ +.outermost { + background-color: #251f1f; + display: flex; + flex-direction: row; + height: 98vh; + width: 99vw; + justify-content: center; + position: relative; +} + +.stats-container { + background-color: white; + + padding: 1rem; + width: 80vw; + border-radius: 8px; +} + +.stats-content { + font-size: 1.25em; + +} + +.stats-server-status-container { + display: flex; + flex-direction: row; +} + +.stats-server-status-item { + margin-left: 0.25rem; + padding: 0px 5px; + + border-radius: 3px; + width: 8rem; + text-align: center; +} + +.stats-server-status-0 { + /* not busy */ + border: 3px green solid; +} + +.stats-server-status-1 { + /* busy */ + border: 3px #ffcc00 solid; +} + +.stats-server-status-2 { + /* very busy */ + border: 3px red solid; +} + +.stats-connected-users { + max-height: 70vh; + overflow-y: auto; +}
\ No newline at end of file |
