summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/resources/stylesheet.css
blob: 501e9ab1d5d75e4c454a152e3941db03300686b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
QFrame,
QScrollArea,
QStackedWidget,
QGraphicsView,
QTabWidget,
QTabWidget::pane { /* The tab widget frame */
    border: 0px;
    background-color: creatorTheme.DSpanelBackground;
}

QLabel {
    border: none;
    border-image: none;
    padding: 0;
    background: none;
    color: creatorTheme.DStextColor;
    selection-color: creatorTheme.DStextSelectedTextColor;
    selection-background-color: creatorTheme.DSinteraction;
}

QFrame {
    border: 2px;
}

QTreeView,
QListView {
    color: creatorTheme.DStextColor;
    selection-color: creatorTheme.DStextSelectedTextColor;
    selection-background-color: creatorTheme.DSinteraction;
}

QPushButton {
    color: creatorTheme.DStextColor;
    border: 1px solid creatorTheme.DScontrolOutline;
    background: creatorTheme.DScontrolBackground;
    padding: 4px 2px 4px 2px;
    min-width: 70px;
}

QPushButton:hover {
    background: creatorTheme.DScontrolBackgroundHover;
}

QPushButton:pressed {
    border-color: creatorTheme.DScontrolOutlineInteraction;
    background: creatorTheme.DScontrolBackgroundInteraction;
    color: creatorTheme.DSiconColorInteraction;
}

QCheckBox {
    color: creatorTheme.DStextColor;
}

QComboBox QAbstractItemView {
    show-decoration-selected: 1; /* make the selection span the entire width of the view */
    background-color: creatorTheme.DSpopupBackground; /* sets background of the menu */
    border: 1px solid creatorTheme.DScontrolOutline;
    margin: 0px; /* some spacing around the menu */
    color: creatorTheme.DStextColor;
    selection-color: creatorTheme.DStextSelectedTextColor;
    selection-background-color: creatorTheme.DSinteraction;
}

QTabBar::tab {
    width: 92px;
    height: 22px;

    border-image: none;
    background-color: creatorTheme.DStabInactiveBackground;
    color: creatorTheme.DStabInactiveText;
    margin: 0px;
    font: bold;
    font-size: creatorTheme.captionFontPixelSize;
}

QTabBar::tab:selected {
    border: none; /* no border for a flat push button */
    background-color: creatorTheme.DStabActiveBackground;
    color: creatorTheme.DStabActiveText;
}

QLineEdit {
    color: creatorTheme.DStextColor;
    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;
}