Make WordPress Core

Changeset 9957


Ignore:
Timestamp:
11/28/2008 11:19:15 PM (14 years ago)
Author:
azaozz
Message:

Highlighted (current submenu) state for folded menu

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-fresh.css

    r9944 r9957  
    11301130}
    11311131
     1132.folded #adminmenu li.wp-has-current-submenu,
     1133.folded #adminmenu li.menu-top.current {
     1134    background-color: #eaeaea;
     1135}
     1136
     1137#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head {
     1138    background-color: #EAEAEA;
     1139    border-color: #aaa;
     1140}
     1141
    11321142#adminmenu div.wp-submenu {
    11331143    background-color: transparent;
     
    11391149}
    11401150
    1141 #adminmenu #menu-dashboard:hover div.wp-menu-image {
     1151#adminmenu #menu-dashboard:hover div.wp-menu-image,
     1152#adminmenu  #menu-dashboard.wp-has-current-submenu div.wp-menu-image,
     1153#adminmenu  #menu-dashboard.current div.wp-menu-image {
    11421154    background: transparent url("../images/menu.png") no-repeat scroll -61px -1px;
    11431155}
     
    11471159}
    11481160
    1149 #adminmenu #menu-posts:hover div.wp-menu-image {
     1161#adminmenu #menu-posts:hover div.wp-menu-image,
     1162#adminmenu #menu-posts.wp-has-current-submenu div.wp-menu-image {
    11501163    background: transparent url("../images/menu.png") no-repeat scroll -272px -1px;
    11511164}
     
    11551168}
    11561169
    1157 #adminmenu #menu-media:hover div.wp-menu-image {
     1170#adminmenu #menu-media:hover div.wp-menu-image,
     1171#adminmenu #menu-media.wp-has-current-submenu div.wp-menu-image {
    11581172    background: transparent url("../images/menu.png") no-repeat scroll -121px -1px;
    11591173}
     
    11631177}
    11641178
    1165 #adminmenu #menu-links:hover div.wp-menu-image {
     1179#adminmenu #menu-links:hover div.wp-menu-image,
     1180#adminmenu #menu-links.wp-has-current-submenu div.wp-menu-image {
    11661181    background: transparent url("../images/menu.png") no-repeat scroll -91px -1px;
    11671182}
     
    11711186}
    11721187
    1173 #adminmenu #menu-pages:hover div.wp-menu-image {
     1188#adminmenu #menu-pages:hover div.wp-menu-image,
     1189#adminmenu #menu-pages.wp-has-current-submenu div.wp-menu-image {
    11741190    background: transparent url("../images/menu.png") no-repeat scroll -151px -1px;
    11751191}
     
    11791195}
    11801196
    1181 #adminmenu #menu-comments:hover div.wp-menu-image {
     1197#adminmenu #menu-comments:hover div.wp-menu-image,
     1198#adminmenu #menu-comments.wp-has-current-submenu div.wp-menu-image,
     1199#adminmenu #menu-comments.current div.wp-menu-image {
    11821200    background: transparent url("../images/menu.png") no-repeat scroll -31px -1px;
    11831201}
     
    11871205}
    11881206
    1189 #adminmenu #menu-appearance:hover div.wp-menu-image {
     1207#adminmenu #menu-appearance:hover div.wp-menu-image,
     1208#adminmenu #menu-appearance.wp-has-current-submenu div.wp-menu-image {
    11901209    background: transparent url("../images/menu.png") no-repeat scroll -1px -1px;
    11911210}
     
    11951214}
    11961215
    1197 #adminmenu #menu-plugins:hover div.wp-menu-image {
     1216#adminmenu #menu-plugins:hover div.wp-menu-image,
     1217#adminmenu #menu-plugins.wp-has-current-submenu div.wp-menu-image {
    11981218    background: transparent url("../images/menu.png") no-repeat scroll -181px -1px;
    11991219}
     
    12031223}
    12041224
    1205 #adminmenu #menu-users:hover div.wp-menu-image {
     1225#adminmenu #menu-users:hover div.wp-menu-image,
     1226#adminmenu #menu-users.wp-has-current-submenu div.wp-menu-image {
    12061227    background: transparent url("../images/menu.png") no-repeat scroll -301px -1px;
    12071228}
     
    12111232}
    12121233
    1213 #adminmenu #menu-tools:hover div.wp-menu-image {
     1234#adminmenu #menu-tools:hover div.wp-menu-image,
     1235#adminmenu #menu-tools.wp-has-current-submenu div.wp-menu-image {
    12141236    background: transparent url("../images/menu.png") no-repeat scroll -211px -1px;
    12151237}
     
    12191241}
    12201242
    1221 #adminmenu #menu-settings:hover div.wp-menu-image {
     1243#adminmenu #menu-settings:hover div.wp-menu-image,
     1244#adminmenu #menu-settings.wp-has-current-submenu div.wp-menu-image {
    12221245    background: transparent url("../images/menu.png") no-repeat scroll -241px -1px;
    12231246}
  • trunk/wp-admin/wp-admin.css

    r9943 r9957  
    943943    width: 28px;
    944944    height: 28px;
     945    cursor: pointer;
    945946}
    946947
Note: See TracChangeset for help on using the changeset viewer.