summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-08-09 13:20:08 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-08-09 13:20:08 +0100
commitc6a2c76867cbb6f108eb31e8eb9df0db51114dd5 (patch)
tree30c85c3b8bbd742bdf3890d516257db61863a19d
parent3a23e944dd1a81a1e9b7b3acf0c13d53a0669d5d (diff)
downloadnetsurf-c6a2c76867cbb6f108eb31e8eb9df0db51114dd5.tar.gz
netsurf-c6a2c76867cbb6f108eb31e8eb9df0db51114dd5.tar.bz2
About: Tweak the new about query page renderng.
-rw-r--r--content/fetchers/about.c10
-rw-r--r--resources/internal.css12
2 files changed, 11 insertions, 11 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 050fcc222..32a7dbe33 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -889,13 +889,13 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx)
res = ssenddataf(ctx,
"<div id=\"buttons\">"
- "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
- "value=\"%s\">"
"<input type=\"submit\" id=\"login\" name=\"login\" "
+ "value=\"%s\" class=\"default-action\">"
+ "<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
"value=\"%s\">"
"</div>",
- messages_get("Cancel"),
- messages_get("Login"));
+ messages_get("Login"),
+ messages_get("Cancel"));
if (res != NSERROR_OK) {
goto fetch_about_query_auth_handler_aborted;
}
@@ -1065,7 +1065,7 @@ static bool fetch_about_query_privacy_handler(struct fetch_about_context *ctx)
res = ssenddataf(ctx,
"<div id=\"buttons\">"
"<input type=\"submit\" id=\"back\" name=\"back\" "
- "value=\"%s\">"
+ "value=\"%s\" class=\"default-action\">"
"<input type=\"submit\" id=\"proceed\" name=\"proceed\" "
"value=\"%s\">"
"</div>",
diff --git a/resources/internal.css b/resources/internal.css
index 5779cfd9d..e43d18309 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -98,9 +98,9 @@ dd > ul {
border-top: 2px solid #94adff; }
input.default-action {
- color: white;
- background: rgb(0, 96, 223);
- border-color: rgb(0, 96, 223);
+ color: white;
+ background: rgb(0, 96, 223);
+ border-color: rgb(0, 96, 223);
}
/*
@@ -303,7 +303,7 @@ body#authentication div#buttons {
}
body#authentication div#buttons input#login {
- margin-left: 1em;
+ margin-right: 1em;
}
/*
@@ -340,6 +340,6 @@ body#privacy div#buttons {
margin-right: 1em;
}
-body#authentication div#buttons input#proceed {
- margin-left: 1em;
+body#privacy div#buttons input#back {
+ margin-right: 1em;
}