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;
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;
padding: 5px 0px;
}
body.ttrss_utility fieldset.narrow {
body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px;
}
body.ttrss_utility fieldset.align-right {
body.ttrss_utility .content fieldset.align-right {
text-align: right;
}
body.ttrss_utility fieldset > label:first-of-type {
width: 120px;
body.ttrss_utility .content fieldset > label:first-of-type {
width: 140px;
margin-right: 20px;
display: inline-block;
text-align: right;
@ -1688,11 +1703,6 @@ body.ttrss_utility h1 {
font-size: 18px;
margin: 10px 0 0 0;
}
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #257aa7;
}
body.ttrss_utility .footer {
text-align: center;
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;
padding : 20px;
box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
}
fieldset {
border-width : 0px;
padding : 5px 0px;
}
h2:first-of-type {
margin-top : 0;
}
fieldset.narrow {
padding : 2px 0px;
}
h2, h3, h4 {
color : @color-accent;
font-family: @fonts-ui-bold;
}
fieldset.align-right {
text-align : right;
}
h2 {
font-size : 18px;
}
fieldset > label:first-of-type {
width : 120px;
margin-right : 20px;
display : inline-block;
text-align : right;
font-weight : bold;
h3 {
font-size : 16px;
}
fieldset {
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 {
@ -55,10 +72,6 @@ body.ttrss_utility {
margin : 10px 0 0 0;
}
h2, h3, h4 {
color : @color-accent;
}
.footer {
text-align : center;
padding-top : 10px;

View File

@ -2,7 +2,7 @@
<head>
<title>Tiny Tiny RSS - Installer</title>
<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">
textarea { font-size : 12px; }
</style>
@ -191,7 +191,7 @@
?>
<fieldset>
<label>Database type</label>
<label>Database type:</label>
<select name="DB_TYPE">
<option <?php echo $issel_pgsql ?> value="pgsql">PostgreSQL</option>
<option <?php echo $issel_mysql ?> value="mysql">MySQL</option>
@ -199,28 +199,28 @@
</fieldset>
<fieldset>
<label>Username</label>
<label>Username:</label>
<input class="input input-text" required name="DB_USER" size="20" value="<?php echo $DB_USER ?>"/>
</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 ?>"/>
</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 ?>"/>
</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 ?>"/>
<span class="hint">If needed</span>
</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 ?>"/>
<span class="hint">Usually 3306 for MySQL or 5432 for PostgreSQL</span>
</fieldset>
@ -230,7 +230,7 @@
<p>This should be set to the location your Tiny Tiny RSS will be available on.</p>
<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 ?>"/>
</fieldset>
@ -410,11 +410,13 @@
<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="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,
$DB_PORT, $SELF_URL_PATH);
print "</textarea>"; ?>
<hr/>
<?php if (is_writable("..")) { ?>
<p>We can also try saving the file automatically now.</p>

View File

@ -1657,18 +1657,33 @@ body.ttrss_utility .content {
padding: 20px;
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;
padding: 5px 0px;
}
body.ttrss_utility fieldset.narrow {
body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px;
}
body.ttrss_utility fieldset.align-right {
body.ttrss_utility .content fieldset.align-right {
text-align: right;
}
body.ttrss_utility fieldset > label:first-of-type {
width: 120px;
body.ttrss_utility .content fieldset > label:first-of-type {
width: 140px;
margin-right: 20px;
display: inline-block;
text-align: right;
@ -1689,11 +1704,6 @@ body.ttrss_utility h1 {
font-size: 18px;
margin: 10px 0 0 0;
}
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #b87d2c;
}
body.ttrss_utility .footer {
text-align: center;
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;
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;
padding: 5px 0px;
}
body.ttrss_utility fieldset.narrow {
body.ttrss_utility .content fieldset.narrow {
padding: 2px 0px;
}
body.ttrss_utility fieldset.align-right {
body.ttrss_utility .content fieldset.align-right {
text-align: right;
}
body.ttrss_utility fieldset > label:first-of-type {
width: 120px;
body.ttrss_utility .content fieldset > label:first-of-type {
width: 140px;
margin-right: 20px;
display: inline-block;
text-align: right;
@ -1689,11 +1704,6 @@ body.ttrss_utility h1 {
font-size: 18px;
margin: 10px 0 0 0;
}
body.ttrss_utility h2,
body.ttrss_utility h3,
body.ttrss_utility h4 {
color: #257aa7;
}
body.ttrss_utility .footer {
text-align: center;
padding-top: 10px;

File diff suppressed because one or more lines are too long