ui: styled code view
* updated spacings and colors in QtCodeView and QtCodeFile * using Source Code Pro Regular (had to remove light cut from the Fonts folder because it got always used) * updated syntax highlighted colors to fit design * changed colors of highlights * indent all QtCodeSnippets by maximum line number in QtCodeFile * fixed syntax highlighting to work with sole multiline comment end fortune cookie message = Your present plans are going to succeed.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<TabWidth>4</TabWidth>
|
||||
<FontName>Courier</FontName>
|
||||
<FontSize>12</FontSize>
|
||||
<LinkColor>255 255 0 100</LinkColor>
|
||||
<ActiveLinkColor>0 255 0 100</ActiveLinkColor>
|
||||
<LinkColor>222 222 222 100</LinkColor>
|
||||
<ActiveLinkColor>210 240 70 50</ActiveLinkColor>
|
||||
</code>
|
||||
</config>
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
#code_view #code_file QLabel#title_label {
|
||||
background-color: rgb(220,220,220);
|
||||
border-top-right-radius: 10px;
|
||||
font-family: "Source Code Pro";
|
||||
font-size: 14px;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
|
||||
#code_view #code_file #code_snippet {
|
||||
font-family: "Source Code Pro";
|
||||
font-size: 14px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#code_view #code_file #code_snippet #line_number_area {
|
||||
background-color: white;
|
||||
font-family: "Source Code Pro";
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
QLineEdit#search_box {
|
||||
background: rgb(204, 204, 204);
|
||||
border: 0px;
|
||||
height: 26px;
|
||||
padding: 0 4px;
|
||||
selection-background-color: rgb(51, 51, 51);
|
||||
font-family: "Source Code Pro";
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
QAbstractItemView#search_box_popup {
|
||||
selection-background-color: rgb(51, 51, 51);
|
||||
font-family: "Source Code Pro";
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
QPushButton#search_button {
|
||||
border: 0px;
|
||||
border-image: url(data/gui/search_view/images/button_search.png);
|
||||
height: 26px;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
QPushButton#case_sensitive_button {
|
||||
border-image: url(data/gui/search_view/images/button_case_sensitive_inactive.png);
|
||||
border: 0px;
|
||||
height: 26px;
|
||||
height: 26px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
QPushButton#case_sensitive_button:checked {
|
||||
border-image: url(data/gui/search_view/images/button_case_sensitive_active.png);
|
||||
}
|
||||
Reference in New Issue
Block a user