ui: styled search view

fortune cookie message = Dein Einsatz wird in Kuerze belohnt werden
This commit is contained in:
Eberhard Graether
2014-12-01 11:27:35 +01:00
parent 63407c2c81
commit 3b7b02ff8c
9 changed files with 213 additions and 122 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

+13 -13
View File
@@ -5,37 +5,37 @@ QPushButton {
height: 20px;
padding-left: 4px;
padding-right: 4px;
border-radius: 2px;
}
#search_element_token {
background-color: rgb(153,22,165);
background-color: #CC8D91;
}
#search_element_token:checked {
background-color: rgb(160,102,165);
#search_element_token:checked, #search_element_token:hover {
background-color: #CC5E69;
}
#search_element_command {
background-color: rgb(172,150,0);
background-color: #FFE47A;
}
#search_element_command:checked {
background-color: rgb(172,163,103);
#search_element_command:checked, #search_element_command:hover {
background-color: #FFCC00;
}
#search_element_operator {
background-color: rgb(27,136,86);
background-color: #FCA47E;
}
#search_element_operator:checked {
background-color: rgb(103,136,121);
#search_element_operator:checked, #search_element_operator:hover {
background-color: #F97A4E;
}
#search_element_none {
background-color: rgb(208,93,24);
background-color: none;
color: #878787;
}
#search_element_none:checked {
background-color: rgb(208,138,96);
#search_element_none:checked, #search_element_none:hover {
color: black;
}
+36 -13
View File
@@ -1,32 +1,55 @@
#search_bar {
background: rgb(255, 255, 255);
background: white;
}
QWidget#search_box_container {
background: #E0E0E0;
border: none;
border-bottom-left-radius: 12px;
border-top-left-radius: 12px;
margin-right: 2px;
}
QLineEdit#search_box {
background: rgb(204, 204, 204);
background: #E0E0E0;
border: none;
font-family: "Source Code Pro";
font-size: 16px;
font-weight: bold;
padding: 0 4px;
height: 26px;
selection-background-color: rgb(51, 51, 51);
height: 24px;
selection-background-color: #B2B2B2;
}
QWidget#search_box_highlight {
background: #B2B2B2;
border: none;
height: 24px;
}
QAbstractItemView#search_box_popup {
background-color: white;
border: none;
font-family: "Source Code Pro";
font-size: 14px;
selection-background-color: rgb(51, 51, 51);
font-size: 14pt;
margin: 8px 0 0;
min-height: 26px;
selection-background-color: #B2B2B2;
}
QPushButton#search_button {
background: #E0E0E0;
border: none;
border-image: url(data/gui/search_view/images/button_search.png);
height: 26px;
width: 26px;
border-bottom-right-radius: 12px;
border-top-right-radius: 12px;
background-position: 15px 5px;
height: 30px;
width: 30px;
}
QPushButton#case_sensitive_button {
#search_button:hover {
background: #B2B2B2;
}
/*QPushButton#case_sensitive_button {
border: none;
border-image: url(data/gui/search_view/images/button_case_sensitive_inactive.png);
height: 26px;
@@ -36,7 +59,7 @@ QPushButton#case_sensitive_button {
QPushButton#case_sensitive_button:checked {
border-image: url(data/gui/search_view/images/button_case_sensitive_active.png);
}
}*/
QToolTip {
background-color: rgb(204, 204, 204);