File: qt-style.css

package info (click to toggle)
goldendict 1.5.0~rc2%2Bgit20181207%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,496 kB
  • sloc: cpp: 58,990; ansic: 11,311; xml: 488; makefile: 77; sh: 42
file content (155 lines) | stat: -rw-r--r-- 3,675 bytes parent folder | download | duplicates (4)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
MainWindow #translateLine, ScanPopup #translateLine, MainWindow #wordList, MainWindow #dictsPane #dictsList, MainWindow #historyPane #historyList, MainWindow #favoritesPane #favoritesTree
{
  background: #fefdeb;
  color: black;
}

MainWindow #translateLine[noResults="true"],
ScanPopup #translateLine[noResults="true"]
{
  background: #febb7d;
}

#navToolbar #menuButton::menu-indicator {
  image: none;
}

#navToolbar #translateLine
{
  border: 1px solid gray;
  border-radius: 3px;
  padding: 1px 3px 2px 3px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  margin-left: 0px;
}

#navToolbar GroupComboBox
{
  margin-right: 0px;
  border: 1px solid gray;
  border-right: 1px transparent;
  border-radius: 3px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 2px 4px 2px 4px;
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                              stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
                              stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
}

#navToolbar GroupComboBox:on {
  padding: 3px 3px 1px 5px;
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                              stop: 0 #D3D3D3, stop: 0.4 #D8D8D8,
                              stop: 0.5 #DDDDDD, stop: 1.0 #E1E1E1);
}

#navToolbar GroupComboBox::drop-down {
   subcontrol-origin: padding;
   subcontrol-position: top right;
   width: 15px;
   border-left: 1px solid darkgray;
   border-right: 1px transparent;
}

#navToolbar GroupComboBox::down-arrow {
   image: url(:/icons/1downarrow.png);
}

#navToolbar GroupComboBox::down-arrow:on { /* shift the arrow when popup is open */
   top: 1px;
   left: 1px;
}

ArticleView #searchText[noResults="true"]
{
  background: #febb7d;
}

MainStatusBar #text
{
  border-top-right-radius: 3px;
  border-top: 1px solid palette(dark);
  border-right: 1px solid palette(dark);
  background: palette(window);
  padding: 2px;
}

MainStatusBar #icon
{
  border-top: 1px solid palette(dark);
  background: palette(window);
  padding: 2px;
  padding-left: 4px;
  padding-right: 0px;
}

ScanPopup #translateLine
{
  margin: 0px;
  padding: 1px 3px 1px 3px;
  border: 1px solid gray;
  border-radius: 3px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

ScanPopup GroupComboBox
{
  margin: 0px 0px 0px 1px;
  padding: 1px 4px 1px 4px;
  border: 1px solid gray;
  border-right: 1px transparent;
  border-radius: 3px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                              stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
                              stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
}

ScanPopup GroupComboBox:on {
  padding: 3px 3px 1px 5px;
  background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
                              stop: 0 #D3D3D3, stop: 0.4 #D8D8D8,
                              stop: 0.5 #DDDDDD, stop: 1.0 #E1E1E1);
}

ScanPopup GroupComboBox::drop-down {
   subcontrol-origin: padding;
   subcontrol-position: top right;
   width: 15px;
   border-left: 1px solid darkgray;
   border-right: 1px transparent;
}

ScanPopup GroupComboBox::down-arrow {
   image: url(:/icons/1downarrow.png);
}

ScanPopup GroupComboBox::down-arrow:on { /* shift the arrow when popup is open */
   top: 1px;
   left: 1px;
}

.ScanPopup #outerFrame
{
  border: 1px solid palette(dark);
}

.ScanPopup MainStatusBar #text
{
  border-bottom: 1px solid palette(dark);
}

.ScanPopup MainStatusBar[hasImage="false"] #text
{
  border-left: 1px solid palette(dark);
}

.ScanPopup MainStatusBar #icon
{
  border-left: 1px solid palette(dark);
  border-bottom: 1px solid palette(dark);
}