mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 01:34:25 +03:00
futher refinement on about scheme query styling
This commit is contained in:
parent
6a1c64ff7b
commit
9c9c26a308
@ -770,7 +770,7 @@ static bool fetch_about_query_auth_handler(struct fetch_about_context *ctx)
|
|||||||
messages_get("Password"), password);
|
messages_get("Password"), password);
|
||||||
|
|
||||||
slen += snprintf(buffer + slen, sizeof(buffer) - slen,
|
slen += snprintf(buffer + slen, sizeof(buffer) - slen,
|
||||||
"<div align=\"right\">"
|
"<div id=\"buttons\">"
|
||||||
"<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
|
"<input type=\"submit\" id=\"cancel\" name=\"cancel\" "
|
||||||
"value=\"%s\">"
|
"value=\"%s\">"
|
||||||
"<input type=\"submit\" id=\"login\" name=\"login\" "
|
"<input type=\"submit\" id=\"login\" name=\"login\" "
|
||||||
|
@ -241,28 +241,40 @@ p.imagecachelist span {
|
|||||||
* authentication styling
|
* authentication styling
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
body#authentication {
|
||||||
|
max-width: 34em;
|
||||||
|
}
|
||||||
|
|
||||||
body#authentication form {
|
body#authentication form {
|
||||||
/* Just to center the form on the page */
|
/* Just to center the form on the page */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 400px;
|
|
||||||
/* To see the outline of the form */
|
/* To see the outline of the form */
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
border: 1px solid #CCC;
|
border: 1px solid #CCC;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body#authentication form div + div {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
body#authentication label {
|
body#authentication label {
|
||||||
/* To make sure that all labels have the same size and are properly aligned */
|
/* To make sure that all labels have the same size and are properly aligned */
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 90px;
|
width: 7em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
body#authentication input#username, body#authentication input#password {
|
body#authentication input#username, body#authentication input#password {
|
||||||
/* To give the same size to all text fields */
|
/* To give the same size to all text fields */
|
||||||
width: 300px;
|
width: 24em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
/* To harmonize the look & feel of text field border */
|
/* To harmonize the look & feel of text field border */
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body#authentication div#buttons {
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user