mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
refine v_white theme
This commit is contained in:
parent
bda61a994c
commit
7611d7a350
@ -16,19 +16,19 @@ title_fg=#000000
|
|||||||
title_bg=#DADBDB
|
title_bg=#DADBDB
|
||||||
|
|
||||||
hover_fg=#000000
|
hover_fg=#000000
|
||||||
hover_bg=#BCBCBC
|
hover_bg=#C0C0C0
|
||||||
|
|
||||||
selected_fg=#000000
|
selected_fg=#000000
|
||||||
selected_bg=#D3D3D3
|
selected_bg=#BCBCBC
|
||||||
|
|
||||||
active_fg=#000000
|
active_fg=#000000
|
||||||
active_bg=#C0C0C0
|
active_bg=#C0C0C0
|
||||||
|
|
||||||
inactive_fg=#000000
|
inactive_fg=#000000
|
||||||
inactive_bg=#D0D0D0
|
inactive_bg=#D3D3D3
|
||||||
|
|
||||||
focus_fg=#000000
|
focus_fg=#000000
|
||||||
focus_bg=#C0C0C0
|
focus_bg=#A9A9A9
|
||||||
|
|
||||||
pressed_fg=#000000
|
pressed_fg=#000000
|
||||||
pressed_bg=#808080
|
pressed_bg=#808080
|
||||||
@ -121,19 +121,24 @@ pushbutton_default_border=#424242
|
|||||||
|
|
||||||
pushbutton_cornerbtn_hover_bg=@hover_bg
|
pushbutton_cornerbtn_hover_bg=@hover_bg
|
||||||
pushbutton_cornerbtn_focus_bg=@focus_bg
|
pushbutton_cornerbtn_focus_bg=@focus_bg
|
||||||
|
pushbutton_cornerbtn_pressed_bg=@pressed_bg
|
||||||
|
|
||||||
pushbutton_statusbtn_hover_bg=@hover_bg
|
pushbutton_statusbtn_hover_bg=@hover_bg
|
||||||
pushbutton_statusbtn_focus_bg=@focus_bg
|
pushbutton_statusbtn_focus_bg=@focus_bg
|
||||||
|
pushbutton_statusbtn_pressed_bg=@pressed_bg
|
||||||
|
|
||||||
pushbutton_flatbtn_hover_bg=@hover_bg
|
pushbutton_flatbtn_hover_bg=@hover_bg
|
||||||
pushbutton_flatbtn_focus_bg=@focus_bg
|
pushbutton_flatbtn_focus_bg=@focus_bg
|
||||||
|
pushbutton_flatbtn_pressed_bg=@pressed_bg
|
||||||
|
|
||||||
pushbutton_selectionbtn_hover_bg=@hover_bg
|
pushbutton_selectionbtn_hover_bg=@hover_bg
|
||||||
pushbutton_selectionbtn_focus_bg=@focus_bg
|
pushbutton_selectionbtn_focus_bg=@focus_bg
|
||||||
|
pushbutton_selectionbtn_pressed_bg=@pressed_bg
|
||||||
|
|
||||||
pushbutton_titlebtn_bg=@title_bg
|
pushbutton_titlebtn_bg=@title_bg
|
||||||
pushbutton_titlebtn_hover_bg=@hover_bg
|
pushbutton_titlebtn_hover_bg=@hover_bg
|
||||||
pushbutton_titlebtn_focus_bg=@focus_bg
|
pushbutton_titlebtn_focus_bg=@focus_bg
|
||||||
|
pushbutton_titlebtn_pressed_bg=@pressed_bg
|
||||||
|
|
||||||
pushbutton_dangerbtn_fg=#FFF
|
pushbutton_dangerbtn_fg=#FFF
|
||||||
pushbutton_dangerbtn_border=#D43F3A
|
pushbutton_dangerbtn_border=#D43F3A
|
||||||
|
@ -64,7 +64,7 @@ QMenu::item:selected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
QMenu::icon:checked { /* appearance of a 'checked' icon */
|
||||||
border: 2px solid @menu_item_selected_bg;
|
border: 2px solid @menu_fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::separator {
|
QMenu::separator {
|
||||||
@ -84,6 +84,7 @@ QToolBar {
|
|||||||
background: @toolbar_bg;
|
background: @toolbar_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* QToolButton */
|
||||||
QToolButton {
|
QToolButton {
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -104,20 +105,31 @@ QToolButton:hover {
|
|||||||
background: @toolbutton_hover_bg;
|
background: @toolbutton_hover_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton::pressed {
|
QToolButton:pressed {
|
||||||
background: @toolbutton_pressed_bg;
|
background: @toolbutton_pressed_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton::checked {
|
QToolButton:checked {
|
||||||
background: @toolbutton_checked_bg;
|
background: @toolbutton_checked_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QToolButton:checked:hover {
|
||||||
|
background: @toolbutton_hover_bg;
|
||||||
|
}
|
||||||
|
|
||||||
/* the subcontrols below are used only in the MenuButtonPopup mode */
|
/* the subcontrols below are used only in the MenuButtonPopup mode */
|
||||||
QToolButton::menu-button {
|
QToolButton::menu-button {
|
||||||
border: none;
|
border: none;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QToolButton::menu-arrow {
|
||||||
|
image: url(arrow_dropdown.svg);
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
/* End QToolButton*/
|
||||||
|
|
||||||
/* DockWidget */
|
/* DockWidget */
|
||||||
QDockWidget {
|
QDockWidget {
|
||||||
titlebar-close-icon: url(close.svg);
|
titlebar-close-icon: url(close.svg);
|
||||||
@ -155,6 +167,10 @@ QPushButton:checked {
|
|||||||
background-color: @pushbutton_checked_bg;
|
background-color: @pushbutton_checked_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton:checked:hover {
|
||||||
|
background-color: @pushbutton_hover_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton:hover {
|
QPushButton:hover {
|
||||||
background-color: @pushbutton_hover_bg;
|
background-color: @pushbutton_hover_bg;
|
||||||
}
|
}
|
||||||
@ -167,6 +183,12 @@ QPushButton::default {
|
|||||||
border-color: @pushbutton_default_border;
|
border-color: @pushbutton_default_border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton::menu-indicator {
|
||||||
|
image: url(arrow_dropdown.svg);
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[CornerBtn="true"] {
|
QPushButton[CornerBtn="true"] {
|
||||||
padding: 4px -2px 4px -2px;
|
padding: 4px -2px 4px -2px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@ -187,6 +209,10 @@ QPushButton[CornerBtn="true"]:focus {
|
|||||||
background-color: @pushbutton_cornerbtn_focus_bg;
|
background-color: @pushbutton_cornerbtn_focus_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton[CornerBtn="true"]:pressed {
|
||||||
|
background-color: @pushbutton_cornerbtn_pressed_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[StatusBtn="true"] {
|
QPushButton[StatusBtn="true"] {
|
||||||
font: bold;
|
font: bold;
|
||||||
padding: 0px 2px 0px 2px;
|
padding: 0px 2px 0px 2px;
|
||||||
@ -204,6 +230,10 @@ QPushButton[StatusBtn="true"]:focus {
|
|||||||
background-color: @pushbutton_statusbtn_focus_bg;;
|
background-color: @pushbutton_statusbtn_focus_bg;;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton[StatusBtn="true"]:pressed {
|
||||||
|
background-color: @pushbutton_statusbtn_pressed_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[FlatBtn="true"] {
|
QPushButton[FlatBtn="true"] {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@ -220,6 +250,10 @@ QPushButton[FlatBtn="true"]:focus {
|
|||||||
background-color: @pushbutton_flatbtn_focus_bg;
|
background-color: @pushbutton_flatbtn_focus_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton[FlatBtn="true"]:focus {
|
||||||
|
background-color: @pushbutton_flatbtn_pressed_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[SelectionBtn="true"] {
|
QPushButton[SelectionBtn="true"] {
|
||||||
padding: 4px 10px 4px 10px;
|
padding: 4px 10px 4px 10px;
|
||||||
border: none;
|
border: none;
|
||||||
@ -237,6 +271,10 @@ QPushButton[SelectionBtn="true"]:focus {
|
|||||||
background-color: @pushbutton_selectionbtn_focus_bg;
|
background-color: @pushbutton_selectionbtn_focus_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton[SelectionBtn="true"]:focus {
|
||||||
|
background-color: @pushbutton_selectionbtn_pressed_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[TitleBtn="true"] {
|
QPushButton[TitleBtn="true"] {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@ -253,6 +291,10 @@ QPushButton[TitleBtn="true"]:focus {
|
|||||||
background-color: @pushbutton_titlebtn_focus_bg;
|
background-color: @pushbutton_titlebtn_focus_bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QPushButton[TitleBtn="true"]:focus {
|
||||||
|
background-color: @pushbutton_titlebtn_pressed_bg;
|
||||||
|
}
|
||||||
|
|
||||||
QPushButton[DangerBtn="true"] {
|
QPushButton[DangerBtn="true"] {
|
||||||
color: @pushbutton_dangerbtn_fg;
|
color: @pushbutton_dangerbtn_fg;
|
||||||
border-color: @pushbutton_dangerbtn_border;
|
border-color: @pushbutton_dangerbtn_border;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user