Runtime web settings: fix punctuation and update CSS again
authorEdouard Tisserant
Wed, 22 Nov 2023 09:34:32 +0100
changeset 3858 dcc83e03d065
parent 3857 d1fa9536b392
child 3859 098875cff39f
Runtime web settings: fix punctuation and update CSS again
runtime/NevowServer.py
runtime/webinterface.css
--- a/runtime/NevowServer.py	Mon Nov 20 11:52:27 2023 +0100
+++ b/runtime/NevowServer.py	Wed Nov 22 09:34:32 2023 +0100
@@ -311,13 +311,13 @@
             CSS_tags
         ],
         tags.body[
-            tags.h1["Settings:"],
+            tags.h1["Settings"],
             tags.a(href='/')['Back'],
-            tags.h2["Runtime service:"],
+            tags.h2["Runtime service"],
             webform.renderForms('staticSettings'),
-            tags.h2["Target specific:"],
+            tags.h2["Target specific"],
             webform.renderForms('dynamicSettings'),
-            tags.h2["Extensions:"],
+            tags.h2["Extensions"],
             extensions_settings
         ]]])
 
--- a/runtime/webinterface.css	Mon Nov 20 11:52:27 2023 +0100
+++ b/runtime/webinterface.css	Wed Nov 22 09:34:32 2023 +0100
@@ -2,46 +2,51 @@
 	background-color: #f5faff;
 }
 
-h1 {
+* {
     font-family: Tahoma, Verdana, sans-serif;
-	color: darkslateblue;
 }
 
-h2 {
-    font-family: Tahoma, Verdana, sans-serif;
+h1, h2 {
 	color: darkslateblue;
 }
 
 fieldset {
-	font-family: Tahoma, Verdana, sans-serif;
 	color: #424242;
+	border: 1px solid gray;
+	border-radius: 4px;
 }
 
-a {
-	font-family: Tahoma, Verdana, sans-serif;
-    color: darkslateblue;
+input, select, button, a {
+	font-size: 14px;
 }
 
-a:hover {
-    color: crimson;
+button,
+input,
+select,
+textarea {
+    color: inherit;
 }
 
-legend {
-	font-family: Tahoma, Verdana, sans-serif;
+legend, .freeform-form-label {
 	color: darkslateblue;
 }
 
 .freeform-label {
     float: left;
     width: 30%;
-	font-family: Tahoma, Verdana, sans-serif;
 }
 
-.freeform-input {
-    font-family: Tahoma, Verdana, sans-serif;
+a {
+    background-color: #e9e9ed;
+    color: #424242;
+    padding: 2px 6px;
+    text-align: center;
+    text-decoration: none;
+    display: inline-block;
+    border: 1px solid gray;
+    border-radius: 4px;
 }
 
-.freeform-form-label {
-    font-family: Tahoma, Verdana, sans-serif;
-	color: darkslateblue;
+a:hover, a:active {
+    background-color: silver;
 }