mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
theme: refine QGroupBox styles
This commit is contained in:
parent
4549919e68
commit
a6e7d9fcac
@ -366,3 +366,7 @@ universalentry_bg=@base_bg
|
||||
universalentry_border_bg=@border_bg
|
||||
|
||||
doublerowitem_second_row_label_fg=#9E9E9E
|
||||
|
||||
; GroupBox.
|
||||
groupbox_border=@border_bg
|
||||
groupbox_title_fg=@base_fg
|
||||
|
@ -1344,3 +1344,19 @@ VUniversalEntry {
|
||||
border: 1px solid @universalentry_border_bg;
|
||||
}
|
||||
/* End QWidget */
|
||||
|
||||
/* QGroupBox */
|
||||
QGroupBox {
|
||||
border: 2px solid @groupbox_border;
|
||||
border-radius: 5px;
|
||||
margin-top: 2ex;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
color: @groupbox_title_fg;
|
||||
subcontrol-origin: margin;
|
||||
subcontrol-position: top left;
|
||||
position: absolute;
|
||||
padding: 0 $3px;
|
||||
top: 0px; left: $10px; bottom: 0px;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ mdhl_file=v_moonlight.mdhl
|
||||
css_file=v_moonlight.css
|
||||
codeblock_css_file=v_moonlight_codeblock.css
|
||||
mermaid_css_file=v_moonlight_mermaid.css
|
||||
version=12
|
||||
version=13
|
||||
|
||||
; This mapping will be used to translate colors when the content of HTML is copied
|
||||
; without background. You could just specify the foreground colors mapping here.
|
||||
@ -365,3 +365,7 @@ universalentry_bg=@base_bg
|
||||
universalentry_border_bg=@border_bg
|
||||
|
||||
doublerowitem_second_row_label_fg=#808080
|
||||
|
||||
; GroupBox.
|
||||
groupbox_border=@border_bg
|
||||
groupbox_title_fg=@base_fg
|
||||
|
@ -1344,3 +1344,19 @@ VUniversalEntry {
|
||||
border: 1px solid @universalentry_border_bg;
|
||||
}
|
||||
/* End QWidget */
|
||||
|
||||
/* QGroupBox */
|
||||
QGroupBox {
|
||||
border: 2px solid @groupbox_border;
|
||||
border-radius: 5px;
|
||||
margin-top: 2ex;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
color: @groupbox_title_fg;
|
||||
subcontrol-origin: margin;
|
||||
subcontrol-position: top left;
|
||||
position: absolute;
|
||||
padding: 0 $3px;
|
||||
top: 0px; left: $10px; bottom: 0px;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ mdhl_file=v_pure.mdhl
|
||||
css_file=v_pure.css
|
||||
codeblock_css_file=v_pure_codeblock.css
|
||||
mermaid_css_file=v_pure_mermaid.css
|
||||
version=11
|
||||
version=12
|
||||
|
||||
[phony]
|
||||
; Abstract color attributes.
|
||||
@ -358,3 +358,7 @@ universalentry_bg=@base_bg
|
||||
universalentry_border_bg=@border_bg
|
||||
|
||||
doublerowitem_second_row_label_fg=#6C6C6C
|
||||
|
||||
; GroupBox.
|
||||
groupbox_border=@border_bg
|
||||
groupbox_title_fg=@base_fg
|
||||
|
@ -1343,3 +1343,19 @@ VUniversalEntry {
|
||||
border: 1px solid @universalentry_border_bg;
|
||||
}
|
||||
/* End QWidget */
|
||||
|
||||
/* QGroupBox */
|
||||
QGroupBox {
|
||||
border: 2px solid @groupbox_border;
|
||||
border-radius: 5px;
|
||||
margin-top: 2ex;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
color: @groupbox_title_fg;
|
||||
subcontrol-origin: margin;
|
||||
subcontrol-position: top left;
|
||||
position: absolute;
|
||||
padding: 0 $3px;
|
||||
top: 0px; left: $10px; bottom: 0px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user