diff --git a/style/pi-hole.css b/style/pi-hole.css index a85db9e3..2633b433 100644 --- a/style/pi-hole.css +++ b/style/pi-hole.css @@ -524,8 +524,11 @@ tfoot.add-new-item > tr > th { } .card { - border-radius: 8px; + border-radius: 6px; overflow: hidden; + margin: 0 0 1em; + padding: 0.5em; + border: 1px solid color-mix(currentColor 15%, transparent); } .small-box { @@ -1636,13 +1639,6 @@ border-top=1px + padding-top=6px + padding-bottom=6px + border-bottom=1px margin: 0 0 1em; } -.card { - border-radius: 6px; - margin: 0 0 1em; - padding: 0.5em; - border: 1px solid color-mix(currentColor 15%, transparent); -} - /* Used in query log page */ td.dnssec { padding-inline-start: 2.25em !important; diff --git a/style/themes/default-darker.css b/style/themes/default-darker.css index 8358c20c..17b8fc79 100644 --- a/style/themes/default-darker.css +++ b/style/themes/default-darker.css @@ -1911,14 +1911,6 @@ button.list-group-item-danger.active:hover { background-color: rgb(135, 54, 53); border-color: rgb(133, 53, 52); } -.card { - background-color: rgb(24, 26, 27); - border-color: transparent; - box-shadow: rgba(0, 0, 0, 0.05) 0 1px 1px; -} -.card-header { - border-bottom-color: transparent; -} .card-header > .dropdown .dropdown-toggle { color: inherit; } @@ -1932,10 +1924,6 @@ button.list-group-item-danger.active:hover { .card-title > small > a { color: inherit; } -.card-footer { - background-color: rgb(30, 32, 33); - border-top-color: rgb(58, 62, 65); -} .card > .list-group:first-child .list-group-item:first-child, .card > .panel-collapse > .list-group:first-child .list-group-item:first-child { border-top-color: currentcolor; @@ -2916,6 +2904,7 @@ a:focus { .card { background-color: rgb(24, 26, 27); background-image: none; + border-color: transparent; border-top-color: rgb(59, 64, 66); box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px; } @@ -3058,6 +3047,7 @@ a:focus { background-image: none; } .card-header { + border-bottom-color: transparent; color: rgb(189, 183, 175); } .card-header.with-border {