ui: color schemes
Put all colors into single xml file. Accessing colors is handled via the singleton class ColorScheme. The default scheme "bright.xml" holds the original colors. The scheme "dark.xml" is a start, but still a poor alternative. Color schemes can be switched via the View menu.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<application>
|
||||
<font_name><!-- STRING: font name --></font_name>
|
||||
<font_size><!-- INTEGER: font size in pt --></font_size>
|
||||
<color_scheme><!-- STRING: color scheme path --></color_scheme>
|
||||
</application>
|
||||
|
||||
<code>
|
||||
@@ -39,81 +40,4 @@
|
||||
<expand_range><!-- INTEGER: amount of lines that the snippet range (not snapped) will be extended --></expand_range>
|
||||
</snippet>
|
||||
</code>
|
||||
|
||||
<colors>
|
||||
<!-- QueryNodeType -->
|
||||
<command>
|
||||
<normal>#8FBC92</normal>
|
||||
<hover>#5EA071</hover>
|
||||
</command>
|
||||
<operator>
|
||||
<normal>#FCA47E</normal>
|
||||
<hover>#F97A4E</hover>
|
||||
</operator>
|
||||
<!-- NodeType -->
|
||||
<class>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</class>
|
||||
<struct>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</struct>
|
||||
<enum>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</enum>
|
||||
<function>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</function>
|
||||
<method>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</method>
|
||||
<field>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</field>
|
||||
<global>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</global>
|
||||
<undefined>
|
||||
<normal>#00000000</normal>
|
||||
<hover>#00000000</hover>
|
||||
</undefined>
|
||||
<undefined_variable>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</undefined_variable>
|
||||
<undefined_function>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</undefined_function>
|
||||
<undefined_type>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</undefined_type>
|
||||
<namespace>
|
||||
<normal>#00000000</normal>
|
||||
<hover>#00000000</hover>
|
||||
</namespace>
|
||||
<typedef>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</typedef>
|
||||
<enum_constant>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</enum_constant>
|
||||
<template_parameter_type>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</template_parameter_type>
|
||||
<file>
|
||||
<normal>#88BAB3</normal>
|
||||
<hover>#6AA39B</hover>
|
||||
</file>
|
||||
</colors>
|
||||
</config>
|
||||
|
||||
@@ -0,0 +1,248 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<config>
|
||||
<search>
|
||||
<background>white</background>
|
||||
|
||||
<button>
|
||||
<normal>#E0E0E0</normal>
|
||||
<hover>#B2B2B2</hover>
|
||||
<press>#626262</press>
|
||||
<disabled>#F4F4F4</disabled>
|
||||
</button>
|
||||
|
||||
<field>
|
||||
<text>black</text>
|
||||
<background>#E0E0E0</background>
|
||||
<highlight>#B2B2B2</highlight>
|
||||
</field>
|
||||
|
||||
<popup>
|
||||
<text>black</text>
|
||||
<by_text>#A0A0A0</by_text>
|
||||
<background>white</background>
|
||||
<highlight>#B2B2B2</highlight>
|
||||
</popup>
|
||||
|
||||
<query>
|
||||
<none>
|
||||
<normal>white</normal>
|
||||
<hover>#F5F5F5</hover>
|
||||
</none>
|
||||
<command>
|
||||
<normal>#8FBC92</normal>
|
||||
<hover>#5EA071</hover>
|
||||
</command>
|
||||
<operator>
|
||||
<normal>#FCA47E</normal>
|
||||
<hover>#F97A4E</hover>
|
||||
</operator>
|
||||
</query>
|
||||
</search>
|
||||
|
||||
<code>
|
||||
<background>white</background>
|
||||
|
||||
<file>
|
||||
<background>#E0E0E0</background>
|
||||
|
||||
<title>
|
||||
<text>black</text>
|
||||
<normal>#E0E0E0</normal>
|
||||
<hover>#B2B2B2</hover>
|
||||
<press>#626262</press>
|
||||
</title>
|
||||
</file>
|
||||
|
||||
<snippet>
|
||||
<background>transparent</background>
|
||||
|
||||
<title>
|
||||
<text>#A0A0A0</text>
|
||||
<background>transparent</background>
|
||||
<hover>#F5F5F5</hover>
|
||||
</title>
|
||||
|
||||
<line_number>
|
||||
<text>black</text>
|
||||
<background>transparent</background>
|
||||
</line_number>
|
||||
|
||||
<syntax>
|
||||
<normal>black</normal>
|
||||
<directive>#1B8856</directive>
|
||||
<keyword>#1B8856</keyword>
|
||||
<type>#C1492D</type>
|
||||
<comment>#A0A0A4</comment>
|
||||
<number>#C1315E</number>
|
||||
<quotation>#865F9E</quotation>
|
||||
<function>#CC9533</function>
|
||||
</syntax>
|
||||
|
||||
<highlight>
|
||||
<location>
|
||||
<normal>#90EBEBEB</normal>
|
||||
<hover>#90B6D1DD</hover>
|
||||
</location>
|
||||
<scope>
|
||||
<normal>#60E4EEF2</normal>
|
||||
<hover>#90E4EEF2</hover>
|
||||
</scope>
|
||||
<error>
|
||||
<normal>#80FF0000</normal>
|
||||
<hover>#FFFF0000</hover>
|
||||
</error>
|
||||
</highlight>
|
||||
</snippet>
|
||||
</code>
|
||||
|
||||
<graph>
|
||||
<text>black</text>
|
||||
<background>white</background>
|
||||
<border>#3C3C3C</border>
|
||||
|
||||
<node>
|
||||
<class>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</class>
|
||||
<struct>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</struct>
|
||||
<enum>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</enum>
|
||||
<undefined_type>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</undefined_type>
|
||||
<typedef>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</typedef>
|
||||
<template_parameter_type>
|
||||
<normal>#ededed</normal>
|
||||
<hover>#ededed</hover>
|
||||
</template_parameter_type>
|
||||
|
||||
<function>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</function>
|
||||
<method>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</method>
|
||||
<undefined_function>
|
||||
<normal>#F4D07D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</undefined_function>
|
||||
|
||||
<field>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</field>
|
||||
<global>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</global>
|
||||
<undefined_variable>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</undefined_variable>
|
||||
<enum_constant>
|
||||
<normal>#7BB5D4</normal>
|
||||
<hover>#42A1D4</hover>
|
||||
</enum_constant>
|
||||
|
||||
<undefined>
|
||||
<normal>#CC8D91</normal>
|
||||
<hover>#CC8D91</hover>
|
||||
</undefined>
|
||||
<namespace>
|
||||
<normal>#CC8D91</normal>
|
||||
<hover>#CC8D91</hover>
|
||||
</namespace>
|
||||
|
||||
<file>
|
||||
<normal>#88BAB3</normal>
|
||||
<hover>#6AA39B</hover>
|
||||
</file>
|
||||
</node>
|
||||
<edge>
|
||||
<type_use>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</type_use>
|
||||
<return_type>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</return_type>
|
||||
<parameter_type>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</parameter_type>
|
||||
<type_usage>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</type_usage>
|
||||
<inheritance>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</inheritance>
|
||||
<typedef>
|
||||
<normal>#878787</normal>
|
||||
<hover>#878787</hover>
|
||||
</typedef>
|
||||
|
||||
<override>
|
||||
<normal>#CC5E89</normal>
|
||||
<hover>#CC5E89</hover>
|
||||
</override>
|
||||
|
||||
<call>
|
||||
<normal>#F4BC3D</normal>
|
||||
<hover>#F4BC3D</hover>
|
||||
</call>
|
||||
|
||||
<usage>
|
||||
<normal>#3190BA</normal>
|
||||
<hover>#3190BA</hover>
|
||||
</usage>
|
||||
|
||||
<template_parameter>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_parameter>
|
||||
<template_argument>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_argument>
|
||||
<template_default_argument>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_default_argument>
|
||||
<template_specialization>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_specialization>
|
||||
|
||||
<include>
|
||||
<normal>#5DA399</normal>
|
||||
<hover>#5DA399</hover>
|
||||
</include>
|
||||
|
||||
<aggregation>
|
||||
<normal>#EEE</normal>
|
||||
<hover>#DDD</hover>
|
||||
</aggregation>
|
||||
</edge>
|
||||
</graph>
|
||||
|
||||
<tool_tip>
|
||||
<text>black</text>
|
||||
<background>#E0E0E0</background>
|
||||
</tool_tip>
|
||||
</config>
|
||||
@@ -0,0 +1,248 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<config>
|
||||
<search>
|
||||
<background>#272728</background>
|
||||
|
||||
<button>
|
||||
<normal>#777777</normal>
|
||||
<hover>#555555</hover>
|
||||
<press>#444444</press>
|
||||
<disabled>#333333</disabled>
|
||||
</button>
|
||||
|
||||
<field>
|
||||
<text>#F7F7F7</text>
|
||||
<background>#777777</background>
|
||||
<highlight>#555555</highlight>
|
||||
</field>
|
||||
|
||||
<popup>
|
||||
<text>#F7F7F7</text>
|
||||
<by_text>#A0A0A0</by_text>
|
||||
<background>#272728</background>
|
||||
<highlight>#555555</highlight>
|
||||
</popup>
|
||||
|
||||
<query>
|
||||
<none>
|
||||
<normal>#2F2F2F</normal>
|
||||
<hover>black</hover>
|
||||
</none>
|
||||
<command>
|
||||
<normal>#406D4D</normal>
|
||||
<hover>#4E855E</hover>
|
||||
</command>
|
||||
<operator>
|
||||
<normal>#7D2724</normal>
|
||||
<hover>#8C2B29</hover>
|
||||
</operator>
|
||||
</query>
|
||||
</search>
|
||||
|
||||
<code>
|
||||
<background>#272728</background>
|
||||
|
||||
<file>
|
||||
<background>#777777</background>
|
||||
|
||||
<title>
|
||||
<text>#F7F7F7</text>
|
||||
<normal>#777777</normal>
|
||||
<hover>#555555</hover>
|
||||
<press>#444444</press>
|
||||
</title>
|
||||
</file>
|
||||
|
||||
<snippet>
|
||||
<background>transparent</background>
|
||||
|
||||
<title>
|
||||
<text>#A0A0A0</text>
|
||||
<background>transparent</background>
|
||||
<hover>#2F2F2F</hover>
|
||||
</title>
|
||||
|
||||
<line_number>
|
||||
<text>#F7F7F7</text>
|
||||
<background>transparent</background>
|
||||
</line_number>
|
||||
|
||||
<syntax>
|
||||
<normal>#F7F7F7</normal>
|
||||
<directive>#1F9C62</directive>
|
||||
<keyword>#1F9C62</keyword>
|
||||
<type>#D95233</type>
|
||||
<comment>#A0A0A4</comment>
|
||||
<number>#CC3463</number>
|
||||
<quotation>#9368AD</quotation>
|
||||
<function>#D69C36</function>
|
||||
</syntax>
|
||||
|
||||
<highlight>
|
||||
<location>
|
||||
<normal>#20EBEBEB</normal>
|
||||
<hover>#40B6D1DD</hover>
|
||||
</location>
|
||||
<scope>
|
||||
<normal>#10E4EEF2</normal>
|
||||
<hover>#18E4EEF2</hover>
|
||||
</scope>
|
||||
<error>
|
||||
<normal>#A0FF0000</normal>
|
||||
<hover>#FFFF0000</hover>
|
||||
</error>
|
||||
</highlight>
|
||||
</snippet>
|
||||
</code>
|
||||
|
||||
<graph>
|
||||
<text>#F7F7F7</text>
|
||||
<border>#C3C3C3</border>
|
||||
<background>#272728</background>
|
||||
|
||||
<node>
|
||||
<class>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</class>
|
||||
<struct>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</struct>
|
||||
<enum>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</enum>
|
||||
<undefined_type>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</undefined_type>
|
||||
<typedef>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</typedef>
|
||||
<template_parameter_type>
|
||||
<normal>#4D4D4D</normal>
|
||||
<hover>#4D4D4D</hover>
|
||||
</template_parameter_type>
|
||||
|
||||
<function>
|
||||
<normal>#7A681F</normal>
|
||||
<hover>#9C8528</hover>
|
||||
</function>
|
||||
<method>
|
||||
<normal>#7A681F</normal>
|
||||
<hover>#9C8528</hover>
|
||||
</method>
|
||||
<undefined_function>
|
||||
<normal>#7A681F</normal>
|
||||
<hover>#9C8528</hover>
|
||||
</undefined_function>
|
||||
|
||||
<field>
|
||||
<normal>#21516B</normal>
|
||||
<hover>#2A6484</hover>
|
||||
</field>
|
||||
<global>
|
||||
<normal>#21516B</normal>
|
||||
<hover>#2A6484</hover>
|
||||
</global>
|
||||
<undefined_variable>
|
||||
<normal>#21516B</normal>
|
||||
<hover>#2A6484</hover>
|
||||
</undefined_variable>
|
||||
<enum_constant>
|
||||
<normal>#21516B</normal>
|
||||
<hover>#2A6484</hover>
|
||||
</enum_constant>
|
||||
|
||||
<undefined>
|
||||
<normal>#78282D</normal>
|
||||
<hover>#78282D</hover>
|
||||
</undefined>
|
||||
<namespace>
|
||||
<normal>#78282D</normal>
|
||||
<hover>#78282D</hover>
|
||||
</namespace>
|
||||
|
||||
<file>
|
||||
<normal>#1B564E</normal>
|
||||
<hover>#247368</hover>
|
||||
</file>
|
||||
</node>
|
||||
<edge>
|
||||
<type_use>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</type_use>
|
||||
<return_type>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</return_type>
|
||||
<parameter_type>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</parameter_type>
|
||||
<type_usage>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</type_usage>
|
||||
<inheritance>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</inheritance>
|
||||
<typedef>
|
||||
<normal>#797979</normal>
|
||||
<hover>#797979</hover>
|
||||
</typedef>
|
||||
|
||||
<override>
|
||||
<normal>#CC5E89</normal>
|
||||
<hover>#CC5E89</hover>
|
||||
</override>
|
||||
|
||||
<call>
|
||||
<normal>#9C8528</normal>
|
||||
<hover>#9C8528</hover>
|
||||
</call>
|
||||
|
||||
<usage>
|
||||
<normal>#2A6484</normal>
|
||||
<hover>#2A6484</hover>
|
||||
</usage>
|
||||
|
||||
<template_parameter>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_parameter>
|
||||
<template_argument>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_argument>
|
||||
<template_default_argument>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_default_argument>
|
||||
<template_specialization>
|
||||
<normal>#C1305D</normal>
|
||||
<hover>#C1305D</hover>
|
||||
</template_specialization>
|
||||
|
||||
<include>
|
||||
<normal>#247368</normal>
|
||||
<hover>#247368</hover>
|
||||
</include>
|
||||
|
||||
<aggregation>
|
||||
<normal>#5D5D5D</normal>
|
||||
<hover>#6D6D6D</hover>
|
||||
</aggregation>
|
||||
</edge>
|
||||
</graph>
|
||||
|
||||
<tool_tip>
|
||||
<text>#F7F7F7</text>
|
||||
<background>#777777</background>
|
||||
</tool_tip>
|
||||
</config>
|
||||
@@ -1,40 +1,48 @@
|
||||
#code_file_list {
|
||||
background-color: white;
|
||||
#code_file_list_base, #code_file_list {
|
||||
background-color: <color:code/background>;
|
||||
}
|
||||
|
||||
* {
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
#code_file {
|
||||
background-color: white;
|
||||
border: 2px solid #E0E0E0;
|
||||
background-color: <color:code/snippet/background>;
|
||||
border: 2px solid <color:code/file/background>;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
#code_file #title_widget {
|
||||
background-color: #E0E0E0;
|
||||
background-color: <color:code/file/background>;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
margin-bottom: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#code_file #title_label {
|
||||
background: none;
|
||||
background-color: <color:code/file/title/normal>;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
color: <color:code/file/title/text>;
|
||||
padding: 2px 4px;
|
||||
margin: 1px 8px 3px;
|
||||
}
|
||||
|
||||
#code_file #title_label:hover {
|
||||
background-color: #D0D0D0;
|
||||
background-color: <color:code/file/title/hover>;
|
||||
}
|
||||
|
||||
#code_file #title_label:disabled {
|
||||
color: black;
|
||||
#code_file #title_label:pressed {
|
||||
background-color: <color:code/file/title/press>;
|
||||
}
|
||||
|
||||
#code_file #code_snippet{
|
||||
border-top: 2px solid #E0E0E0;
|
||||
padding-top: 2px;
|
||||
#code_file #code_snippet {
|
||||
background-color: <color:code/snippet/background>;
|
||||
border-top: 2px solid <color:code/file/background>;
|
||||
}
|
||||
|
||||
#code_file #code_snippet * {
|
||||
font-family: "<setting:font_name>";
|
||||
}
|
||||
|
||||
#code_file #code_snippet[isFirst=true] {
|
||||
@@ -42,23 +50,45 @@
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
#code_file #code_snippet[isLast=true] {
|
||||
border-bottom-left-radius: 12px;
|
||||
border-bottom-right-radius: 12px;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #scope_name, #code_file #code_snippet #dots {
|
||||
background: none;
|
||||
color: gray;
|
||||
background-color: <color:code/snippet/title/background>;
|
||||
color: <color:code/snippet/title/text>;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #scope_name:hover {
|
||||
background-color: <color:code/snippet/title/hover>;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #dots {
|
||||
background-color: <color:code/snippet/line_number/background>;
|
||||
padding-right: 13px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #scope_name {
|
||||
padding-left: 4px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#code_file #code_snippet #line_number_area {
|
||||
background-color: <color:code/snippet/line_number/background>;
|
||||
border: none;
|
||||
color: <color:code/snippet/line_number/text>;
|
||||
}
|
||||
|
||||
#code_file #code_snippet[isLast=true] #line_number_area {
|
||||
border-bottom-left-radius: 12px;
|
||||
}
|
||||
|
||||
#code_area {
|
||||
background-color: transparent;
|
||||
color: <color:code/snippet/syntax/normal>;
|
||||
}
|
||||
|
||||
#code_file #maximize_button, #code_file #snippet_button, #code_file #minimize_button {
|
||||
@@ -92,7 +122,7 @@
|
||||
}
|
||||
|
||||
QToolTip {
|
||||
background-color: rgb(204, 204, 204);
|
||||
border: 1px solid rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: <color:tool_tip/background>;
|
||||
color: <color:tool_tip/text>;
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
#refresh_bar {
|
||||
background: white;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background: #E0E0E0;
|
||||
background: <color:search/button/normal>;
|
||||
border: none;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
QPushButton:hover, QPushButton:checked {
|
||||
background: #B2B2B2;
|
||||
background: <color:search/button/hover>;
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background: #626262;
|
||||
background: <color:search/button/press>;
|
||||
}
|
||||
|
||||
#refresh_button {
|
||||
@@ -29,7 +29,7 @@ QPushButton:pressed {
|
||||
}
|
||||
|
||||
QToolTip {
|
||||
background-color: rgb(204, 204, 204);
|
||||
border: 1px solid rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: <color:tool_tip/background>;
|
||||
color: <color:tool_tip/text>;
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
* {
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
#search_box, #search_box * {
|
||||
font-family: "<setting:font_name>";
|
||||
font-size: <setting:font_size+2>pt;
|
||||
}
|
||||
|
||||
#search_bar {
|
||||
background: white;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
QWidget#search_box_container {
|
||||
background: #E0E0E0;
|
||||
background: <color:search/field/background>;
|
||||
border: none;
|
||||
border-bottom-left-radius: 12px;
|
||||
border-top-left-radius: 12px;
|
||||
@@ -11,26 +20,29 @@ QWidget#search_box_container {
|
||||
}
|
||||
|
||||
QLineEdit#search_box {
|
||||
background: #E0E0E0;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
selection-background-color: #B2B2B2;
|
||||
color: <color:search/field/text>;
|
||||
selection-background-color: <color:search/field/highlight>;
|
||||
}
|
||||
|
||||
QWidget#search_box_highlight {
|
||||
background: #B2B2B2;
|
||||
background-color: <color:search/field/highlight>;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QAbstractItemView#search_box_popup {
|
||||
background-color: white;
|
||||
background-color: <color:search/popup/background>;
|
||||
border: none;
|
||||
color: <color:search/popup/text>;
|
||||
font-family: "<setting:font_name>";
|
||||
margin: 8px 0 0;
|
||||
min-height: 26px;
|
||||
selection-background-color: #B2B2B2;
|
||||
selection-background-color: <color:search/popup/highlight>;
|
||||
}
|
||||
|
||||
QPushButton#search_button {
|
||||
background: #E0E0E0;
|
||||
background: <color:search/button/normal>;
|
||||
border: none;
|
||||
border-bottom-right-radius: 12px;
|
||||
border-top-right-radius: 12px;
|
||||
@@ -39,15 +51,15 @@ QPushButton#search_button {
|
||||
}
|
||||
|
||||
#search_button:hover {
|
||||
background: #B2B2B2;
|
||||
background: <color:search/button/hover>;
|
||||
}
|
||||
|
||||
#search_button:pressed {
|
||||
background: #626262;
|
||||
background: <color:search/button/press>;
|
||||
}
|
||||
|
||||
QToolTip {
|
||||
background-color: rgb(204, 204, 204);
|
||||
border: 1px solid rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: <color:tool_tip/background>;
|
||||
color: <color:tool_tip/text>;
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#undo_redo_bar {
|
||||
background: white;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background: #E0E0E0;
|
||||
background: <color:search/button/normal>;
|
||||
border: none;
|
||||
background-position: 15px 5px;
|
||||
height: 30px;
|
||||
@@ -22,19 +22,19 @@ QPushButton {
|
||||
}
|
||||
|
||||
QPushButton:disabled {
|
||||
background: #F4F4F4;
|
||||
background: <color:search/button/disabled>;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background: #B2B2B2;
|
||||
background: <color:search/button/hover>;
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
background: #626262;
|
||||
background: <color:search/button/press>;
|
||||
}
|
||||
|
||||
QToolTip {
|
||||
background-color: rgb(204, 204, 204);
|
||||
border: 1px solid rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: <color:tool_tip/background>;
|
||||
color: <color:tool_tip/text>;
|
||||
font-size: <setting:font_size>pt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user