mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 14:44:14 +09:00
QA on Issue #1323
Some themes require visibility on the checkbox labels. So, add more control through CSS.
This commit is contained in:
1 parent
85de701f83
commit
f2f8e2f37a
6 files changed
+23
-1
No files matched your search
@@ -61,6 +61,10 @@ fieldset {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.checkboxLabel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
||||
a, a:active, a:visited {
|
||||
|
||||
@@ -86,6 +86,10 @@ fieldset {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.checkboxLabel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
||||
a, a:active {
|
||||
|
||||
@@ -83,6 +83,10 @@ fieldset {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.checkboxLabel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
||||
a, a:active, a:visited {
|
||||
|
||||
@@ -50,6 +50,10 @@ fieldset {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.checkboxLabel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
||||
a, a:active, a:visited {
|
||||
|
||||
@@ -55,6 +55,10 @@ fieldset {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.checkboxLabel {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
||||
a, a:active, a:visited {
|
||||
@@ -451,6 +455,7 @@ label {
|
||||
|
||||
.import_text {
|
||||
opacity: 1;
|
||||
color: #2d4ca8;
|
||||
}
|
||||
|
||||
.color-icon {
|
||||
|
||||
+2
-1
@@ -839,9 +839,10 @@ function form_checkbox($form_name, $form_previous_value, $form_caption, $form_de
|
||||
}
|
||||
|
||||
print "<input " . ($title != "" ? " title='$title'":"") . " class='formCheckbox$class' type='checkbox' id='$form_name' name='$form_name'" . $on_change . $checked . ">";
|
||||
|
||||
if ($show_label) {
|
||||
print "<label for='$form_name'>" . $form_caption . "</label>";
|
||||
} else {
|
||||
print "<label class='checkboxLabel' for='$form_name'>" . $form_caption . "</label>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user