wp/wp-admin/css/admin-menu.css
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     9 #adminmenuback {
     9 #adminmenuback {
    10 	position: fixed;
    10 	position: fixed;
    11 	top: 0;
    11 	top: 0;
    12 	bottom: -120px;
    12 	bottom: -120px;
    13 	z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
    13 	z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
       
    14 }
       
    15 
       
    16 .php-error #adminmenuback {
       
    17 	position: absolute;
       
    18 }
       
    19 
       
    20 .php-error #adminmenuback,
       
    21 .php-error #adminmenuwrap {
       
    22 	margin-top: 2em;
    14 }
    23 }
    15 
    24 
    16 #adminmenu {
    25 #adminmenu {
    17 	clear: left;
    26 	clear: left;
    18 	margin: 12px 0;
    27 	margin: 12px 0;
   165 }
   174 }
   166 
   175 
   167 #adminmenu .wp-submenu a {
   176 #adminmenu .wp-submenu a {
   168 	color: #b4b9be;
   177 	color: #b4b9be;
   169 	color: rgba(240, 245, 250, 0.7);
   178 	color: rgba(240, 245, 250, 0.7);
       
   179 	font-size: 13px;
       
   180 	line-height: 1.4;
       
   181 	margin: 0;
       
   182 	padding: 5px 0;
   170 }
   183 }
   171 
   184 
   172 #adminmenu .wp-submenu a:hover,
   185 #adminmenu .wp-submenu a:hover,
   173 #adminmenu .wp-submenu a:focus {
   186 #adminmenu .wp-submenu a:focus {
   174 	background: none;
   187 	background: none;
   276 .folded #adminmenu .wp-has-current-submenu .wp-submenu {
   289 .folded #adminmenu .wp-has-current-submenu .wp-submenu {
   277 	min-width: 160px;
   290 	min-width: 160px;
   278 	width: auto;
   291 	width: auto;
   279 }
   292 }
   280 
   293 
   281 #adminmenu .wp-submenu a {
       
   282 	font-size: 13px;
       
   283 	line-height: 1.4;
       
   284 	margin: 0;
       
   285 	padding: 5px 0;
       
   286 }
       
   287 
       
   288 #adminmenu .wp-submenu li.current,
   294 #adminmenu .wp-submenu li.current,
   289 #adminmenu .wp-submenu li.current a,
   295 #adminmenu .wp-submenu li.current a,
   290 #adminmenu .opensub .wp-submenu li.current a,
   296 #adminmenu .opensub .wp-submenu li.current a,
   291 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
   297 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
   292 #adminmenu .wp-submenu li.current a:hover,
   298 #adminmenu .wp-submenu li.current a:hover,
   383 #adminmenu li a:focus div.wp-menu-image:before,
   389 #adminmenu li a:focus div.wp-menu-image:before,
   384 #adminmenu li.opensub div.wp-menu-image:before {
   390 #adminmenu li.opensub div.wp-menu-image:before {
   385 	color: #00b9eb;
   391 	color: #00b9eb;
   386 }
   392 }
   387 
   393 
   388 /* IE8 doesn't redraw the pseudo elements unless you make a change to the content, this restore the initial color after hover */
       
   389 .ie8 #adminmenu li.opensub div.wp-menu-image:before {
       
   390 	color: #a0a5aa;
       
   391 }
       
   392 
       
   393 .folded #adminmenu div.wp-menu-image {
   394 .folded #adminmenu div.wp-menu-image {
   394 	width: 35px;
   395 	width: 35px;
   395 	height: 30px;
   396 	height: 30px;
   396 	position: absolute;
   397 	position: absolute;
   397 	z-index: 25;
   398 	z-index: 25;
   398 }
   399 }
   399 
   400 
   400 .folded #adminmenu a.menu-top {
   401 .folded #adminmenu a.menu-top {
   401 	height: 34px;
   402 	height: 34px;
   402 }
   403 }
   403 
       
   404 /* No @font-face support */
       
   405 .no-font-face #adminmenu .wp-menu-image {
       
   406 	display: none;
       
   407 }
       
   408 
       
   409 .no-font-face #adminmenu div.wp-menu-name {
       
   410 	padding: 8px 12px;
       
   411 }
       
   412 
       
   413 .no-font-face.auto-fold #adminmenu .wp-menu-name {
       
   414 	margin-left: 0;
       
   415 }
       
   416 /* End no @font-face support */
       
   417 
   404 
   418 /* Sticky admin menu */
   405 /* Sticky admin menu */
   419 .sticky-menu #adminmenuwrap {
   406 .sticky-menu #adminmenuwrap {
   420 	position: fixed;
   407 	position: fixed;
   421 }
   408 }
   763 		position: absolute;
   750 		position: absolute;
   764 		width: 190px;
   751 		width: 190px;
   765 		z-index: 100;
   752 		z-index: 100;
   766 	}
   753 	}
   767 
   754 
       
   755 	.auto-fold #adminmenuback {
       
   756 		position: fixed;
       
   757 	}
       
   758 
   768 	.auto-fold #adminmenuback,
   759 	.auto-fold #adminmenuback,
   769 	.auto-fold #adminmenuwrap {
   760 	.auto-fold #adminmenuwrap {
   770 		display: none;
   761 		display: none;
   771 	}
   762 	}
   772 
   763