installer CSS tweaks

This commit is contained in:
Andrew Dolgov 2019-02-19 20:11:54 +03:00
parent 26b23b67b6
commit 005b90cede
8 changed files with 108 additions and 63 deletions

View File

@ -1656,18 +1656,33 @@ body.ttrss_utility .content {
padding: 20px; padding: 20px;
box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1); box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1);
} }
body.ttrss_utility fieldset { body.ttrss_utility .content h2:first-of-type {
margin-top: 0;
}
body.ttrss_utility .content h2,
body.ttrss_utility .content h3,
body.ttrss_utility .content h4 {
color: #257aa7;
font-family: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.ttrss_utility .content h2 {
font-size: 18px;
}
body.ttrss_utility .content h3 {
font-size: 16px;
}
body.ttrss_utility .content fieldset {
border-width: 0px; border-width: 0px;
padding: 5px 0px; padding: 5px 0px;
} }
body.ttrss_utility fieldset.narrow { body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px; padding: 2px 0px;
} }
body.ttrss_utility fieldset.align-right { body.ttrss_utility .content fieldset.align-right {
text-align: right; text-align: right;
} }
body.ttrss_utility fieldset > label:first-of-type { body.ttrss_utility .content fieldset > label:first-of-type {
width: 120px; width: 140px;
margin-right: 20px; margin-right: 20px;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
@ -1688,11 +1703,6 @@ body.ttrss_utility h1 {
font-size: 18px; font-size: 18px;
margin: 10px 0 0 0; margin: 10px 0 0 0;
} }
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #257aa7;
}
body.ttrss_utility .footer { body.ttrss_utility .footer {
text-align: center; text-align: center;
padding-top: 10px; padding-top: 10px;

File diff suppressed because one or more lines are too long

View File

@ -14,27 +14,44 @@ body.ttrss_utility {
border : 1px solid #ddd; border : 1px solid #ddd;
padding : 20px; padding : 20px;
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1); box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
}
fieldset { h2:first-of-type {
border-width : 0px; margin-top : 0;
padding : 5px 0px; }
}
fieldset.narrow { h2, h3, h4 {
padding : 2px 0px; color : @color-accent;
} font-family: @fonts-ui-bold;
}
fieldset.align-right { h2 {
text-align : right; font-size : 18px;
} }
fieldset > label:first-of-type { h3 {
width : 120px; font-size : 16px;
margin-right : 20px; }
display : inline-block;
text-align : right; fieldset {
font-weight : bold; border-width : 0px;
padding : 5px 0px;
}
fieldset.narrow {
padding : 2px 0px;
}
fieldset.align-right {
text-align : right;
}
fieldset > label:first-of-type {
width : 140px;
margin-right : 20px;
display : inline-block;
text-align : right;
font-weight : bold;
}
} }
a { a {
@ -55,10 +72,6 @@ body.ttrss_utility {
margin : 10px 0 0 0; margin : 10px 0 0 0;
} }
h2, h3, h4 {
color : @color-accent;
}
.footer { .footer {
text-align : center; text-align : center;
padding-top : 10px; padding-top : 10px;

View File

@ -2,7 +2,7 @@
<head> <head>
<title>Tiny Tiny RSS - Installer</title> <title>Tiny Tiny RSS - Installer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../css/default.css"> <link rel="stylesheet" type="text/css" href="../css/default.css?<?php echo time() ?>">
<style type="text/css"> <style type="text/css">
textarea { font-size : 12px; } textarea { font-size : 12px; }
</style> </style>
@ -191,7 +191,7 @@
?> ?>
<fieldset> <fieldset>
<label>Database type</label> <label>Database type:</label>
<select name="DB_TYPE"> <select name="DB_TYPE">
<option <?php echo $issel_pgsql ?> value="pgsql">PostgreSQL</option> <option <?php echo $issel_pgsql ?> value="pgsql">PostgreSQL</option>
<option <?php echo $issel_mysql ?> value="mysql">MySQL</option> <option <?php echo $issel_mysql ?> value="mysql">MySQL</option>
@ -199,28 +199,28 @@
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Username</label> <label>Username:</label>
<input class="input input-text" required name="DB_USER" size="20" value="<?php echo $DB_USER ?>"/> <input class="input input-text" required name="DB_USER" size="20" value="<?php echo $DB_USER ?>"/>
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Password</label> <label>Password:</label>
<input class="input input-text" name="DB_PASS" size="20" type="password" value="<?php echo $DB_PASS ?>"/> <input class="input input-text" name="DB_PASS" size="20" type="password" value="<?php echo $DB_PASS ?>"/>
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Database name</label> <label>Database name:</label>
<input class="input input-text" required name="DB_NAME" size="20" value="<?php echo $DB_NAME ?>"/> <input class="input input-text" required name="DB_NAME" size="20" value="<?php echo $DB_NAME ?>"/>
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Host name</label> <label>Host name:</label>
<input class="input input-text" name="DB_HOST" size="20" value="<?php echo $DB_HOST ?>"/> <input class="input input-text" name="DB_HOST" size="20" value="<?php echo $DB_HOST ?>"/>
<span class="hint">If needed</span> <span class="hint">If needed</span>
</fieldset> </fieldset>
<fieldset> <fieldset>
<label>Port</label> <label>Port:</label>
<input class="input input-text" name="DB_PORT" type="number" size="20" value="<?php echo $DB_PORT ?>"/> <input class="input input-text" name="DB_PORT" type="number" size="20" value="<?php echo $DB_PORT ?>"/>
<span class="hint">Usually 3306 for MySQL or 5432 for PostgreSQL</span> <span class="hint">Usually 3306 for MySQL or 5432 for PostgreSQL</span>
</fieldset> </fieldset>
@ -230,7 +230,7 @@
<p>This should be set to the location your Tiny Tiny RSS will be available on.</p> <p>This should be set to the location your Tiny Tiny RSS will be available on.</p>
<fieldset> <fieldset>
<label>Tiny Tiny RSS URL</label> <label>Tiny Tiny RSS URL:</label>
<input class="input input-text" type="url" name="SELF_URL_PATH" placeholder="<?php echo $SELF_URL_PATH; ?>" size="60" value="<?php echo $SELF_URL_PATH ?>"/> <input class="input input-text" type="url" name="SELF_URL_PATH" placeholder="<?php echo $SELF_URL_PATH; ?>" size="60" value="<?php echo $SELF_URL_PATH ?>"/>
</fieldset> </fieldset>
@ -410,11 +410,13 @@
<input type="hidden" name="DB_PORT" value="<?php echo $DB_PORT ?>"/> <input type="hidden" name="DB_PORT" value="<?php echo $DB_PORT ?>"/>
<input type="hidden" name="DB_TYPE" value="<?php echo $DB_TYPE ?>"/> <input type="hidden" name="DB_TYPE" value="<?php echo $DB_TYPE ?>"/>
<input type="hidden" name="SELF_URL_PATH" value="<?php echo $SELF_URL_PATH ?>"/> <input type="hidden" name="SELF_URL_PATH" value="<?php echo $SELF_URL_PATH ?>"/>
<?php print "<textarea cols=\"80\" rows=\"20\">"; <?php print "<textarea rows='20' style='width : 100%'>";
echo make_config($DB_TYPE, $DB_HOST, $DB_USER, $DB_NAME, $DB_PASS, echo make_config($DB_TYPE, $DB_HOST, $DB_USER, $DB_NAME, $DB_PASS,
$DB_PORT, $SELF_URL_PATH); $DB_PORT, $SELF_URL_PATH);
print "</textarea>"; ?> print "</textarea>"; ?>
<hr/>
<?php if (is_writable("..")) { ?> <?php if (is_writable("..")) { ?>
<p>We can also try saving the file automatically now.</p> <p>We can also try saving the file automatically now.</p>

View File

@ -1657,18 +1657,33 @@ body.ttrss_utility .content {
padding: 20px; padding: 20px;
box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1); box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1);
} }
body.ttrss_utility fieldset { body.ttrss_utility .content h2:first-of-type {
margin-top: 0;
}
body.ttrss_utility .content h2,
body.ttrss_utility .content h3,
body.ttrss_utility .content h4 {
color: #b87d2c;
font-family: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.ttrss_utility .content h2 {
font-size: 18px;
}
body.ttrss_utility .content h3 {
font-size: 16px;
}
body.ttrss_utility .content fieldset {
border-width: 0px; border-width: 0px;
padding: 5px 0px; padding: 5px 0px;
} }
body.ttrss_utility fieldset.narrow { body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px; padding: 2px 0px;
} }
body.ttrss_utility fieldset.align-right { body.ttrss_utility .content fieldset.align-right {
text-align: right; text-align: right;
} }
body.ttrss_utility fieldset > label:first-of-type { body.ttrss_utility .content fieldset > label:first-of-type {
width: 120px; width: 140px;
margin-right: 20px; margin-right: 20px;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
@ -1689,11 +1704,6 @@ body.ttrss_utility h1 {
font-size: 18px; font-size: 18px;
margin: 10px 0 0 0; margin: 10px 0 0 0;
} }
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #b87d2c;
}
body.ttrss_utility .footer { body.ttrss_utility .footer {
text-align: center; text-align: center;
padding-top: 10px; padding-top: 10px;

File diff suppressed because one or more lines are too long

View File

@ -1657,18 +1657,33 @@ body.ttrss_utility .content {
padding: 20px; padding: 20px;
box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1); box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.1);
} }
body.ttrss_utility fieldset { body.ttrss_utility .content h2:first-of-type {
margin-top: 0;
}
body.ttrss_utility .content h2,
body.ttrss_utility .content h3,
body.ttrss_utility .content h4 {
color: #257aa7;
font-family: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.ttrss_utility .content h2 {
font-size: 18px;
}
body.ttrss_utility .content h3 {
font-size: 16px;
}
body.ttrss_utility .content fieldset {
border-width: 0px; border-width: 0px;
padding: 5px 0px; padding: 5px 0px;
} }
body.ttrss_utility fieldset.narrow { body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px; padding: 2px 0px;
} }
body.ttrss_utility fieldset.align-right { body.ttrss_utility .content fieldset.align-right {
text-align: right; text-align: right;
} }
body.ttrss_utility fieldset > label:first-of-type { body.ttrss_utility .content fieldset > label:first-of-type {
width: 120px; width: 140px;
margin-right: 20px; margin-right: 20px;
display: inline-block; display: inline-block;
text-align: right; text-align: right;
@ -1689,11 +1704,6 @@ body.ttrss_utility h1 {
font-size: 18px; font-size: 18px;
margin: 10px 0 0 0; margin: 10px 0 0 0;
} }
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #257aa7;
}
body.ttrss_utility .footer { body.ttrss_utility .footer {
text-align: center; text-align: center;
padding-top: 10px; padding-top: 10px;

File diff suppressed because one or more lines are too long