|
|
@@ -183,6 +183,10 @@ QPushButton {
|
|
|
min-width: 80px;
|
|
|
}
|
|
|
|
|
|
+QPushButton:focus {
|
|
|
+ background-color: @pushbutton_focus_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton:pressed {
|
|
|
background-color: @pushbutton_pressed_bg;
|
|
|
}
|
|
|
@@ -207,6 +211,11 @@ QPushButton:default {
|
|
|
border-color: @pushbutton_default_border;
|
|
|
}
|
|
|
|
|
|
+QPushButton:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton::menu-indicator {
|
|
|
image: url(arrow_dropdown.svg);
|
|
|
width: 16px;
|
|
|
@@ -218,6 +227,10 @@ QPushButton[SpecialBtn="true"] {
|
|
|
background: @pushbutton_specialbtn_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[SpecialBtn="true"]:focus {
|
|
|
+ background-color: @pushbutton_specialbtn_focus_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[SpecialBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_specialbtn_pressed_bg;
|
|
|
}
|
|
|
@@ -234,6 +247,11 @@ QPushButton[SpecialBtn="true"]:hover {
|
|
|
background-color: @pushbutton_specialbtn_hover_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[SpecialBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[CornerBtn="true"] {
|
|
|
padding: 4px -2px 4px -2px;
|
|
|
margin: 0px;
|
|
|
@@ -258,6 +276,11 @@ QPushButton[CornerBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_cornerbtn_pressed_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[CornerBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[StatusBtn="true"] {
|
|
|
font: bold;
|
|
|
padding: 0px 2px 0px 2px;
|
|
|
@@ -279,6 +302,11 @@ QPushButton[StatusBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_statusbtn_pressed_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[StatusBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[FlatBtn="true"] {
|
|
|
padding: 4px;
|
|
|
margin: 0px;
|
|
|
@@ -295,10 +323,15 @@ QPushButton[FlatBtn="true"]:focus {
|
|
|
background-color: @pushbutton_flatbtn_focus_bg;
|
|
|
}
|
|
|
|
|
|
-QPushButton[FlatBtn="true"]:focus {
|
|
|
+QPushButton[FlatBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_flatbtn_pressed_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[FlatBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[SelectionBtn="true"] {
|
|
|
padding: 4px 10px 4px 10px;
|
|
|
border: none;
|
|
|
@@ -316,10 +349,15 @@ QPushButton[SelectionBtn="true"]:focus {
|
|
|
background-color: @pushbutton_selectionbtn_focus_bg;
|
|
|
}
|
|
|
|
|
|
-QPushButton[SelectionBtn="true"]:focus {
|
|
|
+QPushButton[SelectionBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_selectionbtn_pressed_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[SelectionBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[TitleBtn="true"] {
|
|
|
padding: 4px;
|
|
|
margin: 0px;
|
|
|
@@ -336,10 +374,15 @@ QPushButton[TitleBtn="true"]:focus {
|
|
|
background-color: @pushbutton_titlebtn_focus_bg;
|
|
|
}
|
|
|
|
|
|
-QPushButton[TitleBtn="true"]:focus {
|
|
|
+QPushButton[TitleBtn="true"]:pressed {
|
|
|
background-color: @pushbutton_titlebtn_pressed_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[TitleBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
QPushButton[DangerBtn="true"] {
|
|
|
color: @pushbutton_dangerbtn_fg;
|
|
|
border-color: @pushbutton_dangerbtn_border;
|
|
|
@@ -353,6 +396,37 @@ QPushButton[DangerBtn="true"]:hover {
|
|
|
background-color: @pushbutton_dangerbtn_hover_bg;
|
|
|
}
|
|
|
|
|
|
+QPushButton[DangerBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
+QPushButton[ToolBoxActiveBtn="true"] {
|
|
|
+ padding: 4px;
|
|
|
+ margin: 0px;
|
|
|
+ border: none;
|
|
|
+ color: @pushbutton_toolboxbtn_active_fg;
|
|
|
+ background-color: @pushbutton_toolboxbtn_active_bg;
|
|
|
+ min-width: -1;
|
|
|
+}
|
|
|
+
|
|
|
+QPushButton[ToolBoxActiveBtn="true"]:focus {
|
|
|
+ background-color: @pushbutton_toolboxbtn_active_focus_bg;
|
|
|
+}
|
|
|
+
|
|
|
+QPushButton[ToolBoxActiveBtn="true"]:hover {
|
|
|
+ background-color: @pushbutton_toolboxbtn_active_hover_bg;
|
|
|
+}
|
|
|
+
|
|
|
+QPushButton[ToolBoxActiveBtn="true"]:pressed {
|
|
|
+ background-color: @pushbutton_toolboxbtn_active_pressed_bg;
|
|
|
+}
|
|
|
+
|
|
|
+QPushButton[ToolBoxActiveBtn="true"]:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
+
|
|
|
VButtonMenuItem {
|
|
|
padding: 5px;
|
|
|
padding-right: 30px;
|
|
|
@@ -393,6 +467,11 @@ VButtonMenuItem:hover {
|
|
|
VButtonMenuItem:focus {
|
|
|
background-color: @menubar_item_selected_bg;
|
|
|
}
|
|
|
+
|
|
|
+VButtonMenuItem:disabled {
|
|
|
+ color: @pushbutton_disabled_fg;
|
|
|
+ background-color: @pushbutton_disabled_bg;
|
|
|
+}
|
|
|
/* End QPushButton*/
|
|
|
|
|
|
/* QComboBox */
|
|
|
@@ -446,11 +525,26 @@ QComboBox#NotebookSelector {
|
|
|
padding-top: 3px;
|
|
|
padding-bottom: 3px;
|
|
|
icon-size: 30px;
|
|
|
+ color: @combobox_notebookselector_fg;
|
|
|
+ background: @combobox_notebookselector_bg;
|
|
|
+}
|
|
|
+
|
|
|
+QComboBox#NotebookSelector::down-arrow {
|
|
|
+ image: url(arrow_dropdown_white.svg);
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+QComboBox#NotebookSelector:hover {
|
|
|
+ border: none;
|
|
|
+ color: @combobox_notebookselector_hover_fg;
|
|
|
+ background: @combobox_notebookselector_hover_bg;
|
|
|
}
|
|
|
|
|
|
QComboBox#NotebookSelector:focus, QComboBox#NotebookSelector:on {
|
|
|
border: none;
|
|
|
- background: @combobox_bg
|
|
|
+ color: @combobox_notebookselector_focus_fg;
|
|
|
+ background: @combobox_notebookselector_focus_bg;
|
|
|
}
|
|
|
|
|
|
QComboBox#NotebookSelector QListWidget {
|
|
|
@@ -602,16 +696,16 @@ QTabWidget::pane {
|
|
|
QTabBar::tab {
|
|
|
color: @tabbar_fg;
|
|
|
background: @tabbar_bg;
|
|
|
- border: 1px solid @tabbar_border;
|
|
|
- border-bottom: none;
|
|
|
- border-top: none;
|
|
|
+ border: none;
|
|
|
+ border-top: 2px solid transparent;
|
|
|
+ border-right: 1px solid @tabbar_border;
|
|
|
padding: 2px;
|
|
|
}
|
|
|
|
|
|
QTabBar::tab:selected {
|
|
|
color: @tabbar_selected_fg;
|
|
|
background: @tabbar_selected_bg;
|
|
|
- border-top: 3px solid @master_bg;
|
|
|
+ border-top: 2px solid @master_bg;
|
|
|
}
|
|
|
|
|
|
QTabBar::tab:hover {
|
|
|
@@ -1120,3 +1214,7 @@ QHeaderView::up-arrow {
|
|
|
QWidget#FindReplaceTitleWidget {
|
|
|
background: @title_bg;
|
|
|
}
|
|
|
+
|
|
|
+QWidget[ToolBoxTitle="true"] {
|
|
|
+ border-bottom: 2px solid @toolbox_title_border;
|
|
|
+}
|