theme: scale QMenu

This commit is contained in:
Le Tan 2018-06-08 23:38:04 +08:00
parent b0a10d4169
commit ec8b7d8032
3 changed files with 29 additions and 29 deletions

View File

@ -44,12 +44,12 @@ QMenu {
}
QMenu::icon {
margin: 5px;
margin: $5px;
}
QMenu::item {
padding: 5px 30px 5px 30px;
border: 1px solid transparent;
padding: $5px $30px $5px $30px;
border: $1px solid transparent;
}
QMenu::item:selected {
@ -62,19 +62,19 @@ QMenu::item:disabled {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
border: 2px solid @menu_fg;
border: $2px solid @menu_fg;
}
QMenu::separator {
height: 2px;
height: $2px;
background: @menu_separator_bg;
margin-left: 10px;
margin-right: 5px;
margin-left: $10px;
margin-right: $5px;
}
QMenu::indicator {
width: 20px;
height: 20px;
width: $20px;
height: $20px;
}
QMenu::indicator:non-exclusive:unchecked {

View File

@ -40,16 +40,16 @@ QMenuBar::item:selected {
QMenu {
background: @menu_bg;
color: @menu_fg;
border: 2px solid @menu_border_bg;
border: $2px solid @menu_border_bg;
}
QMenu::icon {
margin: 5px;
margin: $5px;
}
QMenu::item {
padding: 5px 30px 5px 30px;
border: 1px solid transparent;
padding: $5px $30px $5px $30px;
border: $1px solid transparent;
}
QMenu::item:selected {
@ -62,19 +62,19 @@ QMenu::item:disabled {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
border: 2px solid @menu_fg;
border: $2px solid @menu_fg;
}
QMenu::separator {
height: 2px;
height: $2px;
background: @menu_separator_bg;
margin-left: 10px;
margin-right: 5px;
margin-left: $10px;
margin-right: $5px;
}
QMenu::indicator {
width: 20px;
height: 20px;
width: $20px;
height: $20px;
}
QMenu::indicator:non-exclusive:unchecked {

View File

@ -40,16 +40,16 @@ QMenuBar::item:selected {
QMenu {
background: @menu_bg;
color: @menu_fg;
border: 2px solid @menu_border_bg;
border: $2px solid @menu_border_bg;
}
QMenu::icon {
margin: 5px;
margin: $5px;
}
QMenu::item {
padding: 5px 30px 5px 30px;
border: 1px solid transparent;
padding: $5px $30px $5px $30px;
border: $1px solid transparent;
}
QMenu::item:selected {
@ -62,19 +62,19 @@ QMenu::item:disabled {
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
border: 2px solid @menu_fg;
border: $2px solid @menu_fg;
}
QMenu::separator {
height: 2px;
height: $2px;
background: @menu_separator_bg;
margin-left: 10px;
margin-right: 5px;
margin-left: $10px;
margin-right: $5px;
}
QMenu::indicator {
width: 20px;
height: 20px;
width: $20px;
height: $20px;
}
QMenu::indicator:non-exclusive:unchecked {