aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/frontend/html/zen.css
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2024-10-10 09:50:59 +0200
committerGitHub Enterprise <[email protected]>2024-10-10 09:50:59 +0200
commit7205fa0a2953c5877a576fed2db992a4baab34c8 (patch)
tree66a6b0a321ec65a8d26251d3d0a15a580029dd11 /src/zenserver/frontend/html/zen.css
parentRevert "remove temporary workaround involving _LIBCPP_DISABLE_AVAILABILITY (#... (diff)
downloadzen-7205fa0a2953c5877a576fed2db992a4baab34c8.tar.xz
zen-7205fa0a2953c5877a576fed2db992a4baab34c8.zip
Dashboard: alignment of complex stats & logo goes home (#187)
* Unselectable logo text * Revisit alignment of complex request/bytes stats * ZenStore logo takes you home
Diffstat (limited to 'src/zenserver/frontend/html/zen.css')
-rw-r--r--src/zenserver/frontend/html/zen.css30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/zenserver/frontend/html/zen.css b/src/zenserver/frontend/html/zen.css
index d9b983ff6..885c58fc4 100644
--- a/src/zenserver/frontend/html/zen.css
+++ b/src/zenserver/frontend/html/zen.css
@@ -11,7 +11,7 @@
--theme_p1: #58b;
--theme_p2: #cce;
--theme_p3: #dde;
- --theme_p4: #eef;
+ --theme_p4: #eeeef7;
--theme_er: #fcc;
}
@@ -254,17 +254,32 @@ h3 {
font-size: 10pt;
font-weight: bolder;
margin-bottom: 2.6em;
+ position: relative;
}
#logo {
width: min-content;
margin: auto;
+ user-select: none;
+ position: relative;
+}
+
+#logo #go_home {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+
+#logo:hover {
+ filter: drop-shadow(0 0.15em 0.1em var(--theme_p2));
}
#ue_logo {
position: absolute;
- top: 2em;
- right: 2em;
+ top: 1em;
+ right: 0;
width: 5em;
margin: auto;
}
@@ -285,4 +300,11 @@ h3 {
#error > pre:nth-child(2) {
font-size: 0.8em;
color: var(--theme_g1);
-};
+}
+
+/* stats -------------------------------------------------------------------- */
+
+#stat .zen_proptable pre {
+ float: left;
+ min-width: 15%;
+}