public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss in erp_app-3.0.0 vs public/stylesheets/extjs/resources/themes/stylesheets/ext4/default/widgets/_menu.scss in erp_app-3.0.1

- old
+ new

@@ -5,20 +5,29 @@ .#{$prefix}menu-body { @include no-select; 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; top: 0px; left: $menu-item-indent; z-index: 0; border-left: solid 1px $menu-separator-border-color; background-color: $menu-separator-background-color; width: 2px; - height: 100%; + height: 100%!important; overflow: hidden; } .#{$prefix}menu-plain { .#{$prefix}menu-icon-separator { @@ -45,12 +54,12 @@ margin-bottom: 1px; } .#{$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; } @@ -65,33 +74,33 @@ } .#{$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; } } @@ -108,11 +117,12 @@ position: absolute; width: 12px; 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 { margin-left: $menu-item-indent + $menu-padding + 2px; /* The 2px is the width of the seperator */ } @@ -133,23 +143,18 @@ @include opacity(.5); } @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; } } .#{$prefix}strict & { .#{$prefix}menu-icon-separator { @@ -172,10 +177,11 @@ } @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); } } } .#{$prefix}menu-date-item {