aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2020-04-19 17:59:04 +1000
committeronefang2020-04-19 17:59:04 +1000
commit461e0eecb6c1b51545f6e3b95ae8158b6cec65a6 (patch)
tree6066b5b1431c0f0d7bd44f2ac9fd6f1506354554
parentLots of changes, mostly a rewrite of how the dynamic pages work. (diff)
downloadopensim-SC_OLD-461e0eecb6c1b51545f6e3b95ae8158b6cec65a6.zip
opensim-SC_OLD-461e0eecb6c1b51545f6e3b95ae8158b6cec65a6.tar.gz
opensim-SC_OLD-461e0eecb6c1b51545f6e3b95ae8158b6cec65a6.tar.bz2
opensim-SC_OLD-461e0eecb6c1b51545f6e3b95ae8158b6cec65a6.tar.xz
Apply CSS colours and fonts to all the widget types.
Coz only setting it for body isn't good enough.
-rw-r--r--src/sledjchisl/sledjchisl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 2bc6719..998c679 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2270,12 +2270,13 @@ static void HTMLheader(qgrow_t *reply, char *title)
2270 " a:visited {color: fuchsia;}\n" 2270 " a:visited {color: fuchsia;}\n"
2271 " a:hover {color: blue;}\n" 2271 " a:hover {color: blue;}\n"
2272 " a:active {color: red;}\n" 2272 " a:active {color: red;}\n"
2273 " button {background-color: darkgreen;}\n" 2273 " button {background-color: darkgreen; color: white; font-family: 'sans-serif';}\n"
2274 " button:hover {color: blue;}\n" 2274 " button:hover {color: blue;}\n"
2275 " button:active {color: red;}\n" 2275 " button:active {color: red;}\n"
2276 " label {background-color:darkgreen; font-size: 160%;}\n" 2276 " label {background-color:darkgreen; color: white; font-family: 'sans-serif'; font-size: 160%;}\n"
2277 " input {background-color:darkblue; font-size: 80%;}\n" 2277 " input {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%;}\n"
2278 " textarea {background-color:darkblue; font-size: 80%; vertical-align: top;}\n" // What idiot thought aligning the label with the bottom of textareas was a good default? 2278 // What idiot thought aligning the label with the bottom of textareas was a good default?
2279 " textarea {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%; vertical-align: top;}\n"
2279 " </style>\n" 2280 " </style>\n"
2280 " </head>\n" 2281 " </head>\n"
2281 " <body bgcolor='black' text='white' link='aqua' vlink='fuchsia' alink='red'>\n" 2282 " <body bgcolor='black' text='white' link='aqua' vlink='fuchsia' alink='red'>\n"