Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/9c9c26a308995c22210c90e3772e86f49a1948b9
...commit
http://git.netsurf-browser.org/netsurf.git/commit/9c9c26a308995c22210c90e3772e86f49a1948b9
...tree
http://git.netsurf-browser.org/netsurf.git/tree/9c9c26a308995c22210c90e3772e86f49a1948b9
The branch, master has been updated
via 9c9c26a308995c22210c90e3772e86f49a1948b9 (commit)
from 6a1c64ff7b45dd830bfdb5e1295830b75c531f61 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=9c9c26a308995c22210c90e3772e86f49a1948b9
commit 9c9c26a308995c22210c90e3772e86f49a1948b9
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
futher refinement on about scheme query styling
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 2cbb604..b5b5743 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -770,7 +770,7 @@ static bool fetch_about_query_auth_handler(struct
fetch_about_context *ctx)
messages_get("Password"), password);
slen += snprintf(buffer + slen, sizeof(buffer) - slen,
- "<div align=\"right\">"
+ "<div id=\"buttons\">"
"<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
"value=\"%s\">"
"<input type=\"submit\" id=\"login\" name=\"login\" "
diff --git a/resources/internal.css b/resources/internal.css
index f49f1bb..5e5dbf2 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -241,28 +241,40 @@ p.imagecachelist span {
* authentication styling
*/
+body#authentication {
+ max-width: 34em;
+}
+
body#authentication form {
/* Just to center the form on the page */
margin: 0 auto;
- width: 400px;
/* To see the outline of the form */
padding: 1em;
border: 1px solid #CCC;
border-radius: 1em;
}
+body#authentication form div + div {
+ margin-top: 1em;
+}
+
body#authentication label {
/* To make sure that all labels have the same size and are properly aligned
*/
display: inline-block;
- width: 90px;
+ width: 7em;
text-align: right;
}
body#authentication input#username, body#authentication input#password {
/* To give the same size to all text fields */
- width: 300px;
+ width: 24em;
box-sizing: border-box;
/* To harmonize the look & feel of text field border */
border: 1px solid #999;
}
+
+body#authentication div#buttons {
+ text-align: right;
+ margin-right: 1em;
+}
-----------------------------------------------------------------------
Summary of changes:
content/fetchers/about.c | 2 +-
resources/internal.css | 18 +++++++++++++++---
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 2cbb604..b5b5743 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -770,7 +770,7 @@ static bool fetch_about_query_auth_handler(struct
fetch_about_context *ctx)
messages_get("Password"), password);
slen += snprintf(buffer + slen, sizeof(buffer) - slen,
- "<div align=\"right\">"
+ "<div id=\"buttons\">"
"<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
"value=\"%s\">"
"<input type=\"submit\" id=\"login\" name=\"login\" "
diff --git a/resources/internal.css b/resources/internal.css
index f49f1bb..5e5dbf2 100644
--- a/resources/internal.css
+++ b/resources/internal.css
@@ -241,28 +241,40 @@ p.imagecachelist span {
* authentication styling
*/
+body#authentication {
+ max-width: 34em;
+}
+
body#authentication form {
/* Just to center the form on the page */
margin: 0 auto;
- width: 400px;
/* To see the outline of the form */
padding: 1em;
border: 1px solid #CCC;
border-radius: 1em;
}
+body#authentication form div + div {
+ margin-top: 1em;
+}
+
body#authentication label {
/* To make sure that all labels have the same size and are properly aligned
*/
display: inline-block;
- width: 90px;
+ width: 7em;
text-align: right;
}
body#authentication input#username, body#authentication input#password {
/* To give the same size to all text fields */
- width: 300px;
+ width: 24em;
box-sizing: border-box;
/* To harmonize the look & feel of text field border */
border: 1px solid #999;
}
+
+body#authentication div#buttons {
+ text-align: right;
+ margin-right: 1em;
+}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org