forked from qt-creator/qt-creator
QmlDesigner: Replace CSS color role
* Replace color role in CSS * Add hover and focus state in CSS * Fix hex color value in creator themes Change-Id: I59626f369e2c02089f22bd51557d8226e2dc3631 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
d41d59774a
commit
f0983a08c9
@@ -96,7 +96,7 @@ DSdockWidgetSplitter=ff595959
|
||||
DSdockWidgetTitleBar=ffeaeaea
|
||||
|
||||
DStitleBarText=ffdadada
|
||||
DStitleBarIcon=f4f5052
|
||||
DStitleBarIcon=ff4f5052
|
||||
DStitleBarButtonHover=40ffffff
|
||||
DStitleBarButtonPress=60ffffff
|
||||
|
||||
|
@@ -110,7 +110,7 @@ DSdockWidgetSplitter=ff595959
|
||||
DSdockWidgetTitleBar=ffeaeaea
|
||||
|
||||
DStitleBarText=ffdadada
|
||||
DStitleBarIcon=f4f5052
|
||||
DStitleBarIcon=ff4f5052
|
||||
DStitleBarButtonHover=40ffffff
|
||||
DStitleBarButtonPress=60ffffff
|
||||
|
||||
|
@@ -105,7 +105,7 @@ DSdockWidgetSplitter=ff595959
|
||||
DSdockWidgetTitleBar=ffeaeaea
|
||||
|
||||
DStitleBarText=ffdadada
|
||||
DStitleBarIcon=f4f5052
|
||||
DStitleBarIcon=ff4f5052
|
||||
DStitleBarButtonHover=40ffffff
|
||||
DStitleBarButtonPress=60ffffff
|
||||
|
||||
|
@@ -81,7 +81,17 @@ QTabBar::tab:selected {
|
||||
|
||||
QLineEdit {
|
||||
color: creatorTheme.DStextColor;
|
||||
background-color: creatorTheme.DSdockAreaBackground;
|
||||
background-color: creatorTheme.DScontrolBackground;
|
||||
border: 1px solid creatorTheme.DScontrolOutline;
|
||||
selection-color: creatorTheme.DStextSelectedTextColor;
|
||||
selection-background-color: creatorTheme.DStextSelectionColor;
|
||||
}
|
||||
|
||||
QLineEdit:hover {
|
||||
background-color: creatorTheme.DScontrolBackgroundHover;
|
||||
}
|
||||
|
||||
QLineEdit:focus {
|
||||
background-color: creatorTheme.DScontrolBackgroundInteraction;
|
||||
border-color: creatorTheme.DScontrolOutlineInteraction;
|
||||
}
|
||||
|
Reference in New Issue
Block a user