v_pure: style QProgressBar

This commit is contained in:
Le Tan 2017-12-15 20:06:39 +08:00
parent 24f6204fe3
commit 0947687ba7
2 changed files with 21 additions and 2 deletions

View File

@ -11,6 +11,7 @@ codeblock_css_file=v_pure_codeblock.css
; Abstract color attributes.
master_fg=#F5F5F5
master_bg=#00897B
master_light_bg=#80CBC4
master_focus_bg=#009688
master_hover_bg=#009688
master_pressed_bg=#00796B
@ -56,7 +57,7 @@ edit_bg=#F5F5F5
edit_focus_bg=#E0F2F1
edit_focus_border=@master_bg
edit_selection_fg=@edit_fg
edit_selection_bg=#80CBC4
edit_selection_bg=@master_light_bg
icon_fg=#222222
@ -96,7 +97,7 @@ vim_indicator_cmd_edit_pending_bg=@selected_bg
tab_indicator_label_fg=@base_fg
; Html template.
template_title_flash_light_fg=#80CBC4
template_title_flash_light_fg=@master_light_bg
template_title_flash_dark_fg=@master_bg
[widgets]
@ -331,3 +332,8 @@ headerview_fg=@base_fg
headerview_border=@border_bg
headerview_checked_fg=@selected_fg
headerview_checked_bg=@selected_bg
; ProgressBar.
progressbar_bg=@edit_bg
progressbar_border_bg=@border_bg
progressbar_chunk_bg=@master_light_bg

View File

@ -1260,3 +1260,16 @@ QAbstractScrollArea::corner {
background: @scrollbar_bg;
border: none;
}
/* QProgressBar */
QProgressBar {
background: @progressbar_bg;
border: 1px solid @progressbar_border_bg;
text-align: center;
}
QProgressBar::chunk {
background-color: @progressbar_chunk_bg;
width: 20px;
}
/* End QProgressBar */