Fixes for wp.org
This commit is contained in:
parent
3cbb6415b6
commit
4c95333c05
@ -1,406 +1,232 @@
|
|||||||
#adminmenuback, #adminmenuwrap, #adminmenu, #adminmenu .wp-has-current-submenu > .wp-submenu {
|
/* Hintergrund des gesamten Dashboards */
|
||||||
width: 250px;
|
#wpwrap {
|
||||||
|
background-color: #ecf0f1; /* Hellgrauer Hintergrund, wie auf der Webseite */
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
min-height: 100vh; /* Gesamte Höhe des Bildschirms */
|
||||||
|
width: 1600px;
|
||||||
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Schatten für 3D-Effekt */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Der zentrale Inhaltsbereich (die App) wird in die Box integriert */
|
||||||
#wpcontent, #wpfooter {
|
/* Hauptinhaltsbereich anpassen */
|
||||||
margin-left: 230px;
|
#wpcontent {
|
||||||
background-color: #ffffff !important;
|
margin-top: 100px;
|
||||||
padding-left: 40px;
|
background-color: #ffffff; /* Weißer Hintergrund für den Inhaltsbereich */
|
||||||
|
border-radius: 0px 10px 0 0; /* Leichte Rundung der Ecken */
|
||||||
|
height: calc(100vh - 100px); /* Höhe anpassen: 100vh minus Höhe von Header und Navbar */
|
||||||
|
width: 1280px;
|
||||||
|
max-width: 1500px; /* Maximale Breite wie auf der Vorlage */
|
||||||
|
padding: 20px; /* Innenabstand */
|
||||||
|
padding-left: 60px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-submenu {
|
#wpbody {
|
||||||
left: 210px;
|
overflow: hidden;
|
||||||
|
height: calc(100vh - 200px);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-not-current-submenu .wp-submenu, .folded #adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .ame-has-deep-submenu:not(.ame-has-highlighted-item) > .wp-submenu {
|
#wpbody-content {
|
||||||
width: 30px;
|
height: calc(100vh - 200px);
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sicherstellen, dass der Body den gesamten Bildschirm ausfüllt */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
--ame-ms-menu-width: 250px;
|
overflow: hidden;
|
||||||
|
margin: 0; /* Entfernt Standardmargen */
|
||||||
|
height: 100vh; /* Setzt die Höhe des Bodys auf 100vh */
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 783px) {
|
/* Gelber Header im Dashboard */
|
||||||
body:not(.folded) #widgets-editor .interface-interface-skeleton {
|
#wpadminbar {
|
||||||
left: 250px;
|
position: absolute;
|
||||||
|
background-color: #f1c40f; /* Gelber Header wie auf der Webseite */
|
||||||
|
height: 200px;
|
||||||
|
width: 1280px;
|
||||||
|
|
||||||
|
margin: auto !important;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Leichter Schatten für den Header */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#adminmenu .wp-not-current-submenu .wp-submenu {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 960px) and (min-width: 783px) {
|
|
||||||
body.auto-fold #widgets-editor .interface-interface-skeleton {
|
|
||||||
left: var(--ame-ms-collapsed-menu-width, 36px);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
#wpwrap {
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
#adminmenuback {
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .wp-submenu a {
|
|
||||||
font-weight: 200;
|
|
||||||
}
|
|
||||||
#adminmenu > li {
|
|
||||||
padding: 10px 5px;
|
|
||||||
font-weight: bolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li a {
|
|
||||||
color: #020918;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li div.wp-menu-image:before {
|
|
||||||
color: #020918;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li a:hover, #adminmenu > li.menu-top:hover, #adminmenu > li.opensub > a.menu-top, #adminmenu > li > a.menu-top:focus {
|
|
||||||
color: #020918;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li.menu-top:hover, #adminmenu > li.opensub > a.menu-top, #adminmenu > li > a.menu-top:focus {
|
|
||||||
background-color: rgb(240, 244, 247);
|
|
||||||
color: #1d4899 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li.menu-top:hover div.wp-menu-image:before, #adminmenu > li.menu-top > a:focus div.wp-menu-image:before, #adminmenu > li.opensub > a.menu-top div.wp-menu-image:before {
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu, #adminmenu > li.wp-has-current-submenu .wp-submenu, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu > li.wp-has-current-submenu .wp-submenu a.wp-has-current-submenu:focus + .wp-submenu {
|
|
||||||
background: #ffcb04;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.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: #F0F4F7;
|
|
||||||
border-bottom-color: #fff;
|
|
||||||
box-shadow: 2px 2px 5px #c0c0c0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.button-primary {
|
|
||||||
border-style: none;
|
|
||||||
background-color: #F0F4F7 !important;
|
|
||||||
color: #404040 !important;
|
|
||||||
box-shadow: 2px 2px 5px #c0c0c0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
|
||||||
border-right-color: #ffcb04;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu .wp-submenu-head {
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-has-current-submenu:hover {
|
|
||||||
background-color: #fafafa !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-submenu li a {
|
|
||||||
padding: 10px 0px 10px 10px;
|
|
||||||
padding-top: 10px !important;
|
|
||||||
padding-bottom: 10px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#collapse-button {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bdp_setting_box {
|
|
||||||
margin-right: 10px;
|
|
||||||
background-color: #ffffff;
|
|
||||||
padding: 15px;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
border-top-width: 0 !important;
|
|
||||||
border-color: #1d94cf;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bdp_setting_box:first-of-type {
|
|
||||||
border-top-width: 1px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bdp_setting_box label {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bdp_setting_box label span {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 10pt;
|
|
||||||
color: #a0a0a0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 783px) {
|
|
||||||
.wp-has-current-submenu li a {
|
|
||||||
width: 210px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-submenu li a:hover {
|
|
||||||
background-color: rgb(240, 244, 247) !important;
|
|
||||||
color: #1d4899 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.current .menu-top .wp-menu-name,
|
|
||||||
.wp-has-current-submenu .wp-menu-name {
|
|
||||||
background-color: #ffcb04 !important;
|
|
||||||
border-style: none !important;
|
|
||||||
width: 202px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-has-submenu:after {
|
|
||||||
border-right-color: #ffcb04 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 783px) {
|
|
||||||
.wp-submenu, .wp-submenu-wrap {
|
|
||||||
background-color: #fafafa !important;
|
|
||||||
width: 220px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .current .menu-top .wp-menu-name {
|
|
||||||
padding: 10px;
|
|
||||||
width: 225px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ul#adminmenu a.wp-has-current-submenu::after, ul#adminmenu > li.current > a.current::after,
|
|
||||||
.auto-fold ul#adminmenu a.wp-has-current-submenu::after, .auto-fold ul#adminmenu > li.current > a.current::after {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div, #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu
|
|
||||||
{
|
|
||||||
background-color: #fafafa;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 782px) {
|
@media screen and (max-width: 782px) {
|
||||||
|
|
||||||
#adminmenu > li.menu-top:hover, #adminmenu > li.opensub > a.menu-top, #adminmenu > li > a.menu-top:focus {
|
|
||||||
background-color: #fafafa;
|
|
||||||
color: #1d4899 !important;
|
|
||||||
width: 285px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .current .menu-top{
|
|
||||||
width: 280px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu .current .menu-top .wp-menu-name {
|
|
||||||
width: 245px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu, #adminmenu > li.wp-has-current-submenu .wp-submenu, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu, .folded #adminmenu > li.wp-has-current-submenu .wp-submenu a.wp-has-current-submenu:focus + .wp-submenu {
|
|
||||||
width: 285px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.wp-submenu:hover,
|
|
||||||
.wp-submenu .wp-submenu-wrap:hover,
|
|
||||||
.nav-tab-active:hover {
|
|
||||||
border-style: none;
|
|
||||||
background-color: #fafafa !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#adminmenuback, #adminmenuwrap, #adminmenu, #adminmenu .wp-has-current-submenu > .wp-submenu {
|
|
||||||
width: 300px !important;
|
|
||||||
}
|
|
||||||
.wp-submenu,
|
|
||||||
.wp-submenu .wp-submenu-wrap li,
|
|
||||||
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
|
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
|
||||||
background-color: #fafafa !important;
|
color: #7f8c8d !important
|
||||||
width: 285px !important;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#wp-admin-bar-comments,
|
@media screen and (min-width: 1024px) {
|
||||||
#wp-admin-bar-new-content {
|
/* Schatten für den gesamten Admin-Menü-Bereich */
|
||||||
display: none !important;
|
/* Abstand zwischen dem oberen Header und der Admin-Menüleiste */
|
||||||
}
|
#adminmenuwrap {
|
||||||
#wp-admin-bar-kompass_gruppen {
|
margin-top: 100px; /* Setzt das Menü 50px unter den Header */
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wp-admin-bar-kompass_events {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu div.wp-menu-name {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu a, #adminmenu > li.wp-has-current-submenu .wp-submenu a, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu a, .folded #adminmenu > li.wp-has-current-submenu .wp-submenu a, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu a {
|
|
||||||
color: #020918;
|
|
||||||
padding-left: 25px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu a:focus, #adminmenu > li .wp-submenu a:hover, #adminmenu > li.wp-has-current-submenu .wp-submenu a:focus, #adminmenu > li.wp-has-current-submenu .wp-submenu a:hover, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu a:focus, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu a:hover, .folded #adminmenu > li.wp-has-current-submenu .wp-submenu a, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu a:focus, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu a:hover {
|
|
||||||
color: #ffcb04;
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu li.current a, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu li.current a, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu li.current a {
|
|
||||||
color: #010a1a;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .wp-submenu li.current a:hover, #adminmenu > li .wp-submenu li.current a:focus, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover, #adminmenu > li a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu li.current a:hover, #adminmenu > li.wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
|
|
||||||
color: #ffcb04;
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li.current a.menu-top, #adminmenu > li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu > li.wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu > li.current.menu-top {
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li.wp-has-current-submenu div.wp-menu-image:before, #adminmenu a.current:hover div.wp-menu-image:before, #adminmenu > li.current div.wp-menu-image::before, #adminmenu > li.wp-has-current-submenu a:focus div.wp-menu-image:before, #adminmenu > li.wp-has-current-submenu.opensub div.wp-menu-image:before, #adminmenu > li:hover div.wp-menu-image:before, #adminmenu > li a:focus div.wp-menu-image:before, #adminmenu > li.opensub div.wp-menu-image:before, .ie8 #adminmenu > li.opensub div.wp-menu-image:before, #adminmenu a.current:hover div.wp-menu-image:before {
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .awaiting-mod, #adminmenu > li .update-plugins {
|
|
||||||
background: #ffcb04 !important;
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenu > li .current a .awaiting-mod, #adminmenu > li a.wp-has-current-submenu .update-plugins, #adminmenu > li:hover a .awaiting-mod, #adminmenu > li.menu-top:hover > a .update-plugins {
|
|
||||||
color: #1d4899;
|
|
||||||
background: #ffcb04;
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenuback, #adminmenuwrap, #adminmenu {
|
|
||||||
background-color: #fafafa;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#adminmenuback {
|
|
||||||
box-shadow: 10px 10px 5px rgb(240, 244, 247);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: 783px) {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar {
|
#wpadminbar {
|
||||||
background-color: rgb(240, 244, 247);
|
width: 1600px;
|
||||||
color: #1d4899;
|
padding-top: 10px;
|
||||||
|
height: 100px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon {
|
#wp-toolbar {
|
||||||
color: #1d4899;
|
width: 1500px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after {
|
#wpadminbar .ab-item, #wpadminbar a.ab-item {
|
||||||
color: #1d4899;
|
color: #ffffff; /* Weiße Schrift im gelben Header */
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
/* Admin-Menüleiste in die weiße Box integrieren */
|
||||||
background-color: #ffffff;
|
#adminmenu {
|
||||||
color: #ffcb04;
|
background-color: #ffffff; /* Weißer Hintergrund für die Menüleiste */
|
||||||
|
width: 300px; /* Breite der Menüleiste */
|
||||||
|
border-right: 1px solid #ecf0f1; /* Leichte Trennung zwischen Menü und Inhalt */
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, #wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label, #wpadminbar:not(.mobile) li:hover .ab-icon:before, #wpadminbar:not(.mobile) li:hover .ab-item:before, #wpadminbar:not(.mobile) li:hover .ab-item:after, #wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
/* Menüelemente anpassen */
|
||||||
color: #ffcb04;
|
#adminmenu a {
|
||||||
background-color: #ffffff;
|
color: #7f8c8d; /* Graue Schrift für die Menüelemente */
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für die Menüelemente */
|
||||||
|
padding: 6px 20px !important; /* Innenabstand für bessere Lesbarkeit */
|
||||||
|
display: block;
|
||||||
|
text-decoration: none;
|
||||||
|
line-height: 1.6 !important; /* Erhöhe den Zeilenabstand */
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar .menupop .ab-sub-wrapper {
|
/* Hover-Effekt für Menüelemente */
|
||||||
background-color: #ffffff;
|
#adminmenu li.menu-top:hover,
|
||||||
|
#adminmenu li.opensub > a.menu-top,
|
||||||
|
#adminmenu li > a.menu-top:focus {
|
||||||
|
background-color: #f0f0f0; /* Hellgrauer Hover-Hintergrund */
|
||||||
|
color: #2c3e50; /* Dunklere Schrift bei Hover */
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
/* Aktives Menüelement */
|
||||||
background-color: #ffffff;
|
#adminmenu .wp-has-current-submenu a.wp-has-current-submenu,
|
||||||
}
|
#adminmenu li.current a.menu-top {
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für das aktive Menüelement */
|
||||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar.nojs .quicklinks .menupop:hover ul li a {
|
color: #2c3e50; /* Dunklere Schrift für aktives Menüelement */
|
||||||
color: #1d4899;
|
font-weight: bold; /* Fettgedruckt */
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar .quicklinks li .blavatar, #wpadminbar .menupop .menupop > .ab-item:before {
|
|
||||||
color: #f3f3f1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar .quicklinks .menupop ul li a {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li .ab-item:focus .ab-icon:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover #adminbarsearch:before, #wpadminbar li #adminbarsearch.adminbar-focused:before, #wpadminbar .quicklinks li a:hover .blavatar, #wpadminbar .quicklinks li a:focus .blavatar, #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, #wpadminbar .menupop .menupop > .ab-item:hover:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before {
|
|
||||||
color: #1d4899;
|
|
||||||
background-color: rgb(240, 244, 247);
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-user-info .display-name {
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
|
||||||
color: #ffcb04;
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-user-info .username {
|
|
||||||
color: #1d4899;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before, #wpadminbar.mobile .quicklinks .hover .ab-item:before, #wpadminbar #adminbarsearch:before {
|
|
||||||
color: #f3f3f1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
li.wp-has-submenu.wp-not-current-submenu.opensub:after,
|
#adminmenuback {
|
||||||
li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
margin-top: 250px;
|
||||||
|
}
|
||||||
|
/* Breite der Admin-Menüleiste beibehalten */
|
||||||
|
#adminmenu, #adminmenu .wp-submenu, #adminmenuback, #adminmenuwrap {
|
||||||
|
|
||||||
.wp-menu-name:after {
|
width: 350px; /* Breite der Sidebar */
|
||||||
display: none !important;
|
background-color: #ffffff; /* Weißer Hintergrund */
|
||||||
|
border-right: 1px solid #ecf0f1; /* Leichte Trennung zwischen Menü und Inhalt */
|
||||||
|
border-radius: 10px 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
/* Inhaltsbereich anpassen, um Platz für die Sidebar zu lassen */
|
||||||
display: none;
|
#wpcontent, #wpfooter {
|
||||||
|
margin-left: 350px; /* Inhaltsbereich entsprechend der Sidebar verschieben */
|
||||||
}
|
}
|
||||||
|
|
||||||
#adminmenu .wp-menu-arrow div {
|
/* Menü-Elemente richtig anpassen: Hintergrund Weiß, Schrift Grau */
|
||||||
display: none !important;
|
#adminmenu a {
|
||||||
background-color: #FFFFFF !important;
|
color: #7f8c8d; /* Graue Schrift für Menüelemente */
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für Menüelemente */
|
||||||
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bdp-newplugin-button:hover {
|
/* Aktives Menüelement */
|
||||||
color: #ffffff !important;
|
#adminmenu .wp-has-current-submenu a.wp-has-current-submenu,
|
||||||
background-color: #1d4899 !important;
|
#adminmenu li.current a.menu-top {
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für das aktive Menüelement */
|
||||||
|
color: #2c3e50; /* Dunkelgraue Schrift für das aktive Menüelement */
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bdp-newplugin-button {
|
/* Hover-Effekt: Hintergrund hellgrau, Schrift dunkler */
|
||||||
background-color: #ffffff !important;
|
#adminmenu li.menu-top:hover,
|
||||||
padding: 5px 20px !important;
|
#adminmenu li.opensub > a.menu-top,
|
||||||
cursor: pointer !important;
|
#adminmenu li > a.menu-top:focus {
|
||||||
color: #1d4899 !important;
|
background-color: #f0f0f0; /* Hellgrauer Hover-Hintergrund */
|
||||||
|
color: #2c3e50; /* Dunklere Schrift beim Hover */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dunklere Icons für das Admin-Menü */
|
||||||
|
#adminmenu .wp-menu-image {
|
||||||
|
filter: brightness(0) invert(0.5); /* Dunkler machen durch Anpassung der Helligkeit */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Optional: Anpassung für Hover-Zustand der Icons */
|
||||||
|
#adminmenu li.menu-top:hover .wp-menu-image,
|
||||||
|
#adminmenu li.opensub > a.menu-top .wp-menu-image {
|
||||||
|
filter: brightness(0) invert(0.7); /* Dunkler im Hover-Zustand */
|
||||||
|
}
|
||||||
|
/* Versteckt die Hover-Submenüs */
|
||||||
|
#adminmenu .wp-submenu {
|
||||||
|
display: none; /* Submenüs standardmäßig ausblenden */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Submenü beim Klicken anzeigen */
|
||||||
|
#adminmenu li.wp-has-submenu.wp-has-current-submenu > .wp-submenu {
|
||||||
|
display: block; /* Submenü anzeigen, wenn das Hauptmenü angeklickt wurde */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Keine Hover-Effekte für das Hauptmenü */
|
||||||
|
#adminmenu li.wp-has-submenu:hover > .wp-submenu {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Submenüs */
|
||||||
|
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu a:hover, #adminmenu li.menu-top > a:focus,
|
||||||
|
#adminmenu .opensub .wp-submenu li.current a, #adminmenu .wp-submenu li.current, #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:focus, #adminmenu .wp-submenu li.current a:hover, #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
|
||||||
|
#adminmenu .wp-has-current-submenu ul > li > a, .folded #adminmenu li.menu-top .wp-submenu > li > a
|
||||||
|
{
|
||||||
|
padding: 10px 30px !important;
|
||||||
|
color: #7f8c8d !important;
|
||||||
|
}
|
||||||
|
#adminmenu .wp-has-current-submenu ul > li > a, .folded #adminmenu li.menu-top .wp-submenu > li > a {
|
||||||
|
padding: 10px 60px !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Hover-Effekt für die Menüelemente in der Sidebar */
|
||||||
|
#adminmenu a:hover {
|
||||||
|
background-color: #f1c40f; /* Gelber Hintergrund */
|
||||||
|
color: #2c3e50; /* Graue Schrift */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Aktives Menüelement anpassen, um den Hover-Effekt zu unterstützen */
|
||||||
|
#adminmenu li.current a.menu-top {
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für aktive Elemente */
|
||||||
|
color: #2c3e50; /* Dunkelgraue Schrift für aktive Elemente */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover-Effekt für die Menüelemente in der Sidebar */
|
||||||
|
#adminmenu a:hover {
|
||||||
|
background-color: #f1c40f !important; /* Gelber Hintergrund */
|
||||||
|
color: #2c3e50; /* Graue Schrift */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Verhindert, dass graue Hintergründe angewendet werden */
|
||||||
|
#adminmenu li.menu-top:hover,
|
||||||
|
#adminmenu li.opensub > a.menu-top:hover {
|
||||||
|
background-color: #f1c40f !important; /* Sicherstellen, dass gelber Hintergrund bleibt */
|
||||||
|
color: #2c3e50; /* Graue Schrift */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Aktives Menüelement anpassen */
|
||||||
|
#adminmenu li.current a.menu-top {
|
||||||
|
background-color: #ffffff; /* Weißer Hintergrund für aktive Elemente */
|
||||||
|
color: #2c3e50; /* Dunkelgraue Schrift für aktive Elemente */
|
||||||
}
|
}
|
||||||
|
@ -13,9 +13,9 @@ function bdp_update_login_style() {
|
|||||||
function bdp_update_dashboard_style() {
|
function bdp_update_dashboard_style() {
|
||||||
if (true === (bool)get_option( 'use_mareike_theme', false )) {
|
if (true === (bool)get_option( 'use_mareike_theme', false )) {
|
||||||
#wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/mareike.css' );
|
#wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/mareike.css' );
|
||||||
wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/wordpress-bdp.css' );
|
#wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/wordpress-bdp.css' );
|
||||||
} else {
|
} else {
|
||||||
wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/wordpress-bdp.css' );
|
#wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/wordpress-bdp.css' );
|
||||||
}
|
}
|
||||||
wp_enqueue_style('custom-calendar-styles', BDP_LV_PLUGIN_URL . '/assets/calendar.css');
|
wp_enqueue_style('custom-calendar-styles', BDP_LV_PLUGIN_URL . '/assets/calendar.css');
|
||||||
wp_enqueue_style('custom-security-styles', BDP_LV_PLUGIN_URL . '/assets/security.css');
|
wp_enqueue_style('custom-security-styles', BDP_LV_PLUGIN_URL . '/assets/security.css');
|
||||||
|
Loading…
Reference in New Issue
Block a user