aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/resources
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-27 14:39:36 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2016-07-28 09:36:34 +0000
commit876ec5996ce16e58702d1d0ff3f0285aad54e78b (patch)
tree86a0f1410fe945b97fa4178cb3622020c0ebe93b /src/plugins/qmldesigner/components/resources
parent8c42cd9e23ee3be7d757960be95678f9743a5ed7 (diff)
QmlDesigner.FormEditor: Adjust CSS for LineEdit
Change-Id: I7d4fbb3c16747f6d2b290db18b7c48b63a23bdd3 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/resources')
-rw-r--r--src/plugins/qmldesigner/components/resources/formeditorstylesheet.css9
-rw-r--r--src/plugins/qmldesigner/components/resources/stylesheet.css8
2 files changed, 9 insertions, 8 deletions
diff --git a/src/plugins/qmldesigner/components/resources/formeditorstylesheet.css b/src/plugins/qmldesigner/components/resources/formeditorstylesheet.css
index f11a2a42d4c..1ab3cf047f3 100644
--- a/src/plugins/qmldesigner/components/resources/formeditorstylesheet.css
+++ b/src/plugins/qmldesigner/components/resources/formeditorstylesheet.css
@@ -14,3 +14,12 @@ QGraphicsView:focus {
background-color: creatorTheme.QmlDesignerBackgroundColorDarkAlternate;
}
+QLineEdit
+{
+ color: creatorTheme.PanelTextColorLight;
+ border: 1px solid creatorTheme.QmlDesignerBackgroundColorDarker;
+ padding: 2px 8px;
+ margin: 2px;
+ background-color: creatorTheme.FancyToolButtonSelectedColor;
+ selection-background-color: darkgray;
+}
diff --git a/src/plugins/qmldesigner/components/resources/stylesheet.css b/src/plugins/qmldesigner/components/resources/stylesheet.css
index 15de3f502fd..126ac51b29e 100644
--- a/src/plugins/qmldesigner/components/resources/stylesheet.css
+++ b/src/plugins/qmldesigner/components/resources/stylesheet.css
@@ -37,14 +37,6 @@ QTabWidget::pane { /* The tab widget frame */
background-color: creatorTheme.QmlDesignerBackgroundColorDarkAlternate;
}
-QLineEdit
-{
- border: 2px solid #8F8F8F;
- padding: 0 8px;
- background-color: white;
- selection-background-color: darkgray;
-}
-
QLineEdit#itemLibrarySearchInput
{
color: creatorTheme.PanelTextColorLight;