summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss')
-rw-r--r--deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss38
1 files changed, 22 insertions, 16 deletions
diff --git a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss
index d3a8e040d..cf17f050c 100644
--- a/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss
+++ b/deluge/ui/web/resources/themes/stylesheets/ext4/default/widgets/_menu.scss
@@ -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;
@@ -67,29 +76,29 @@
.#{$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;
@@ -110,7 +119,8 @@
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 {
@@ -135,11 +145,6 @@
@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);
@@ -147,7 +152,7 @@
.#{$prefix}menu-item-text {
// IE opacity/cleartype bug workaround
- background-color: $menu-background-color;
+ background-color: transparent;
}
}
@@ -174,7 +179,8 @@
@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);
}
}
}