Fixed Menu styles

pull/36/head
parent c0b902ce8e
commit 964ea64f4e

@ -21,31 +21,51 @@ background-color: #404040;
} }
.roundborder * { .roundborder * {
border-width:0px; border-width:0px;
}
.roundborder::backdrop * {
border-width:0px;
border-radius:5px; border-radius:5px;
} }
.noborder { .noborder {
border: none; border: none;
} }
.menu:hover { .menu:hover {
border-color:alpha(@theme_text_color, 0.01); border-radius:0px;
} }
.menu { .menu {
border-color:alpha(@theme_text_color, 0.01); border-radius:0px;
} }
.menu:hover >* { .menu:hover >* {
border-color:alpha(@theme_text_color, 0.01); border-radius:0px;
} }
.menuitembottom{ .menuitembottom{
margin-top:0px; margin-top:0px;
margin-bottom:3px; margin-bottom:3px;
border-style: solid;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitemmiddle{ .menuitemmiddle{
margin-top:0px; margin-top:0px;
margin-bottom:0px; margin-bottom:0px;
border-style: solid;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitemtop{ .menuitemtop{
margin-bottom:0px; margin-bottom:0px;
border-style: solid;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitemtop *{ .menuitemtop *{
margin:2px 2px 0 2px; margin:2px 2px 0 2px;
@ -61,12 +81,29 @@ background-color: #404040;
} }
.menuitemtop:hover { .menuitemtop:hover {
background:@theme_bg_color; background:@theme_bg_color;
border-style: solid;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitemmiddle:hover { .menuitemmiddle:hover {
background:@theme_bg_color; background:@theme_bg_color;
border-style: solid;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitembottom:hover { .menuitembottom:hover {
background:@theme_bg_color; background:@theme_bg_color;
border-style: solid;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-color:alpha(@theme_text_color, 0.3);
border-radius:0px;
} }
.menuitemtop:hover* { .menuitemtop:hover* {

@ -1491,9 +1491,6 @@
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
<style>
<class name="noborder"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

Loading…
Cancel
Save