Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / resources / themes / stylesheets / ext4 / default / widgets / _menu.scss
index d3a8e04..cf17f05 100644 (file)
@@ -7,6 +7,15 @@
         background: $menu-background-color !important;
         padding: $menu-padding;
     }
+    
+    .#{$prefix}menu-item .#{$prefix}form-text {
+        user-select: text;
+        -webkit-user-select: text;
+        -o-user-select: text;
+        -ie-user-select: text;
+        -moz-user-select: text;
+        -ie-user-select: text;
+    }
 
     .#{$prefix}menu-icon-separator {
         position: absolute;
@@ -16,7 +25,7 @@
         border-left: solid 1px $menu-separator-border-color;
         background-color: $menu-separator-background-color;
         width: 2px;
-        height: 100%;
+        height: 100%!important;
         overflow: hidden;
     }
 
@@ -47,8 +56,8 @@
 
     .#{$prefix}menu-item-link {
         display: block;
-        padding: 0px $menu-padding;
         margin: 1px;
+        padding: $menu-link-padding;
         text-decoration: none !important;
         line-height: 16px;
         cursor: default;
     .#{$prefix}menu-item-icon {
         width: 16px;
         height: 16px;
-        margin: 4px 11px 0px 2px;
+        position: absolute;
+        top: 5px;
+        left: 4px;
         background: no-repeat center center;
     }
 
     .#{$prefix}menu-item-text {
-        position: relative;
         font-size: ceil($font-size * .9);
         color: $menu-text-color;
-        top: -4px;
     }
 
     .#{$prefix}menu-item-checked {
         .#{$prefix}menu-item-icon {
-            background-image: theme-image($theme-name, $menu-icon-checked);
+            background-image: theme-background-image($theme-name, $menu-icon-checked);
         }
         .#{$prefix}menu-group-icon {
-            background-image: theme-image($theme-name, $menu-icon-group-checked);
+            background-image: theme-background-image($theme-name, $menu-icon-group-checked);
         }
     }
 
     .#{$prefix}menu-item-unchecked {
         .#{$prefix}menu-item-icon {
-            background-image: theme-image($theme-name, $menu-icon-unchecked);
+            background-image: theme-background-image($theme-name, $menu-icon-unchecked);
         }
         .#{$prefix}menu-group-icon {
             background-image: none;
         height: 9px;
         top: 9px;
         right: 0px;
-        background: theme-image($theme-name, $menu-icon-arrow) no-repeat center center;
+        background: no-repeat center center;
+        background-image: theme-background-image($theme-name, $menu-icon-arrow);
     }
 
     .#{$prefix}menu-item-indent {
 
     @if $include-ie {
         .#{$prefix}ie {
-            .#{$prefix}menu-item-link {
-                line-height: 17px;
-                padding-bottom: 1px;
-            }
-
             .#{$prefix}menu-item-disabled {
                 .#{$prefix}menu-item-icon {
                     @include opacity(.5);
 
                 .#{$prefix}menu-item-text {
                     // IE opacity/cleartype bug workaround
-                    background-color: $menu-background-color;
+                    background-color: transparent;
                 }
             }
             
     @if not $supports-gradients or $compile-all {
         .#{$prefix}nlg {
             .#{$prefix}menu-item-active .#{$prefix}menu-item-link {
-                background: $menu-item-active-background-color theme-image($theme-name, $menu-item-active-background-image) repeat-x left top;
+                background: $menu-item-active-background-color repeat-x left top;
+                background-image: theme-background-image($theme-name, $menu-item-active-background-image);
             }
         }
     }