theme: refine master background

This commit is contained in:
Le Tan 2017-12-12 21:43:44 +08:00
parent aeb3dc8df6
commit 559f5090bf
5 changed files with 20 additions and 28 deletions

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
<g>
<polygon style="fill:#F5F5F5" points="128,192 256,320 384,192 "/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 554 B

View File

@ -10,10 +10,10 @@ codeblock_css_file=v_pure_codeblock.css
[phony] [phony]
; Abstract color attributes. ; Abstract color attributes.
master_fg=#F5F5F5 master_fg=#F5F5F5
master_bg=#556DE8 master_bg=#00897B
master_focus_bg=#6A80F1 master_focus_bg=#009688
master_hover_bg=#6A80F1 master_hover_bg=#009688
master_pressed_bg=#4561ED master_pressed_bg=#00796B
base_fg=#222222 base_fg=#222222
base_bg=#EAEAEA base_bg=#EAEAEA
@ -53,10 +53,10 @@ pressed_bg=#B2B2B2
edit_fg=#222222 edit_fg=#222222
edit_bg=#F5F5F5 edit_bg=#F5F5F5
edit_focus_bg=#E8EAF6 edit_focus_bg=#E0F2F1
edit_focus_border=@master_bg edit_focus_border=@master_bg
edit_selection_fg=@edit_fg edit_selection_fg=@edit_fg
edit_selection_bg=#CBD2F9 edit_selection_bg=#80CBC4
icon_fg=#222222 icon_fg=#222222
@ -96,7 +96,7 @@ vim_indicator_cmd_edit_pending_bg=@selected_bg
tab_indicator_label_fg=@base_fg tab_indicator_label_fg=@base_fg
; Html template. ; Html template.
template_title_flash_light_fg=#A0ACE5 template_title_flash_light_fg=#80CBC4
template_title_flash_dark_fg=@master_bg template_title_flash_dark_fg=@master_bg
[widgets] [widgets]
@ -214,12 +214,13 @@ combobox_focus_bg=@edit_focus_bg
combobox_focus_border=@edit_focus_border combobox_focus_border=@edit_focus_border
combobox_item_icon_fg=@item_icon_fg combobox_item_icon_fg=@item_icon_fg
combobox_notebookselector_fg=@master_fg combobox_notebookselector_fg=@master_bg
combobox_notebookselector_bg=@master_bg combobox_notebookselector_bg=@combobox_bg
combobox_notebookselector_hover_fg=@master_fg combobox_notebookselector_border=@master_bg
combobox_notebookselector_hover_bg=@master_hover_bg combobox_notebookselector_hover_fg=@master_bg
combobox_notebookselector_focus_fg=@master_fg combobox_notebookselector_hover_bg=@hover_bg
combobox_notebookselector_focus_bg=@master_pressed_bg combobox_notebookselector_focus_fg=@master_bg
combobox_notebookselector_focus_bg=@focus_bg
; Label. ; Label.
label_fg=@base_fg label_fg=@base_fg

View File

@ -527,28 +527,28 @@ QComboBox QAbstractItemView::item:hover {
QComboBox#NotebookSelector { QComboBox#NotebookSelector {
border: none; border: none;
border-bottom: 2px solid @combobox_notebookselector_border;
font-size: 13pt; font-size: 13pt;
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
icon-size: 30px; icon-size: 30px;
font-weight: bold;
color: @combobox_notebookselector_fg; color: @combobox_notebookselector_fg;
background: @combobox_notebookselector_bg; background: @combobox_notebookselector_bg;
} }
QComboBox#NotebookSelector::down-arrow { QComboBox#NotebookSelector::down-arrow {
image: url(arrow_dropdown_white.svg); image: url(arrow_dropdown.svg);
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
QComboBox#NotebookSelector:hover { QComboBox#NotebookSelector:hover {
border: none;
color: @combobox_notebookselector_hover_fg; color: @combobox_notebookselector_hover_fg;
background: @combobox_notebookselector_hover_bg; background: @combobox_notebookselector_hover_bg;
} }
QComboBox#NotebookSelector:focus, QComboBox#NotebookSelector:on { QComboBox#NotebookSelector:focus, QComboBox#NotebookSelector:on {
border: none;
color: @combobox_notebookselector_focus_fg; color: @combobox_notebookselector_focus_fg;
background: @combobox_notebookselector_focus_bg; background: @combobox_notebookselector_focus_bg;
} }
@ -557,6 +557,7 @@ QComboBox#NotebookSelector QListWidget {
border: 1px solid @combobox_view_border; border: 1px solid @combobox_view_border;
background-color: @combobox_bg; background-color: @combobox_bg;
font-size: 13pt; font-size: 13pt;
font-weight: normal;
icon-size: 30px; icon-size: 30px;
} }

View File

@ -86,8 +86,8 @@ vim_indicator_cmd_edit_pending_bg=@selected_bg
tab_indicator_label_fg=@base_fg tab_indicator_label_fg=@base_fg
; Html template. ; Html template.
template_title_flash_light_fg=#A0ACE5 template_title_flash_light_fg=#80CBC4
template_title_flash_dark_fg=#556DE8 template_title_flash_dark_fg=#00897B
[widgets] [widgets]
; Widget color attributes. ; Widget color attributes.

View File

@ -165,6 +165,5 @@
<file>resources/themes/v_pure/v_pure.css</file> <file>resources/themes/v_pure/v_pure.css</file>
<file>resources/themes/v_pure/v_pure_codeblock.css</file> <file>resources/themes/v_pure/v_pure_codeblock.css</file>
<file>resources/themes/v_white/v_white_codeblock.css</file> <file>resources/themes/v_white/v_white_codeblock.css</file>
<file>resources/themes/v_pure/arrow_dropdown_white.svg</file>
</qresource> </qresource>
</RCC> </RCC>