Browse Source

add layout hack to unify heights of plugin fieldsets

Andrew Dolgov 1 year ago
parent
commit
a130da2d1a
8 changed files with 41 additions and 28 deletions
  1. 4 4
      classes/pref/prefs.php
  2. 9 6
      css/default.css
  3. 0 0
      css/default.css.map
  4. 10 6
      css/prefs.less
  5. 9 6
      themes/night.css
  6. 0 0
      themes/night.css.map
  7. 9 6
      themes/night_blue.css
  8. 0 0
      themes/night_blue.css.map

+ 4 - 4
classes/pref/prefs.php

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

+ 9 - 6
css/default.css

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

File diff suppressed because it is too large
+ 0 - 0
css/default.css.map


+ 10 - 6
css/prefs.less

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

+ 9 - 6
themes/night.css

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

File diff suppressed because it is too large
+ 0 - 0
themes/night.css.map


+ 9 - 6
themes/night_blue.css

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

File diff suppressed because it is too large
+ 0 - 0
themes/night_blue.css.map


Some files were not shown because too many files changed in this diff