multi language support

support for small devices
This commit is contained in:
2024-03-02 15:09:07 +01:00
parent 4d479cedaf
commit b3b58ce103
14 changed files with 613 additions and 339 deletions

21
assets/searchtable.js Normal file
View File

@ -0,0 +1,21 @@
function searchTable(tableId, searchField) {
var input, filter, table, tr, td, i, j, txtValue;
input = searchField;
filter = input.value.toUpperCase();
table = document.getElementById(tableId);
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td");
for (j = 0; j < td.length; j++) {
if (td[j]) {
txtValue = td[j].textContent || td[j].innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
tr[i].style.display = "";
break;
} else {
tr[i].style.display = "none";
}
}
}
}
}

View File

@ -52,7 +52,7 @@
width: 80%;
}
.protect-login-no-blocked-ips
.bdp-kompass-no-blocked-ips
{
padding: 5px 10px;
width: 90%;

View File

@ -8,7 +8,7 @@ body {
#adminmenu {
margin-top: 12px;
background: #f0f0f0;
width: 300px;
width: 300px !important;
}
#adminmenu {
@ -24,12 +24,10 @@ body {
border-color: #f0f0f0;
}
#wpbody {
background-color: #f0f0f0;
position: relative;
padding-left: 150px;
padding-top: 25px;
}
@ -38,6 +36,18 @@ body {
background-color: #f0f0f0;
}
.wp-list-table thead {
background-color: rgba(117, 151, 234, 0.6) !important;
}
.wp-list-table tbody tr:nth-child(odd) {
background-color: rgba(255, 239, 190, 0.45) !important;
}
.wp-list-table tbody tr:nth-child(even) {
background-color: #ffffff !important;
}
#wpfooter {
padding-left: 150px;
}
@ -64,7 +74,6 @@ body {
#adminmenu li > a.menu-top:focus {
color: #1d4899;
border-color: #f0f0f0;
font-weight: bold;
background: linear-gradient(to right, #efefef, rgba(255, 203, 4, 0.45));
border-radius: 10px;
@ -82,13 +91,20 @@ body {
}
.nav-tab {
border-color: rgb(128, 159, 245);
background-color: rgba(185, 203, 255, 0.84);
border-radius: 5px 5px 0 0;
}
/* Active tabs use a bottom border color that matches the page background color. */
.about-wrap .nav-tab-active,
.nav-tab-active,
.nav-tab-active:hover {
border-style: none;
background-color: #fff;
background: linear-gradient(to right, #efefef, rgba(255, 203, 4, 0.45));
border-bottom-color: #fff;
box-shadow: 2px 2px 5px #c0c0c0;
}
/* Admin Menu: submenu */
@ -101,6 +117,10 @@ body {
width: 300px;
}
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
display: none;
}
@ -350,4 +370,24 @@ ul#adminmenu > li.current > a.current:after {
cursor: pointer;
width: 10pt;
color: #a0a0a0;
}
@media (max-width: 720px) {
#wpbody {
padding-right: 0px;
padding-left: 0px;
}
#adminmenuback,
#adminmenuwrap,
#adminmenu {
margin-top: 12px;
background: #f0f0f0;
width: 400px !important;
}
#adminmenuback {
box-shadow: 5px 5px 10px #c0c0c0;
}
}