mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 07:24:07 +00:00
354066c292
Now the status bar behavior is much more reliable on X11 systems, no more lags when moving GoldenDict window around or when resizing it. Works better with compositing window managers as well. Also, the new status bar also supports images, which is good for warnings and error messages. The status bar is fully styled and can change its appearence based on user's CSS, if needed.
39 lines
695 B
CSS
39 lines
695 B
CSS
MainWindow #searchPane #translateLine, MainWindow #searchPane #wordList, MainWindow #dictsPane #dictsList
|
|
{
|
|
background: #fefdeb;
|
|
color: black;
|
|
}
|
|
|
|
MainWindow #searchPane #translateLine[noResults="true"]
|
|
{
|
|
background: #febb7d;
|
|
}
|
|
|
|
ArticleView #searchText[noResults="true"]
|
|
{
|
|
background: #febb7d;
|
|
}
|
|
|
|
.ScanPopup #outerFrame
|
|
{
|
|
border: 1px solid grey;
|
|
}
|
|
|
|
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;
|
|
}
|