mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
@@ -891,8 +891,8 @@ $(() => {
|
||||
maintainAspectRatio: true,
|
||||
elements: {
|
||||
arc: {
|
||||
borderColor: $("\.card").css("background-color"),
|
||||
hoverBorderColor: $("\.card").css("background-color"),
|
||||
borderColor: $(".card").css("background-color"),
|
||||
hoverBorderColor: $(".card").css("background-color"),
|
||||
hoverOffset: 10,
|
||||
},
|
||||
},
|
||||
@@ -942,8 +942,8 @@ $(() => {
|
||||
maintainAspectRatio: true,
|
||||
elements: {
|
||||
arc: {
|
||||
borderColor: $("\.card").css("background-color"),
|
||||
hoverBorderColor: $("\.card").css("background-color"),
|
||||
borderColor: $(".card").css("background-color"),
|
||||
hoverBorderColor: $(".card").css("background-color"),
|
||||
hoverOffset: 10,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -382,7 +382,7 @@ function applyOnlyChanged() {
|
||||
);
|
||||
|
||||
// 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 {
|
||||
// Show the tabs menu and activate only the first button (deactivate other buttons)
|
||||
$("#advanced-settings-menu").show();
|
||||
@@ -393,7 +393,7 @@ function applyOnlyChanged() {
|
||||
$("#advanced-settings-tabs > .tab-pane:not(:first-child)").removeClass("in active");
|
||||
|
||||
// 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,
|
||||
elements: {
|
||||
arc: {
|
||||
borderColor: $("\.card").css("background-color"),
|
||||
borderColor: $(".card").css("background-color"),
|
||||
},
|
||||
},
|
||||
plugins: {
|
||||
|
||||
@@ -1191,7 +1191,9 @@ table.dataTable tbody > tr > .selected {
|
||||
}
|
||||
|
||||
/* 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";
|
||||
opacity: 0.7;
|
||||
font-style: italic;
|
||||
|
||||
Reference in New Issue
Block a user