forked from Boria138/PortProtonQt
add checkboxes styles
This commit is contained in:
1
portprotonqt/themes/standart/images/icons/check.svg
Normal file
1
portprotonqt/themes/standart/images/icons/check.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m6.5845 11.474-3.2932-3.2932 0.82331-0.82331 2.4699 2.4699 5.3009-5.3009 0.8233 0.82331z" fill="#fff" stroke-width=".014444"/></svg>
|
After Width: | Height: | Size: 260 B |
@ -567,6 +567,26 @@ SETTINGS_COMBO_STYLE = f"""
|
||||
}}
|
||||
"""
|
||||
|
||||
SETTINGS_CHECKBOX_STYLE = """
|
||||
QCheckBox {
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
QCheckBox::indicator {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.01);
|
||||
border-radius: 10px;
|
||||
background: #282a33;
|
||||
}
|
||||
QCheckBox::indicator:hover {
|
||||
background: #3f424d;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
QCheckBox::indicator:checked {
|
||||
image: url(./themes/standart/images/icons/check.svg);
|
||||
}
|
||||
"""
|
||||
|
||||
# ФУНКЦИЯ ДЛЯ ДИНАМИЧЕСКОГО ГРАДИЕНТА (ДЕТАЛИ ИГР)
|
||||
# Функции из этой темы срабатывает всегда вне зависимости от выбранной темы, функции из других тем работают только в этих темах
|
||||
|
Reference in New Issue
Block a user