update design bl
This commit is contained in:
parent
91fc552a5b
commit
a82fcb39e2
@ -141,7 +141,8 @@ class BluetoothScreen(QWidget):
|
||||
self.list = QListWidget()
|
||||
self.list.setObjectName("BluetoothList")
|
||||
self.list.setSpacing(8)
|
||||
self.list.setSelectionMode(QListWidget.NoSelection) # убираем выделение, т.к. карточки кликабельны
|
||||
self.list.setSelectionMode(QListWidget.NoSelection)
|
||||
self.list.setFocusPolicy(Qt.NoFocus)
|
||||
|
||||
QScroller.scroller(self.list.viewport()).grabGesture(
|
||||
self.list.viewport(),
|
||||
|
||||
@ -138,14 +138,18 @@ QScrollArea > QWidget > QWidget { background: transparent; }
|
||||
border: 1px solid #E5E7EB;
|
||||
border-radius: 12px;
|
||||
padding: 6px;
|
||||
outline: 0;
|
||||
}
|
||||
#BluetoothList::item {
|
||||
padding: 0;
|
||||
border-radius: 10px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
}
|
||||
#BluetoothList::item:hover { background: transparent; }
|
||||
#BluetoothList::item:selected { background: transparent; }
|
||||
#BluetoothList::item:hover { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothList::item:selected { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothList::item:focus { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothDeviceCard {
|
||||
background: #FFFFFF;
|
||||
border-radius: 14px;
|
||||
|
||||
@ -128,14 +128,18 @@ QScrollArea > QWidget > QWidget { background: transparent; }
|
||||
border: 1px solid #1B2330;
|
||||
border-radius: 12px;
|
||||
padding: 6px;
|
||||
outline: 0;
|
||||
}
|
||||
#BluetoothList::item {
|
||||
padding: 0;
|
||||
border-radius: 10px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
}
|
||||
#BluetoothList::item:hover { background: transparent; }
|
||||
#BluetoothList::item:selected { background: transparent; }
|
||||
#BluetoothList::item:hover { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothList::item:selected { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothList::item:focus { background: transparent; border: 0; outline: 0; }
|
||||
#BluetoothDeviceCard {
|
||||
background: #141A22;
|
||||
border-radius: 14px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user