add layout hack to unify heights of plugin fieldsets

This commit is contained in:
Andrew Dolgov 2019-02-26 15:03:33 +03:00
parent cee76f4d49
commit a130da2d1a
8 changed files with 50 additions and 37 deletions

View File

@ -783,9 +783,9 @@ class Pref_Prefs extends Handler_Protected {
$checked = ""; $checked = "";
} }
print "<fieldset class='prefs'> print "<fieldset class='prefs plugin'>
<label>$name:</label> <label>$name:</label>
<label class='checkbox plugin-desc' id='PLABEL-$name'> <label class='checkbox description insensitive' id='PLABEL-$name'>
<input disabled='1' <input disabled='1'
dojoType='dijit.form.CheckBox' $checked type='checkbox'> dojoType='dijit.form.CheckBox' $checked type='checkbox'>
".htmlspecialchars($about[1]). "</label>"; ".htmlspecialchars($about[1]). "</label>";
@ -822,9 +822,9 @@ class Pref_Prefs extends Handler_Protected {
$checked = "checked='1'"; $checked = "checked='1'";
} }
print "<fieldset class='prefs'> print "<fieldset class='prefs plugin'>
<label>$name:</label> <label>$name:</label>
<label class='checkbox plugin-desc' id='PLABEL-$name'> <label class='checkbox description insensitive' id='PLABEL-$name'>
<input name='plugins[]' value='$name' dojoType='dijit.form.CheckBox' $checked $disabled type='checkbox'> <input name='plugins[]' value='$name' dojoType='dijit.form.CheckBox' $checked $disabled type='checkbox'>
".htmlspecialchars($about[1])."</label>"; ".htmlspecialchars($about[1])."</label>";

View File

@ -1458,21 +1458,24 @@ body.ttrss_prefs .user-css-editor {
height: 300px; height: 300px;
width: 575px; width: 575px;
} }
body.ttrss_prefs fieldset.prefs {
min-height: 30px;
}
body.ttrss_prefs fieldset.prefs label:first-of-type { body.ttrss_prefs fieldset.prefs label:first-of-type {
min-width: 300px; min-width: 300px;
} }
body.ttrss_prefs fieldset.prefs label.plugin-desc {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.prefs label.plugin-desc .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs fieldset.prefs .help-text { body.ttrss_prefs fieldset.prefs .help-text {
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
} }
body.ttrss_prefs fieldset.plugin label.description {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs table.prefErrorLog tr.errrow td { body.ttrss_prefs table.prefErrorLog tr.errrow td {
font-size: 10px; font-size: 10px;
} }

File diff suppressed because one or more lines are too long

View File

@ -81,11 +81,20 @@ body.ttrss_prefs {
} }
fieldset.prefs { fieldset.prefs {
min-height : 30px;
label:first-of-type { label:first-of-type {
min-width : 300px; min-width : 300px;
} }
label.plugin-desc { .help-text {
display : inline-block;
margin-left : 10px;
}
}
fieldset.plugin {
label.description {
width : 600px; width : 600px;
margin-right : 150px; margin-right : 150px;
display : inline-block; display : inline-block;
@ -94,11 +103,6 @@ body.ttrss_prefs {
margin-right : 10px; margin-right : 10px;
} }
} }
.help-text {
display : inline-block;
margin-left : 10px;
}
} }
table.prefErrorLog tr.errrow td { table.prefErrorLog tr.errrow td {

View File

@ -1459,21 +1459,24 @@ body.ttrss_prefs .user-css-editor {
height: 300px; height: 300px;
width: 575px; width: 575px;
} }
body.ttrss_prefs fieldset.prefs {
min-height: 30px;
}
body.ttrss_prefs fieldset.prefs label:first-of-type { body.ttrss_prefs fieldset.prefs label:first-of-type {
min-width: 300px; min-width: 300px;
} }
body.ttrss_prefs fieldset.prefs label.plugin-desc {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.prefs label.plugin-desc .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs fieldset.prefs .help-text { body.ttrss_prefs fieldset.prefs .help-text {
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
} }
body.ttrss_prefs fieldset.plugin label.description {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs table.prefErrorLog tr.errrow td { body.ttrss_prefs table.prefErrorLog tr.errrow td {
font-size: 10px; font-size: 10px;
} }

File diff suppressed because one or more lines are too long

View File

@ -1459,21 +1459,24 @@ body.ttrss_prefs .user-css-editor {
height: 300px; height: 300px;
width: 575px; width: 575px;
} }
body.ttrss_prefs fieldset.prefs {
min-height: 30px;
}
body.ttrss_prefs fieldset.prefs label:first-of-type { body.ttrss_prefs fieldset.prefs label:first-of-type {
min-width: 300px; min-width: 300px;
} }
body.ttrss_prefs fieldset.prefs label.plugin-desc {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.prefs label.plugin-desc .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs fieldset.prefs .help-text { body.ttrss_prefs fieldset.prefs .help-text {
display: inline-block; display: inline-block;
margin-left: 10px; margin-left: 10px;
} }
body.ttrss_prefs fieldset.plugin label.description {
width: 600px;
margin-right: 150px;
display: inline-block;
}
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
margin-right: 10px;
}
body.ttrss_prefs table.prefErrorLog tr.errrow td { body.ttrss_prefs table.prefErrorLog tr.errrow td {
font-size: 10px; font-size: 10px;
} }

File diff suppressed because one or more lines are too long