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 {
|
||||
width: 250px;
|
||||
/* Hintergrund des gesamten Dashboards */
|
||||
#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 */
|
||||
|
||||
}
|
||||
|
||||
|
||||
#wpcontent, #wpfooter {
|
||||
margin-left: 230px;
|
||||
background-color: #ffffff !important;
|
||||
padding-left: 40px;
|
||||
/* Der zentrale Inhaltsbereich (die App) wird in die Box integriert */
|
||||
/* Hauptinhaltsbereich anpassen */
|
||||
#wpcontent {
|
||||
margin-top: 100px;
|
||||
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 {
|
||||
left: 210px;
|
||||
#wpbody {
|
||||
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 {
|
||||
width: 30px;
|
||||
#wpbody-content {
|
||||
height: calc(100vh - 200px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Sicherstellen, dass der Body den gesamten Bildschirm ausfüllt */
|
||||
|
||||
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) {
|
||||
body:not(.folded) #widgets-editor .interface-interface-skeleton {
|
||||
left: 250px;
|
||||
/* Gelber Header im Dashboard */
|
||||
#wpadminbar {
|
||||
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) {
|
||||
|
||||
#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 {
|
||||
background-color: #fafafa !important;
|
||||
width: 285px !important;
|
||||
color: #7f8c8d !important
|
||||
}
|
||||
}
|
||||
|
||||
#wp-admin-bar-comments,
|
||||
#wp-admin-bar-new-content {
|
||||
display: none !important;
|
||||
}
|
||||
#wp-admin-bar-kompass_gruppen {
|
||||
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) {
|
||||
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
/* Schatten für den gesamten Admin-Menü-Bereich */
|
||||
/* Abstand zwischen dem oberen Header und der Admin-Menüleiste */
|
||||
#adminmenuwrap {
|
||||
margin-top: 100px; /* Setzt das Menü 50px unter den Header */
|
||||
}
|
||||
|
||||
#wpadminbar {
|
||||
background-color: rgb(240, 244, 247);
|
||||
color: #1d4899;
|
||||
|
||||
|
||||
width: 1600px;
|
||||
padding-top: 10px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-item, #wpadminbar a.ab-item, #wpadminbar > #wp-toolbar span.ab-label, #wpadminbar > #wp-toolbar span.noticon {
|
||||
color: #1d4899;
|
||||
#wp-toolbar {
|
||||
width: 1500px;
|
||||
}
|
||||
}
|
||||
|
||||
#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after {
|
||||
color: #1d4899;
|
||||
#wpadminbar .ab-item, #wpadminbar a.ab-item {
|
||||
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 {
|
||||
background-color: #ffffff;
|
||||
color: #ffcb04;
|
||||
/* Admin-Menüleiste in die weiße Box integrieren */
|
||||
#adminmenu {
|
||||
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 {
|
||||
color: #ffcb04;
|
||||
background-color: #ffffff;
|
||||
/* Menüelemente anpassen */
|
||||
#adminmenu a {
|
||||
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 {
|
||||
background-color: #ffffff;
|
||||
/* Hover-Effekt für Menüelemente */
|
||||
#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 {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
#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: #1d4899;
|
||||
}
|
||||
|
||||
#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;
|
||||
/* Aktives Menüelement */
|
||||
#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 */
|
||||
color: #2c3e50; /* Dunklere Schrift für aktives Menüelement */
|
||||
font-weight: bold; /* Fettgedruckt */
|
||||
}
|
||||
|
||||
|
||||
|
||||
li.wp-has-submenu.wp-not-current-submenu.opensub:after,
|
||||
li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
||||
#adminmenuback {
|
||||
margin-top: 250px;
|
||||
}
|
||||
/* Breite der Admin-Menüleiste beibehalten */
|
||||
#adminmenu, #adminmenu .wp-submenu, #adminmenuback, #adminmenuwrap {
|
||||
|
||||
.wp-menu-name:after {
|
||||
display: none !important;
|
||||
width: 350px; /* Breite der Sidebar */
|
||||
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 {
|
||||
display: none;
|
||||
/* Inhaltsbereich anpassen, um Platz für die Sidebar zu lassen */
|
||||
#wpcontent, #wpfooter {
|
||||
margin-left: 350px; /* Inhaltsbereich entsprechend der Sidebar verschieben */
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-arrow div {
|
||||
display: none !important;
|
||||
background-color: #FFFFFF !important;
|
||||
/* Menü-Elemente richtig anpassen: Hintergrund Weiß, Schrift Grau */
|
||||
#adminmenu a {
|
||||
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 {
|
||||
color: #ffffff !important;
|
||||
background-color: #1d4899 !important;
|
||||
/* Aktives Menüelement */
|
||||
#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 */
|
||||
color: #2c3e50; /* Dunkelgraue Schrift für das aktive Menüelement */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bdp-newplugin-button {
|
||||
background-color: #ffffff !important;
|
||||
padding: 5px 20px !important;
|
||||
cursor: pointer !important;
|
||||
color: #1d4899 !important;
|
||||
/* Hover-Effekt: Hintergrund hellgrau, Schrift dunkler */
|
||||
#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 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() {
|
||||
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/wordpress-bdp.css' );
|
||||
#wp_enqueue_style( 'custom-dashboard-styles', BDP_LV_PLUGIN_URL . '/assets/wordpress-bdp.css' );
|
||||
} 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-security-styles', BDP_LV_PLUGIN_URL . '/assets/security.css');
|
||||
|
Loading…
Reference in New Issue
Block a user