mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
theme: scale QMenu
This commit is contained in:
parent
b0a10d4169
commit
ec8b7d8032
@ -44,12 +44,12 @@ QMenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon {
|
QMenu::icon {
|
||||||
margin: 5px;
|
margin: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item {
|
QMenu::item {
|
||||||
padding: 5px 30px 5px 30px;
|
padding: $5px $30px $5px $30px;
|
||||||
border: 1px solid transparent;
|
border: $1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item:selected {
|
QMenu::item:selected {
|
||||||
@ -62,19 +62,19 @@ QMenu::item:disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||||
border: 2px solid @menu_fg;
|
border: $2px solid @menu_fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::separator {
|
QMenu::separator {
|
||||||
height: 2px;
|
height: $2px;
|
||||||
background: @menu_separator_bg;
|
background: @menu_separator_bg;
|
||||||
margin-left: 10px;
|
margin-left: $10px;
|
||||||
margin-right: 5px;
|
margin-right: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator {
|
QMenu::indicator {
|
||||||
width: 20px;
|
width: $20px;
|
||||||
height: 20px;
|
height: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked {
|
QMenu::indicator:non-exclusive:unchecked {
|
||||||
|
@ -40,16 +40,16 @@ QMenuBar::item:selected {
|
|||||||
QMenu {
|
QMenu {
|
||||||
background: @menu_bg;
|
background: @menu_bg;
|
||||||
color: @menu_fg;
|
color: @menu_fg;
|
||||||
border: 2px solid @menu_border_bg;
|
border: $2px solid @menu_border_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon {
|
QMenu::icon {
|
||||||
margin: 5px;
|
margin: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item {
|
QMenu::item {
|
||||||
padding: 5px 30px 5px 30px;
|
padding: $5px $30px $5px $30px;
|
||||||
border: 1px solid transparent;
|
border: $1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item:selected {
|
QMenu::item:selected {
|
||||||
@ -62,19 +62,19 @@ QMenu::item:disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||||
border: 2px solid @menu_fg;
|
border: $2px solid @menu_fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::separator {
|
QMenu::separator {
|
||||||
height: 2px;
|
height: $2px;
|
||||||
background: @menu_separator_bg;
|
background: @menu_separator_bg;
|
||||||
margin-left: 10px;
|
margin-left: $10px;
|
||||||
margin-right: 5px;
|
margin-right: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator {
|
QMenu::indicator {
|
||||||
width: 20px;
|
width: $20px;
|
||||||
height: 20px;
|
height: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked {
|
QMenu::indicator:non-exclusive:unchecked {
|
||||||
|
@ -40,16 +40,16 @@ QMenuBar::item:selected {
|
|||||||
QMenu {
|
QMenu {
|
||||||
background: @menu_bg;
|
background: @menu_bg;
|
||||||
color: @menu_fg;
|
color: @menu_fg;
|
||||||
border: 2px solid @menu_border_bg;
|
border: $2px solid @menu_border_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon {
|
QMenu::icon {
|
||||||
margin: 5px;
|
margin: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item {
|
QMenu::item {
|
||||||
padding: 5px 30px 5px 30px;
|
padding: $5px $30px $5px $30px;
|
||||||
border: 1px solid transparent;
|
border: $1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::item:selected {
|
QMenu::item:selected {
|
||||||
@ -62,19 +62,19 @@ QMenu::item:disabled {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||||
border: 2px solid @menu_fg;
|
border: $2px solid @menu_fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::separator {
|
QMenu::separator {
|
||||||
height: 2px;
|
height: $2px;
|
||||||
background: @menu_separator_bg;
|
background: @menu_separator_bg;
|
||||||
margin-left: 10px;
|
margin-left: $10px;
|
||||||
margin-right: 5px;
|
margin-right: $5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator {
|
QMenu::indicator {
|
||||||
width: 20px;
|
width: $20px;
|
||||||
height: 20px;
|
height: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked {
|
QMenu::indicator:non-exclusive:unchecked {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user