fix: combobox styles for filters #196
No files matched your search
@@ -314,10 +314,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
combobox-popup: 0;
|
||||
}}
|
||||
QComboBox:hover,
|
||||
QComboBox:focus,
|
||||
QComboBox:focus{{
|
||||
background: {color_b};
|
||||
border: {border_b} {color_a};
|
||||
}}
|
||||
QComboBox:on {{
|
||||
background: {color_b};
|
||||
border: {border_b} {color_a};
|
||||
border-bottom-style: none;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}}
|
||||
QComboBox::drop-down {{
|
||||
subcontrol-origin: padding;
|
||||
@@ -343,16 +351,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
outline: none;
|
||||
background: {color_c};
|
||||
border: {border_b} {color_a};
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_l};
|
||||
selection-background-color: {color_a};
|
||||
selection-color: {color_l};
|
||||
border-top-style: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}}
|
||||
QComboBox QAbstractItemView::item {{
|
||||
background: {color_c};
|
||||
color: {color_l};
|
||||
padding: 6px 10px;
|
||||
padding: 3px 3px 3px 6px;
|
||||
margin: 1px;
|
||||
min-height: 24px;
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_l};
|
||||
}}
|
||||
QComboBox QAbstractItemView::item:hover,
|
||||
QComboBox QAbstractItemView::item:selected {{
|
||||
|
||||
@@ -232,8 +232,8 @@ LIBRARY_CONTROLS_BUTTON_STYLE = f"""
|
||||
|
||||
LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
QComboBox {{
|
||||
background: {color_b};
|
||||
border: {border_a};
|
||||
background: {color_d};
|
||||
border: {border_b} {color_h};
|
||||
border-radius: {border_radius_a};
|
||||
padding-left: 12px;
|
||||
height: 30px;
|
||||
@@ -244,11 +244,19 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
combobox-popup: 0;
|
||||
}}
|
||||
QComboBox:hover,
|
||||
QComboBox:focus,
|
||||
QComboBox:on {{
|
||||
background: {color_b};
|
||||
QComboBox:focus {{
|
||||
background: {color_a};
|
||||
border: {border_b} {color_a};
|
||||
}}
|
||||
QComboBox:on {{
|
||||
background: {color_d};
|
||||
border: {border_b} {color_a};
|
||||
border-bottom-style: none;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}}
|
||||
QComboBox::drop-down {{
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
@@ -273,16 +281,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
outline: none;
|
||||
background: {color_c};
|
||||
border: {border_b} {color_a};
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_f};
|
||||
selection-background-color: {color_a};
|
||||
selection-color: {color_f};
|
||||
border-top-style: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}}
|
||||
QComboBox QAbstractItemView::item {{
|
||||
background: {color_c};
|
||||
color: {color_f};
|
||||
padding: 6px 10px;
|
||||
padding: 3px 3px 3px 6px;
|
||||
margin: 1px;
|
||||
min-height: 24px;
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_f};
|
||||
}}
|
||||
QComboBox QAbstractItemView::item:hover,
|
||||
QComboBox QAbstractItemView::item:selected {{
|
||||
|
||||
@@ -831,10 +831,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
combobox-popup: 0;
|
||||
}}
|
||||
QComboBox:hover,
|
||||
QComboBox:focus,
|
||||
QComboBox:focus {{
|
||||
background: {color_b};
|
||||
border: {border_b} {color_a};
|
||||
}}
|
||||
QComboBox:on {{
|
||||
background: {color_b};
|
||||
border: {border_b} {color_a};
|
||||
border-bottom-style: none;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}}
|
||||
QComboBox::drop-down {{
|
||||
subcontrol-origin: padding;
|
||||
@@ -860,16 +868,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
outline: none;
|
||||
background: {color_c};
|
||||
border: {border_b} {color_a};
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_l};
|
||||
selection-background-color: {color_a};
|
||||
selection-color: {color_l};
|
||||
border-top-style: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}}
|
||||
QComboBox QAbstractItemView::item {{
|
||||
background: {color_c};
|
||||
color: {color_l};
|
||||
padding: 6px 10px;
|
||||
padding: 7px 7px 7px 12px;
|
||||
margin: 3px;
|
||||
min-height: 24px;
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_l};
|
||||
}}
|
||||
QComboBox QAbstractItemView::item:hover,
|
||||
QComboBox QAbstractItemView::item:selected {{
|
||||
@@ -1582,7 +1592,6 @@ TOOLTIP_STYLE = f"""
|
||||
QLabel {{
|
||||
background-color: {color_b};
|
||||
border: {border_b} {color_c};
|
||||
border-radius: {border_radius_a};
|
||||
padding: 8px;
|
||||
color: {color_l};
|
||||
font-family: '{font_family}';
|
||||
|
||||
@@ -675,9 +675,8 @@ LINE_EDIT_STYLE = f"""
|
||||
|
||||
TOOLTIP_STYLE = f"""
|
||||
QLabel {{
|
||||
background-color: {color_b};
|
||||
border: {border_b} {color_c};
|
||||
border-radius: {border_radius_a};
|
||||
background: {color_b};
|
||||
border: {border_b} {color_e};
|
||||
padding: 8px;
|
||||
color: {color_f};
|
||||
font-family: '{font_family}';
|
||||
|
||||
@@ -60,11 +60,19 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
combobox-popup: 0;
|
||||
}}
|
||||
QComboBox:hover,
|
||||
QComboBox:focus,
|
||||
QComboBox:on {{
|
||||
QComboBox:focus {{
|
||||
background: rgba(20, 20, 20, 0.40);
|
||||
border: {border_b} {color_a};
|
||||
}}
|
||||
QComboBox:on {{
|
||||
background: {color_b};
|
||||
border: {border_b} {color_a};
|
||||
border-bottom-style: none;
|
||||
border-top-left-radius: 10px;
|
||||
border-top-right-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}}
|
||||
QComboBox::drop-down {{
|
||||
subcontrol-origin: padding;
|
||||
subcontrol-position: center right;
|
||||
@@ -89,16 +97,18 @@ LIBRARY_FILTER_COMBOBOX_STYLE = f"""
|
||||
outline: none;
|
||||
background: {color_c};
|
||||
border: {border_b} {color_a};
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_f};
|
||||
selection-background-color: {color_a};
|
||||
selection-color: {color_f};
|
||||
border-top-style: none;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
}}
|
||||
QComboBox QAbstractItemView::item {{
|
||||
background: {color_c};
|
||||
color: {color_f};
|
||||
padding: 6px 10px;
|
||||
padding: 7px 7px 7px 12px;
|
||||
margin: 3px;
|
||||
min-height: 24px;
|
||||
border-radius: {border_radius_a};
|
||||
color: {color_f};
|
||||
}}
|
||||
QComboBox QAbstractItemView::item:hover,
|
||||
QComboBox QAbstractItemView::item:selected {{
|
||||
|
||||
Reference in new issue
Block a user