| @@ -103,41 +103,47 @@ | ||
| 103 | 103 | tr#bbp-core-update p:not(:first-child) { |
| 104 | 104 | display: none; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | -/* Sidebar Restructuring Styles (EazyDocs Style) */ | |
| 108 | -#adminmenu .wp-submenu a[href*="page=frmx-menu-sep-"] { | |
| 109 | - background: transparent !important; | |
| 110 | - cursor: default; | |
| 111 | - height: 1px !important; | |
| 112 | - margin: 10px 0 !important; | |
| 113 | - min-height: 1px !important; | |
| 114 | - padding: 0 !important; | |
| 115 | - pointer-events: none; | |
| 116 | - display: block !important; | |
| 107 | +/* Sidebar Restructuring Styles */ | |
| 108 | +#adminmenu .wp-submenu { | |
| 109 | + /* Dedicated Separator Items (Resilient Pseudo-element Approach) */ | |
| 117 | 110 | } |
| 118 | - | |
| 119 | -#adminmenu .wp-submenu a[href*="page=frmx-menu-sep-"] .frmx-menu-separator { | |
| 120 | - background: linear-gradient(90deg, hsla(0,0%,100%,0), hsla(0,0%,100%,.25), hsla(0,0%,100%,0)); | |
| 121 | - display: block; | |
| 122 | - height: 1px; | |
| 123 | - margin: 0 12px; | |
| 111 | +#adminmenu .wp-submenu a[href*=frmx-menu-sep-] { | |
| 112 | + background: transparent !important; | |
| 113 | + cursor: default !important; | |
| 114 | + height: 16px !important; | |
| 115 | + margin: 4px 0 !important; | |
| 116 | + min-height: 1px !important; | |
| 117 | + padding: 0 !important; | |
| 118 | + pointer-events: none; | |
| 119 | + display: flex !important; | |
| 120 | + align-items: center; | |
| 124 | 121 | } |
| 125 | - | |
| 126 | -/* Indented Child Items */ | |
| 127 | -#adminmenu .wp-submenu a[href*="is_child=true"] { | |
| 128 | - opacity: 0.8 !important; | |
| 129 | - font-size: 11px !important; | |
| 130 | - padding-left: 12px !important; | |
| 131 | - transition: all 0.2s ease; | |
| 122 | +#adminmenu .wp-submenu a[href*=frmx-menu-sep-] .frmx-menu-separator { | |
| 123 | + background: linear-gradient(to right, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0.15), hsla(0, 0%, 100%, 0)) !important; | |
| 124 | + display: block; | |
| 125 | + height: 1px; | |
| 126 | + width: 100%; | |
| 127 | + margin: 0 12px; | |
| 132 | 128 | } |
| 129 | +#adminmenu .wp-submenu { | |
| 130 | + /* Indented Child Items (Add New, Tags) */ | |
| 131 | + /*a[href*="is_child=true"] { | |
| 132 | + opacity: 0.7 !important; | |
| 133 | + font-size: 13px !important; | |
| 134 | + padding-left: 20px !important; | |
| 135 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 133 | 136 | |
| 134 | -#adminmenu .wp-submenu a[href*="is_child=true"]:hover { | |
| 135 | - padding-left: 16px !important; | |
| 136 | - opacity: 1 !important; | |
| 137 | + &:hover { | |
| 138 | + padding-left: 24px !important; | |
| 139 | + opacity: 1 !important; | |
| 140 | + color: #fff !important; | |
| 141 | + } | |
| 142 | + }*/ | |
| 143 | + /* Active/Current Item Highlight */ | |
| 137 | 144 | } |
| 138 | - | |
| 139 | -/* Active Highlight */ | |
| 140 | 145 | #adminmenu .wp-submenu li.current a { |
| 141 | - font-weight: 600 !important; | |
| 142 | - opacity: 1 !important; | |
| 143 | -} | |
| 146 | + font-weight: 600 !important; | |
| 147 | + opacity: 1 !important; | |
| 148 | + color: #fff !important; | |
| 149 | +} | |