mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
@@ -891,8 +891,8 @@ $(() => {
|
|||||||
maintainAspectRatio: true,
|
maintainAspectRatio: true,
|
||||||
elements: {
|
elements: {
|
||||||
arc: {
|
arc: {
|
||||||
borderColor: $("\.card").css("background-color"),
|
borderColor: $(".card").css("background-color"),
|
||||||
hoverBorderColor: $("\.card").css("background-color"),
|
hoverBorderColor: $(".card").css("background-color"),
|
||||||
hoverOffset: 10,
|
hoverOffset: 10,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -942,8 +942,8 @@ $(() => {
|
|||||||
maintainAspectRatio: true,
|
maintainAspectRatio: true,
|
||||||
elements: {
|
elements: {
|
||||||
arc: {
|
arc: {
|
||||||
borderColor: $("\.card").css("background-color"),
|
borderColor: $(".card").css("background-color"),
|
||||||
hoverBorderColor: $("\.card").css("background-color"),
|
hoverBorderColor: $(".card").css("background-color"),
|
||||||
hoverOffset: 10,
|
hoverOffset: 10,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ function applyOnlyChanged() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Hide all boxes with data-key attribute, except the ones with "data-modified='true'" attribute
|
// Hide all boxes with data-key attribute, except the ones with "data-modified='true'" attribute
|
||||||
$(".card-title[data-key]").not("[data-modified='true']").closest("\.card").hide();
|
$(".card-title[data-key]").not("[data-modified='true']").closest(".card").hide();
|
||||||
} else {
|
} else {
|
||||||
// Show the tabs menu and activate only the first button (deactivate other buttons)
|
// Show the tabs menu and activate only the first button (deactivate other buttons)
|
||||||
$("#advanced-settings-menu").show();
|
$("#advanced-settings-menu").show();
|
||||||
@@ -393,7 +393,7 @@ function applyOnlyChanged() {
|
|||||||
$("#advanced-settings-tabs > .tab-pane:not(:first-child)").removeClass("in active");
|
$("#advanced-settings-tabs > .tab-pane:not(:first-child)").removeClass("in active");
|
||||||
|
|
||||||
// Show all boxes with data-key attribute
|
// Show all boxes with data-key attribute
|
||||||
$(".card-title[data-key]").closest("\.card").show();
|
$(".card-title[data-key]").closest(".card").show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ $(() => {
|
|||||||
maintainAspectRatio: true,
|
maintainAspectRatio: true,
|
||||||
elements: {
|
elements: {
|
||||||
arc: {
|
arc: {
|
||||||
borderColor: $("\.card").css("background-color"),
|
borderColor: $(".card").css("background-color"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
|
|||||||
@@ -1191,7 +1191,9 @@ table.dataTable tbody > tr > .selected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Settings containers without modified items and with hidden boxes will display this text */
|
/* Settings containers without modified items and with hidden boxes will display this text */
|
||||||
.settings-container:not(:has(h3[data-modified="true"])):has(.card[style*="display: none;"])::before {
|
.settings-container:not(:has(h3[data-modified="true"])):has(
|
||||||
|
.card[style*="display: none;"]
|
||||||
|
)::before {
|
||||||
content: "No modified settings to display";
|
content: "No modified settings to display";
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|||||||
Reference in New Issue
Block a user