mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Some style sheet adjustment, normalized context menu
(still some details to solve)
This commit is contained in:
@@ -81,11 +81,7 @@ BlackGui--CDockWidgetInfoArea[framelessDockWidget="true"] > QWidget > QFrame[doc
|
||||
}
|
||||
|
||||
BlackGui--CDockWidgetInfoArea[framelessDockWidget="false"] > QWidget > QFrame[dockwidget="innerwidget"] {
|
||||
|
||||
}
|
||||
|
||||
BlackGui--CDockWidgetInfoArea > QMenu > QMenuWidget {
|
||||
border: 0px; /* reserve space for selection border */
|
||||
/* void */
|
||||
}
|
||||
|
||||
/* required when info area is not floating */
|
||||
@@ -322,7 +318,7 @@ QMenuBar {
|
||||
background-image: url(:/textures/icons/textures/texture-outer.jpg);
|
||||
background-color: darkslategray;
|
||||
padding: 5px 0px 0px 10px;
|
||||
margin: 0px 0px 20px 0px; /* removes overlapping bar in frameless mode, why bottom margin helps here, no idea, bug? */
|
||||
margin: 0px 0px 30px 0px; /* removes overlapping bar in frameless mode, why bottom margin helps here, no idea, bug? */
|
||||
}
|
||||
|
||||
QMenuBar::item {
|
||||
@@ -340,17 +336,31 @@ QMenuBar::item:pressed {
|
||||
background: black;
|
||||
}
|
||||
|
||||
BlackGui--CDockWidgetInfoArea > QMenu > QMenuWidget {
|
||||
border: 0px; /* reserve space for selection border */
|
||||
}
|
||||
|
||||
/* reset menu style */
|
||||
QMenu {
|
||||
border: 2px solid darkslategray; /* reserve space for selection border */
|
||||
background: lightgray;
|
||||
color: black;
|
||||
padding: 3px;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
QMenu::item {
|
||||
padding: 4px 25px 4px 20px;
|
||||
}
|
||||
|
||||
/* fix margin style */
|
||||
QMenu > QFrame {
|
||||
color: black;
|
||||
}
|
||||
|
||||
BlackGui--Components--CMarginsInput {
|
||||
color: black;
|
||||
}
|
||||
|
||||
QScrollArea {
|
||||
border: 1px solid green;
|
||||
border-radius: 5px;
|
||||
|
||||
Reference in New Issue
Block a user